/*--------------------------------------------------------------
# DotZeo marketing site - www.dotzeo.com
# Brand tokens follow BRAND-GUIDELINES.md (DotTut family theme).
# Dark is the default; html[data-theme="light"] flips the palette.
--------------------------------------------------------------*/

:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
                    "Helvetica Neue", Arial, sans-serif;
    --heading-font: "Ubuntu", sans-serif;
    --nav-font: "Inter", sans-serif;

    --accent-color:    #40b605;
    --btn-green:       #2f8000;
    --btn-green-hover: #287000;
    --logo-grad-a:     #79c32f;
    --logo-grad-b:     #3f9c0c;

    --status-good: #22c55e;
    --status-warn: #f59e0b;
    --status-bad:  #ef4444;
    --status-info: #38bdf8;

    --container: 1140px;
    scroll-behavior: smooth;
}

:root,
html[data-theme="dark"] {
    color-scheme: dark;
    --background-color: #040a01;
    --surface-color:    #0f1412;
    --surface-deep:     #0b0f0d;
    --band-bg:          #071401;
    --nav-bg:           rgba(4, 10, 1, .82);
    --input-bg:         #121614;
    --input-border:     #1f2a25;

    --default-color:    #f3f6f4;
    --heading-color:    #e1eff9;
    --text-strong:      #ffffff;
    --text-soft:        rgba(255, 255, 255, .75);
    --text-muted:       rgba(255, 255, 255, .55);
    --text-faint:       rgba(255, 255, 255, .35);
    --hairline:         rgba(255, 255, 255, .07);
    --hairline-strong:  rgba(255, 255, 255, .12);
    --hover-bg:         rgba(255, 255, 255, .05);

    --emerald:      #22c55e;
    --link-color:   #22c55e;
    --link-hover:   #4ade80;

    --glow:       0 0 60px rgba(0, 255, 120, .06);
    --shadow-lg:  0 24px 70px rgba(0, 0, 0, .55);
    --hero-spot1: rgba(64, 182, 5, .14);
    --hero-spot2: rgba(34, 197, 94, .08);
}

html[data-theme="light"] {
    color-scheme: light;
    --background-color: #f6f9f5;
    --surface-color:    #ffffff;
    --surface-deep:     #fbfdfb;
    --band-bg:          #eef5ec;
    --nav-bg:           rgba(255, 255, 255, .85);
    --input-bg:         #f1f5f0;
    --input-border:     #d8e2d9;

    --default-color:    #1c2a21;
    --heading-color:    #0e1f14;
    --text-strong:      #0e1f14;
    --text-soft:        rgba(14, 31, 20, .8);
    --text-muted:       rgba(14, 31, 20, .6);
    --text-faint:       rgba(14, 31, 20, .42);
    --hairline:         rgba(14, 31, 20, .09);
    --hairline-strong:  rgba(14, 31, 20, .16);
    --hover-bg:         rgba(14, 31, 20, .05);

    --emerald:      #16a34a;
    --link-color:   #15803d;
    --link-hover:   #166534;

    --glow:       0 10px 40px rgba(20, 80, 40, .1);
    --shadow-lg:  0 24px 70px rgba(20, 40, 28, .16);
    --hero-spot1: rgba(64, 182, 5, .12);
    --hero-spot2: rgba(34, 197, 94, .08);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--background-color);
    color: var(--default-color);
    font-family: var(--default-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Never let a stray wide element create a horizontal scrollbar on phones. */
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1.2;
    margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--link-color); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }

::selection { background: var(--emerald); color: #06140a; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
    border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 10px;
    padding: 12px 26px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .22s ease;
    white-space: nowrap;
}

