/* ═══════════════════════════════════════════════════════════════
   Portwood DocGen — shared site stylesheet
   Light theme. One source of truth.
   Page-specific styles go in the page itself.
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Backgrounds */
    --bg: #fcfcfd;
    --bg-soft: #f7f8fa;
    --bg-card: #ffffff;
    --bg-card-hi: #ffffff;

    /* Borders */
    --border: rgba(15, 23, 42, 0.08);
    --border-hi: rgba(15, 23, 42, 0.16);

    /* Text */
    --text: #2c2d33;
    --text-strong: #1e1f24;
    --text-dim: #545560;
    --text-faint: #5e606a;
    --prose-text: #2c2d33;

    /* Brand */
    --brand: #0176d3;
    --brand-hi: #0b6fc1;
    --brand-glow: rgba(27, 150, 255, 0.18);

    /* Accents (calibrated for legibility on light surfaces, AA contrast) */
    --cyan: #0e7490;
    --green: #047857;
    --amber: #b45309;
    --red: #b91c1c;

    /* Surfaces */
    --surface-top: rgba(255, 255, 255, 0.95);
    --surface-bot: rgba(248, 250, 252, 0.9);
    --surface-solid: #ffffff;
    --input-bg: #ffffff;
    --ghost-bg: rgba(15, 23, 42, 0.04);
    --ghost-bg-hi: rgba(15, 23, 42, 0.08);
    --grid-line: rgba(15, 23, 42, 0.04);
    --code-bg: #f0f0f3;
    --th-bg: rgba(15, 23, 42, 0.03);

    /* Shadow scale */
    --shadow-sm: 0 1px 3px -1px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 6px 18px -8px rgba(15, 23, 42, 0.14), 0 2px 6px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 8px 16px -8px rgba(15, 23, 42, 0.08);

    /* Radius */
    --radius: 14px;

    color-scheme: light;
}

/* Global text color guards (override page-scoped color hardcodes) */
h1,
h2,
h3,
h4,
h5,
h6 { color: var(--text-strong); }

.tl-card h3,
.tl-card ul,
.tier-card h3,
.tier-list li,
.community-callout h3,
.community-callout p,
.roadmap-cta h2,
.roadmap-cta p,
.channel-name,
.channel-card p,
.client-callout h3,
.client-callout p,
.why-card h4,
.why-card p,
.how-card h3,
.how-card p,
.form-success h3,
.form-success p,
.price-card h3,
.price-card p,
.price-list li,
.cadence-card h3,
.cadence-card p,
.cadence-mod,
.pricing-section h2,
.cadence-helper { color: var(--text); }

.tl-card h3,
.tier-card h3,
.community-callout h3,
.channel-name,
.client-callout h3,
.why-card h4,
.how-card h3,
.form-success h3,
.price-card h3,
.cadence-mod { color: var(--text-strong); font-weight: 800; }

/* Card body text and list items — softer than headings */
.card p,
.tl-card p,
.tl-card ul,
.price-card p,
.why-card p,
.how-card p,
.channel-card p,
.client-callout p,
.community-callout p,
.tier-list li { color: var(--text); }

