/* ============================================================
   AevenSpace — shared site styles (subpages)
   Meadow Green #9BCB4B · Deep Navy #1A2238 · Warm White #F7F7F4
   Headers: Abolition (condensed, uppercase) · Body: Fraunces (serif)
   ============================================================ */

:root {
    --paper: #F7F7F4;
    --paper-2: #F0F0EC;
    --surface: #FFFFFF;
    --ink: #1A2238;
    --ink-soft: #313B5C;
    --slate: #6B7280;
    --slate-light: #9CA3AF;
    --sky: #9BCB4B;
    --sky-deep: #5B8A2E;
    --sky-glow: rgba(155,203,75,0.12);
    --sky-glow-strong: rgba(155,203,75,0.22);
    --amber: #E8A33D;
    --amber-deep: #CE8A24;
    --green: #22a06b;
    --red: #e5534b;
    --border: rgba(26, 34, 56, 0.07);
    --border-strong: rgba(26, 34, 56, 0.13);
    --shadow-xs: 0 1px 2px rgba(26,34,56,0.06);
    --shadow-sm: 0 1px 4px rgba(26,34,56,0.08), 0 4px 12px rgba(26,34,56,0.05);
    --shadow-md: 0 4px 16px rgba(26,34,56,0.10), 0 12px 32px rgba(26,34,56,0.06);
    --shadow-lg: 0 8px 32px rgba(26,34,56,0.12), 0 24px 64px rgba(26,34,56,0.08);
    --nav-height: 64px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --radius-pill: 999px;
    --transition: 0.25s cubic-bezier(0.22,1,0.36,1);
    --ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --dur-base: 0.32s;
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
    --font-hero: 'Abolition', 'Anton', 'Bebas Neue', var(--font-display);
    --font-serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background-color: var(--paper);
    color: var(--ink-soft);
    font-family: var(--font-serif);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5 {
    font-family: var(--font-hero);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 1.04;
    color: var(--ink);
}
button, .btn-primary, .nav-cta { font-family: var(--font-display); }
p { font-family: var(--font-serif); }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* ─── Ambient background ─── */
.grain-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    opacity: 0.028; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
}
.sun-wrap {
    position: fixed; top: -14vw; left: -14vw;
    width: 32vw; height: 32vw; max-width: 520px; max-height: 520px; min-width: 240px; min-height: 240px;
    pointer-events: none; z-index: 0;
}
.sun-glow {
    position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,224,120,0.55) 0%, rgba(255,196,50,0.24) 38%, transparent 72%);
    filter: blur(38px); animation: sunPulse 6s ease-in-out infinite;
}
.sun-core {
    position: absolute; top: 37%; left: 37%; width: 26%; height: 26%; border-radius: 50%;
    background: radial-gradient(circle, #FFF6CE 0%, #FFD23F 52%, rgba(255,200,50,0) 76%);
    box-shadow: 0 0 80px 16px rgba(255,205,70,0.4); animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100%{transform:scale(1);opacity:0.92} 50%{transform:scale(1.05);opacity:1} }

.doodle-clouds { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.doodle-cloud { position: absolute; color: var(--sky-deep); opacity: 0.16; }
.dc-1 { width: 120px; top: 22vh; left: 7vw;   animation: cloudBob 7s ease-in-out infinite; }
.dc-2 { width: 96px;  top: 40vh; right: 10vw; color: var(--amber-deep); opacity: 0.13; animation: cloudBob 9s ease-in-out infinite 0.6s; }
.dc-3 { width: 132px; bottom: 14vh; left: 40vw; opacity: 0.12; animation: cloudBob 8s ease-in-out infinite 1.1s; }
@keyframes cloudBob { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-14px) rotate(1.5deg)} }

/* ─── Nav ───────────────────────────────────────────────
   Matches the landing page (index.html) exactly: quiet 64px bar, plain link
   row with weight + a 2px underline for state (no pill hovers), near
   transparent at rest with a border that appears only on scroll, and a
   squared gradient CTA. Same markup + mobile burger on every page. */