.btn-primary { background: var(--btn-green); border-color: var(--btn-green); color: #fff; }
.btn-primary:hover { background: var(--btn-green-hover); border-color: var(--btn-green-hover); color: #fff; transform: translateY(-2px); }

.btn-outline { background: transparent; border: 1px solid var(--hairline-strong); color: var(--text-soft); }
.btn-outline:hover { border-color: var(--emerald); color: var(--text-strong); }

.btn-lg { padding: 15px 34px; font-size: 1.02rem; border-radius: 12px; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Badges / labels ---------- */

.eyebrow {
    font-family: var(--nav-font);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

html[data-theme="light"] .eyebrow { color: var(--link-color); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--nav-font);
    font-size: .76rem;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, .3);
    background: rgba(34, 197, 94, .1);
    color: var(--emerald);
}

.pill.soon { border-color: var(--hairline-strong); background: var(--hover-bg); color: var(--text-muted); }

/* ---------- Navbar ---------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
}

.site-nav .inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-strong);
}

.brand:hover { color: var(--text-strong); }
.brand .zeo { color: var(--accent-color); }
html[data-theme="light"] .brand .zeo { color: var(--link-color); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

.nav-links a {
    font-family: var(--nav-font);
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-soft);
    padding: 9px 14px;
    border-radius: 9px;
}

.nav-links a:hover { color: var(--text-strong); background: var(--hover-bg); }
.nav-links a.active { color: var(--emerald); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
    background: none;
    border: 0;
    color: var(--text-soft);
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background .2s, color .2s;
}

.icon-btn:hover { background: var(--hover-bg); color: var(--emerald); }

.nav-toggle { display: none; }

/* Mobile nav panel (slides open; rendered only on mobile) */
.mobile-panel {
    display: none;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    border-top: 1px solid transparent;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height .4s ease, opacity .3s ease,
                padding .3s ease, border-color .3s ease;
}

.site-nav.open .mobile-panel {
    max-height: 520px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 20px;
    border-top-color: var(--hairline);
}

.mobile-panel a {
    display: block;
    font-family: var(--nav-font);
    font-weight: 500;
    color: var(--text-soft);
    padding: 12px 6px;
    border-bottom: 1px solid var(--hairline);
}

.mobile-panel a:last-of-type { border-bottom: 0; }
.mobile-panel .btn { display: flex; width: 100%; margin-top: 12px; }

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

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    background:
        radial-gradient(900px 420px at 85% -10%, var(--hero-spot1), transparent 65%),
        radial-gradient(700px 380px at -10% 40%, var(--hero-spot2), transparent 60%);
}

.hero .inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -.5px;
    margin: 18px 0 18px;
}

.hero h1 .accent { color: var(--accent-color); }
html[data-theme="light"] .hero h1 .accent { color: var(--link-color); }

.hero .lede {
    font-size: 1.13rem;
    color: var(--text-soft);
    max-width: 34rem;
    margin-bottom: 30px;
}

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }

/* Subtle text link into the cinematic /experience tour */
.btn-tour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: .92rem;
    color: var(--emerald);
    padding: 10px 6px;
}
.btn-tour:hover { color: var(--link-hover); }
.btn-tour .icon { filter: drop-shadow(0 0 6px rgba(34, 197, 94, .55)); }

.hero .fineprint {
    font-family: var(--nav-font);
    font-size: .83rem;
    color: var(--text-faint);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero .fineprint span { display: inline-flex; align-items: center; gap: 7px; }
.hero .fineprint .icon { color: var(--emerald); }

/* ---------- Browser mockup ---------- */

.mock {
    background: var(--surface-deep);
    border: 1px solid var(--hairline-strong);
    border-radius: 18px;
    box-shadow: var(--shadow-lg), var(--glow);
    overflow: hidden;
    font-family: var(--nav-font);
}

.mock .bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-color);
}

