/* ============================================================
   AI Free Learning Community — Design System
   Display: Cabinet Grotesk · Body: General Sans
   Palette: deep indigo + electric cyan→violet gradient accent
   ============================================================ */

:root,
[data-theme="light"] {
  /* Surfaces */
  --color-bg: #f6f7fb;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfe;
  --color-surface-offset: #eef0f8;
  --color-surface-offset-2: #e6e9f4;
  --color-divider: #e2e5f0;
  --color-border: #d8dcec;

  /* Text */
  --color-text: #131326;
  --color-text-muted: #565a72;
  --color-text-faint: #9aa0b8;
  --color-text-inverse: #f7f8ff;

  /* Accents */
  --color-primary: #5b46f5;          /* electric violet */
  --color-primary-hover: #4a36da;
  --color-primary-active: #3a29b3;
  --color-cyan: #06b6d4;             /* electric cyan */
  --color-cyan-soft: #22d3ee;
  --color-violet: #8b5cf6;

  --grad: linear-gradient(115deg, #06b6d4 0%, #5b46f5 52%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(91,70,245,0.12));

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(19,19,38,0.06);
  --shadow-md: 0 8px 24px rgba(19,19,38,0.08);
  --shadow-lg: 0 24px 60px rgba(40,30,120,0.16);
  --shadow-glow: 0 12px 48px rgba(91,70,245,0.35);

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1220px;

  --font-display: "Cabinet Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "General Sans", "Inter", system-ui, sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.55vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --text-3xl: clamp(2.6rem, 1.3rem + 4.2vw, 4.75rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;
}

[data-theme="dark"] {
  --color-bg: #0a0a16;
  --color-surface: #12121f;
  --color-surface-2: #171727;
  --color-surface-offset: #1b1b2e;
  --color-surface-offset-2: #222236;
  --color-divider: #24243a;
  --color-border: #2c2c46;

  --color-text: #e8e9f4;
  --color-text-muted: #a0a3bd;
  --color-text-faint: #6b6e8a;
  --color-text-inverse: #0a0a16;

  --color-primary: #8b7dff;
  --color-primary-hover: #a094ff;
  --color-primary-active: #6f5fef;
  --color-cyan: #22d3ee;
  --color-cyan-soft: #67e8f9;
  --color-violet: #b18bff;

  --grad: linear-gradient(115deg, #22d3ee 0%, #8b7dff 52%, #c084fc 100%);
  --grad-soft: linear-gradient(135deg, rgba(34,211,238,0.14), rgba(139,125,255,0.16));

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.6);
  --shadow-glow: 0 12px 48px rgba(139,125,255,0.4);
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  min-height: 100dvh; line-height: 1.6;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-text); background-color: var(--color-bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display); text-wrap: balance;
  line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
}
p { text-wrap: pretty; }

::selection { background: rgba(91,70,245,0.25); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

a, button, [role="button"] {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===================== Layout helpers ===================== */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-primary);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  background: var(--grad-soft); border: 1px solid var(--color-border);
}
.section-head { max-width: 720px; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--text-2xl); margin-top: var(--space-5); }
.section-head p { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: var(--space-4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-full);
  white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--grad); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { color: var(--color-text); border: 1px solid var(--color-border); background: var(--color-surface); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

/* ===================== Header ===================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.header.scrolled { border-bottom-color: var(--color-divider); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); letter-spacing: -0.01em; }
.brand .logo { width: 34px; height: 34px; flex-shrink: 0; color: var(--color-primary); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--color-text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: var(--space-2); }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.nav-links a:hover { color: var(--color-text); }
.nav-right { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }
.menu-btn { display: none; width: 40px; height: 40px; place-items: center; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text); }

/* ===================== Hero ===================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(var(--space-20), 12vw, var(--space-32)); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in oklab, var(--color-bg) 30%, transparent) 0%, color-mix(in oklab, var(--color-bg) 78%, transparent) 55%, var(--color-bg) 100%); }
[data-theme="light"] .hero-bg img { opacity: 0.95; }
[data-theme="light"] .hero-bg::after { background: linear-gradient(180deg, rgba(246,247,251,0.55) 0%, rgba(246,247,251,0.85) 55%, var(--color-bg) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { font-size: var(--text-3xl); margin: var(--space-6) 0; }
.hero .lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 620px; }
[data-theme="dark"] .hero h1, [data-theme="dark"] .hero .lead { color: var(--color-text); }
[data-theme="dark"] .hero .lead { color: #c4c7e0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin-top: var(--space-16); }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.hero-stat .label { font-size: var(--text-sm); color: var(--color-text-muted); }
[data-theme="dark"] .hero-stat .label { color: #b4b7d2; }

/* ===================== Marquee / pills ===================== */
.topics-strip { border-block: 1px solid var(--color-divider); background: var(--color-surface); overflow: hidden; }
.marquee { display: flex; gap: var(--space-4); padding-block: var(--space-5); width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.pill { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); padding: var(--space-2) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-full); white-space: nowrap; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===================== About ===================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.about-text p { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: var(--space-5); }
.about-points { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.about-point { display: flex; gap: var(--space-4); align-items: flex-start; }
.about-point .ic { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--grad-soft); color: var(--color-primary); }
.about-point strong { display: block; font-family: var(--font-display); }
.about-point span { font-size: var(--text-sm); color: var(--color-text-muted); }
.about-visual { position: relative; }
.about-visual img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.goal-card { position: absolute; bottom: -28px; left: -20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); box-shadow: var(--shadow-md); max-width: 250px; }
.goal-card .big { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1; }
.goal-card .small { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ===================== Cards / grids ===================== */
.card-grid { display: grid; gap: var(--space-5); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--color-primary) 50%, var(--color-border)); box-shadow: var(--shadow-md); }
.card .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--grad-soft); color: var(--color-primary); margin-bottom: var(--space-5); }
.card h3 { font-size: var(--text-lg); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }

/* Learn list with numbers */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.learn-item { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); transition: transform var(--transition-interactive), border-color var(--transition-interactive); }
.learn-item:hover { transform: translateX(4px); border-color: color-mix(in oklab, var(--color-primary) 45%, var(--color-border)); }
.learn-item .n { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; flex-shrink: 0; min-width: 1.6em; }
.learn-item span { font-weight: 500; font-size: var(--text-sm); }

/* Projects */
.projects { background: var(--color-surface-2); }
.proj-card { position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); transition: transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proj-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 320ms cubic-bezier(0.16,1,0.3,1); }
.proj-card:hover::before { transform: scaleX(1); }
.proj-tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-cyan); }
[data-theme="light"] .proj-tag { color: var(--color-primary); }
.proj-card h3 { font-size: var(--text-lg); margin-top: var(--space-3); }
.proj-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }
.proj-num { position: absolute; top: var(--space-4); right: var(--space-5); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-surface-offset-2); }

/* Format steps */
.format-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.fmt { text-align: center; padding: var(--space-6) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.fmt .ic { width: 52px; height: 52px; margin: 0 auto var(--space-4); display: grid; place-items: center; border-radius: var(--radius-full); background: var(--grad-soft); color: var(--color-primary); }
.fmt strong { display: block; font-family: var(--font-display); font-size: var(--text-base); }
.fmt span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* Benefits */
.benefits { background: var(--color-surface-2); }
.benefit { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); }
.benefit .ck { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--radius-full); background: var(--grad); color: #fff; }
.benefit strong { display: block; font-family: var(--font-display); }
.benefit span { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Rules */
.rules-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-8), 5vw, var(--space-16)); }
.rules-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-8); margin-top: var(--space-8); }
.rule { display: flex; gap: var(--space-4); align-items: center; }
.rule .ic { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--grad-soft); color: var(--color-primary); }
.rule span { font-weight: 500; }

/* CTA */
.cta-section { position: relative; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-xl); padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
  background: linear-gradient(135deg, #0d0b2b 0%, #2a1b6b 50%, #4a2a8a 100%);
  color: #fff;
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(34,211,238,0.35), transparent 45%), radial-gradient(circle at 80% 70%, rgba(168,85,247,0.4), transparent 45%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: var(--text-2xl); color: #fff; }
.cta-card p { color: rgba(255,255,255,0.82); font-size: var(--text-lg); margin: var(--space-5) auto 0; max-width: 560px; }
.cta-card .btn-primary { margin-top: var(--space-8); background: #fff; color: #2a1b6b; box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.cta-card .btn-primary:hover { filter: none; transform: translateY(-2px) scale(1.02); }
.cta-note { font-size: var(--text-xs); color: rgba(255,255,255,0.6); margin-top: var(--space-5); }

/* Contact */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); justify-content: space-between; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-8), 5vw, var(--space-12)); }
.founder { display: flex; align-items: center; gap: var(--space-5); }
.founder .avatar { width: 72px; height: 72px; border-radius: var(--radius-full); background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); flex-shrink: 0; }
.founder .name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.founder .role { font-size: var(--text-sm); color: var(--color-text-muted); }

