
:root {
    --site-max:        1160px;
    --site-gutter:     20px;
    --site-header-h:   64px;
    --site-radius:     var(--radius-lg);
    --site-section-y:  56px;
    --site-ink-dark:   var(--primary);
}

/* ---------- Shell ---------- */

.site {
    font-size: var(--fs-md);
    line-height: 1.65;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site main { flex: 1; }

.container {
    width: 100%;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 var(--site-gutter);
}

.section { padding: var(--site-section-y) 0; }
.section--tight { padding: 32px 0; }
.section--tint { background: var(--bg); }
.section--line { border-top: 1px solid var(--border); }

.section__head { max-width: 62ch; margin-bottom: 32px; }
.section__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin: 0 0 10px;
}
.section__title {
    font-size: var(--fs-xl);
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0;
}
.section__lead {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: var(--fs-md);
}

/* ---------- Buttons (marketing sizes only; .btn itself lives in app.css) --- */

/* Full width — a form's own submit, where the button is the only thing on the
   line and a narrow one looks like it belongs to something else. */
.btn--block { width: 100%; }

.btn--lg {
    padding: 12px 20px;
    font-size: var(--fs-md);
    border-radius: var(--radius);
}

.btn--outline {
    --_bg: transparent;
    --_fg: var(--text);
    --_bd: var(--border-strong);
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--text-faint); }

.btn--outline svg:last-child { transition: transform .14s ease; }
.btn--outline:hover svg:last-child { transform: translate(2px, -2px); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    min-height: var(--site-header-h);
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: var(--fs-md);
    letter-spacing: -.02em;
    color: var(--text);
    margin-right: auto;
}
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
    height: 30px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 9px;
}
.site-brand__mark img { height: 15px; width: auto; display: block; }

.site-nav { display: none; }

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
}
.site-nav__item { position: relative; }

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 550;
    color: var(--text-muted);
    white-space: nowrap;
}
.site-nav__link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.site-nav__link.is-active { color: var(--text); font-weight: 600; }
.site-nav__link svg { opacity: .6; transition: transform .14s; }

/* --- Dropdown, no JavaScript ------------------------------------------------
   The panel is closed by default and revealed when the pointer is over the
   item OR when focus is anywhere inside it — :focus-within is what makes it
   reachable by keyboard, which a :hover-only menu never is. visibility (not
   display) so the panel can animate and so its links stay untabbable while
   closed. */
.site-nav__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 264px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .14s, transform .14s, visibility .14s;
}
.site-nav__item:hover > .site-nav__panel,
.site-nav__item:focus-within > .site-nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.site-nav__item:hover > .site-nav__link svg,
.site-nav__item:focus-within > .site-nav__link svg { transform: rotate(180deg); }

.site-nav__panel a {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 2px 10px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--text);
}
.site-nav__panel a:hover { background: var(--surface-2); text-decoration: none; }
.site-nav__panel a svg { grid-row: span 2; margin-top: 3px; color: var(--text-faint); }
.site-nav__panel strong { font-size: var(--fs-sm); font-weight: 600; }
.site-nav__panel span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; }

.site-header__cta { display: none; }

#site-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.site-burger {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}
.site-burger .site-burger__close,
#site-nav-toggle:checked ~ .site .site-burger .site-burger__open { display: none; }
#site-nav-toggle:checked ~ .site .site-burger .site-burger__close { display: block; }
#site-nav-toggle:focus-visible ~ .site .site-burger { box-shadow: 0 0 0 3px var(--primary-ring); }

.site-mobile {
    display: none;
    padding: 8px 0 20px;
    border-top: 1px solid var(--border);
}
#site-nav-toggle:checked ~ .site .site-mobile { display: block; }

.site-mobile__list { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-direction: column; }
.site-mobile__list a {
    display: block;
    padding: 11px 4px;
    font-size: var(--fs-md);
    font-weight: 550;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.site-mobile__list a:hover { text-decoration: none; color: var(--primary); }
.site-mobile .btn { margin-top: 16px; }

/* ---------- Hero ---------- */

.hero { padding: 44px 0 52px; }
.hero__inner { max-width: 100%; }

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 10px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-size: var(--fs-xs);
    font-weight: 600;
}
.hero__eyebrow svg { width: 14px; height: 14px; }

