:root { color-scheme: dark; }
body { background: #090909; color: #fafafa; }
body header { background: #090909; border-color: #303030; }
body :is(.logo span, .hero h1 span, .nav nav a) { color: #fafafa; }
body :is(.logo small, .eyebrow, .hero p, .note, .tech, .tech b, .service p, .contact p, .form-info, .foot) { color: #bfbfbf; }
body nav a::after { background: #aaa; }
body .hero { padding-block: 70px; min-height: 0; }
body .idea-halo { display: none; }
body .idea-scene :is(.idea-browser, .idea-device) { box-shadow: none; border-color: #555; }
body .idea-product-link { color: #ccc; }
body .tech, body footer { border-color: #333; }
#sluzby, .product-feature { padding-block: 48px; }
body .services { margin-top: 24px; }
body .service { background: #101010; border: 1px solid #454545; border-radius: 8px; box-shadow: none; }
body .service::before { display: none; }
body .service h3 { margin-top: 0; }
body .service p { margin-bottom: 0; }
.product-feature { display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px; align-items: center; border-block: 1px solid #333; }
.product-feature p { color: #bfbfbf; margin-bottom: 22px; }
.product-feature img { display: block; width: 100%; height: auto; border: 1px solid #454545; border-radius: 8px; }
body #kontakt { background: transparent; border: 0; box-shadow: none; margin: 0; padding: 48px 0; }
body #kontakt .form-link { color: #ccc; text-decoration: underline; }
body #kontakt .pole :is(input, textarea) { background: #222; color: #fff; border-color: transparent; box-shadow: none; }
body #kontakt .pole :is(input, textarea):focus { background: #333; outline: none; box-shadow: none; }
body .button, body #kontakt .button { background: #f5f5f5; color: #111; border-color: transparent; border-radius: 6px; box-shadow: none; font-weight: 600; }
body .button:hover, body #kontakt .button:hover { background: #ddd; color: #111; }
body .button.secondary { background: transparent; color: #fff; }
body .button.secondary:hover { background: #222; color: #fff; }
body :is(a,button):focus-visible { outline: 2px solid #eee; outline-offset: 4px; }
@media (max-width: 800px) {
  body .hero { padding-block: 42px; }
  .product-feature { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 540px) {
  body .nav { height: auto; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  body .nav nav { flex-wrap: wrap; gap: 8px 14px; font-size: 12px; }
}


body .idea-scene .idea-chrome { background: #202020; color: #ccc; }
body .idea-scene .idea-chrome i { background: #777; }
body .idea-scene .idea-device { background: #131313; }
body .idea-scene:hover :is(.idea-browser, .idea-device) { box-shadow: none; border-color: #555; }
body .service:hover { background: #151515; border-color: #666; box-shadow: none; }
body .idea-product-link:hover, body #kontakt .form-link:hover, body .foot a:hover { color: #fff; }
body #kontakt .pole:focus-within { color: #fff; }
body #kontakt .pole :is(input, textarea):focus { border-color: transparent; }
body :is(a,button):focus-visible { outline-color: #ddd; }

/* Monochrome navigation, actions and form copy */
body header .nav nav a:not(.button)::after {
  background: #fff;
}
body .hero .actions .button.secondary {
  background: #151515;
  color: #fff;
  border: 1px solid #656565;
  box-shadow: none;
  transition: background-color .18s, border-color .18s;
}
body .hero .actions .button.secondary:hover {
  background: #151515;
  border-color: #656565;
}
body #kontakt .form-info,
body #kontakt .form-info a {
  color: #fff;
}
body #kontakt .form-info a:hover {
  color: #ccc;
}
@media (prefers-reduced-motion: reduce) {
  body .hero .actions .button.secondary { transition: none; }
}
body #kontakt .formular :is(.pole, .pole > span, .form-info, .form-info a) {
  color: #fff;
}
body #kontakt .formular .pole :is(input, textarea)::placeholder {
  color: #aaa;
  opacity: 1;
}

body .hero .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 340px);
}
body .hero .actions > .button {
  width: 100%;
  min-height: 46px;
  padding: 8px;
  text-align: center;
  box-sizing: border-box;
}
#kontakt .formular p.form-info, #kontakt .formular p.form-info a { color: #fff !important; }

body :is(.hero .actions, .product-feature, #kontakt) .button {
  transition: background-color .16s ease;
}
@media (hover: hover) {
  body :is(.hero .actions, .product-feature, #kontakt) .button:not(.secondary):hover {
    background-color: #ddd;
    transform: none;
    box-shadow: none;
  }
  body .hero .actions .button.secondary:hover {
    background-color: #242424;
  }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.hero .actions, .product-feature, #kontakt) .button {
    transition: none;
  }
}
body header .nav-links a:not(.button)::after { background: #fff; }
body .tech :is(b,span), body .tech span:hover { color: #fff; }
body :is(.abp-card,.abp-visual,.app-card,.project,.project-card,.tm-showcase,.quote-form,.ab-gallery[open],.dialog) {
  background: #141414; border-color: #454545; box-shadow: none;
}
body :is(.abp-eyebrow,.eyebrow,.app-platform,.app-card-cta,.tm-eyebrow,.tm-privacy,.tags span,.number,.foot a,.pole,.pole span) { color: #eee; }
body .formular .pole :is(input,textarea,select) { background: #222; color: #fff; border-color: transparent; box-shadow: none; }
body .formular .pole :is(input,textarea,select):focus { background: #333; border-color: transparent; box-shadow: none; outline: none; }
body .formular .form-info, body .formular .form-info a { color: #fff !important; }
body :is(.apps-nav,.ab-gallery,.dialog) button { background: #222; color: #fff; border-color: #666; box-shadow: none; }
body :is(.apps-nav,.ab-gallery,.dialog) button:not(:disabled):hover { background: #333; border-color: #888; box-shadow: none; }

body .tech span:hover { transform: none; }
body .hero .actions .button.secondary:hover {color: #fff; background: #242424;}

body #sluzby .service .number { color: #d0d0d0; }
body #sluzby .service .tags span { color: #eee; border-color: #555; }
body #sluzby .intro { color: #bfbfbf; }

body .abp-buy .button:not(.secondary) {
  background: #f5f5f5;
  color: #111;
  border-color: transparent;
  box-shadow: none;
  transform: none;
  transition: background-color .16s ease;
}
@media (hover: hover) {
  body .abp-buy .button:not(.secondary):hover {
    background: #ddd;
    color: #111;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .abp-buy .button:not(.secondary) { transition: none; }
}

body .abp-card .abp-visual:has(> img) {
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 22px);
}
body .privacy-copy a.button.back-to-contact,
body .privacy-copy a.button.back-to-contact:hover { color: #111; }

#kontakt .contact-illustration {
  width: min(90%, 378px);
  margin-inline: 0 auto;
}
@media (max-width: 800px) {
  #kontakt .contact-illustration { width: min(63%, 252px); }
}

#kontakt :is(.form-status--success, .form-status--error)[data-form-result],
#kontakt :is(.form-status--success, .form-status--error)[data-form-result]:focus {
  border-color: transparent;
  outline: none;
  box-shadow: none;
}