/* Footer */
.footer { border-top: 1px solid var(--color-divider); padding-block: var(--space-12) var(--space-8); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-8); }
.footer p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 320px; margin-top: var(--space-4); }
.footer-links { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.footer-links a { font-size: var(--text-sm); color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-primary); }
.footer-social { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--color-divider); display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-5); }
.footer-social-label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--color-text); }
.social-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.social-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted); }
.social-ic:hover { color: #fff; background: var(--grad); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.footer-bottom { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); color: var(--color-text-faint); }

/* Join options (multi-channel) */
.join-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-8); text-align: left; }
.join-opt { position: relative; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-5); border-radius: var(--radius-lg); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); color: #fff; }
.join-opt:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); border-color: rgba(255,255,255,0.32); }
.join-opt.featured { background: rgba(255,255,255,0.97); color: #2a1b6b; border-color: #fff; }
.join-opt.featured:hover { background: #fff; }
.join-opt .join-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); background: rgba(255,255,255,0.14); margin-bottom: var(--space-3); }
.join-opt.featured .join-ic { background: var(--grad); color: #fff; }
.join-opt strong { font-family: var(--font-display); font-size: var(--text-base); }
.join-opt span:not(.join-ic):not(.badge-rec) { font-size: var(--text-sm); opacity: 0.78; }
.badge-rec { position: absolute; top: var(--space-3); right: var(--space-3); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-full); background: var(--grad); color: #fff; }
.cta-download { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-8); font-size: var(--text-sm); font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
.cta-download:hover { border-color: #fff; transform: translateY(-1px); }

/* FAQ */
.faq-section { background: var(--color-surface-2); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-8); }
.faq-tab { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface); }
.faq-tab:hover { color: var(--color-text); border-color: color-mix(in oklab, var(--color-primary) 45%, var(--color-border)); }
.faq-tab.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }
.faq-panel { max-width: 820px; margin-inline: auto; }
.faq-cat-desc { text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); margin-bottom: var(--space-3); overflow: hidden; transition: border-color var(--transition-interactive); }
.faq-item.open { border-color: color-mix(in oklab, var(--color-primary) 55%, var(--color-border)); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-5); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--color-text); }
.faq-q:hover { color: var(--color-primary); }
.faq-chev { flex-shrink: 0; color: var(--color-text-muted); transition: transform var(--transition-interactive); }
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--color-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1); }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { color: var(--color-text-muted); font-size: var(--text-sm); padding: 0 var(--space-5) var(--space-5); }
.faq-foot { text-align: center; margin-top: var(--space-10); }

/* Founder */
.founder-section { background: var(--color-surface-2); }
.founder-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; max-width: 980px; margin-inline: auto; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 1; }
.founder-photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-primary) 30%, transparent); pointer-events: none; }
.founder-badge { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: 600; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.fb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.founder-body h3 { font-size: var(--text-xl); }
.founder-title { font-family: var(--font-display); font-weight: 500; color: var(--color-primary); font-size: var(--text-base); margin-top: var(--space-2); }
.founder-loc { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-3); }
.founder-body > p:not(.founder-title):not(.founder-loc) { color: var(--color-text-muted); margin-top: var(--space-4); font-size: var(--text-base); }
.founder-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.ftag { font-size: var(--text-xs); font-weight: 500; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); background: var(--grad-soft); border: 1px solid var(--color-border); color: var(--color-text); }
.founder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-8); }
.social-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; padding: var(--space-3) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted); }
.social-link:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== Mobile nav ===================== */
.mobile-menu { display: none; }

/* ===================== Responsive ===================== */
@media (max-width: 940px) {
  .cols-3, .learn-grid, .format-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { max-width: 280px; margin: 0 auto var(--space-6); }
  .founder-loc, .founder-tags, .founder-actions { justify-content: center; }
  .goal-card { left: auto; right: 0; }
  .rules-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .brand small { display: none; }
  .brand { font-size: var(--text-sm); }
  .nav-right > .btn-primary { display: none; }
  .nav { height: 4rem; }
  .cols-3, .cols-2, .learn-grid, .format-grid { grid-template-columns: 1fr; }
  .join-options { grid-template-columns: 1fr; }
  .faq-q { font-size: var(--text-sm); }
  .hero-stats { gap: var(--space-6); }
  .hero-stat { flex: 1 1 40%; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .mobile-menu.open { display: block; position: fixed; inset: 4rem 0 0; z-index: 55; background: var(--color-bg); padding: var(--space-6); overflow-y: auto; }
  .mobile-menu.open a { display: block; padding: var(--space-4) 0; font-size: var(--text-lg); font-family: var(--font-display); border-bottom: 1px solid var(--color-divider); }
  .mobile-menu.open .btn { margin-top: var(--space-6); width: 100%; }
}
