/* ==========================================================================
   Klonn.it showcase site — design tokens & base
   ========================================================================== */

:root {
    --navy: #0d1e34;
    --navy-soft: #141d33;
    --navy-line: rgba(255, 255, 255, 0.1);

    --primary: #1d4ed8;
    --primary-bright: #3478f6;
    --primary-hover: #1543ab;

    --ink: #1f2933;
    --ink-soft: #3e4c59;
    --text-muted: #52606d;
    --text-faint: #7b8794;
    --text-on-navy: #eef1f8;
    --text-on-navy-muted: #9aa8c7;

    --surface: #ffffff;
    --surface-tint: #f7f9fc;
    --surface-tint-2: #eef1f8;
    --border: #dbe1ea;
    --border-soft: #e9edf3;

    --success: #22c55e;
    --danger: #ff4d5e;

    --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-card: 0 1px 2px rgba(13, 30, 52, 0.04), 0 12px 32px rgba(13, 30, 52, 0.08);
    --shadow-card-dark: 0 12px 40px rgba(0, 0, 0, 0.35);
    --container-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 0.5em;
    text-wrap: balance;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--text-muted); line-height: 1.65; }
p.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 62ch; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

.mono { font-family: var(--font-mono); }

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

section { position: relative; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 56px 0; }

@media (max-width: 720px) {
    .section-pad { padding: 64px 0; }
    .section-pad-sm { padding: 40px 0; }
}

.section-dark {
    background: var(--navy);
    color: var(--text-on-navy);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: var(--text-on-navy-muted); }
.section-tint { background: var(--surface-tint); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--primary-bright); }
.eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
}

.section-head { max-width: 680px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost-dark {
    background: transparent;
    color: #fff;
    border-color: var(--navy-line);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-ghost-light {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-ghost-light:hover { background: var(--surface-tint); color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 30, 52, 0.86);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--navy-line); }

.site-header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header-inner { padding-top: 13px; padding-bottom: 13px; }

.site-logo img { height: 26px; width: auto; }

.site-nav { margin-left: 12px; flex: 1; }
.site-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.site-nav a {
    color: var(--text-on-navy-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: #fff; }

.site-header-cta { flex-shrink: 0; }

.site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}
.site-nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; }

.site-mobile-nav {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--navy-soft);
    border-top: 1px solid var(--navy-line);
}
.site-mobile-nav.is-open { max-height: 480px; }
.site-mobile-nav ul { list-style: none; margin: 0; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.site-mobile-nav a { display: block; padding: 10px 0; color: var(--text-on-navy-muted); font-weight: 500; }
.site-mobile-nav a.is-active { color: #fff; }
/* .site-mobile-nav a's own padding:10px 0 (above) would otherwise strip the CTA's horizontal
   padding too, since it's still a plain <a> - restore .btn's real padding here (higher
   specificity: 2 classes beats 1 class+1 element, wins the cascade). */
.site-mobile-nav .btn { margin-top: 10px; width: fit-content; padding: 13px 26px; }

@media (max-width: 900px) {
    .site-nav, .site-header-cta { display: none; }
    .site-nav-toggle { display: flex; }
    .site-mobile-nav { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    padding: 76px 0 110px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 620px;
    background: radial-gradient(closest-side, rgba(52, 120, 246, 0.35), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lede { color: var(--text-on-navy-muted); font-size: 1.25rem; max-width: 58ch; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 44px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--navy-line);
    color: var(--text-on-navy-muted);
    font-size: 0.82rem;
    font-family: var(--font-mono);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }

/* ==========================================================================
   Pillar story (home)
   ========================================================================== */

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
    padding: 88px 0;
    border-bottom: 1px solid var(--border-soft);
}
.pillar-row:last-child { border-bottom: none; }
.pillar-row.is-reversed { grid-template-columns: 1.15fr 1fr; }
.pillar-row.is-reversed .pillar-copy { order: 2; }
.pillar-row.is-reversed .pillar-visual { order: 1; }

.pillar-index {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary-bright);
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
}
.pillar-copy h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.pillar-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pillar-facts li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.pillar-facts svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--success); }