/* ─── Accent labels/badges (calibrated for light surfaces) ─── */
.tl-label.done { color: #047857; background: rgba(4, 120, 87, 0.1); border-color: rgba(4, 120, 87, 0.3); }
.tl-label.now { color: #0369a1; background: rgba(3, 105, 161, 0.1); border-color: rgba(3, 105, 161, 0.3); }
.tl-label.next { color: #475569; background: rgba(71, 85, 105, 0.08); border-color: rgba(71, 85, 105, 0.2); }
.tier-badge { color: #047857; background: rgba(4, 120, 87, 0.1); border-color: rgba(4, 120, 87, 0.3); }
.banner-success { color: #047857; background: rgba(4, 120, 87, 0.08); border-color: rgba(4, 120, 87, 0.25); }
.banner-info { color: #0369a1; background: rgba(3, 105, 161, 0.08); border-color: rgba(3, 105, 161, 0.25); }
.banner-error { color: #b91c1c; background: rgba(185, 28, 28, 0.08); border-color: rgba(185, 28, 28, 0.25); }

/* Prose inline code and table headers: keep readable in light */
.prose code { color: #0e7490; background: rgba(14, 116, 144, 0.08); border-color: rgba(14, 116, 144, 0.25); }

/* Community page channel accent bars — darken in light */
.cc-features { --accent: #7e22ce; }
.cc-qa { --accent: #b45309; }
.cc-bugs { --accent: #b91c1c; }
.cc-show { --accent: #047857; }
.cc-templates { --accent: #0e7490; }
.cc-announce { --accent: #c2410c; }

/* Community Slack CTA callout link color */
.community-callout a { color: #047857; }
.client-callout a { color: #0369a1; }
.alt-cta a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, 0.3); }
.alt-cta a:hover { color: #020617; border-bottom-color: #020617; }

/* Prose anchor in light mode */
.prose a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, 0.3); }
.prose a:hover { color: #020617; border-bottom-color: #020617; }

/* Brand gradient text (hero titles, price amounts) — darker stops in light */
.grad-text {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 55%, #0e7490 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.price-amount {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cadence-card.best .cadence-mod {
    background: linear-gradient(135deg, #047857 0%, #0e7490 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section kicker / page hero eyebrow: darker cyan in light */
.section-kicker,
.page-hero .eyebrow { color: #0e7490; }

/* Landing stats-bar numbers (gradient designed for dark): solid dark in light */
.stat .num {
    background: none;
    -webkit-text-fill-color: var(--text-strong);
    color: var(--text-strong);
}
.stat .num.brand {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Landing feature-card icon svg: stroke too pale in light */
.f-ic svg,
.arch-node .ic svg { stroke: #0369a1; }

/* Landing syntax-section tinted band looks awkward in light — neutralize */
.syntax-section { background: transparent; }

/* Inline tag pill in feature cards */
.f-card .tag-inline { color: #0e7490; background: rgba(14, 116, 144, 0.08); border-color: rgba(14, 116, 144, 0.25); }

/* Comparison table headers and DocGen column highlight */
.compare-table thead th { color: var(--text-strong); background: var(--th-bg); }
.compare-table th.col-docgen {
    background: linear-gradient(180deg, rgba(27, 150, 255, 0.18) 0%, rgba(27, 150, 255, 0.06) 100%) !important;
    color: #0369a1;
    border-bottom-color: rgba(27, 150, 255, 0.5);
}
.compare-table td:first-child { color: var(--text-strong); }
.compare-table tbody tr:hover td { background-color: rgba(15, 23, 42, 0.03); }
.compare-table tbody tr:hover td.col-docgen { background-color: rgba(27, 150, 255, 0.1); }
.cmp-no { color: var(--text-faint) !important; }

/* Inline tag pills in syntax demo */
.tag.loop { color: #6d28d9; background: rgba(109, 40, 217, 0.08); border-color: rgba(109, 40, 217, 0.25); }
.tag.sig { color: #b45309; background: rgba(180, 83, 9, 0.08); border-color: rgba(180, 83, 9, 0.25); }
.tag.img { color: #047857; background: rgba(4, 120, 87, 0.08); border-color: rgba(4, 120, 87, 0.25); }
.tag.bar { color: #a21caf; background: rgba(162, 28, 175, 0.08); border-color: rgba(162, 28, 175, 0.25); }

/* "Why is it free" / hero bullets in light */
.hero-bullets li,
.hero-bullets li svg { color: var(--text-dim); }

/* Install spotlight: light-themed, page-level CSS owns it. */

/* Dark-surface cards: locally rebind text tokens so var(--text-*) usages
   stay legible against the deep navy gradient. */
.doc-card,
.sig-visual {
    --text: #e2e8f0;
    --text-strong: #ffffff;
    --text-dim: #cbd5e1;
    --text-faint: #94a3b8;
    --prose-text: #e2e8f0;
    --border: rgba(255, 255, 255, 0.08);
    --border-hi: rgba(255, 255, 255, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ═══════════════ Ambient backdrop ═══════════════ */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.ambient::before, .ambient::after {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    filter: blur(160px);
}
.ambient::before {
    top: -300px;
    left: -200px;
    background: radial-gradient(circle, #1b96ff 0%, transparent 65%);
    opacity: 0.10;
}
.ambient::after {
    top: 400px;
    right: -300px;
    background: radial-gradient(circle, #22d3ee 0%, transparent 65%);
    opacity: 0.07;
}
.grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}
/* Decorative backgrounds are GPU-expensive on mobile (160px blur on 900x900
   elements + masked grid). Hide on small screens — they're purely decorative. */
@media (max-width: 768px) {
    .ambient, .grid-bg { display: none; }
}

/* ═══════════════ Shell ═══════════════ */
main { position: relative; z-index: 1; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 2rem; }

/* ═══════════════ Typography helpers ═══════════════ */
.section-kicker {
    display: block;
    text-align: center;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}
.section-h {
    text-align: center;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}
.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.grad-text {
    background: linear-gradient(135deg, #1b96ff 0%, #22d3ee 55%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════ Page hero (compact) ═══════════════ */
.page-hero {
    padding: 5rem 2rem 3rem;
    text-align: center;
    position: relative;
}
.page-hero .eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.page-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
}
.page-hero p.lede {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══════════════ Buttons ═══════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, #1b96ff 0%, #0176d3 100%);
    color: #fff;
    box-shadow: 0 8px 24px -8px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
    box-shadow: 0 14px 34px -8px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-ghost {
    background: var(--ghost-bg);
    color: var(--text);
    border-color: var(--border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--ghost-bg-hi); border-color: var(--border-hi); color: var(--text); }
.btn-small { padding: 10px 22px; font-size: 0.85rem; }

/* ═══════════════ Cards ═══════════════ */
.card {
    position: relative;
    padding: 2rem 1.8rem;
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(27, 150, 255, 0.3);
}
.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}
.card-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(27, 150, 255, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
    border: 1px solid rgba(27, 150, 255, 0.25);
    margin-bottom: 1.2rem;
}
.card-ic svg { width: 22px; height: 22px; stroke: #bae6fd; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════ Prose (legal, guide content) ═══════════════ */
.prose {
    color: var(--prose-text);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 780px;
    margin: 0 auto;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
    color: var(--text-strong);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 2.2rem;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}
.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.5rem; padding-top: 0.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1.05rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--text-strong); font-weight: 700; }
.prose a {
    color: var(--brand-hi);
    border-bottom: 1px solid rgba(27, 150, 255, 0.35);
    transition: color 0.2s, border-color 0.2s;
}
.prose a:hover { color: #7dd3fc; border-color: #7dd3fc; }
.prose code {
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 0.88em;
    color: #0c7a8c;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.22);
    padding: 1px 7px;
    border-radius: 5px;
}
.prose pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.2rem;
}
.prose pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--prose-text);
    font-size: 0.88rem;
}
.prose blockquote {
    border-left: 3px solid var(--brand-hi);
    padding: 0.4rem 0 0.4rem 1.25rem;
    margin: 1.2rem 0;
    color: var(--text-dim);
    font-style: italic;
}
.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.92rem;
}
.prose th, .prose td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.prose th { color: var(--text-strong); font-weight: 700; background: var(--th-bg); }
.prose td { color: var(--prose-text); }

/* ═══════════════ Form controls ═══════════════ */
.form-field {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
input[type='text'], input[type='email'], input[type='tel'], textarea, select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
input[type='text']:focus, input[type='email']:focus, input[type='tel']:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand-hi);
    box-shadow: 0 0 0 3px rgba(27, 150, 255, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
textarea { resize: vertical; min-height: 120px; }

/* ═══════════════ Reveal animations ═══════════════ */
/* Content is visible by default. Hidden initial state only applies when JS
   confirms it can drive the IntersectionObserver (html.js-anim). If the
   script fails on mobile, content still renders. */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(20px); }
html.js-anim .reveal.inview {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
    html.js-anim .reveal { opacity: 1; transform: none; }
    html.js-anim .reveal.inview { transition: none; }
}

/* ═══════════════ Status / alert banners ═══════════════ */
.banner {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}
.banner-error {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #fca5a5;
}
.banner-success {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #86efac;
}
.banner-info {
    background: rgba(27, 150, 255, 0.08);
    border: 1px solid rgba(27, 150, 255, 0.25);
    color: #bae6fd;
}

/* ═══════════════ Grids ═══════════════ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.grid-3 > * { min-width: 0; }
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.grid-2 > * { min-width: 0; }

/* Default: any direct child of a grid/flex container should be able to shrink
   below its intrinsic content width so long lines/long code blocks don't
   push the parent (and the whole page) wider than the viewport on mobile. */
[class*="grid"] > *,
[class*="-grid"] > * { min-width: 0; }

/* ═══════════════ Utility ═══════════════ */
.t-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ═══════════════ Responsive ═══════════════ */
@media (max-width: 980px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .page-hero { padding: 4rem 1.5rem 2.5rem; }
    .wrap, .wrap-narrow { padding: 0 1.25rem; }
    .prose { font-size: 0.95rem; }
    .prose h1 { font-size: 1.65rem; }
    .prose h2 { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPONENT LIBRARY — authoritative source for shared patterns
   Pages should use these classes and NOT redefine them locally.
   Everything here flows through theme tokens.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Pricing: price card, cadence toggle, cadence grid ─── */
.pricing-section { padding: 2rem 2rem 4rem; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
}
.price-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s;
    position: relative;
}
.price-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.price-card.featured {
    border-color: rgba(27, 150, 255, 0.45);
    box-shadow: 0 18px 48px -14px rgba(27, 150, 255, 0.35);
}
.price-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(27, 150, 255, 0.5), rgba(27, 150, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.price-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 11px;
    border-radius: 50px;
    margin-bottom: 1rem;
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-dim);
    border: 1px solid rgba(148, 163, 184, 0.2);
    align-self: flex-start;
}
.price-badge.onetime { background: rgba(14, 116, 144, 0.1); color: #155e75; border-color: rgba(14, 116, 144, 0.3); }
.price-badge.ongoing { background: rgba(4, 120, 87, 0.1); color: #047857; border-color: rgba(4, 120, 87, 0.3); }
.price-badge.premium { background: rgba(3, 105, 161, 0.1); color: #0369a1; border-color: rgba(3, 105, 161, 0.3); }
.price-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.price-tag {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.5rem 0 0.75rem;
}
.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1b96ff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-per { color: var(--text-dim); font-size: 1rem; font-weight: 500; }
.price-cadence { color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; margin-bottom: 1.25rem; }
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.price-list li {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.55;
    padding-left: 1.5rem;
    position: relative;
}
.price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b96ff 0%, #22d3ee 100%);
}
.price-list li.muted { color: var(--text-dim); }
.price-list li.muted::before { background: rgba(148, 163, 184, 0.5); }
.price-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
.price-cta.ghost {
    color: var(--text);
    background: var(--ghost-bg);
    border: 1px solid var(--border-hi);
}
.price-cta.ghost:hover { background: var(--ghost-bg-hi); border-color: var(--border-hi); }
.price-cta.primary {
    color: #fff;
    background: linear-gradient(135deg, #1b96ff 0%, #0176d3 100%);
    box-shadow: 0 8px 22px -6px rgba(27, 150, 255, 0.5);
}
.price-cta.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(27, 150, 255, 0.6); }

.cadence-toggle-wrap { display: flex; justify-content: center; margin-bottom: 0.75rem; }
.cadence-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 5px;
    margin: 0 auto 2.5rem;
    background: var(--surface-top);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}
.cadence-toggle button {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.01em;
}
.cadence-toggle button:hover { color: var(--text); }
.cadence-toggle button.active {
    background: linear-gradient(135deg, #1b96ff 0%, #0176d3 100%);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(27, 150, 255, 0.5);
}
.cadence-helper {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

/* ─── CTA invite card (light spotlight) ─── */
.cta-section { padding: 4rem 2rem 6rem; text-align: center; }
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(170deg, #ffffff 0%, #f7f8fa 100%);
    border: 1px solid rgba(27, 150, 255, 0.25);
    border-radius: 22px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta-inner::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(27, 150, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: 1.85rem; font-weight: 800; color: var(--text-strong); margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.cta-inner p { color: var(--text); max-width: 520px; margin: 0 auto 1.75rem; font-size: 1rem; line-height: 1.65; }
.cta-inner .btn-book {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #1b96ff 0%, #0176d3 100%);
    box-shadow: 0 10px 28px -8px rgba(27, 150, 255, 0.55);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-inner .btn-book:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(27, 150, 255, 0.7); }

@media (max-width: 640px) {
    .price-card { padding: 1.75rem 1.5rem; }
    .cta-inner { padding: 2.25rem 1.5rem; }
    .cta-inner h2 { font-size: 1.5rem; }
}

/* ─── Partners: how-it-works cards, form, success ─── */
.how-section { padding: 2rem 2rem 4rem; }
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.how-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}
.how-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.how-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent, linear-gradient(90deg, #1b96ff, #22d3ee));
}
.how-card.a1 { --accent: linear-gradient(90deg, #22d3ee, #1b96ff); }
.how-card.a2 { --accent: linear-gradient(90deg, #a855f7, #1b96ff); }
.how-card.a3 { --accent: linear-gradient(90deg, #4ade80, #22d3ee); }
.how-card.a1 { --accent: linear-gradient(90deg, #0e7490, #0369a1); }
.how-card.a2 { --accent: linear-gradient(90deg, #7e22ce, #0369a1); }
.how-card.a3 { --accent: linear-gradient(90deg, #047857, #0e7490); }
.how-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(27, 150, 255, 0.14) 0%, rgba(34, 211, 238, 0.06) 100%);
    border: 1px solid rgba(27, 150, 255, 0.22);
}
.how-icon svg { width: 22px; height: 22px; stroke: #bae6fd; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.how-icon svg { stroke: #0369a1; }
.how-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.how-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.65; }

.apply-section { padding: 2rem 2rem 5rem; }
.apply-wrap { max-width: 680px; margin: 0 auto; }
.apply-wrap .section-kicker { margin-left: 0; text-align: left; display: block; }
.apply-wrap .section-h { text-align: left; margin-bottom: 0.5rem; }
.apply-wrap .section-sub { text-align: left; max-width: none; margin-bottom: 2rem; }

.form-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
}
.form-card .row { display: flex; gap: 0.75rem; }
.form-card .row > div { flex: 1; }
.form-card label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
    margin-top: 1rem;
}
.form-card label:first-child,
.form-card .row > div > label:first-child { margin-top: 0; }
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="url"],
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--border-hi);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #1b96ff;
    box-shadow: 0 0 0 3px rgba(27, 150, 255, 0.18);
}
.form-card select { cursor: pointer; }
.form-card select option { background: #1e293b; color: #f1f5f9; }
.form-card select option { background: #ffffff; color: #0f172a; }
.form-card textarea { resize: vertical; min-height: 120px; }

.form-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: none;
}
.form-error { color: #b91c1c; background: rgba(185, 28, 28, 0.06); border-color: rgba(185, 28, 28, 0.25); }
.form-submit {
    margin-top: 1.75rem;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1b96ff 0%, #0176d3 100%);
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 26px -8px rgba(27, 150, 255, 0.55);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(27, 150, 255, 0.65); }
.form-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.form-success { text-align: center; padding: 2.5rem 1rem; display: none; }
.form-success .check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.12);
    border: 2px solid #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #4ade80;
}
.form-success .check { border-color: #047857; color: #047857; background: rgba(4, 120, 87, 0.08); }
.form-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
}
.form-success p { color: var(--text-dim); font-size: 1rem; line-height: 1.65; }

.alt-cta {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-dim);
    font-size: 0.92rem;
}
.alt-cta a {
    color: #0369a1;
    border-bottom: 1px solid rgba(3, 105, 161, 0.35);
    padding-bottom: 1px;
}
.alt-cta a:hover { color: #020617; border-color: #020617; }

@media (max-width: 640px) {
    .form-card { padding: 1.75rem 1.5rem; }
    .form-card .row { flex-direction: column; gap: 0; }
    .apply-wrap .section-kicker,
    .apply-wrap .section-h,
    .apply-wrap .section-sub { text-align: center; }
}

/* ─── Community: slack button, channel/why cards, client callout ─── */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn-slack {
    background: linear-gradient(135deg, #4A154B 0%, #350c36 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 28px -8px rgba(74, 21, 75, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-slack:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(74, 21, 75, 0.7); color: #fff; }
.btn-slack svg { width: 20px; height: 20px; }

.channel-section { padding: 4rem 2rem; }
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.channel-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.25s, transform 0.25s;
    position: relative;
    overflow: hidden;
}
.channel-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent, var(--brand-hi));
}
.channel-card:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.cc-features { --accent: #a855f7; }
.cc-qa { --accent: #fbbf24; }
.cc-bugs { --accent: #f87171; }
.cc-show { --accent: #4ade80; }
.cc-templates { --accent: #06b6d4; }
.cc-announce { --accent: #f97316; }
.channel-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.channel-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }

.client-callout {
    max-width: 820px;
    margin: 3rem auto 0;
    background: linear-gradient(170deg, rgba(27, 150, 255, 0.08) 0%, rgba(27, 150, 255, 0.02) 100%);
    border: 1px solid rgba(27, 150, 255, 0.25);
    border-radius: 18px;
    padding: 2rem 2.5rem;
    text-align: center;
}
.client-callout h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.client-callout p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.65;
}
.client-callout a {
    color: var(--brand-hi);
    border-bottom: 1px solid rgba(27, 150, 255, 0.35);
}

.why-section { padding: 3rem 2rem 5rem; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}
.why-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.why-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, rgba(27, 150, 255, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
    border: 1px solid rgba(27, 150, 255, 0.22);
}
.why-icon svg { width: 22px; height: 22px; stroke: #bae6fd; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.why-icon svg { stroke: #0369a1; }
.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.why-card p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.55; }

/* Community purple CTA (dark in both themes by design) */
.cta-section.purple-cta { padding: 5rem 2rem; position: relative; }
.cta-inner.purple {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    background: linear-gradient(170deg, #ffffff 0%, #f7f8fa 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-inner.purple::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.14) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner.purple > * { position: relative; }
.cta-inner.purple h2 { font-size: 2rem; font-weight: 800; color: var(--text-strong); margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.cta-inner.purple p { color: var(--text); max-width: 560px; margin: 0 auto 2rem; font-size: 1.02rem; line-height: 1.6; }

@media (max-width: 640px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .client-callout { padding: 1.75rem 1.5rem; }
    .cta-inner.purple { padding: 2.25rem 1.5rem; }
}

/* ─── Changelog: timeline, tier card, community callout, roadmap CTA ─── */
.timeline-section { padding: 2rem 2rem 5rem; }
.timeline-wrap { max-width: 880px; margin: 0 auto; }

.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 10px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, rgba(27, 150, 255, 0.7) 0%, rgba(34, 211, 238, 0.5) 50%, rgba(148, 163, 184, 0.15) 100%);
}
.tl-item { position: relative; margin-bottom: 2.2rem; }
.tl-dot {
    position: absolute;
    left: -2.5rem;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #1b96ff;
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px rgba(27, 150, 255, 0.7), 0 0 14px rgba(27, 150, 255, 0.5);
}
.tl-dot.done {
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.5), 0 0 12px rgba(74, 222, 128, 0.35);
}
.tl-dot.current {
    background: #1b96ff;
    box-shadow: 0 0 0 3px rgba(27, 150, 255, 0.7), 0 0 20px rgba(27, 150, 255, 0.7);
    animation: tlpulse 2.2s ease-in-out infinite;
}
.tl-dot.upcoming {
    background: #475569;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.3);
}
@keyframes tlpulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.tl-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    transition: border-color 0.25s, transform 0.25s;
}
.tl-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.tl-card.active { border-color: rgba(27, 150, 255, 0.4); box-shadow: 0 14px 40px -14px var(--brand-glow); }
.tl-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 0.65rem;
}
.tl-label.done { background: rgba(4, 120, 87, 0.1); color: #047857; border: 1px solid rgba(4, 120, 87, 0.3); }
.tl-label.now { background: rgba(3, 105, 161, 0.1); color: #0369a1; border: 1px solid rgba(3, 105, 161, 0.3); }
.tl-label.next { background: rgba(71, 85, 105, 0.08); color: #334155; border: 1px solid rgba(71, 85, 105, 0.22); }
.tl-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.4rem;
    letter-spacing: -0.015em;
}
.tl-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.65; }
.tl-card ul {
    margin: 0.75rem 0 0 1.25rem;
    color: var(--prose-text);
    font-size: 0.9rem;
    line-height: 1.7;
}
.tl-card ul li { margin-bottom: 0.3rem; }

.tier-section { padding: 4rem 2rem 2rem; }
.tier-card {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid rgba(27, 150, 255, 0.3);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.tier-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(4, 120, 87, 0.1);
    color: #047857;
    border: 1px solid rgba(4, 120, 87, 0.3);
    margin-bottom: 1rem;
}
.tier-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}
.tier-price {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1b96ff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.tier-price {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tier-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dim);
    -webkit-text-fill-color: var(--text-dim);
}
.tier-note { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.5rem; }
.tier-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem 1rem;
}
.tier-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--prose-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tier-list li::before {
    content: '\2713';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.community-callout {
    max-width: 820px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(170deg, rgba(74, 222, 128, 0.08) 0%, rgba(74, 222, 128, 0.02) 100%);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 16px;
    text-align: center;
}
.community-callout h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}
.community-callout p {
    color: var(--prose-text);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}
.community-callout a {
    color: #86efac;
    border-bottom: 1px solid rgba(74, 222, 128, 0.35);
    font-weight: 600;
}
.community-callout a { color: #047857; border-bottom-color: rgba(4, 120, 87, 0.4); }

.roadmap-cta { padding: 4rem 2rem 6rem; text-align: center; }
.roadmap-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}
.roadmap-cta p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.6;
}
.roadmap-cta .btn-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
    .tier-list { grid-template-columns: 1fr; }
    .tier-card { padding: 2rem 1.5rem; }
    .tl-card { padding: 1.25rem 1.25rem; }
}

/* ─── User Guide: sidebar + content layout with prose enhancements ─── */
.guide-layout {
    display: flex;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.guide-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--surface-top);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border);
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 1.5rem 0;
}
.guide-sidebar::-webkit-scrollbar { width: 8px; }
.guide-sidebar::-webkit-scrollbar-track { background: transparent; }
.guide-sidebar::-webkit-scrollbar-thumb { background: var(--ghost-bg-hi); border-radius: 4px; }
.guide-sidebar::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

.guide-sidebar-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-faint);
    padding: 0 1.5rem;
    margin: 1.25rem 0 0.35rem;
}
.guide-sidebar-title:first-child { margin-top: 0; }
.guide-sidebar a {
    display: block;
    padding: 6px 1.5rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.guide-sidebar a:hover { color: var(--text-strong); background: rgba(27, 150, 255, 0.06); }
.guide-sidebar a.active {
    color: var(--brand-hi);
    border-left-color: var(--brand-hi);
    background: rgba(27, 150, 255, 0.1);
    font-weight: 600;
}
.guide-sidebar a.active { color: #0369a1; }

.guide-content {
    flex: 1;
    padding: 3rem 3.5rem 5rem;
    max-width: 860px;
    color: var(--prose-text);
    font-size: 1rem;
    line-height: 1.75;
}
.guide-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text-strong);
}
.guide-content h1 + p { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 2.5rem; }
.guide-content h2 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 3rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-strong);
}
.guide-content h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.guide-content h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 1.75rem 0 0.5rem;
    color: var(--text-strong);
    letter-spacing: -0.01em;
}
.guide-content p { margin-bottom: 0.85rem; color: var(--prose-text); }
.guide-content a { color: var(--brand-hi); border-bottom: 1px solid rgba(27, 150, 255, 0.35); transition: color 0.2s, border-color 0.2s; }
.guide-content a:hover { color: #7dd3fc; border-color: #7dd3fc; }
.guide-content a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, 0.3); }
.guide-content a:hover { color: #020617; border-color: #020617; }
.guide-content strong { color: var(--text-strong); font-weight: 700; }
.guide-content em { color: var(--text); }

.guide-content .card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.25s;
}
.guide-content .card:hover { border-color: var(--border-hi); }
.guide-content .card h3 { margin-top: 0; }
.guide-content .card p:last-child { margin-bottom: 0; }

.guide-content code {
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 0.86em;
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    padding: 1px 7px;
    border-radius: 5px;
}
.guide-content code { color: #0e7490; background: rgba(14, 116, 144, 0.08); border-color: rgba(14, 116, 144, 0.25); }

.guide-content .code-block {
    background: var(--code-bg);
    color: var(--prose-text);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin: 0.9rem 0 1.25rem;
    font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
}
.guide-content .code-block .tag { color: #67e8f9; }
.guide-content .code-block .comment { color: var(--text-faint); }
.guide-content .code-block .result { color: #86efac; }
.guide-content .code-block .tag { color: #0e7490; }
.guide-content .code-block .result { color: #047857; }

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
    background: var(--surface-bot);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.guide-content th {
    background: var(--th-bg);
    text-align: left;
    font-weight: 700;
    color: var(--text-strong);
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
}
.guide-content td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--prose-text); }
.guide-content tr:last-child td { border-bottom: none; }
.guide-content td code { font-size: 0.8rem; }

.guide-content .tip {
    background: linear-gradient(170deg, rgba(27, 150, 255, 0.08) 0%, rgba(27, 150, 255, 0.02) 100%);
    border: 1px solid rgba(27, 150, 255, 0.25);
    border-left-width: 3px;
    padding: 1rem 1.3rem;
    border-radius: 0 12px 12px 0;
    margin: 1.2rem 0;
    color: var(--prose-text);
}
.guide-content .tip strong { color: #bae6fd; }
.guide-content .tip strong { color: #0369a1; }
.guide-content .warning {
    background: linear-gradient(170deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 191, 36, 0.02) 100%);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-left-width: 3px;
    padding: 1rem 1.3rem;
    border-radius: 0 12px 12px 0;
    margin: 1.2rem 0;
    color: var(--prose-text);
}
.guide-content .warning strong { color: #fcd34d; }
.guide-content .warning strong { color: #b45309; }

.guide-content ol, .guide-content ul { padding-left: 1.5rem; margin: 0.6rem 0 1.1rem; }
.guide-content li { margin-bottom: 0.45rem; color: var(--prose-text); }

.guide-content .steps { counter-reset: step; list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.guide-content .steps li {
    counter-increment: step;
    padding-left: 2.75rem;
    position: relative;
    margin-bottom: 0.9rem;
    color: var(--prose-text);
}
.guide-content .steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 1.9rem;
    height: 1.9rem;
    background: linear-gradient(135deg, #1b96ff, #0176d3);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.9rem;
    box-shadow: 0 4px 12px -4px rgba(27, 150, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 960px) {
    .guide-sidebar { display: none; }
    .guide-content { padding: 2rem 1.5rem 4rem; }
    .guide-content h1 { font-size: 1.85rem; }
    .guide-content h2 { font-size: 1.35rem; }
}

/* ─── About: profile grid, philosophy card, pull-quote ─── */
.about-section { padding: 4rem 2rem; }
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1040px;
    margin: 0 auto;
}
.about-photo {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.about-content h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.about-content p {
    color: var(--prose-text);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75;
}
.about-content .highlight { color: var(--cyan); font-weight: 600; }
.cert-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.5rem 0 0; }
.cert-badge {
    background: rgba(27, 150, 255, 0.08);
    border: 1px solid rgba(27, 150, 255, 0.25);
    color: #bae6fd;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.cert-badge { color: #0369a1; background: rgba(27, 150, 255, 0.08); border-color: rgba(27, 150, 255, 0.3); }

.philosophy-card {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.philosophy-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.philosophy-card p {
    color: var(--prose-text);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75;
}
.pull-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cyan);
    border-left: 3px solid var(--cyan);
    padding: 0.4rem 0 0.4rem 1.35rem;
    margin: 1.5rem 0;
    line-height: 1.4;
    font-style: italic;
}
.philosophy-card a {
    color: var(--brand-hi);
    border-bottom: 1px solid rgba(27, 150, 255, 0.35);
    transition: color 0.2s, border-color 0.2s;
}
.philosophy-card a:hover { color: #7dd3fc; border-color: #7dd3fc; }
.philosophy-card a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, 0.3); }
.philosophy-card a:hover { color: #020617; border-color: #020617; }

@media (max-width: 780px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { max-width: 280px; margin: 0 auto; }
    .philosophy-card { padding: 2rem 1.5rem; }
}

/* ─── Learn: video gallery cards ─── */
.video-section { padding: 2rem 2rem 4rem; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.75rem;
    max-width: 1240px;
    margin: 0 auto;
}
.video-card {
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(27, 150, 255, 0.3); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; width: 100%; padding-top: 56.25%; background: #000; }
.video-thumb iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-body { padding: 1.6rem; }
.video-body .category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}
.cat-automation { background: rgba(74, 222, 128, 0.08); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.25); }
.cat-template { background: rgba(27, 150, 255, 0.08); color: #bae6fd; border: 1px solid rgba(27, 150, 255, 0.25); }
.cat-getting-started { background: rgba(251, 191, 36, 0.08); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.25); }
.cat-automation { color: #047857; background: rgba(4, 120, 87, 0.08); border-color: rgba(4, 120, 87, 0.25); }
.cat-template { color: #0369a1; background: rgba(3, 105, 161, 0.08); border-color: rgba(3, 105, 161, 0.25); }
.cat-getting-started { color: #b45309; background: rgba(180, 83, 9, 0.08); border-color: rgba(180, 83, 9, 0.25); }
.video-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.6rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}
.video-body p {
    color: var(--text-dim);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.video-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.video-actions .btn { padding: 10px 20px; font-size: 0.85rem; }
.btn-download {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-download:hover { color: #fff; }
.coming-soon {
    text-align: center;
    padding: 3rem 2rem 5rem;
    max-width: 640px;
    margin: 0 auto;
}
.coming-soon p { color: var(--text-faint); font-size: 0.98rem; }
.coming-soon a { color: var(--brand-hi); border-bottom: 1px solid rgba(27, 150, 255, 0.35); }
.coming-soon a { color: #0369a1; border-bottom-color: rgba(3, 105, 161, 0.3); }

@media (max-width: 640px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ─── Support: nonprofit callout card + donate CTA ─── */
.nonprofit-section { padding: 3rem 2rem 5rem; }
.nonprofit-card {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.nonprofit-header {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    padding: 1.5rem 2rem;
}
.nonprofit-header .label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--amber);
    margin-bottom: 0.4rem;
}
.nonprofit-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
}
.nonprofit-body { padding: 2.25rem; }
.nonprofit-body p { color: var(--prose-text); margin-bottom: 1rem; font-size: 1rem; line-height: 1.75; }
.nonprofit-body p strong.green { color: var(--green); }
.nonprofit-stats { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0; }
.nonprofit-stat {
    display: inline-block;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fcd34d;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}
.nonprofit-stat { color: #b45309; background: rgba(180, 83, 9, 0.08); border-color: rgba(180, 83, 9, 0.25); }
.nonprofit-sub { color: var(--text-faint); font-size: 0.88rem; line-height: 1.65; margin-top: 1.25rem; }
.donate-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #0a0c14;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 26px -10px rgba(251, 191, 36, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}
.donate-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(251, 191, 36, 0.55); color: #0a0c14; }

.philosophy-wrap { padding: 3rem 2rem 6rem; }

@media (max-width: 640px) {
    .nonprofit-header, .nonprofit-body { padding: 1.75rem 1.5rem; }
    .nonprofit-header h3 { font-size: 1.4rem; }
}

/* ─── Nonprofit (Circles Indy): themed hero, stats, quote, CTAs ─── */
.circles-hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
}
.circles-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(58, 140, 196, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
.circles-hero > * { position: relative; }
.circles-hero .label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7dd3fc;
    padding: 6px 16px;
    background: rgba(58, 140, 196, 0.1);
    border: 1px solid rgba(58, 140, 196, 0.3);
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.circles-hero .label { color: #2B6F9E; }
.circles-logo-wrap {
    display: inline-block;
    padding: 16px 24px;
    background: #fff;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    box-shadow: 0 14px 40px -10px rgba(58, 140, 196, 0.4);
}
.circles-logo-wrap img { max-width: 280px; width: 100%; height: auto; display: block; }
.circles-hero .tagline {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.circles-hero .tagline span {
    background: linear-gradient(135deg, #7dd3fc 0%, #3A8CC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.circles-hero .tagline span {
    background: linear-gradient(135deg, #2B6F9E 0%, #1e5280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.circles-hero .lede { color: var(--prose-text); font-size: 1.1rem; max-width: 620px; margin: 0 auto; line-height: 1.65; }

.about-wrap { padding: 3rem 2rem; max-width: 820px; margin: 0 auto; }
.about-wrap h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.about-wrap p { color: var(--prose-text); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.1rem; }
.about-wrap ul { color: var(--prose-text); font-size: 1rem; line-height: 1.7; padding-left: 1.25rem; margin-bottom: 1.5rem; }
.about-wrap ul li { margin-bottom: 0.65rem; }
.about-wrap ul li strong { color: var(--text-strong); font-weight: 700; }

.circles-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2.5rem 0;
}
.stat-card {
    background: linear-gradient(170deg, rgba(58, 140, 196, 0.08) 0%, rgba(58, 140, 196, 0.02) 100%);
    border: 1px solid rgba(58, 140, 196, 0.25);
    border-radius: 14px;
    padding: 1.75rem 1rem;
    text-align: center;
}
.stat-card .num {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7dd3fc 0%, #3A8CC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.025em;
}
.stat-card .num {
    background: linear-gradient(135deg, #2B6F9E 0%, #1e5280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .lbl { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.5rem; font-weight: 500; line-height: 1.4; }

.quote-block {
    background: linear-gradient(170deg, rgba(58, 140, 196, 0.06) 0%, rgba(58, 140, 196, 0.02) 100%);
    border-left: 3px solid #3A8CC4;
    border-radius: 0 14px 14px 0;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
}
.quote-block p { font-size: 1.1rem; font-style: italic; color: #bae6fd; margin-bottom: 0.5rem; line-height: 1.6; }
.quote-block p { color: #1e5280; }
.quote-block .attribution { font-size: 0.85rem; font-weight: 600; color: #1e5a82; font-style: normal; }

.donate-cta-wrap {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}
.donate-cta-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(58, 140, 196, 0.14) 0%, transparent 60%);
    pointer-events: none;
}
.donate-cta-wrap > * { position: relative; }
.donate-cta-wrap h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}
.donate-cta-wrap p { color: var(--prose-text); max-width: 580px; margin: 0 auto 2rem; font-size: 1.02rem; line-height: 1.65; }
.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3A8CC4 0%, #2B6F9E 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 28px -8px rgba(58, 140, 196, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0 0.4rem 0.5rem;
}
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(58, 140, 196, 0.6); color: #fff; }
.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 30px;
    border-radius: 12px;
    background: var(--ghost-bg);
    color: var(--text-strong);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    border: 1px solid var(--border-hi);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    margin: 0 0.4rem 0.5rem;
}
.btn-learn:hover { background: var(--ghost-bg-hi); border-color: var(--border-hi); transform: translateY(-2px); color: var(--text-strong); }

.docgen-free-wrap { padding: 4rem 2rem 6rem; }
.docgen-free {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(170deg, var(--surface-top) 0%, var(--surface-bot) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.docgen-free h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-strong);
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}
.docgen-free p { color: var(--text-dim); max-width: 540px; margin: 0 auto 1.5rem; font-size: 0.98rem; line-height: 1.65; }
.docgen-free .btn-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
    .circles-stats { grid-template-columns: 1fr; }
    .circles-logo-wrap img { max-width: 220px; }
    .docgen-free { padding: 2rem 1.5rem; }
}

/* ─── Legal pages (Terms, Privacy) ─── */
.legal { padding: 3rem 2rem 6rem; }
.legal-head { max-width: 780px; margin: 0 auto 2rem; }
.legal-head .subtitle { color: var(--text-faint); font-size: 0.88rem; text-align: center; }
.prose .uppercase { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--text-dim); }

.tldr {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(170deg, rgba(74, 222, 128, 0.08) 0%, rgba(74, 222, 128, 0.02) 100%);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
}
.tldr h2 {
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 0.65rem;
    border-top: none;
    padding-top: 0;
}
.tldr h2 { color: #047857; }
.tldr p {
    color: var(--text);
    margin: 0;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.7;
}