.hero__title {
    font-size: var(--fs-3xl);
    font-weight: 400;
    letter-spacing: -.028em;
    line-height: 1.1;
    margin: 0;
    text-wrap: balance;
}
.hero__title em {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
}

.hero__lead {
    margin: 20px 0 0;
    font-size: var(--fs-lg);
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 54ch;
}

.hero__actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin: 16px 0 0; font-size: var(--fs-sm); color: var(--text-faint); }

/* ---------- Card grid: 1-up on mobile, 3-across on desktop ---------- */

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }

.card-link {
    display: block;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--site-radius);
    box-shadow: var(--shadow-xs);
    color: var(--text);
    transition: border-color .14s, box-shadow .14s, transform .14s;
}
.card-link:hover {
    text-decoration: none;
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--primary-ring); }

.card-link__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 14px;
}
.card-link__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-md);
    font-weight: 650;
    letter-spacing: -.012em;
}
.card-link__title svg { color: var(--text-faint); transition: transform .14s; }
.card-link:hover .card-link__title svg { transform: translateX(3px); }
.card-link__text { display: block; margin: 6px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Plain feature list (no link) ---------- */

.facts { display: grid; grid-template-columns: 1fr; gap: 22px; list-style: none; margin: 0; padding: 0; }
.facts__icon {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 9px;
    background: var(--primary-soft); color: var(--primary);
    margin-bottom: 12px;
}
.facts h3 { font-size: var(--fs-md); font-weight: 650; margin: 0; }
.facts p { margin: 5px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Two-column statement rows ---------- */

.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.split + .split { margin-top: 44px; }

.split__title { font-size: var(--fs-xl); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.split__body { color: var(--text-muted); }
.split__body p { margin: 0 0 12px; }
.split__body p:last-child { margin-bottom: 0; }
.split__body strong { color: var(--text); font-weight: 600; }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.ticks li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }
.ticks--cross li svg { color: var(--danger); }

/* ---------- Step cards (a steps-list where an odd count shouldn't leave one item stranded alone) ---------- */

.step-cards { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.step-cards li {
    counter-increment: step;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--site-radius);
    box-shadow: var(--shadow-xs);
}
.step-cards li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 650;
}
.step-cards h3 { font-size: var(--fs-md); font-weight: 650; margin: 0; }
.step-cards p { margin: 5px 0 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Vertical timeline (a steps-list read top to bottom, not left to right) ---------- */

.timeline { list-style: none; margin: 0; padding: 0; max-width: 640px; margin-inline: auto; }
.timeline li { position: relative; display: flex; gap: 20px; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline li:last-child::after { display: none; }
.timeline__num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 650;
}
.timeline__body { padding-top: 3px; }
.timeline__body h3 { font-size: var(--fs-md); font-weight: 650; margin: 0 0 4px; }
.timeline__body p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- CTA band ---------- */

.cta-band {
    background: linear-gradient(150deg, var(--primary), var(--primary-hover) 55%, var(--primary-lift));
    color: #fff;
}
.cta-band__inner { padding: 48px 0; max-width: 60ch; }
.cta-band__title {
    font-size: var(--fs-2xl);
    font-weight: 400;
    letter-spacing: -.024em;
    line-height: 1.15;
    margin: 0;
    text-wrap: balance;
}
.cta-band__title em { font-style: normal; font-weight: 700; }
.cta-band__lines { margin: 16px 0 0; color: var(--on-dark); }
.cta-band__lines p { margin: 0 0 8px; }
.cta-band__lines p:last-child { margin-bottom: 0; }
.cta-band .btn {
    margin-top: 26px;
    --_bg: #fff;
    --_fg: var(--primary);
    --_bd: #fff;
}
.cta-band .btn:hover { background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .88); }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }

.tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--site-radius);
    box-shadow: var(--shadow-xs);
}
.tier--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.tier__flag {
    position: absolute;
    top: -13px;
    left: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 650;
}
.tier__name { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.02em; margin: 0; }
.tier__for { margin: 6px 0 0; color: var(--text-muted); font-size: var(--fs-sm); min-height: 3em; }

.tier__offer {
    white-space: pre-line;
    min-height: 4.7em;
    display: flex;
    align-items: center;
    margin: 18px 0 0;
    padding: 14px 15px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: var(--primary-hover);
    font-size: var(--fs-md);
    font-weight: 600;
    line-height: 1.45;
}

.tier__limits { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tier__limits li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--fs-sm); }
.tier__limits li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }
.tier__limits li.is-off { color: var(--text-faint); }
.tier__limits li.is-off svg { color: var(--text-faint); }
.tier__limits b { font-weight: 650; font-variant-numeric: tabular-nums; }

.tier__action { margin-top: auto; padding-top: 22px; }
.tier .btn { width: 100%; }

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.pricing-note svg { flex-shrink: 0; margin-top: 3px; color: var(--text-faint); }
.pricing-note strong { color: var(--text); }

/* ---------- FAQ (native <details>, no JavaScript) ---------- */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    font-size: var(--fs-md);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    flex-shrink: 0;
    color: var(--text-faint);
    font-weight: 400;
    font-size: var(--fs-lg);
    line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 2px 18px; color: var(--text-muted); font-size: var(--fs-sm); max-width: 74ch; }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Prose (story page) ---------- */

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-xl); font-weight: 650; letter-spacing: -.02em; margin: 40px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 14px 0 0; color: var(--text-muted); }
.prose p strong { color: var(--text); font-weight: 600; }
.prose blockquote {
    margin: 24px 0 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--primary);
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--text);
}

/* ---------- Legal pages (terms, privacy notice, cookie policy) ---------- */

.prose > .legal-meta {
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-faint);
    font-size: var(--fs-sm);
}

.prose > .legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.prose > .legal-nav > li { margin: 0; }
.legal-nav a {
    display: inline-flex;
    padding: 6px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: 550;
}
.legal-nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }

.prose ol.clauses { margin: 14px 0 0; padding-left: 22px; color: var(--text-muted); }
.prose ol.clauses > li { margin-bottom: 10px; }
.prose ol.clauses > li::marker { color: var(--text-faint); }
.prose ul { margin: 14px 0 0; padding-left: 22px; color: var(--text-muted); }
.prose ul > li { margin-bottom: 8px; }
.prose h3 { font-size: var(--fs-md); font-weight: 650; margin: 24px 0 0; }
.prose > h1 {
    font-size: var(--fs-2xl);
    font-weight: 650;
    letter-spacing: -.024em;
    line-height: 1.15;
    margin: 0 0 24px;
}
.prose dl { margin: 14px 0 0; color: var(--text-muted); }
.prose dt { margin-top: 12px; font-weight: 600; color: var(--text); }
.prose dd { margin: 3px 0 0; }

.legal-table-wrap { overflow-x: auto; margin: 18px 0 0; }
.legal-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}
.legal-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-strong);
    font-size: var(--fs-xs);
    font-weight: 650;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
}
.legal-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.legal-table td:first-child { color: var(--text); font-family: var(--mono); font-size: var(--fs-xs); white-space: nowrap; }
.legal-table tr:last-child td { border-bottom: 0; }

/* ---------- Contact / form panels ---------- */

.panels { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }

.panel {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--site-radius);
    box-shadow: var(--shadow-xs);
}
.panel--tint { background: var(--surface-2); box-shadow: none; }
.panel--form { max-width: 720px; margin-left: auto; margin-right: auto; }

.panel > .panel__note,
.split__body > .split__note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.panel > .panel__action { margin: 20px 0 0; }
.prose + .ticks { margin-top: 32px; }