@media (max-width: 900px) {
    .pillar-row, .pillar-row.is-reversed {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 56px 0;
    }
    .pillar-row.is-reversed .pillar-copy,
    .pillar-row.is-reversed .pillar-visual { order: initial; }
}

/* ==========================================================================
   Screenshot / browser-chrome frame
   ========================================================================== */

.browser-frame {
    border-radius: var(--radius-lg);
    background: var(--navy-soft);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid var(--border-soft);
}
.browser-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #1a2740;
}
.browser-frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser-frame img { display: block; width: 100%; }
.browser-frame-placeholder {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(52, 120, 246, 0.18), rgba(34, 197, 94, 0.08)),
        var(--navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-navy-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: center;
    padding: 24px;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 44px;
    border-top: 1px solid var(--navy-line);
    margin-top: 56px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-on-navy-muted);
}
.trust-item svg { width: 16px; height: 16px; color: var(--primary-bright); flex-shrink: 0; }

/* ==========================================================================
   Critical path diagram
   ========================================================================== */

.cpm-diagram { width: 100%; height: auto; }
.cpm-line { fill: none; stroke: var(--primary-bright); stroke-width: 2.5; }
.cpm-node { opacity: 0; transform: scale(0.5); transform-origin: center; transform-box: fill-box; }
.cpm-node circle { fill: var(--navy-soft); stroke: var(--primary-bright); stroke-width: 2; }
.cpm-node.is-critical circle { fill: var(--primary-bright); stroke: #fff; }
.cpm-node text { font-family: var(--font-mono); font-size: 10px; fill: var(--text-on-navy); }
.cpm-legend { display: flex; gap: 24px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.cpm-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-on-navy-muted); font-family: var(--font-mono); }
.cpm-legend-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--primary-bright); }
.cpm-legend-dot.is-critical { background: var(--primary-bright); }

/* ==========================================================================
   Cards (feature grid, generic)
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(13, 30, 52, 0.12); }
.feature-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    color: #fff;
    margin-bottom: 18px;
}
.feature-card-icon svg { width: 22px; height: 22px; }
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.93rem; margin-bottom: 0; }

/* ==========================================================================
   Consolidation matrix mock
   ========================================================================== */

.matrix {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--navy-line);
    background: var(--navy-soft);
}
.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.matrix-table th, .matrix-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--navy-line);
    color: var(--text-on-navy-muted);
    font-family: var(--font-mono);
}
.matrix-table th { color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.03); }
.matrix-table tr:last-child td { border-bottom: none; }
.matrix-cell { display: inline-flex; align-items: center; gap: 8px; }
.matrix-dot { width: 8px; height: 8px; border-radius: 50%; opacity: 0; transform: scale(0.4); }
.matrix-dot.is-in { background: var(--primary-bright); }
.matrix-dot.is-done { background: var(--success); }
.matrix-dot.is-late { background: var(--danger); }
.matrix-dot.is-lit { opacity: 1; transform: scale(1); transition: opacity 0.3s ease, transform 0.3s ease; }

/* ==========================================================================
   Locks row (AI assistant page)
   ========================================================================== */

.lock-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-card);
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 500;
}
.lock-pill svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ==========================================================================
   Notes-to-proposals (AI assistant page)
   ========================================================================== */

.notes-to-proposals {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}
@media (max-width: 860px) {
    .notes-to-proposals { grid-template-columns: 1fr; }
}

.notes-input-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: var(--shadow-card-dark);
}
.notes-input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-on-navy-muted);
    margin-bottom: 14px;
}
.notes-input-label svg { width: 15px; height: 15px; color: var(--primary-bright); }
.notes-input-text {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.83rem;
    line-height: 1.7;
    color: var(--text-on-navy);
    white-space: pre-wrap;
    word-break: break-word;
}

.notes-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-faint); }
.notes-arrow svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .notes-arrow svg { transform: rotate(90deg); } }

