/* Rivenza marketing site. Tokens first, then layout, then components. Low-specificity classes only. */
:root
{
    --ink: #1c1b3b;
    --ink-2: #4b4a6b;
    --ink-3: #7c7b9b;
    --indigo: #4338ca;
    --indigo-deep: #312e81;
    --violet: #7c3aed;
    --night: #1e1b4b;
    --night-2: #262357;
    --paper: #ffffff;
    --mist: #f4f3fb;
    --mist-2: #eceaf8;
    --line: #e3e1f1;
    --line-2: #cfcce6;
    --tint: #eef2ff;
    --glow: #c7d2fe;
    --signal: #16a34a;
    --wa: #25d366;
    --ig: #e1306c;
    --fb: #0866ff;
    --tg: #229ed9;
    --mail: #f59e0b;
    --web: #0ea5e9;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --display: "Bricolage Grotesque", "Segoe UI", Helvetica, Arial, sans-serif;
    --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
    --shadow-1: 0 1px 2px rgba(28, 27, 59, 0.06), 0 6px 18px rgba(28, 27, 59, 0.06);
    --shadow-2: 0 2px 6px rgba(28, 27, 59, 0.08), 0 30px 60px rgba(28, 27, 59, 0.16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-optical-sizing: auto; margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 4px 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.eyebrow
{
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo);
    margin: 0 0 14px;
}
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14.5px; }
.skip
{
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--night);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    z-index: 100;
}
.skip:focus { left: 8px; }

