/* Dervion – propagační web (dervion.eu). Bez cizích zdrojů: písma i obrázky jsou zde, žádné skripty ve stránce (CSP). */
@font-face { font-family: "Righteous"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/righteous-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Righteous"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/righteous-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #161b46;        /* text a tmavé plochy: hluboká indigová, z loga */
  --ink-soft: #4a5078;
  --paper: #ffffff;
  --mist: #eef0fb;       /* světlé pásy */
  --brand: #4f46e5;
  --brand-deep: #3730a3;
  --line: #d9dcf0;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --off: #9aa0bd;
  --display: "Righteous", "Inter", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; }
a { color: var(--brand-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; margin-bottom: .4rem; }
p { margin: 0 0 1rem; }
.fine { font-size: .85rem; color: var(--ink-soft); }

/* Tlačítka */
.btn { display: inline-block; padding: .8rem 1.35rem; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }

/* Hlavička */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px); }
.top-in { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.6rem; }
.top nav { display: flex; gap: 1.5rem; margin-left: auto; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--ink); }
.top .btn { padding: .55rem 1rem; }

/* Úvod: text a přehled počítačů */
.hero { padding: 4.5rem 0 4rem; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.25rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }

.board { margin: 0; background: var(--ink); color: #e7e9fb; border-radius: 18px; padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 30px 60px -30px rgba(22, 27, 70, .55); }
.board-head { display: flex; justify-content: space-between; align-items: baseline; padding: .25rem .5rem 1rem; border-bottom: 1px solid #2c336b; }
.board-firm { font-weight: 600; }
.board-sum { color: #a9aed6; font-size: .9rem; }
.board-sum b { color: #fff; font-size: 1.05rem; }
.pcs { list-style: none; margin: .5rem 0 0; padding: 0; }
.pc { display: grid; grid-template-columns: 14px 8.5rem 1fr; gap: .75rem; align-items: center; padding: .62rem .5rem; border-radius: 8px; font-size: .95rem; }
.pc + .pc { border-top: 1px solid #222a5c; }
.pc .name { font-weight: 600; letter-spacing: .01em; color: #fff; }
.pc .note { color: #b9bde2; min-width: 0; overflow-wrap: anywhere; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--off); }
.ok .dot { background: var(--ok); }
.warn .dot { background: var(--warn); }
.bad .dot { background: var(--bad); box-shadow: 0 0 0 4px rgba(220, 38, 38, .25); }
.bad .note { color: #fecaca; }
.warn .note { color: #fde2b5; }
.off .name, .off .note { color: #8a90b8; }
.board figcaption { color: #8f95c2; font-size: .82rem; padding: .9rem .5rem 0; }

/* Pásy obsahu */
.band { background: var(--mist); padding: 4.5rem 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2.5rem; margin: 0; }
.features dt { font-weight: 700; font-size: 1.1rem; margin-bottom: .35rem; padding-left: .9rem; border-left: 3px solid var(--brand); }
.features dd { margin: 0; color: var(--ink-soft); }

.security { padding: 4.5rem 0; }
.security-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem 4rem; align-items: start; }
.security-lead { font-size: 1.15rem; color: var(--ink-soft); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: .85rem 0 .85rem 2.1rem; border-bottom: 1px solid var(--line); }
.checks li:first-child { padding-top: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.checks li:first-child::before { top: .2rem; }

.steps { list-style: none; counter-reset: krok; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { counter-increment: krok; }
.steps li::before { content: counter(krok); display: block; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--brand); margin-bottom: .75rem; }
.steps p { color: var(--ink-soft); }

/* Kontakt */
.contact { background: var(--ink); color: #e7e9fb; padding: 4.5rem 0; }
.contact a { color: #c7cbff; }
.contact-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
.contact h2 { color: #fff; }
.contact-text p { color: #b9bde2; }
.contact-direct { margin-top: 1.5rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide, .form-foot, .form .fine { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: #8f95c2; }
.field input, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 10px; padding: .7rem .85rem; }
.field input:focus, .field textarea:focus { border-color: #a5b4fc; outline: none; }
.field textarea { resize: vertical; min-height: 8rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-state { margin: 0; font-weight: 500; }
.form-state.is-ok { color: #86efac; }
.form-state.is-err { color: #fecaca; }
.contact .fine { color: #8f95c2; }

.foot { padding: 2rem 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.foot-in { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.brand-small { font-size: 1.2rem; }
.foot a { margin-left: auto; }


/* Vzdálená správa: text a ukázka okna sezení (stejná tmavá plocha jako přehled v úvodu). */
.remote { padding: 4.5rem 0; }
.remote-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1rem 4rem; align-items: center; }
.remote-lead { font-size: 1.15rem; color: var(--ink-soft); }
.remote-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .8rem; }
.remote-list li { padding-left: 1.1rem; border-left: 3px solid var(--brand); color: var(--ink-soft); }
.remote-list b { color: var(--ink); }
.remote-note { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.session { margin: 0; background: var(--ink); border-radius: 18px; padding: .75rem .75rem 1rem;
  box-shadow: 0 30px 60px -30px rgba(22, 27, 70, .55); }
.session-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .35rem .5rem .75rem; color: #e7e9fb; font-size: .9rem; }
.session-pc { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .25); }
.session-meta { color: #a9aed6; }
.session-tools { display: flex; gap: .4rem; margin-left: auto; }
.session-tools span { border: 1px solid #343c7a; border-radius: 7px; padding: .15rem .5rem; font-size: .78rem; color: #c7cbff; }
.session-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #2b5f9e 0%, #1d3f75 55%, #142b55 100%); display: grid; place-items: center; }
.screen-win { width: min(78%, 22rem); background: #f7f8fc; color: #1f2544; border-radius: 8px; padding: 1rem 1.1rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); font-size: .9rem; }
.screen-title { font-weight: 700; margin-bottom: .7rem; }
.screen-row { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.screen-ico { width: .9rem; height: .9rem; border-radius: 50%; background: var(--bad); flex: none; }
.screen-btn { display: inline-block; background: var(--brand); color: #fff; border-radius: 6px; padding: .3rem .9rem; font-weight: 600; font-size: .85rem; }
.screen-notice { position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%); white-space: nowrap; max-width: 94%;
  overflow: hidden; text-overflow: ellipsis; background: rgba(22, 27, 70, .92); color: #e7e9fb; border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; }
.screen-notice b { color: #fff; }
.session figcaption { color: #8f95c2; font-size: .82rem; padding: .9rem .5rem 0; }
.security { border-top: 1px solid var(--line); }

/* Mobil */
@media (max-width: 900px) {
  .hero-in, .security-in, .contact-in, .remote-in { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 1rem; }
  .hero { padding-top: 2.5rem; }
  .features, .form { grid-template-columns: minmax(0, 1fr); }
  .top-in { gap: 1rem; }
  .brand { font-size: 1.35rem; }
  .pc { grid-template-columns: 12px 6.5rem 1fr; font-size: .88rem; }
  .session-tools { display: none; }
  .screen-win { font-size: .8rem; padding: .75rem; }
  .foot a { margin-left: 0; }
}
