/* =============================================================================
   SnitchOS marketing — shared design system
   Single source of truth for every page. No external hosts (strict CSP):
   system-font stack, inline SVG, same-origin assets only.
   Palette: deep-slate ink + a single desaturated evergreen accent.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
    /* Neutrals — one cool-slate family, tinted toward the accent */
    --ink:        #0B1420;
    --slate-900:  #0F1B2D;
    --slate-800:  #17273C;
    --slate-700:  #24384F;
    --slate-600:  #3A4C63;
    --body:       #33414F;
    --muted:      #61708A;
    --line:       #E3E8E1;
    --line-soft:  #EEF1EC;
    --paper:      #F4F7F3;   /* faint green-cool page tint */
    --paper-2:    #ECF0EA;   /* alt band */
    --surface:    #FFFFFF;

    /* Accent — desaturated sage + deep evergreen for text on light */
    --sage:       #86AE76;
    --sage-600:   #6E9A5E;
    --evergreen:  #3F6B4A;
    --evergreen-700: #315539;
    --sage-tint:  #E7F0E2;
    --sage-line:  #CBDDC1;

    /* Functional */
    --amber:      #B4650B;
    --amber-tint: #FBF0DE;
    --danger:     #B4231F;
    --sky:        #2E6E86;

    /* Tinted shadows (slate hue, never pure black) */
    --shadow-sm: 0 1px 2px rgba(15,27,45,.06), 0 1px 3px rgba(15,27,45,.05);
    --shadow-md: 0 6px 16px -6px rgba(15,27,45,.14), 0 2px 6px -2px rgba(15,27,45,.07);
    --shadow-lg: 0 28px 56px -20px rgba(11,20,32,.32), 0 8px 20px -12px rgba(11,20,32,.18);
    --ring: 0 0 0 3px rgba(134,174,118,.45);

    /* Radii — vary by nesting depth */
    --r-xs: 6px;
    --r-sm: 9px;
    --r:    13px;
    --r-lg: 20px;
    --r-xl: 28px;
    --pill: 999px;

    /* Type */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", "Segoe UI Mono", Menlo, Consolas, monospace;

    --fs-display: clamp(2.55rem, 1.5rem + 3.6vw, 4.25rem);
    --fs-h1:      clamp(2.05rem, 1.5rem + 2.1vw, 3rem);
    --fs-h2:      clamp(1.65rem, 1.28rem + 1.5vw, 2.35rem);
    --fs-h3:      1.28rem;
    --fs-lede:    clamp(1.06rem, 1rem + .45vw, 1.3rem);
    --fs-body:    1.0625rem;
    --fs-sm:      .9375rem;
    --fs-xs:      .8125rem;

    --maxw: 1200px;
    --maxw-narrow: 768px;
    --section-y: clamp(4rem, 7vw, 7rem);
    --header-h: 66px;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
    font-family: var(--font-sans);
    color: var(--body);
    background: var(--paper);
    font-size: var(--fs-body);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { text-wrap: pretty; }
a  { color: var(--evergreen); text-decoration: none; }
a:hover { color: var(--evergreen-700); text-decoration: underline; text-underline-offset: 2px; }
strong { color: var(--slate-800); font-weight: 650; }
code, kbd, .mono { font-family: var(--font-mono); font-size: .875em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

/* Skip link */
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--slate-900); color: #fff; padding: .6rem 1rem;
    border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600;
    transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; color: #fff; }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
    font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; color: var(--evergreen);
    display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--sage-600); display: inline-block; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lede); margin-top: .85rem; }
.lede { font-size: var(--fs-lede); color: var(--muted); }