.prose > .legal-nav a { text-decoration: none; }
.prose a,
.panel p a,
.section__lead a,
.split__body a,
.faq details a { text-decoration: underline; text-underline-offset: 2px; }
.panel h2 { font-size: var(--fs-lg); font-weight: 650; margin: 0 0 6px; }
.panel > p { margin: 0 0 16px; color: var(--text-muted); font-size: var(--fs-sm); }

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.contact-list svg { grid-row: span 2; margin-top: 4px; color: var(--primary); }
.contact-list strong { font-size: var(--fs-sm); font-weight: 600; }
.contact-list span { font-size: var(--fs-sm); color: var(--text-muted); }

.site .form-label { font-size: var(--fs-sm); }
.site .form-control { padding: 10px 13px; font-size: var(--fs-md); }
.site .help, .site .form-error { font-size: var(--fs-sm); }

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--site-ink-dark);
    color: var(--on-dark);
    padding: 48px 0 28px;
    font-size: var(--fs-sm);
}

.site-footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.site-footer__brand { max-width: 34ch; }
.site-footer__brand .site-brand { color: #fff; margin: 0 0 14px; }
.site-footer__brand .site-brand__mark { background: rgba(255, 255, 255, .14); }
.site-footer__brand p { margin: 0; color: var(--on-dark-faint); }

.site-footer__group h2 {
    font-size: var(--fs-xs);
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--on-dark-faint);
    margin: 0 0 12px;
}
.site-footer__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__group a { color: var(--on-dark); }
.site-footer__group a:hover { color: #fff; text-decoration: underline; }
.site-footer__group li > span { color: var(--on-dark-faint); }

.site-footer__legal {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--on-dark-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--on-dark-faint);
    font-size: var(--fs-xs);
}
.site-footer__legal a { color: var(--on-dark-faint); }
.site-footer__legal a:hover { color: #fff; }

/* ---------- Wider screens ---------- */

@media (min-width: 700px) {
    :root { --site-gutter: 28px; --site-section-y: 72px; }

    .cards { grid-template-columns: repeat(3, 1fr); }
    .facts { grid-template-columns: repeat(3, 1fr); }
    .step-cards { grid-template-columns: repeat(3, 1fr); }
    .panels { grid-template-columns: 1fr 1fr; gap: 24px; }
    .pricing { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__legal { flex-direction: row; justify-content: space-between; align-items: center; }

    .hero { padding: 72px 0 80px; }
    .hero__inner { max-width: 780px; }
    .hero__title { font-size: var(--fs-4xl); }
    .cta-band__inner { padding: 64px 0; }
    .section__title { font-size: var(--fs-2xl); }
    .tier__for { min-height: 2.8em; }
}

@media (min-width: 940px) {
    .site-nav { display: block; }
    .site-header__cta { display: inline-flex; }
    .site-burger { display: none; }
    #site-nav-toggle { display: none; }
    .site-mobile,
    #site-nav-toggle:checked ~ .site .site-mobile { display: none; }

    .site-header__inner { gap: 24px; }
    .site-brand { margin-right: 0; }
    .site-nav { margin: 0 auto; }

    .site-footer__cols { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
    .site-footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .card-link, .card-link__title svg, .site-nav__panel,
    .btn--outline svg:last-child, .site-nav__link svg { transition: none; }
    .card-link:hover { transform: none; }
    .card-link:hover .card-link__title svg,
    .btn--outline:hover svg:last-child { transform: none; }
}

/* ============================================================================
   Skin — velká lehká display typografie, výrazně kulaté tvary, téměř
   monochromatická paleta a jeden modrý gradient jako jediný barevný akcent.

   Celý blok je zanořený pod .site, takže tokeny přepisuje jen marketingový web;
   /app a /admin dál běží na původní paletě z app.css.
   ========================================================================== */

.site {
    --primary:       #212123;
    --primary-hover: #292929;
    --primary-lift:  #343434;
    --primary-soft:  #f1f1f4;
    --primary-ring:  rgba(39, 128, 253, .32);
    --site-ink-dark: #212123;

    --surface:       #ffffff;
    --surface-2:     #f1f1f4;
    --bg:            #f6f6f7;
    --border:        #e5e7eb;
    --border-strong: #d1d5dc;

    --text:          #000000;
    --text-muted:    #6a7282;
    --text-faint:    #99a1af;

    --radius-sm:   .5rem;
    --radius:      1rem;
    --radius-lg:   1.25rem;
    --site-radius: 1.25rem;
    --site-max:    78rem;

    --shadow-xs: none;
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .06);

    --fs-xs:   .75rem;
    --fs-sm:   .875rem;
    --fs-base: .9375rem;
    --fs-md:   1rem;
    --fs-lg:   1.125rem;
    --fs-xl:   1.5rem;
    --fs-2xl:  2rem;
    --fs-3xl:  2.5rem;
    --fs-4xl:  3.5rem;

    --display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --accent-gradient: linear-gradient(90deg, #94dffc, #2780fd 49.36%, #4db6fd);

    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

.site h1, .site h2, .site h3, .site h4,
.site .hero__title, .site .section__title, .site .cta-band__title {
    font-family: var(--display);
    letter-spacing: -.03em;
}

/* ---------- Header: plovoucí pilulková navigace ---------- */

.site-header {
    background: rgba(255, 255, 255, .8);
    border-bottom: 0;
    padding: 10px 0;
}

.site-brand { font-family: var(--display); font-weight: 500; }
.site-brand__mark { border-radius: 999px; }

.site-nav__list {
    height: 52px;
    padding: 0 10px;
    gap: 4px;
    background: rgba(0, 0, 0, .06);
    border-radius: 999px;
}

.site-nav__link {
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-weight: 500;
    color: var(--primary);
}
.site-nav__link:hover,
.site-nav__link.is-active { background: rgba(255, 255, 255, .6); color: var(--primary); }

.site-nav__panel { border-radius: var(--radius); border-color: var(--border); }
.site-nav__panel a { border-radius: var(--radius-sm); }

.site-burger { border-radius: 999px; border-color: var(--border-strong); }

/* ---------- Tlačítka: pilulka s kolečkem pro šipku ---------- */

.site .btn {
    border-radius: 999px;
    font-family: inherit;
    font-weight: 500;
    font-size: var(--fs-sm);
}
.site .btn--lg { border-radius: 999px; font-size: var(--fs-md); }

/*
   Kolečko se šipkou je pseudo-prvek, aby se nemusel do každé šablony dopisovat
   další <span>. Uvnitř je šipka jako data URI, takže nepřibývá HTTP požadavek.
*/
.site .btn--primary {
    gap: 16px;
    justify-content: space-between;
    padding: 5px 5px 5px 18px;
}
.site .btn--primary::after {
    content: '';
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23212123' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.site .btn--primary.btn--lg { padding: 6px 6px 6px 22px; }
.site .btn--primary.btn--lg::after { width: 40px; height: 40px; background-size: 17px; }

.site .btn--outline { border-radius: 999px; }
.site .btn--outline:hover { background: var(--surface-2); border-color: var(--border-strong); }

/* ---------- Hero: velký lehký nadpis na střed, gradient jako záře ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 56px;
    text-align: center;
}

/* Full-height hero — homepage only, and only once there's enough vertical
   room for it. min-height (not height) so a viewport shorter than the
   hero's own content never clips the CTAs under .hero's overflow:hidden. */
@media (min-width: 992px) {
    .hero--full {
        min-height: calc(100vh - var(--site-header-h));
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* .hero::before positions the glow at top:-78% of .hero's own height —
       on a normal-height hero that lands it just above the fold; on the
       much taller .hero--full it gets pushed almost entirely out of view.
       A smaller (less negative) offset here keeps it visible regardless of
       how tall the section grows with the viewport. */
    .hero--full::before { top: -30%; }
}
.hero::before {
    content: '';
    position: absolute;
    top: -78%;
    left: 50%;
    width: min(1000px, 120%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(150px);
    opacity: .11;
    /* Fades the glow to nothing well inside its own box, so a short hero
       (e.g. /cenik, with less lead text) never clips it to a hard edge at
       the container's overflow:hidden boundary — only .hero's height varies,
       the mask always ends the same way regardless of it. */
    mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero__inner { max-width: 62rem; margin: 0 auto; }

.hero__eyebrow {
    background: var(--surface-2);
    color: var(--primary);
    font-weight: 500;
}

.hero__title {
    font-size: clamp(2.75rem, 9vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -.05em;
    line-height: 1;
}
.hero__title em { font-weight: 400; color: var(--primary); }

.hero__lead {
    max-width: 46rem;
    margin: 36px auto 0;
    font-size: 1.25rem;
    line-height: 1.5;
}
.hero__actions, .cta-actions { justify-content: center; margin-top: 40px; }
.hero__note { margin-top: 20px; }

/* ---------- Sekce ---------- */

.section { padding: 40px 0; }
.section--line { border-top: 0; }

/* Tighter top gap for the section right after the homepage's full-height
   hero — the tint background already separates them, this just keeps the
   text from starting too far down. */
.section--hero-adjacent { padding-top: 12px; }

.section__head { max-width: 46rem; margin: 0 auto 48px; text-align: center; }
.section__lead { margin-left: auto; margin-right: auto; }

.section__eyebrow { font-weight: 500; letter-spacing: .1em; }

.section__title {
    font-size: clamp(1.85rem, 5.5vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.05;
}

/* A centered sub-heading above a steps-list or facts grid that sits inside an
   already-centered .section__head — e.g. "Nomi postupuje jinak" on the homepage. */
.section__subhead { text-align: center; margin: 0 0 22px; }

/* A quote inside a centered section, e.g. a spoken example on the homepage —
   same treatment as .prose blockquote, but not tied to the narrow left-aligned
   reading column that component is scoped to. */
.section__quote-rule { width: 15rem; height: 3px; margin: 24px auto 16px; background: var(--primary); }
.section__quote {
    max-width: 30rem;
    margin: 0 auto 28px;
    font-size: var(--fs-lg);
    line-height: 1.5;
    color: var(--text);
    text-align: center;
}

/* ---------- Karty: bílý obsah v širokém světlém rámečku ---------- */

.cards { gap: 20px; }

.card-link {
    padding: 20px;
    background: var(--surface);
    border: 3px solid var(--surface-2);
    border-radius: var(--site-radius);
    box-shadow: none;
}
.card-link:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

.card-link__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--primary);
}
.card-link__title { font-family: var(--display); font-weight: 500; font-size: var(--fs-lg); letter-spacing: -.02em; }

.facts__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); }
.facts h3, .step-cards h3, .timeline__body h3, .split__title { font-weight: 500; letter-spacing: -.03em; }
.split__title { font-size: clamp(1.6rem, 4.5vw, 2rem); line-height: 1.1; }

.step-cards li::before { width: 34px; height: 34px; font-weight: 500; font-family: var(--display); }
.timeline__num { font-weight: 500; font-family: var(--display); }

/* ---------- CTA: světlý panel na střed s gradientovým pruhem ---------- */

.cta-band { background: none; color: var(--text); padding: 40px 0; }

.cta-band__inner {
    position: relative;
    overflow: hidden;
    max-width: 48rem;
    margin: 0 auto;
    padding: 48px 28px 56px;
    background: var(--bg);
    border-radius: var(--site-radius);
    text-align: center;
}
.cta-band__inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    background: var(--accent-gradient);
}

.cta-band__title {
    font-size: clamp(1.7rem, 5vw, 2rem);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.15;
}
.cta-band__title em { font-weight: 500; }
.cta-band__lines { color: var(--text-muted); max-width: 40rem; margin-inline: auto; }

.cta-band .btn {
    --_bg: var(--primary);
    --_fg: #fff;
    --_bd: var(--primary);
    gap: 16px;
    justify-content: space-between;
    padding: 6px 6px 6px 22px;
}
.cta-band .btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.cta-band .btn::after {
    content: '';
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23212123' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M7 7h10v10'/%3E%3C/svg%3E") center / 17px no-repeat;
}

/* ---------- Ceník, panely, FAQ ---------- */

.tier, .panel {
    border: 3px solid var(--surface-2);
    border-radius: var(--site-radius);
    box-shadow: none;
}
.tier--featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.tier__flag { font-weight: 500; }
.tier__name { font-family: var(--display); font-weight: 500; font-size: var(--fs-xl); letter-spacing: -.03em; }
.tier__offer { border-radius: var(--radius); background: var(--surface-2); color: var(--primary); font-weight: 500; }

.panel--tint { border-color: transparent; background: var(--bg); }
.panel h2 { font-weight: 500; font-size: var(--fs-xl); letter-spacing: -.03em; }

.pricing-note { border: 0; border-radius: var(--radius); background: var(--bg); }

.faq summary { font-family: var(--display); font-weight: 500; font-size: var(--fs-lg); letter-spacing: -.02em; }

.prose h2 { font-weight: 400; font-size: clamp(1.6rem, 4.5vw, 2rem); letter-spacing: -.04em; }
.prose h3 { font-weight: 500; letter-spacing: -.02em; }
.prose > h1 { font-weight: 300; font-size: clamp(2.25rem, 7vw, 3rem); letter-spacing: -.05em; line-height: 1.05; }
.prose blockquote { border-left-color: #2780fd; }
.section__quote-rule { background: #2780fd; }

.legal-nav a { border-radius: 999px; }
.site .form-control { border-radius: var(--radius-sm); }

/* ---------- Patička ---------- */

.site-footer {
    position: relative;
    padding: 64px 0 28px;
    --on-dark:       #d1d5dc;
    --on-dark-faint: #99a1af;
    --on-dark-line:  #343434;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--accent-gradient);
}
.site-footer__group h2 {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: -.02em;
    text-transform: none;
    color: #fff;
    margin-bottom: 20px;
}
.site-footer__group a { font-size: var(--fs-sm); }
.site-footer__brand .site-brand__mark { background: #343434; }

/* ---------- Širší obrazovky ---------- */

@media (min-width: 700px) {
    .site { --site-gutter: 32px; }

    .hero { padding: 72px 0 96px; }
    .hero__inner { max-width: 62rem; }
    .hero__title { font-size: clamp(3.5rem, 7.5vw, 5.5rem); }

    .section { padding: 64px 0; }
    .cta-band { padding: 64px 0; }
    .cta-band__inner { padding: 64px 56px 72px; }
}

@media (min-width: 940px) {
    .hero__title { font-size: 5.5rem; }
    .section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .card-link:hover { transform: none; }
}

/* ---------- Cookie lišta (CookieConsent) ---------- */
#cc-main {
    --cc-font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --cc-bg: var(--surface);
    --cc-primary-color: var(--text);
    --cc-secondary-color: var(--text-muted);
    --cc-btn-primary-bg: var(--primary);
    --cc-btn-primary-color: #fff;
    --cc-btn-primary-border-color: var(--primary);
    --cc-btn-primary-hover-bg: var(--primary-hover);
    --cc-btn-primary-hover-color: #fff;
    --cc-btn-primary-hover-border-color: var(--primary-hover);
    --cc-btn-secondary-bg: var(--primary-soft);
    --cc-btn-secondary-color: var(--text);
    --cc-btn-secondary-border-color: var(--primary-soft);
    --cc-btn-secondary-hover-bg: var(--border-strong);
    --cc-btn-secondary-hover-border-color: var(--border-strong);
    --cc-btn-border-radius: var(--radius-sm);
    --cc-modal-border-radius: var(--radius-lg);
    --cc-separator-border-color: var(--border);
    --cc-toggle-on-bg: var(--primary);
    --cc-link-color: var(--primary);
}