.glass-nav {
    position: fixed; top: 0; width: 100%; height: var(--nav-height);
    background: rgba(247,247,244,0.62);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid transparent; z-index: 100;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-nav.scrolled {
    background: rgba(247,247,244,0.92);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 rgba(26,34,56,0.03);
}
.nav-content {
    max-width: 1180px; margin: 0 auto; height: 100%;
    display: flex; justify-content: space-between; align-items: center; padding: 0 1.75rem;
}
.logo { font-family: 'Outfit', -apple-system, sans-serif; font-weight: 300; font-size: 1.14rem; letter-spacing: 0.01em; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.logo-mark { width: 22px; height: 22px; background: url("assets/aeven-logo-greenorange.png") center/contain no-repeat; display: inline-block; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
    position: relative; color: var(--slate); font-size: 0.83rem; font-weight: 500;
    letter-spacing: -0.005em; padding: 0.2rem 0;
    font-family: var(--font-display);
    transition: color 0.15s var(--ease-out-smooth);
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -21px;
    height: 2px; background: var(--ink);
    transform: scaleX(0); transform-origin: center;
    transition: transform 0.25s var(--ease-out-smooth);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: linear-gradient(135deg, #2A3556 0%, var(--ink) 70%);
    color: var(--paper); border: none;
    padding: 0.55rem 1.15rem; border-radius: 10px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: -0.005em;
    box-shadow: 0 2px 10px rgba(26,34,56,0.2);
    transition: background 0.2s var(--ease-out-smooth), transform 0.15s var(--ease-out-smooth), box-shadow 0.2s var(--ease-out-smooth);
}
.nav-cta svg { opacity: 0.7; transition: transform 0.2s var(--ease-out-smooth); }
.nav-cta:hover { background: linear-gradient(135deg, #6BAF3A 0%, var(--sky-deep) 100%); box-shadow: 0 6px 20px rgba(91,138,46,0.35); }
.nav-cta:hover svg { transform: translateX(2px); opacity: 1; }
.nav-cta:active { transform: scale(0.97); }

/* Mobile menu toggle + drop panel (same as landing) */
.nav-burger {
    display: none; width: 34px; height: 34px; border-radius: 8px;
    align-items: center; justify-content: center;
    background: transparent; border: none; color: var(--ink);
    flex-shrink: 0; margin: -0.4rem -0.4rem -0.4rem 0;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
    content: ''; display: block; width: 15px; height: 1.5px; background: currentColor;
    border-radius: 2px; position: relative; transition: transform 0.28s var(--ease-out-smooth), opacity 0.2s;
}
.nav-burger span::before { position: absolute; top: -5px; left: 0; }
.nav-burger span::after { position: absolute; top: 5px; left: 0; }
.glass-nav.menu-open .nav-burger span { background: transparent; }
.glass-nav.menu-open .nav-burger span::before { transform: translateY(5px) rotate(45deg); }
.glass-nav.menu-open .nav-burger span::after { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile-panel {
    display: none;
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(247,247,244,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.75rem 1rem; z-index: 99;
    opacity: 0; transform: translateY(-6px); pointer-events: none;
    transition: opacity 0.2s var(--ease-out-smooth), transform 0.2s var(--ease-out-smooth);
}
.glass-nav.menu-open .nav-mobile-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile-panel a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 0.1rem; border-bottom: 1px solid var(--border);
    color: var(--ink-soft); font-size: 0.92rem; font-weight: 500;
}
.nav-mobile-panel a:last-of-type { border-bottom: none; }
.nav-mobile-panel a.active { color: var(--ink); font-weight: 600; }
.nav-mobile-panel a svg { opacity: 0.3; }
.nav-mobile-cta { margin-top: 0.7rem; }
.nav-mobile-cta .nav-cta { width: 100%; justify-content: center; padding: 0.7rem; }

/* ─── Buttons (match landing: vivid gradient, squared, not pill) ─── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, #2A3556 0%, var(--ink) 60%);
    color: var(--paper); border: none;
    padding: 0.9rem 2rem; border-radius: 12px;
    font-size: 0.975rem; font-weight: 700; letter-spacing: -0.01em;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 14px rgba(26,34,56,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #6BAF3A 0%, var(--sky-deep) 100%);
    box-shadow: 0 12px 34px rgba(91,138,46,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--ink-soft); border: 1.5px solid var(--border-strong);
    padding: 0.9rem 1.6rem; border-radius: 12px;
    font-size: 0.975rem; font-weight: 500; font-family: var(--font-display);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-ghost:hover { border-color: var(--sky); background: var(--sky-glow); transform: translateY(-1px); }

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-mobile-panel { display: block; }
}

/* ─── Chip (matches landing: gradient + pulsing dot) ─── */
.chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.32rem 0.85rem; border-radius: var(--radius-pill);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: linear-gradient(135deg, rgba(155,203,75,0.16), rgba(111,152,240,0.12));
    color: var(--sky-deep); border: 1px solid rgba(155,203,75,0.3);
    box-shadow: 0 2px 12px rgba(155,203,75,0.14);
    font-family: 'Space Mono', monospace; margin-bottom: 1.5rem;
}
.chip::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--sky); box-shadow: 0 0 8px var(--sky);
    animation: chipPulse 2s ease-in-out infinite;
}
@keyframes chipPulse { 50% { opacity: 0.4; transform: scale(0.8); } }

/* ─── Reveal (opacity + transform only; no blur repaint) ─── */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out-smooth), transform 0.8s var(--ease-out-smooth);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ─── Page hero ─── */
.page-hero {
    position: relative; z-index: 1;
    padding: calc(var(--nav-height) + 6rem) 2rem 3.5rem;
    max-width: 900px; margin: 0 auto; text-align: center;
}
.page-hero h1 {
    font-family: var(--font-hero);
    font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    /* polished fade-out at the bottom edge of the header */
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
/* Big section headers get the same soft fade (gentle so multi-line stays legible) */
.page-section h2, .cta-band h2 {
    -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
/* Header fades + drifts up as it scrolls away (set by site.js) */
.page-hero { transition: opacity 0.2s linear; will-change: opacity, transform; }
/* Vivid tri-color gradient accent — same language as the landing headline */
.page-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #6BAF3A 0%, #E8A33D 48%, #6F98F0 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero .lead {
    color: var(--slate); font-size: 1.2rem; line-height: 1.7; max-width: 620px; margin: 0 auto;
}
.section-eyebrow { /* section eyebrows keep the deep-green mono look */ }
/* Section header accents pick up the same vivid gradient */
.page-section h2 em, .cta-band h2 em {
    font-style: normal;
    background: linear-gradient(100deg, #6BAF3A, #E8A33D 60%, #6F98F0);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ─── Aurora background wash (matches the landing hero) ───
   A fixed, layered multi-hue glow behind everything so the sub-pages feel
   like the same vivid world as home. Sits at z-index -1 (behind the existing
   sun/clouds decor and all content). Pure gradients (no blur() filter) and
   no animation on mobile — cheap to paint. */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(50% 45% at 10% 6%, rgba(155,203,75,0.22), transparent 60%),
        radial-gradient(45% 42% at 92% 14%, rgba(111,152,240,0.17), transparent 62%),
        radial-gradient(48% 45% at 84% 90%, rgba(232,163,61,0.16), transparent 60%),
        radial-gradient(42% 40% at 14% 94%, rgba(180,140,224,0.14), transparent 62%);
}
.sub-orb {
    position: fixed; border-radius: 50%; pointer-events: none; z-index: -1;
    will-change: transform;
}
.sub-orb-1 {
    width: 520px; height: 520px; top: -120px; left: -140px;
    background: radial-gradient(circle, rgba(155,203,75,0.26) 0%, rgba(111,183,232,0.09) 44%, transparent 70%);
    animation: subDriftA 28s ease-in-out infinite;
}
.sub-orb-2 {
    width: 440px; height: 440px; bottom: -100px; right: -110px;
    background: radial-gradient(circle, rgba(232,163,61,0.20) 0%, rgba(229,122,108,0.09) 46%, transparent 70%);
    animation: subDriftB 34s ease-in-out infinite;
}
@keyframes subDriftA { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(46px,30px,0) scale(1.06)} }
@keyframes subDriftB { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-38px,-32px,0) scale(1.05)} }
@media (max-width: 760px) { .sub-orb { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .sub-orb { animation: none !important; } }

/* ─── Generic content shell ─── */
.page-section { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 3.5rem 2rem; }
.page-section.narrow { max-width: 760px; }
.section-eyebrow {
    font-family: 'Space Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sky-deep); margin-bottom: 0.9rem;
}
.page-section h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.5px; line-height: 1.02; margin-bottom: 1.1rem; }
.page-section > p { color: var(--slate); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.1rem; }
.page-section > p:last-child { margin-bottom: 0; }

/* ─── Stat grid (Impact) ─── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; margin-top: 1rem; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-hero); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; color: var(--ink); letter-spacing: 0.5px; }
.stat-num em { font-style: normal; color: var(--sky-deep); }
.stat-label { color: var(--slate); font-size: 0.98rem; margin-top: 0.6rem; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── Value cards (Mission / About) — free-floating ─── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem 2.5rem; margin-top: 1.5rem; }
.value { display: flex; flex-direction: column; gap: 0.7rem; }
.value-ic {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--sky-glow); color: var(--sky-deep); border: 1.5px solid rgba(155,203,75,0.35);
    display: flex; align-items: center; justify-content: center;
}
.value-ic.amber { background: rgba(232,163,61,0.12); color: var(--amber-deep); border-color: rgba(232,163,61,0.4); }
.value h3 { font-size: 1.25rem; letter-spacing: 0.5px; }
.value p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ─── Device frames — info held in little sketch devices ─── */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.25rem 2.5rem; align-items: start; margin-top: 1.75rem; }
@media (max-width: 860px) { .device-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; } }
@media (max-width: 560px) { .device-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; } }