.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--hover-bg); }
.mock .bar i:nth-child(1) { background: #ef4444aa; }
.mock .bar i:nth-child(2) { background: #f59e0baa; }
.mock .bar i:nth-child(3) { background: #22c55eaa; }

.mock .url {
    margin-left: 10px;
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 7px;
    font-size: .72rem;
    color: var(--text-faint);
    padding: 5px 12px;
    white-space: nowrap;
    overflow: hidden;
}

.mock .body { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px; }

.mock .ring-card, .mock .panel {
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 13px;
    padding: 14px;
}

.mock .ring-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

.mock .ring { position: relative; width: 92px; height: 92px; }
.mock .ring .val {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.45rem; color: var(--text-strong);
    font-variant-numeric: tabular-nums;
}

.mock .cap { font-size: .68rem; color: var(--text-muted); }

.mock .row { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.mock .row:last-child { margin-bottom: 0; }
.mock .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock .lab { font-size: .73rem; color: var(--text-soft); width: 105px; flex-shrink: 0; }
.mock .track { flex: 1; height: 7px; border-radius: 4px; background: var(--hover-bg); overflow: hidden; }
.mock .track b { display: block; height: 100%; border-radius: 4px; }
.mock .num { font-size: .7rem; color: var(--text-faint); width: 24px; text-align: right; font-variant-numeric: tabular-nums; }

.mock .foot {
    display: flex;
    gap: 8px;
    padding: 0 18px 18px;
}

.mock .chip {
    flex: 1;
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 11px;
    padding: 10px 12px;
    font-size: .68rem;
    color: var(--text-muted);
}

.mock .chip b { display: block; font-size: 1.05rem; color: var(--text-strong); font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section.band { background: var(--band-bg); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 12px; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; margin: 0; }

/* Stats strip */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    text-align: center;
}

.stats .stat b {
    display: block;
    font-family: var(--nav-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-strong);
    font-variant-numeric: tabular-nums;
}

.stats .stat span { font-size: .85rem; color: var(--text-muted); }

/* Cards grid */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 26px;
    transition: border-color .25s, transform .25s;
}

.card:hover { border-color: rgba(34, 197, 94, .3); transform: translateY(-3px); }

.card .tile {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: rgba(34, 197, 94, .12);
    color: var(--emerald);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.card h3 { font-family: var(--nav-font); font-size: 1.05rem; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--text-muted); margin: 0; }
.card .head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Steps: keep the same balanced padding as the other cards (the number badge
   replaces the icon tile), so the inner spacing matches across both card grids. */
.step { position: relative; }
.step .num {
    font-family: var(--nav-font);
    font-weight: 700;
    font-size: .9rem;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(34, 197, 94, .12);
    color: var(--emerald);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}

/* Check list */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 880px; margin: 0 auto; }

.checks li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .95rem;
    color: var(--text-soft);
    padding: 9px 0;
    border-bottom: 1px solid var(--hairline);
}

.checks .icon { color: var(--emerald); flex-shrink: 0; margin-top: 4px; }
.checks ul { padding: 0; margin: 0; }

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

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
/* Homepage pricing teaser: two plans side by side, stacking on small screens.
   (A class, not an inline style, so the responsive stack below can win.) */
.price-grid.is-teaser { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) {
    .price-grid.is-teaser { grid-template-columns: 1fr; max-width: 420px; }
}

.price-card {
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.featured { border-color: rgba(34, 197, 94, .45); box-shadow: var(--glow); }

.price-card .flag {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--btn-green);
    color: #fff;
    font-family: var(--nav-font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.price-card .plan { font-family: var(--nav-font); font-weight: 600; font-size: 1.02rem; color: var(--text-strong); }
.price-card .amount { font-family: var(--nav-font); font-size: 2.3rem; font-weight: 700; color: var(--text-strong); margin: 10px 0 2px; }
.price-card .amount small { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.price-card .for { font-size: .85rem; color: var(--text-muted); margin-bottom: 22px; }

.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-card li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; color: var(--text-soft);
    padding: 7px 0;
}
.price-card li .icon { color: var(--emerald); flex-shrink: 0; margin-top: 4px; }
.price-card li.no { color: var(--text-faint); }
.price-card li.no .icon { color: var(--text-faint); }

/* ---------- Quotes ---------- */

.quote-card .stars { color: var(--status-warn); letter-spacing: 2px; margin-bottom: 12px; font-size: .9rem; }
.quote-card blockquote { margin: 0 0 18px; font-size: .95rem; color: var(--text-soft); }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--logo-grad-a), var(--logo-grad-b));
    color: #fff;
    font-family: var(--nav-font);
    font-weight: 700;
    font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
}
.quote-card .who b { display: block; font-family: var(--nav-font); font-size: .88rem; color: var(--text-strong); }
.quote-card .who span { font-size: .78rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 18px 22px;
    font-family: var(--nav-font);
    font-weight: 600;
    font-size: .97rem;
    color: var(--text-strong);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--hover-bg); }
.faq summary .icon { color: var(--text-faint); transition: transform .3s ease; flex-shrink: 0; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-muted); font-size: .93rem; }
.faq .answer p { margin: 0; }

/* Gentle reveal when an FAQ item opens */
.faq details[open] .answer { animation: reveal-down .35s ease; }

@keyframes reveal-down {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

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

.cta-band {
    border-radius: 22px;
    padding: 60px 40px;
    text-align: center;
    background:
        radial-gradient(600px 300px at 50% -40%, rgba(64, 182, 5, .22), transparent 70%),
        var(--surface-deep);
    border: 1px solid rgba(34, 197, 94, .25);
    box-shadow: var(--glow);
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--text-muted); max-width: 460px; margin: 0 auto 28px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: 72px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 14px 0 12px; }
.page-hero p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Prose (privacy/terms) ---------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: var(--text-soft); font-size: .96rem; }
.prose ul { padding-left: 22px; }
.prose .updated { font-size: .85rem; color: var(--text-faint); }