.proposal-stack { display: flex; flex-direction: column; gap: 12px; }
.proposal-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
}
.proposal-card p { margin: 8px 0 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.proposal-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 999px;
}
.proposal-tag-progress { background: rgba(52, 120, 246, 0.12); color: var(--primary); }
.proposal-tag-action { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.proposal-tag-risk { background: rgba(255, 77, 94, 0.12); color: var(--danger); }
.proposal-tag-note { background: var(--surface-tint-2); color: var(--text-faint); }

/* ==========================================================================
   AI flow
   ========================================================================== */

.ai-flow { display: flex; align-items: stretch; gap: 0; }
.ai-flow-step {
    flex: 1;
    background: var(--navy-soft);
    border: 1px solid var(--navy-line);
    border-radius: var(--radius-md);
    padding: 24px;
    opacity: 0.35;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ai-flow-step.is-lit { opacity: 1; transform: translateY(0); }
.ai-flow-step h4 { color: #fff; margin-bottom: 6px; font-size: 0.98rem; }
.ai-flow-step p { font-size: 0.85rem; margin-bottom: 0; }
.ai-flow-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 40px; flex-shrink: 0;
    color: var(--text-on-navy-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}
.ai-flow-arrow.is-lit { color: var(--primary-bright); transform: scale(1.25); }
@media (max-width: 820px) {
    .ai-flow { flex-direction: column; }
    .ai-flow-arrow { width: auto; height: 30px; transform: rotate(90deg); }
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
    text-align: center;
    padding: 100px 0;
}
.cta-band h2 { color: #fff; max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ==========================================================================
   Social proof placeholder
   ========================================================================== */

.placeholder-strip {
    text-align: center;
    padding: 40px 0;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
}

/* ==========================================================================
   Comparison table (why-klonn)
   ========================================================================== */

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-soft); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.compare-table th { font-family: var(--font-display); font-size: 1rem; background: var(--surface-tint); }
.compare-table td { font-size: 0.9rem; color: var(--text-muted); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .compare-answer { color: var(--ink); font-weight: 600; }

.positioning-quote {
    border-left: 3px solid var(--primary);
    padding: 4px 0 4px 28px;
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 780px;
    margin: 48px 0;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}
.pricing-card.is-featured {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: var(--shadow-card-dark);
    transform: scale(1.03);
}
.pricing-card.is-featured h3, .pricing-card.is-featured .pricing-price { color: #fff; }
.pricing-card.is-featured p { color: var(--text-on-navy-muted); }
.pricing-card.is-featured .pricing-features li { color: var(--text-on-navy); }
.pricing-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-bright);
    background: rgba(52, 120, 246, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.pricing-price { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 600; margin: 6px 0 0; }
.pricing-price span { font-size: 0.95rem; color: var(--text-faint); font-weight: 400; }
.pricing-features { list-style: none; margin: 26px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-features li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.pricing-features svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* ==========================================================================
   Contact / forms
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-detail svg { width: 18px; height: 18px; color: var(--primary-bright); margin-top: 3px; flex-shrink: 0; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary-bright);
    box-shadow: 0 0 0 3px rgba(52, 120, 246, 0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.is-success { display: block; background: rgba(34, 197, 94, 0.1); color: #15803d; }
.form-status.is-error { display: block; background: rgba(255, 77, 94, 0.1); color: #b91c1c; }

/* ==========================================================================
   Legal / prose pages
   ========================================================================== */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { color: var(--text-muted); line-height: 1.7; }
.prose .prose-note {
    background: var(--surface-tint);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 0.88rem;
    color: var(--text-faint);
    font-family: var(--font-mono);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy); color: var(--text-on-navy-muted); padding: 76px 0 0; }
.site-footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
}
.site-footer-brand .site-logo img { height: 24px; margin-bottom: 16px; }
.site-footer-brand p { max-width: 32ch; font-size: 0.88rem; }
.site-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer-col a { color: var(--text-on-navy-muted); font-size: 0.9rem; }
.site-footer-col a:hover { color: #fff; }
.site-footer-bottom {
    margin-top: 64px;
    border-top: 1px solid var(--navy-line);
    padding: 24px;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
}
.site-footer-bottom p { margin: 0; color: var(--text-on-navy-muted); }

@media (max-width: 760px) {
    .site-footer-inner { grid-template-columns: 1fr; }
    .site-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Scroll-reveal base state (GSAP toggles .is-visible via ScrollTrigger)
   ========================================================================== */

[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-ready { transition: opacity 0.7s ease, transform 0.7s ease; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