.device { position: relative; min-width: 0; transition: transform 0.5s var(--ease-out-smooth); }
.device:hover { transform: translateY(-5px); }
.device .screen, .device .board {
    position: relative; z-index: 1;
    background: var(--surface);
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 1.4rem 1.35rem 1.45rem;
    box-shadow: 3px 4px 0 rgba(26,34,56,0.10), var(--shadow-md);
    display: flex; flex-direction: column;
}
.dv-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--sky-glow); color: var(--sky-deep);
    border: 1.5px solid rgba(155,203,75,0.4);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    margin-bottom: 0.85rem;
}
.dv-icon.amber { background: rgba(232,163,61,0.12); color: var(--amber-deep); border-color: rgba(232,163,61,0.4); }
.dv-title { font-family: var(--font-hero); text-transform: uppercase; font-size: 1.26rem; letter-spacing: 0.5px; line-height: 1.0; color: var(--ink); margin-bottom: 0.55rem; }
.dv-desc { font-family: var(--font-serif); font-size: 0.9rem; color: var(--slate); line-height: 1.55; }
.dv-tag { display: inline-block; margin-top: 0.9rem; font-family: 'Space Mono', monospace; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-deep); }

/* Laptop */
.device.laptop { padding-bottom: 20px; }
.laptop .screen { border-radius: 12px 12px 5px 5px; }
.laptop-deck {
    position: relative; width: 114%; left: -7%; height: 15px; margin-top: 5px;
    background: linear-gradient(180deg, #ECECE8, #D6D6D0);
    border: 1.5px solid var(--ink); border-top: none; border-radius: 3px 3px 12px 12px;
    box-shadow: 3px 4px 0 rgba(26,34,56,0.08);
}
.laptop-deck::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 5px; background: rgba(26,34,56,0.16); border-radius: 0 0 6px 6px;
}