/* ---------- Forms ---------- */

.form-card {
    background: var(--surface-color);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    padding: 34px;
    max-width: 560px;
    margin: 0 auto;
}

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-family: var(--nav-font);
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 7px;
}

.input, .textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-strong);
    border-radius: 11px;
    padding: 13px 15px;
    font-family: var(--nav-font);
    font-size: .93rem;
    transition: border-color .2s, box-shadow .2s;
}

.textarea { min-height: 140px; resize: vertical; }

.input:focus, .textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}

.notice {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: .92rem;
    margin-bottom: 20px;
}

.notice.ok { background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); color: var(--emerald); }

/* ---------- Instant SEO check ---------- */

.qc-panel {
    background:
        radial-gradient(700px 320px at 50% -30%, rgba(64, 182, 5, .14), transparent 70%),
        var(--surface-deep);
    border: 1px solid rgba(34, 197, 94, .3);
    border-radius: 22px;
    box-shadow: var(--glow);
    padding: 48px 36px;
}

.qc-form {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.qc-form .input { font-size: 1rem; padding: 14px 18px; }

.qc-note {
    text-align: center;
    font-family: var(--nav-font);
    font-size: .8rem;
    color: var(--text-faint);
    margin: 12px 0 0;
}

.qc-error {
    max-width: 560px;
    margin: 16px auto 0;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .3);
    color: var(--status-bad);
}

.qc-result {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

.qc-score { text-align: center; }

.mock-ring { position: relative; display: inline-block; }
.mock-ring .val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nav-font);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-strong);
    font-variant-numeric: tabular-nums;
}

.qc-url {
    font-family: var(--nav-font);
    font-weight: 600;
    color: var(--text-strong);
    margin: 12px 0 4px;
    word-break: break-all;
    font-size: .92rem;
}

.qc-facts { font-size: .8rem; color: var(--text-muted); margin: 0; }

.qc-issues h3 {
    font-family: var(--nav-font);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.qc-issue {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--hairline);
}

.qc-issue .pill { flex-shrink: 0; margin-top: 2px; }
.qc-issue b { font-family: var(--nav-font); font-size: .92rem; color: var(--text-strong); }
.qc-issue .d { font-size: .82rem; color: var(--text-faint); }
.qc-issue p { font-size: .85rem; color: var(--text-muted); margin: 3px 0 0; }

.qc-clean { color: var(--text-soft); }

