/* ── DESIGN TOKENS ── */
    /* Tmavý = výchozí. Kontrast (WCAG): teal na bg 6.5:1, na panelu 5.0:1; hot pink 3.8:1 → jen dekor / velký text. */
    :root,
    [data-theme="dark"] {
      --bg:            #2b2e33;
      --surface:       #33373d;
      --panel:         #3b4047;
      --line:          rgba(255,255,255,.12);
      --text:          #ffffff;
      --muted:         #b4bac2;
      --teal:          #4fc3c7;
      --on-teal:       #1f2226;
      --teal-dim:      rgba(79,195,199,.14);
      --teal-border:   rgba(79,195,199,.40);
      --hot:           #ff2d6f;
      --hot-bg:        #ff4d85;
      --on-hot:        #1f2226;
      --ok:            #34d399;
      --danger:        #ff8a8a;
      --paper:         #ffffff;
      --on-paper:      #1f2226;
      --shadow:        0 24px 60px rgba(0,0,0,.35);
      --success:       #10b981;
    }
    /* Světlý: teal 5.2:1 na bg, 5.9:1 na bílé; hot pink 4.7:1 */
    [data-theme="light"] {
      --bg:            #f1efea;
      --surface:       #e7e4dd;
      --panel:         #ffffff;
      --line:          rgba(31,34,38,.14);
      --text:          #1f2226;
      --muted:         #4d535b;
      --teal:          #0b6f73;
      --on-teal:       #ffffff;
      --teal-dim:      rgba(11,111,115,.10);
      --teal-border:   rgba(11,111,115,.35);
      --hot:           #d10f58;
      --hot-bg:        #d10f58;
      --on-hot:        #ffffff;
      --ok:            #047857;
      --danger:        #b42318;
      --paper:         #1f2226;
      --on-paper:      #ffffff;
      --shadow:        0 24px 60px rgba(31,34,38,.14);
      --success:       #047857;
    }
    :root {
      --display:       'Archivo', 'Arial Narrow', Arial, sans-serif;
      --radius:        0;
      --radius-sm:     0;
      --text-xs:       11px;
    }

    html { scroll-behavior: smooth; }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
      color: var(--text); background: var(--bg);
      font-size: 16px; line-height: 1.6; overflow-x: hidden;
    }
    a { color: var(--teal); text-decoration: none; transition: color .2s, opacity .2s; }
    a:hover { opacity: .85; }
    .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    /* ── HEADER ── */
    header {
      position: sticky; top: 0; z-index: 50;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
    .logo a {
      color: var(--text); text-decoration: none;
      display: flex; align-items: center; gap: 10px;
    }
    .logo a:hover { opacity: 1; }
    .logo-icon {
      width: 34px; height: 34px;
      background: var(--teal); color: var(--on-teal);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--display); font-size: 15px; font-weight: 900;
      font-variation-settings: 'wdth' 110;
    }
    .logo-word {
      font-family: var(--display); font-size: 19px; font-weight: 800;
      text-transform: uppercase; letter-spacing: .01em;
      font-variation-settings: 'wdth' 88;
    }
    .logo-word span { color: var(--teal); }
    .nav-right { display: none; align-items: center; gap: 20px; }
    .links { display: flex; flex-direction: column; gap: 16px; }
    .links a {
      position: relative; color: var(--text);
      font-family: var(--display); font-weight: 600; font-size: 14px;
      text-transform: uppercase; letter-spacing: .06em;
    }
    .links a::after {
      content: ""; position: absolute; bottom: -4px; left: 0;
      width: 0; height: 2px; background: var(--teal); transition: width .25s;
    }
    .links a:hover { opacity: 1; }
    .links a:hover::after { width: 100%; }
    .btn-top {
      padding: 10px 18px;
      background: var(--teal); color: var(--on-teal);
      font-family: var(--display); font-weight: 700; font-size: 14px;
      text-transform: uppercase; letter-spacing: .05em;
      text-align: center; white-space: nowrap;
    }
    .btn-top:hover { opacity: .9; }
    .nav-toggle { display: block; cursor: pointer; background: none; border: none; color: var(--text); }
    .nav-toggle svg { width: 28px; height: 28px; }
    .nav-right.open {
      display: flex; flex-direction: column; align-items: stretch;
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--bg); padding: 20px;
      border-bottom: 1px solid var(--line);
    }
    #theme-toggle {
      font-size: 17px; line-height: 1; background: transparent; color: var(--text);
      border: 1px solid var(--line);
      padding: 8px 10px; cursor: pointer; transition: border-color .2s;
    }
    #theme-toggle:hover { border-color: var(--teal); }

    /* ── FIT TEXT ──
       Řádky .fit-line dorovnává script.js přes osu 'wdth'. Bez JS platí clamp níže. */
    .fit { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .96; }
    .fit-line { display: block; width: max-content; max-width: none; white-space: nowrap; }
    .fit.fit-off .fit-line { width: auto; white-space: normal; font-variation-settings: normal !important; }

    /* ── HERO ── */
    .hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
    .hero-copy { min-width: 0; }

    .hero-badge {
      display: inline-block;
      background: var(--paper); color: var(--on-paper);
      padding: 8px 14px;
      font-family: var(--display); font-weight: 700; font-size: 13px;
      text-transform: uppercase; letter-spacing: .08em;
    }
    .hero-title {
      font-size: clamp(2.6rem, 11vw, 5.5rem);
      margin: 22px 0 24px;
    }
    .hero-title .is-teal { color: var(--teal); }
    .hero-lead { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 30px; }

    .cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .chevrons {
      width: 58px; height: 22px; flex-shrink: 0; margin-right: 4px;
      fill: none; stroke: var(--hot); stroke-width: 2.5; stroke-linejoin: miter;
    }
    .btn {
      display: inline-block; padding: 14px 22px;
      border: 2px solid var(--line); color: var(--text);
      font-family: var(--display); font-weight: 700; font-size: 15px;
      text-transform: uppercase; letter-spacing: .05em; text-align: center;
      transition: border-color .2s, opacity .2s;
    }
    .btn:hover { border-color: var(--teal); opacity: 1; }
    .btn.primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
    .btn.primary:hover { opacity: .9; }

    /* ── CHAT DEMO ── */
    .demo { min-width: 0; width: 100%; max-width: 520px; justify-self: center; }
    .demo-tabs { display: flex; gap: 0; }
    .demo-tabs button {
      flex: 1; cursor: pointer;
      background: transparent; color: var(--muted);
      border: 1px solid var(--line); border-bottom: none;
      padding: 10px 8px;
      font-family: var(--display); font-weight: 700; font-size: 13px;
      text-transform: uppercase; letter-spacing: .06em;
      transition: color .2s, background .2s;
    }
    .demo-tabs button + button { border-left: none; }
    .demo-tabs button:hover { color: var(--text); }
    .demo-tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
    .demo-tabs button:focus-visible { outline: 2px solid var(--hot); outline-offset: -4px; }

    .chat {
      background: var(--panel); border: 1px solid var(--line);
      box-shadow: var(--shadow); text-align: left;
    }
    .chat-header {
      padding: 14px 18px; display: flex; align-items: center; gap: 12px;
      border-bottom: 1px solid var(--line);
    }
    .chat-av {
      width: 36px; height: 36px; flex-shrink: 0;
      background: var(--teal); color: var(--on-teal);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--display); font-weight: 900; font-size: 13px;
    }
    .chat-hname { font-weight: 700; font-size: 14px; }
    .chat-hstatus { font-size: 12px; color: var(--muted); }
    .chat-hstatus::first-letter { color: var(--success); }
    .chat-tag {
      margin-left: auto; padding: 3px 8px;
      border: 1px solid var(--line); color: var(--muted);
      font-family: var(--display); font-weight: 700; font-size: 11px;
      text-transform: uppercase; letter-spacing: .08em;
    }
    .chat-body {
      height: 400px; overflow-y: auto; scroll-behavior: smooth;
      padding: 18px 16px; display: flex; flex-direction: column; gap: 10px;
    }
    .msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
    .msg-user {
      align-self: flex-end; border-bottom-right-radius: 3px;
      background: var(--paper); color: var(--on-paper);
    }
    .msg-bot {
      align-self: flex-start; border-bottom-left-radius: 3px;
      background: var(--surface); border: 1px solid var(--line);
    }
    .msg.is-new { animation: msg-in .3s ease both; }
    @keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
    .msg-typing { display: flex; gap: 4px; padding: 14px 16px; }
    .msg-typing span {
      width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
      animation: typing 1s infinite ease-in-out;
    }
    .msg-typing span:nth-child(2) { animation-delay: .15s; }
    .msg-typing span:nth-child(3) { animation-delay: .3s; }
    @keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

    .chat-inp {
      padding: 12px 14px; border-top: 1px solid var(--line);
      display: flex; gap: 8px;
    }
    .chat-fake-input {
      flex: 1; border: 1px solid var(--line);
      padding: 8px 12px; font-size: 13px; color: var(--muted);
    }
    .chat-send {
      background: var(--teal); color: var(--on-teal);
      padding: 8px 14px; font-size: 13px; font-weight: 700;
    }
    .demo-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: right; }

    /* ── STRIP ── */
    .strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0; }
    .strip-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 20px;
      display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
    }
    .strip-label {
      font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--hot);
      text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
    }
    .strip-tags { display: flex; gap: 8px; flex-wrap: wrap; }
    .strip-tag {
      padding: 5px 12px; border: 1px solid var(--line); color: var(--text);
      font-family: var(--display); font-size: 13px; font-weight: 600;
      text-transform: uppercase; letter-spacing: .05em;
    }

    /* ── SECTIONS ── */
    section { padding: clamp(64px, 9vw, 112px) 0; }
    section + section { border-top: 1px solid var(--line); }
    .section-head { margin-bottom: 48px; max-width: 760px; }
    .section-tag {
      display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
      font-family: var(--display); font-size: 13px; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
    }
    .section-tag::before { content: ""; width: 32px; height: 2px; background: var(--hot); }
    h2 {
      font-family: var(--display); font-weight: 900; text-transform: uppercase;
      font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 18px;
    }
    h2.fit { font-size: clamp(2.2rem, 9vw, 5rem); max-width: 720px; line-height: .96; }
    .fit .is-teal { color: var(--teal); }
    .muted { color: var(--muted); font-size: 17px; max-width: 600px; }

    /* ── CARDS ── */
    .grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .card {
      background: var(--panel); padding: 28px;
      border: 1px solid var(--line); border-top: 3px solid var(--line);
      transition: border-color .25s;
    }
    .card:hover { border-top-color: var(--teal); }
    .card h3 {
      font-family: var(--display); font-weight: 800; text-transform: uppercase;
      font-size: 20px; line-height: 1.15; margin-bottom: 10px;
    }
    .card p { color: var(--muted); font-size: 15px; }
    .card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
    .card-tag {
      font-size: 12px; font-weight: 600; padding: 3px 9px;
      border: 1px solid var(--line); color: var(--muted);
    }

    /* how: kroky bez rámečku, velká čísla */
    #how .card { background: transparent; border: none; border-top: 3px solid var(--line); padding: 24px 0 0; }
    #how .card:hover { border-top-color: var(--teal); }
    .step-num {
      font-family: var(--display); font-weight: 900; font-size: clamp(3.5rem, 7vw, 5.5rem);
      line-height: .9; color: var(--teal); margin-bottom: 16px;
    }

    /* why: tlustá linka vlevo */
    #why .card { border: 1px solid var(--line); border-left: 6px solid var(--teal); }

    /* ── PRICING ── */
    .pricing-note {
      max-width: 760px; margin: 0 0 32px; padding: 14px 18px;
      border-left: 3px solid var(--hot); background: var(--panel);
      font-size: 15px; color: var(--muted);
    }
    .pricing-note strong { color: var(--text); }
    .pricing-grid { max-width: 880px; }
    .card.plan { display: flex; flex-direction: column; position: relative; }
    .card.plan { border-top-width: 6px; }
    .card.plan:hover { border-top-color: var(--line); }
    .plan-name {
      font-family: var(--display); font-weight: 800; font-size: 15px;
      text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
    }
    .price-big {
      font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 4rem);
      line-height: 1; margin: 10px 0 8px; white-space: nowrap;
    }
    .price-big span {
      font-family: Inter, system-ui, sans-serif; font-size: 17px; font-weight: 600; color: var(--muted);
    }
    .plan-queries { font-size: 16px; font-weight: 700; }
    .plan-setup { font-size: 14px; color: var(--muted); margin-top: 2px; }
    .plan-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
    .plan-features { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
    .plan-features li { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
    .plan-features li::before { content: '✓'; color: var(--teal); font-weight: 800; flex-shrink: 0; }
    .plan-divider { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
    .btn-block { display: block; width: 100%; }

    .card.plan.featured { border: 2px solid var(--teal); border-top-width: 6px; }
    .featured-badge {
      position: absolute; top: 24px; right: 24px; padding: 4px 10px;
      background: var(--hot-bg); color: var(--on-hot);
      font-family: var(--display); font-size: 12px; font-weight: 800;
      text-transform: uppercase; letter-spacing: .08em;
    }

    .setup-box {
      max-width: 880px; margin: 32px 0 0; padding: 22px 24px;
      background: var(--teal-dim); border: 1px solid var(--teal-border);
    }
    .setup-box h4 {
      font-family: var(--display); font-weight: 800; font-size: 18px;
      text-transform: uppercase; margin-bottom: 4px;
    }
    .setup-box p { font-size: 15px; color: var(--muted); }

    /* ── FAQ ── */
    .faq-list { max-width: 860px; display: flex; flex-direction: column; }
    details { border-top: 1px solid var(--line); border-left: 3px solid transparent; transition: border-color .2s; }
    details:last-child { border-bottom: 1px solid var(--line); }
    details[open] { border-left-color: var(--teal); background: var(--panel); }
    summary {
      list-style: none; cursor: pointer; padding: 20px 16px;
      display: flex; justify-content: space-between; align-items: center; gap: 16px;
      font-family: var(--display); font-weight: 700; font-size: 17px;
      text-transform: uppercase; letter-spacing: .01em; line-height: 1.3;
      transition: color .2s;
    }
    summary::-webkit-details-marker { display: none; }
    summary:hover { color: var(--teal); }
    summary:focus-visible { outline: 2px solid var(--hot); outline-offset: -2px; }
    .faq-arr::before {
      content: "+"; display: block; width: 20px; text-align: center;
      font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1; color: var(--teal);
    }
    details[open] .faq-arr::before { content: "–"; }
    .faq-body { padding: 0 16px 20px; font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 720px; }

    /* ── CONTACT ── */
    .contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
    .contact-steps { display: flex; flex-direction: column; margin: 0 0 24px; }
    .cstep { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
    .cstep:last-child { border-bottom: 1px solid var(--line); }
    .cstep-n {
      flex-shrink: 0; width: 56px;
      font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; color: var(--teal);
    }
    .cstep strong { display: block; font-size: 16px; font-weight: 700; }
    .cstep span { font-size: 14px; color: var(--muted); }
    .contact-mail { font-size: 15px; color: var(--muted); }

    .contact-form { background: var(--panel); border: 1px solid var(--line); border-top: 6px solid var(--teal); padding: 28px; }
    .form-success, .form-error { padding: 10px 12px; margin: 0 0 14px; font-size: 14px; line-height: 1.5; border: 1px solid currentColor; }
    .form-success { color: var(--ok); }
    .form-error { color: var(--danger); }
    .form-row { margin-bottom: 16px; }
    .form-row label {
      display: block; margin-bottom: 6px;
      font-family: var(--display); font-size: 13px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .06em;
    }
    .form-row input, .form-row textarea, .form-row select {
      width: 100%; border: 1px solid var(--line); border-radius: 0;
      padding: 11px 14px; font-family: inherit; font-size: 15px;
      background: var(--bg); color: var(--text); outline: none;
      transition: border-color .2s;
    }
    .form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
    .form-row textarea { resize: vertical; min-height: 100px; }
    .form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-submit {
      width: 100%; cursor: pointer; padding: 15px; border: none;
      background: var(--teal); color: var(--on-teal);
      font-family: var(--display); font-weight: 800; font-size: 16px;
      text-transform: uppercase; letter-spacing: .05em;
      transition: opacity .2s;
    }
    .form-submit:hover { opacity: .9; }
    .form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

    /* ── FOOTER ── */
    footer { padding: 64px 0 28px; border-top: 1px solid var(--line); color: var(--muted); }
    .footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
    .footer-brand p { font-size: 14px; margin-top: 12px; max-width: 300px; }
    .footer-col h4 {
      font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--text);
      margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .footer-col li { font-size: 14px; }
    .footer-col a { color: var(--muted); }
    .footer-col a:hover { color: var(--teal); opacity: 1; }
    .footer-mega { color: var(--surface); font-size: 4rem; line-height: .82; margin: 8px 0 24px; user-select: none; }
    .footer-bottom {
      padding-top: 20px; border-top: 1px solid var(--line);
      display: flex; justify-content: space-between; align-items: center;
      font-size: 13px; flex-wrap: wrap; gap: 8px;
    }
    .powered a { color: var(--muted); }
    .powered a:hover { color: var(--teal); }

    /* ── OBOROVÉ STRÁNKY ── */
    .card-link {
      display: inline-block; margin-top: 20px;
      font-family: var(--display); font-weight: 700; font-size: 14px;
      text-transform: uppercase; letter-spacing: .05em;
      border-bottom: 2px solid var(--teal); padding-bottom: 2px;
    }
    .card-link:hover { opacity: .8; }
    .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
    .crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
    .crumbs a:hover { color: var(--teal); opacity: 1; }
    .crumbs span[aria-current] { color: var(--text); }
    .card-accent { border-left: 6px solid var(--teal) !important; }
    .qlist, .checklist, .limits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
    .qlist li, .checklist li, .limits li { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
    .qlist li { color: var(--muted); }
    .qlist li::before { content: "?"; color: var(--teal); font-family: var(--display); font-weight: 900; flex-shrink: 0; width: 12px; }
    .checklist li::before { content: "✓"; color: var(--teal); font-weight: 800; flex-shrink: 0; }
    .limits li { display: block; color: var(--muted); padding-left: 22px; position: relative; }
    .limits li::before { content: "–"; position: absolute; left: 0; color: var(--hot); font-weight: 800; }
    .limits strong { color: var(--text); }
    .card-note { margin-top: 18px; font-size: 14px !important; }

    /* ── FADE-IN ── */
    .fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
    @media (min-width: 1024px) {
      .nav-toggle { display: none; }
      .nav-right { display: flex; align-items: center; gap: 20px; }
      .links { flex-direction: row; gap: 22px; }
    }
    @media (min-width: 768px) {
      .grid-3 { grid-template-columns: repeat(3, 1fr); }
      .grid-2 { grid-template-columns: repeat(2, 1fr); }
      .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
      .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    }
    @media (min-width: 960px) {
      .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
      .demo { justify-self: end; }
    }
    @media (max-width: 600px) {
      .form-two { grid-template-columns: 1fr; }
      .chat-body { height: 480px; }
      .chevrons { display: none; }
      .demo-note { text-align: left; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .fade-up { opacity: 1; transform: none; transition: none; }
      .msg.is-new, .msg-typing span { animation: none; }
    }