/* Monitor */
.device.monitor { padding-bottom: 34px; }
.monitor .screen { border-radius: 10px; }
.monitor-stand { position: relative; height: 24px; margin-top: 4px; }
.monitor-stand::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 26px; height: 17px; background: linear-gradient(#E0E0DA,#C8C8C2);
    border: 1.5px solid var(--ink); border-top: none;
}
.monitor-stand::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 46%; height: 8px; background: linear-gradient(#DADAD4,#C4C4BE);
    border: 1.5px solid var(--ink); border-radius: 5px; box-shadow: 3px 3px 0 rgba(26,34,56,0.07);
}

/* Whiteboard */
.device.whiteboard { padding-bottom: 18px; }
.whiteboard .board {
    border-width: 2.5px; border-radius: 8px;
    background:
        repeating-linear-gradient(0deg, transparent 0 23px, rgba(26,34,56,0.03) 23px 24px),
        var(--surface);
}
.whiteboard-tray {
    position: relative; width: 72%; margin: 0 auto; height: 9px;
    background: linear-gradient(#DDDDD7,#C6C6C0);
    border: 1.5px solid var(--ink); border-top: none; border-radius: 0 0 6px 6px;
    box-shadow: 3px 3px 0 rgba(26,34,56,0.07);
}
.whiteboard-tray::after {
    content: ''; position: absolute; top: 2px; left: 20%; width: 34px; height: 4px;
    border-radius: 3px; background: var(--sky-deep);
}

/* Notebook (grid variant — subtle scatter, tape, lined paper) */
.device.notebook .screen {
    background:
        repeating-linear-gradient(180deg, transparent 0 26px, rgba(26,34,56,0.05) 26px 27px),
        var(--surface);
    border-radius: 14px 12px 16px 12px;
}
.device.notebook .screen::after {
    content: ''; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg);
    width: 52px; height: 15px; background: rgba(255,214,90,0.55);
    border: 1px solid rgba(206,138,36,0.5); border-radius: 2px;
}