/* ---- Bands (intentional full-bleed color shifts) ------------------------- */
.band-tint { background: var(--paper-2); }
.band-sage { background:
    linear-gradient(180deg, var(--sage-tint), #EEF4EA);
    border-block: 1px solid var(--sage-line); }
.band-dark {
    background:
      radial-gradient(120% 120% at 85% -10%, rgba(134,174,118,.16) 0, transparent 42%),
      linear-gradient(180deg, var(--slate-900), var(--ink));
    color: #C7D2DE;
    background-image:
      radial-gradient(120% 120% at 85% -10%, rgba(134,174,118,.16) 0, transparent 42%),
      linear-gradient(180deg, var(--slate-900), var(--ink)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23ffffff' fill-opacity='0.035'/%3E%3C/svg%3E");
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .eyebrow { color: var(--sage); }
.band-dark .eyebrow::before { background: var(--sage); }
.band-dark .lede, .band-dark .section-head p { color: #A9B7C6; }
.band-dark a { color: var(--sage); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.4rem; border-radius: var(--r-sm); font-weight: 600;
    font-size: var(--fs-sm); letter-spacing: .005em; cursor: pointer;
    border: 1px solid transparent; text-decoration: none; white-space: nowrap;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--evergreen); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--evergreen-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-sage { background: var(--sage); color: var(--ink); }
.btn-sage:hover { background: #96BC86; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--slate-800); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--sage-line); color: var(--slate-900); }
.band-dark .btn-ghost { color: #E4EAF1; border-color: rgba(255,255,255,.22); }
.band-dark .btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-link { color: var(--evergreen); font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .35rem; }
.btn-link:hover { gap: .55rem; text-decoration: none; }
.btn-link svg { width: 1em; height: 1em; transition: transform .16s ease; }

/* ---- Chips / badges ------------------------------------------------------ */
.chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .34rem .7rem; border-radius: var(--pill);
    font-size: var(--fs-xs); font-weight: 600; color: var(--slate-700);
    background: var(--surface); border: 1px solid var(--line);
    white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; color: var(--evergreen); flex: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.band-dark .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #D6DEE8; }
.band-dark .chip svg { color: var(--sage); }
.tag {
    display: inline-block; padding: .12rem .5rem; border-radius: var(--r-xs);
    font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
}
.tag-now  { background: var(--sage-tint); color: var(--evergreen-700); }
.tag-next { background: var(--amber-tint); color: var(--amber); }
.tag-live { background: var(--sage-tint); color: var(--evergreen-700); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(244,247,243,.82);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(244,247,243,.94); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--slate-900); }
.brand:hover { text-decoration: none; color: var(--slate-900); }
.brand .logo { width: 30px; height: 30px; flex: none; }
.brand .w-os { color: var(--evergreen); }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: 1rem; }
.nav-links a {
    color: var(--slate-700); font-size: var(--fs-sm); font-weight: 550;
    padding: .5rem .7rem; border-radius: var(--r-sm); transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: rgba(15,27,45,.05); color: var(--slate-900); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--evergreen-700); background: var(--sage-tint); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav-cta .signin { color: var(--slate-700); font-weight: 600; font-size: var(--fs-sm); padding: .5rem .7rem; }
.nav-cta .signin:hover { color: var(--slate-900); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .5rem; cursor: pointer; color: var(--slate-800); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
    .nav-links, .nav-cta .signin { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-cta { margin-left: auto; }
    .site-header.open .nav-links {
        display: flex; position: absolute; left: 0; right: 0; top: var(--header-h);
        flex-direction: column; align-items: stretch; gap: .15rem; margin: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        padding: .75rem 1.5rem 1.25rem; box-shadow: var(--shadow-md);
    }
    .site-header.open .nav-links a { padding: .7rem .8rem; }
    .site-header.open .nav-cta .signin { display: inline-flex; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .container { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .u { color: var(--evergreen); position: relative; white-space: nowrap; }
.hero .lede { margin-top: 1.25rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero .chip-row { margin-top: 1.75rem; }
.hero-visual { position: relative; }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { order: -1; }
}

/* ---- Stat strip ---------------------------------------------------------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--surface); padding: 1.4rem 1.5rem; }
.stat .num { font-size: 1.9rem; font-weight: 750; color: var(--slate-900); letter-spacing: -0.02em; line-height: 1; }
.stat .num .unit { font-size: 1.05rem; color: var(--evergreen); font-weight: 650; }
.stat .lbl { font-size: var(--fs-sm); color: var(--muted); margin-top: .45rem; }
.band-dark .stat { background: rgba(255,255,255,.03); }
.band-dark .stat-strip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.band-dark .stat .num { color: #fff; }
.band-dark .stat .lbl { color: #9DABBD; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---- Pillars (alternating feature rows) ---------------------------------- */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pillar + .pillar { margin-top: clamp(3.5rem, 7vw, 6rem); }
.pillar:nth-child(even) .pillar-media { order: -1; }
.pillar h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.pillar .eyebrow { margin-bottom: .8rem; }
.pillar p { color: var(--muted); margin-top: .75rem; font-size: 1.075rem; }
.pillar-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .7rem; }
.pillar-list li { position: relative; padding-left: 1.75rem; color: var(--body); }
.pillar-list li::before {
    content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px;
    background: var(--sage); border-radius: 3px; transform: rotate(45deg);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.65);
}
@media (max-width: 800px) {
    .pillar { grid-template-columns: 1fr; gap: 2rem; }
    .pillar:nth-child(even) .pillar-media { order: 0; }
}

/* ---- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage-line); }
.card .card-icon {
    width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center;
    background: var(--sage-tint); color: var(--evergreen-700); margin-bottom: 1rem;
}
.card .card-icon svg { width: 22px; height: 22px; }
.card h3, .card h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card.span-2 { grid-column: span 2; }
@media (max-width: 620px) { .card.span-2 { grid-column: span 1; } }
.card.feature-dark { background: linear-gradient(160deg, var(--slate-800), var(--slate-900)); border-color: var(--slate-700); color: #C7D2DE; }
.card.feature-dark h3, .card.feature-dark h4 { color: #fff; }
.card.feature-dark p { color: #9FAEC0; }
.card.feature-dark .card-icon { background: rgba(134,174,118,.16); color: var(--sage); }

/* Category feature block (product page) */
.feat-cat + .feat-cat { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feat-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.feat-cat-head h3 { font-size: 1.35rem; }
.feat-cat-head .count { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); }
.feat-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 1.3rem 1fr; gap: .85rem; align-items: start; }
.feat-item:last-child { border-bottom: none; }
.feat-item .tick { color: var(--evergreen); margin-top: .2rem; }
.feat-item .tick svg { width: 20px; height: 20px; }
.feat-item h4 { font-size: 1.02rem; margin-bottom: .2rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.feat-item p { color: var(--muted); font-size: var(--fs-sm); }

/* ---- How it works (numbered flow) --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step .step-n { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; color: var(--evergreen); letter-spacing: .1em; }
.step h3 { font-size: 1.15rem; margin: .5rem 0 .4rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.step .step-media { margin-bottom: 1rem; color: var(--evergreen-700); }
.step .step-media svg { width: 40px; height: 40px; }

/* ---- Comparison table ---------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: var(--fs-sm); }
table.cmp caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
table.cmp th, table.cmp td { padding: .95rem 1.15rem; text-align: left; vertical-align: top; }
table.cmp thead th { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--slate-700); border-bottom: 2px solid var(--slate-800); }
table.cmp thead th.ours { color: var(--evergreen-700); }
table.cmp tbody tr { border-bottom: 1px solid var(--line-soft); }
table.cmp tbody tr:last-child { border-bottom: none; }
table.cmp tbody tr:nth-child(even) { background: #FBFCFA; }
table.cmp th[scope="row"] { font-weight: 600; color: var(--slate-800); width: 26%; }
table.cmp td.theirs { color: var(--muted); }
table.cmp td.ours { color: var(--evergreen-700); font-weight: 600; }
table.cmp td.ours::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--sage); border-radius: 2px; margin-right: .5rem; transform: translateY(-1px); }

/* ---- Privacy / do-not list ---------------------------------------------- */
.deny-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 700px) { .deny-grid { grid-template-columns: 1fr; } }
.deny {
    display: grid; grid-template-columns: 1.7rem 1fr; gap: .8rem; align-items: start;
    background: var(--surface); border: 1px solid var(--sage-line); border-left: 3px solid var(--sage);
    border-radius: var(--r); padding: 1.15rem 1.3rem;
}
.deny .no { color: var(--danger); margin-top: .1rem; }
.deny .no svg { width: 22px; height: 22px; }
.deny h4 { font-size: 1rem; margin-bottom: .25rem; }
.deny p { color: var(--muted); font-size: var(--fs-sm); }
.deny p code { background: var(--paper-2); padding: .05rem .35rem; border-radius: 4px; color: var(--slate-700); }

/* ---- Pricing ------------------------------------------------------------- */
.price-hero { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price-hero .amount { font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 800; color: var(--slate-900); letter-spacing: -0.03em; line-height: 1; }
.price-hero .per { color: var(--muted); font-size: 1.05rem; }
.price-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.price-panel.featured { border-color: var(--sage); box-shadow: var(--shadow-lg); position: relative; }
.incl { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.incl li { position: relative; padding-left: 1.9rem; color: var(--body); font-size: var(--fs-sm); }
.incl li svg { position: absolute; left: 0; top: .15rem; width: 18px; height: 18px; color: var(--evergreen); }
.price-note { font-size: var(--fs-sm); color: var(--muted); }

/* ---- FAQ ----------------------------------------------------------------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { cursor: pointer; list-style: none; padding: 1.25rem .25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 650; color: var(--slate-900); font-size: 1.06rem; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .ic { flex: none; width: 22px; height: 22px; color: var(--evergreen); transition: transform .2s ease; }
.faq-item[open] > summary .ic { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 .25rem 1.4rem; color: var(--muted); max-width: 62ch; }
.faq-item .faq-body code { background: var(--paper-2); padding: .05rem .35rem; border-radius: 4px; }

/* ---- Logo / integration wall -------------------------------------------- */
.logo-wall { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.logo-wall .lw {
    display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem;
    border: 1px solid var(--line); border-radius: var(--pill); background: var(--surface);
    font-weight: 650; color: var(--slate-700); font-size: var(--fs-sm);
}
.logo-wall .lw svg { width: 18px; height: 18px; color: var(--slate-600); }

/* ---- Quote / testimonial ------------------------------------------------- */
.quote { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; max-width: 60rem; }
.quote blockquote { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); line-height: 1.4; color: var(--slate-900); font-weight: 500; letter-spacing: -0.01em; }
.quote .who { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--muted); }
.quote .who strong { color: var(--slate-800); }
.quote .mono-avatar { width: 60px; height: 60px; border-radius: var(--r); background: var(--slate-900); color: var(--sage); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem; flex: none; }
.band-dark .quote blockquote { color: #fff; }
@media (max-width: 620px) { .quote { grid-template-columns: 1fr; } }

/* ---- Form ---------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--slate-800); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
    font: inherit; font-size: var(--fs-sm); color: var(--slate-900);
    padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--surface); width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: var(--ring); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .err { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-status { font-size: var(--fs-sm); padding: .75rem 1rem; border-radius: var(--r-sm); display: none; }
.form-status.ok { display: block; background: var(--sage-tint); color: var(--evergreen-700); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); max-width: 20ch; margin-inline: auto; }
.cta-final p { max-width: 44ch; margin: 1rem auto 1.75rem; }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---- Callout / note ------------------------------------------------------ */
.note { border-radius: var(--r); padding: 1.15rem 1.35rem; font-size: var(--fs-sm); display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; }
.note svg { width: 20px; height: 20px; margin-top: .1rem; }
.note-info { background: var(--sage-tint); border: 1px solid var(--sage-line); color: var(--evergreen-700); }
.note-info svg { color: var(--evergreen); }

/* ---- Prose (legal pages) ------------------------------------------------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--body); font-size: 1rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; display: grid; gap: .4rem; }
.prose .meta { color: var(--muted); font-size: var(--fs-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: var(--fs-sm); }
.prose table th, .prose table td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.prose table th { background: var(--paper-2); }

/* ---- Page hero (interior pages) ------------------------------------------ */
.page-hero { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero p { margin-top: 1rem; max-width: 44rem; }
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--evergreen); }
.breadcrumb span { color: var(--slate-700); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93A2B5; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #B9C6D4; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand .w-os { color: var(--sage); }
.footer-brand p { color: #7E8EA2; font-size: var(--fs-sm); margin-top: 1rem; max-width: 30ch; }
.footer-col h4 { color: #E4EAF1; font-size: var(--fs-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { font-size: var(--fs-sm); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; font-size: var(--fs-xs); color: #6E7E92; }
.footer-bottom .status { display: inline-flex; align-items: center; gap: .45rem; }
.footer-bottom .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(134,174,118,.22); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Utilities ----------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Mock dashboard frame (inline-SVG art wrapper) */
.mock { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(15,27,45,.1); background: var(--surface); }
.mock svg { width: 100%; height: auto; }
.float-note {
    position: absolute; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-sm); box-shadow: var(--shadow-md); padding: .6rem .8rem;
    font-size: var(--fs-xs); font-weight: 600; color: var(--slate-800);
    display: flex; align-items: center; gap: .45rem;
}
.float-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
@media (max-width: 860px) { .float-note { display: none; } }