/* Header */
.site-head
{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-head .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.site-logo img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: 15.5px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.on { color: var(--ink); }
.site-nav a.btn-primary { color: #fff; }
.site-nav a.btn-primary:hover { color: #fff; }
.nav-toggle
{
    display: none;
    background: none;
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 860px)
{
    .nav-toggle { display: inline-grid; place-items: center; }
    .site-nav
    {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .site-nav a:last-child { border-bottom: 0; }
    .site-nav .btn { margin-top: 12px; justify-content: center; }
}

/* Buttons */
.btn
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15.5px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 20px rgba(67, 56, 202, 0.28); }
.btn-primary:hover { background: #3b31b8; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--indigo-deep); }
.btn-light:hover { background: var(--tint); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--mist); }
.section.night { background: var(--night); color: #e6e4f7; }
.section.night h2, .section.night h3 { color: #fff; }
.section.night .eyebrow { color: #b4b0f0; }
.section.night .muted { color: #a6a3cf; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lede { margin-top: 14px; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.7vw, 62px); }
.hero-copy .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
.hero-note b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 960px)
{
    .hero { padding-top: 48px; }
    .hero .container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* Stage: dashboard window + phone, with the brand swap */
.stage
{
    position: relative;
    border-radius: var(--r-lg);
    padding: 34px 0 0 34px;
    background: #4b3fd6 url("/assets/hero-bg.webp") center / cover no-repeat;
    min-height: 460px;
    box-shadow: var(--shadow-2);
}
@supports not (background-image: url("a.webp")) { .stage { background-image: url("/assets/hero-bg.jpg"); } }
.win
{
    background: var(--paper);
    border-top-left-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(20, 16, 70, 0.35);
    font-size: 12px;
    color: var(--ink);
    min-height: 426px;
}
.win-top { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.win-url { font-family: var(--mono); font-size: 11px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.win-body { display: grid; grid-template-columns: 162px minmax(0, 1fr); min-height: 392px; }
.win-side { background: var(--mist); border-right: 1px solid var(--line); padding: 14px 12px; }
.win-side ul { list-style: none; margin: 16px 0 0; padding: 0; }
.win-side li { padding: 7px 10px; border-radius: 7px; color: var(--ink-2); font-weight: 500; }
.win-side li.on { background: #fff; color: var(--indigo); box-shadow: var(--shadow-1); }
.brand-slot { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.brand-mark
{
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 14px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    flex: 0 0 auto;
}
.brand-mark-example { background: #0f766e; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 13.5px; letter-spacing: -0.01em; color: var(--indigo-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swap { transition: opacity 0.35s ease, transform 0.35s ease; }
.swap.out { opacity: 0; transform: translateY(4px); }
.win-main { padding: 14px 16px; }
.win-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.pill { font-family: var(--mono); font-size: 10.5px; color: var(--indigo); background: var(--tint); border-radius: 999px; padding: 2px 9px; font-weight: 500; }
.convo { list-style: none; margin: 0; padding: 0; }
.convo li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; border-bottom: 1px solid var(--line); }
.convo li:last-child { border-bottom: 0; }
.convo li.sel { background: var(--tint); }
.convo b { display: block; font-size: 12.5px; font-weight: 600; }
.convo small { display: block; color: var(--ink-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo time { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.av
{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    background: var(--ink-3);
    position: relative;
}
.av::after
{
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--ch, var(--ink-3));
}
.av.wa { background: #1f7a4d; --ch: var(--wa); }
.av.ig { background: #b02458; --ch: var(--ig); }
.av.fb { background: #1e4fb0; --ch: var(--fb); }
.av.mail { background: #9a5b00; --ch: var(--mail); }
.av.web { background: #0b7ba8; --ch: var(--web); }
.av.tg { background: #16739e; --ch: var(--tg); }
.phone
{
    position: absolute;
    right: -6px;
    bottom: -26px;
    width: 196px;
    background: #fff;
    border-radius: 26px;
    border: 6px solid #17163a;
    box-shadow: 0 30px 50px rgba(20, 16, 70, 0.45);
    padding: 14px 12px 14px;
    font-size: 11px;
}
.phone::before { content: ""; display: block; width: 60px; height: 6px; border-radius: 4px; background: #17163a; margin: -6px auto 12px; }
.phone-top { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.phone-top .brand-mark { width: 20px; height: 20px; font-size: 12px; border-radius: 6px; }
.phone-top .brand-name { font-size: 12.5px; }
.phone .convo li { grid-template-columns: 24px minmax(0, 1fr); padding: 7px 4px; gap: 8px; }
.phone .convo time { display: none; }
.phone .av { width: 24px; height: 24px; font-size: 9px; }
.phone .av::after { width: 9px; height: 9px; }
.phone .convo b { font-size: 11px; }
.phone .convo small { font-size: 10px; }
.phone-cta
{
    margin-top: 10px;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 8px;
    font-weight: 600;
    font-size: 11px;
}
.stage-caption { margin: 42px 0 0; font-size: 14px; color: var(--ink-3); }
.stage-caption b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 560px)
{
    .stage { padding: 22px 0 0 22px; min-height: 0; }
    .win-body { grid-template-columns: 118px minmax(0, 1fr); }
    .win-side li { padding: 6px 8px; }
    .phone { width: 150px; right: -4px; bottom: -22px; }
    .convo li:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: no-preference)
{
    .hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
    .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
    .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
    .hero-copy > *:nth-child(5) { animation-delay: 0.3s; }
    .stage { animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Channel strip */
.strip { padding: 40px 0 56px; }
.strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.strip-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.chip
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ch, var(--indigo)); }
.chip.wa { --ch: var(--wa); }
.chip.ig { --ch: var(--ig); }
.chip.fb { --ch: var(--fb); }
.chip.tg { --ch: var(--tg); }
.chip.mail { --ch: var(--mail); }
.chip.web { --ch: var(--web); }
.chip.sms { --ch: #64748b; }
.chip.voice { --ch: var(--violet); }
.chip.sdk { --ch: var(--indigo-deep); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.card
{
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 26px;
    box-shadow: var(--shadow-1);
}
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; }
.icon
{
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--tint);
    color: var(--indigo);
    display: grid;
    place-items: center;
}
.icon svg { width: 22px; height: 22px; }
.reason { padding: 0; border: 0; box-shadow: none; background: none; }
.reason h3 { margin-top: 18px; }
.reason .rule { width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo), var(--violet)); }

/* Brand options */
.option { padding: 34px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.option .eyebrow { margin-bottom: 10px; }
.option h3 { font-size: 26px; margin-bottom: 12px; }
.option p { font-size: 16px; }
.option ul { margin: 18px 0 0; padding: 0; list-style: none; }
.option li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: 15.5px; }
.option li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 14px; height: 8px; border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(-45deg); }
.option-a { background: var(--paper); border: 1px solid var(--line-2); }
.option-b { background: var(--night); color: #dedcf5; }
.option-b h3 { color: #fff; }
.option-b .eyebrow { color: #b4b0f0; }
.option-b li { border-top-color: rgba(255, 255, 255, 0.12); }
.option-b li::before { border-color: #a5b4fc; }
.option-b p { color: #cfcdec; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line-2); }
.steps li::before
{
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--mono);
    font-size: 13px;
    color: var(--indigo);
    position: absolute;
    top: -11px;
    left: 0;
    background: var(--mist);
    padding-right: 10px;
}
.section:not(.tint) .steps li::before { background: var(--paper); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Split layout (text + panel) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(-45deg); }
.section.night .checks li::before { border-color: #a5b4fc; }
.panel { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.panel h4 { margin-bottom: 12px; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.panel h4:not(:first-child) { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.section.night .panel { background: var(--night-2); border-color: rgba(255, 255, 255, 0.1); }
.section.night .chips span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #dedcf5; }

/* Phone (standalone, mobile section) */
.phone-solo { position: static; width: 250px; margin: 0 auto; font-size: 13px; }
.phone-solo .convo li { grid-template-columns: 28px minmax(0, 1fr); }
.phone-solo .av { width: 28px; height: 28px; font-size: 10px; }
.phone-solo .convo b { font-size: 12.5px; }
.phone-solo .convo small { font-size: 11px; }
.kbd
{
    margin-top: 10px;
    background: var(--mist);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.kbd span { background: #fff; border-radius: 6px; padding: 6px 4px; text-align: center; font-size: 10px; font-weight: 600; color: var(--indigo); box-shadow: 0 1px 0 var(--line-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary
{
    cursor: pointer;
    list-style: none;
    padding: 18px 44px 18px 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after
{
    content: "";
    position: absolute;
    right: 8px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq details p { color: var(--ink-2); padding-bottom: 12px; max-width: 70ch; }

/* CTA band */
.cta
{
    padding: 96px 0;
    background: linear-gradient(120deg, var(--indigo-deep), var(--indigo) 55%, var(--violet));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: url("/assets/hero-bg.webp") center / cover no-repeat; opacity: 0.35; mix-blend-mode: soft-light; }
.cta .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: 18px; margin: 14px 0 0; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-actions .small { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 860px) { .cta .container { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { background: #14132e; color: #b9b7d8; padding: 56px 0 28px; font-size: 14.5px; }
.site-foot .container { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot img { height: 28px; width: auto; margin-bottom: 12px; }
.site-foot h4 { color: #fff; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 8px 0; }
.site-foot a { color: #d6d4ee; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #8d8bb3; font-size: 13.5px; }
.foot-bottom .container { display: block; }
@media (max-width: 860px) { .site-foot .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-foot .container { grid-template-columns: minmax(0, 1fr); } }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.page-hero .lede { margin-top: 16px; }
.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.subnav a:hover { background: var(--mist); text-decoration: none; }
.feature { padding: 80px 0; border-bottom: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 0; }
.feature .split { align-items: start; }
.feature .eyebrow { margin-bottom: 10px; }
.feature h2 { margin-bottom: 14px; }
.feature .lede { font-size: 18px; }
.feature .checks { margin-top: 16px; }
.feature .checks li { font-size: 16px; }
@media (max-width: 720px) { .feature { padding: 56px 0; } }

/* Comparison table */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-1); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--mist); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); width: 26%; }

/* Prose pages */
.prose { max-width: 76ch; padding: 48px 0 96px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose .toc { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px 20px 40px; margin: 28px 0 8px; columns: 2; column-gap: 32px; font-size: 15px; }
.prose .toc li { break-inside: avoid; margin: 4px 0; }
.prose .meta { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.prose .callout { background: var(--tint); border-left: 3px solid var(--indigo); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; margin: 20px 0; }
.prose .callout p { margin: 0; }
.prose kbd { font-family: var(--mono); font-size: 0.86em; background: var(--mist); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 7px; }
.prose dl { margin: 0 0 16px; }
.prose dt { font-weight: 600; margin-top: 12px; }
.prose dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 620px) { .prose .toc { columns: 1; } }

.panel-note { margin: 0 0 12px; color: var(--ink-2); }