/* ─── Founder (About) ─── */
.founder {
    display: flex; gap: 2rem; align-items: flex-start;
    margin-top: 1.8rem; max-width: 760px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    box-shadow: 0 1px 3px rgba(26,34,56,0.05), 0 12px 32px rgba(26,34,56,0.06);
}
.founder-avatar {
    flex-shrink: 0;
    width: 96px; height: 96px; border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-hero, 'Abolition', sans-serif);
    font-size: 2.2rem; letter-spacing: 1px; color: #fff;
    background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 55%, var(--amber) 130%);
    box-shadow: 0 8px 22px rgba(91,138,46,0.32), inset 0 1px 0 rgba(255,255,255,0.25);
}
.founder-body { flex: 1; min-width: 0; }
.founder-name { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.founder-name h3 { font-size: 1.35rem; letter-spacing: 0.5px; color: var(--ink); margin: 0; }
.founder-role {
    font-family: 'Space Mono', monospace; font-size: 0.66rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sky-deep); background: rgba(155,203,75,0.14);
    border: 1px solid rgba(155,203,75,0.3);
    padding: 0.2rem 0.6rem; border-radius: 999px;
}
.founder-body p {
    color: var(--slate); font-size: 0.98rem; line-height: 1.8;
    margin: 0 0 1rem;
}
.founder-body p:last-child { margin-bottom: 0; }
.founder-body p em { color: var(--ink); font-style: italic; }
@media (max-width: 620px) {
    .founder { flex-direction: column; gap: 1.3rem; padding: 1.6rem 1.4rem; align-items: center; text-align: center; }
    .founder-name { justify-content: center; }
    .founder-body p { text-align: left; }
}

/* ─── FAQ accordion ─── */
.faq-list { border-top: 1px solid var(--border); margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; background: transparent; border: none;
    padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--ink);
    text-align: left; gap: 1rem; transition: color var(--transition);
}
.faq-q:hover { color: var(--sky-deep); }
.faq-icon { flex-shrink: 0; color: var(--slate); transition: transform 0.4s var(--ease-out-expo), color var(--transition); }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--sky-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out-expo); }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { color: var(--slate); font-size: 0.98rem; line-height: 1.8; padding-bottom: 1.5rem; }

/* ─── CTA band ─── */
.cta-band { position: relative; z-index: 1; text-align: center; padding: 5rem 2rem 6rem; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: 0.5px; line-height: 1.0; margin-bottom: 1rem; }
.cta-band p { color: var(--slate); font-size: 1.05rem; margin-bottom: 2rem; }

/* ─── Footer ─── */
footer { border-top: 1px solid var(--border); padding: 4rem 2rem 2.25rem; background: transparent; position: relative; z-index: 1; }
.footer-content { max-width: 1140px; margin: 0 auto 2.5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; }
.footer-tagline { font-size: 0.9rem; color: var(--slate); margin-top: 0.4rem; }
.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col strong { font-size: 0.78rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a { font-size: 0.9rem; color: var(--slate); transition: color var(--transition); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: 1140px; margin: 0 auto; padding-top: 1.75rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--slate-light); flex-wrap: wrap; gap: 0.5rem; }

@media (max-width: 720px) {
    .nav-links { display: none; }
    .footer-content { flex-direction: column; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; filter: none; }
    .grain-overlay, .doodle-clouds { display: none; }
}