.qc-cta {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.qc-cta p { flex: 1; min-width: 220px; font-size: .88rem; color: var(--text-muted); margin: 0; }

@media (max-width: 767px) {
    .qc-panel { padding: 34px 20px; }
    .qc-form { flex-direction: column; }
    .qc-result { grid-template-columns: 1fr; gap: 22px; }
}

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

.site-footer {
    border-top: 1px solid var(--hairline);
    background: var(--surface-deep);
    padding: 56px 0 30px;
    margin-top: 40px;
}

.site-footer .cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.site-footer .about p { font-size: .9rem; color: var(--text-muted); max-width: 290px; margin-top: 14px; }

.site-footer h4 {
    font-family: var(--nav-font);
    font-size: .76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: var(--text-faint);
    margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { font-family: var(--nav-font); font-size: .9rem; color: var(--text-soft); }
.site-footer li a:hover { color: var(--emerald); }
.site-footer li .soon-tag { font-size: .7rem; color: var(--text-faint); margin-left: 6px; }

.site-footer .legal {
    border-top: 1px solid var(--hairline);
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text-faint);
    font-family: var(--nav-font);
}

.site-footer .legal a { color: var(--text-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .hero .inner { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding: 60px 0 50px; }
    .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .site-footer .cols { grid-template-columns: 1fr 1fr; }

    .nav-links, .site-nav .nav-actions .btn { display: none; }
    /* With the nav links hidden, the actions must claim the right edge. */
    .nav-actions { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
    .mobile-panel { display: block; }
}

@media (max-width: 575px) {
    .section { padding: 48px 0; }
    .section-head { margin-bottom: 34px; }
    .grid { gap: 14px; }
    .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .card .tile { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 12px; }
    .step .num { margin-bottom: 10px; }
    .checks { grid-template-columns: 1fr; }
    .mock .body { grid-template-columns: 1fr; }
    .mock .foot { flex-wrap: wrap; }
    .mock .chip { min-width: 40%; }
    .cta-band { padding: 44px 22px; }
    .site-footer .cols { grid-template-columns: 1fr; }
    .form-card { padding: 24px 18px; }
    .hero .actions .btn { width: 100%; }
    .site-nav .inner { height: 62px; gap: 14px; }
}

/* Small phones (iPhone SE / compact Android): tighten gutters and the mockup. */
@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .mock .body { padding: 14px; }
    .mock .lab { width: 84px; }
    .hero h1 { font-size: clamp(1.85rem, 8vw, 2.1rem); }
    .code-card pre { font-size: .76rem; }
}

/* ---------- Code sample (platform section) ---------- */
.code-card {
    max-width: 760px;
    margin: 34px auto 0;
    background: var(--surface-deep);
    border: 1px solid var(--hairline-strong);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: left;
}
.code-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline);
    background: var(--surface-color);
}
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--hover-bg); }
.code-bar i:nth-child(1) { background: #ef4444aa; }
.code-bar i:nth-child(2) { background: #f59e0baa; }
.code-bar i:nth-child(3) { background: #22c55eaa; }
.code-bar span { margin-left: 8px; font-family: var(--nav-font); font-size: .72rem; color: var(--text-faint); }
.code-card pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
    font-size: .82rem;
    line-height: 1.75;
    color: var(--text-soft);
}
.code-card .c-mut { color: var(--text-faint); }
.code-card .c-key { color: var(--emerald); font-weight: 600; }
.code-card .c-str { color: #38bdf8; }
.code-card .c-num { color: #f59e0b; }

/* ---------- 3D scroll reveal (modern browsers, no JS) ----------
   Uses the individual `translate` / `rotate` properties (not the `transform`
   shorthand) so the card hover-lift still composes on top. A `perspective` on
   the grid gives the rotateX real depth. Where animation-timeline is not
   supported, the rules inside @supports never apply and content shows normally. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grid, .checks, .stats, .price-grid { perspective: 1300px; }

    .section .grid > .card,
    .section .checks > li,
    .section .stats > .stat,
    .section .price-grid > .price-card {
        animation: dz-reveal3d linear both;
        animation-timeline: view();
        animation-range: entry 5% entry 46%;
        will-change: opacity, transform;
    }

    /* light stagger so a row cascades instead of popping in together */
    .section .grid > *:nth-child(4n+2) { animation-range: entry 9% entry 50%; }
    .section .grid > *:nth-child(4n+3) { animation-range: entry 13% entry 54%; }
    .section .grid > *:nth-child(4n+4) { animation-range: entry 17% entry 58%; }
    .section .checks > li:nth-child(2n) { animation-range: entry 9% entry 50%; }

    .section .section-head,
    .section .code-card,
    .section .qc-panel,
    .section .cta-band {
        animation: dz-fadeup linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
        will-change: opacity, transform;
    }
  }
}

/* On phones, drop the 3D tilt on reveal: perspective on a narrow card can
   project its edge a few px past the viewport. A clean fade-up reads better
   on small screens anyway. (Only the animation NAME is overridden, so the
   view-timeline / range / fill from the rule above still apply.) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
    .section .grid > .card,
    .section .checks > li,
    .section .stats > .stat,
    .section .price-grid > .price-card { animation-name: dz-fadeup; }
    .grid, .checks, .stats, .price-grid { perspective: none; }
  }
}

@keyframes dz-reveal3d {
    from { opacity: 0; translate: 0 42px; rotate: x 16deg; }
    to   { opacity: 1; translate: 0 0;    rotate: x 0deg; }
}
@keyframes dz-fadeup {
    from { opacity: 0; translate: 0 26px; }
    to   { opacity: 1; translate: 0 0; }
}

/* ---------- Hero mockup: a tilted 3D panel that straightens on hover ---------- */
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
    .hero .mock {
        transform: perspective(1500px) rotateY(-7deg) rotateX(3deg);
        transition: transform .7s cubic-bezier(.22, 1, .36, 1);
    }
    .hero .mock:hover {
        transform: perspective(1500px) rotateY(0deg) rotateX(0deg) translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    :root { scroll-behavior: auto; }
}
