/* ============================================================
   SmallChurchApp — design system
   Warm-blue dominant (dusk / worn denim) + warm cream/sand.
   Serif headlines (Fraunces), clean sans body (Source Sans 3).
   Quiet, editorial, pastoral.
   ============================================================ */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing (4px base) */
  --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;

  /* ---- Warm-blue palette ---- */
  /* Surfaces: warm cream / sand */
  --color-bg: #f5f1e8;            /* warm cream */
  --color-surface: #faf7f0;       /* lighter cream card */
  --color-surface-2: #fefdf9;
  --color-surface-offset: #ece5d6; /* sand */
  --color-sand: #e4dac6;
  --color-tan: #d8c9ad;

  /* Blue family: dusk / worn denim — not corporate, not navy */
  --color-blue: #4a6585;          /* worn denim — primary */
  --color-blue-deep: #364a64;     /* dusk twilight */
  --color-blue-soft: #6f88a6;     /* lighter denim */
  --color-blue-wash: #dde3ec;     /* pale blue tint */
  --color-blue-tint: #eef0f0;

  /* Text: deep warm blue-gray (avoid pure black) */
  --color-text: #2c3340;          /* deep blue-charcoal */
  --color-text-muted: #5d6472;    /* muted blue-gray */
  --color-text-faint: #8b8b86;
  --color-text-inverse: #f5f1e8;

  /* Accent for CTAs */
  --color-accent: #b6764a;        /* warm terracotta-tan, used sparingly */
  --color-accent-hover: #9c6038;

  --color-border: #ddd3c0;
  --color-divider: #e6ddcc;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

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

  --shadow-sm: 0 1px 3px rgba(54, 74, 100, 0.07);
  --shadow-md: 0 6px 22px rgba(54, 74, 100, 0.10);
  --shadow-lg: 0 20px 50px rgba(54, 74, 100, 0.16);

  --content-narrow: 640px;
  --content-default: 920px;
  --content-wide: 1180px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

/* ---------------- base reset ---------------- */
*, *::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: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  text-wrap: balance;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--color-blue-deep);
}

p { text-wrap: pretty; }

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

button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: rgba(74, 101, 133, 0.18); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a, button, input, textarea, select {
  transition: color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.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 primitives ---------------- */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.narrow { max-width: var(--content-narrow); margin-inline: auto; }
.default { max-width: var(--content-default); margin-inline: auto; }

section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue-soft);
  margin-bottom: var(--space-5);
}

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.site-header.scrolled { border-bottom-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-4);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--color-blue-deep); }
.brand .logo { width: 34px; height: 34px; color: var(--color-blue); flex-shrink: 0; }
.brand .brand-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.18rem; letter-spacing: -0.01em; color: var(--color-blue-deep);
}
.brand .brand-name b { font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  color: var(--color-blue-deep);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-blue-soft);
  border-radius: var(--radius-full);
}
.nav-cta:hover { background: var(--color-blue); color: var(--color-text-inverse); border-color: var(--color-blue); }

/* ---------------- 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-4) var(--space-8);
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--color-blue); color: var(--color-text-inverse); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-blue-deep); color: var(--color-text-inverse); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--color-blue-deep); border: 1px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-blue-soft); color: var(--color-blue-deep); }

/* ---------------- hero ---------------- */
.hero { padding-top: clamp(var(--space-12), 6vw, var(--space-20)); padding-bottom: 0; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 420;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}
.hero .lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 34ch;
  margin-bottom: var(--space-8);
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-surface);
}
.hero-figure img { width: 100%; }

/* ---------------- philosophy band ---------------- */
.philosophy {
  background: var(--color-blue-deep);
  color: var(--color-text-inverse);
  text-align: center;
}
.philosophy p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 380;
  line-height: 1.35;
  max-width: 24ch;
  margin-inline: auto;
  color: #eef0ea;
}
.philosophy p strong { font-weight: 560; color: #fff; display: block; }
.philosophy p .second { color: #cdd6dc; margin-top: var(--space-5); }

/* ---------------- problem ---------------- */
.problem h2 { font-size: var(--text-2xl); margin-bottom: var(--space-8); }
.problem .prose p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; }
.problem .prose p + p { margin-top: var(--space-6); }

/* ---------------- reframe ---------------- */
.reframe { background: var(--color-surface-offset); }
.reframe .wrap {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center;
}
.reframe .reframe-figure {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.reframe h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.reframe p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 48ch; }

/* alt variant places the figure on the right (text-first reading order) */
.reframe.reframe-alt { background: var(--color-surface); }
.reframe.reframe-alt .wrap { grid-template-columns: 1.05fr 1fr; }

/* ---------------- rhythms ---------------- */
.rhythms { text-align: center; }
.rhythms h2 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.rhythms .intro { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; margin: 0 auto var(--space-16); }
.rhythm-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
}
.rhythm {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--space-3);
}
.rhythm .ic {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  background: var(--color-blue-wash);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}
.rhythm .ic img { width: 78px; height: 78px; object-fit: contain; }
.rhythm h3 { font-size: var(--text-lg); color: var(--color-blue-deep); }
.rhythm p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 22ch; }

/* ---------------- callout ---------------- */
.callout {
  background: var(--color-blue);
  color: var(--color-text-inverse);
  text-align: center;
}
.callout p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 380;
  line-height: 1.28;
  max-width: 18ch;
  margin-inline: auto;
  color: #f3f0e8;
}

/* ---------------- who it's for ---------------- */
.who .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: start;
}
.who-col { display: flex; flex-direction: column; gap: var(--space-6); }
.who-col .eyebrow { margin: 0; }
.who h2 { font-size: var(--text-xl); margin: 0 0 var(--space-2) 0; }
.who .check-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding: 0; }
.who .check-list li {
  display: flex; gap: var(--space-3); align-items: flex-start;
  font-size: var(--text-base); color: var(--color-text); max-width: 46ch;
}
.who .check-list li svg { width: 22px; height: 22px; color: var(--color-blue); flex-shrink: 0; margin-top: 2px; }
.who-col-right p { font-size: var(--text-base); color: var(--color-text-muted); max-width: 52ch; margin: 0; }
.who-col-right p + p { margin-top: var(--space-5); }
.who-col-right .discipleship-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-4);
  margin-top: var(--space-6);
}

/* Stat callout — sits naturally at the bottom of the left column */
.who .stat-callout {
  margin-top: var(--space-4);
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(182, 118, 74, 0.08), rgba(74, 101, 133, 0.06));
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.who .stat-callout .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}
.who .stat-callout .stat-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0;
}
.who-figure { grid-column: 1 / -1; margin-top: var(--space-16); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.who-figure img { display: block; width: 100%; height: auto; }

/* ---------------- honest filter ---------------- */
.filter { background: var(--color-surface-offset); text-align: center; }
.filter .eyebrow { color: var(--color-accent); }
.filter p {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 400; line-height: 1.35;
  max-width: 26ch; margin-inline: auto; color: var(--color-blue-deep);
}

/* ---------------- CTA / form ---------------- */
.cta { background: var(--color-blue-deep); color: var(--color-text-inverse); }
.cta .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: start; }
.cta h2 { color: #fff; font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.cta .cta-copy p { color: #cdd6dc; font-size: var(--text-base); max-width: 40ch; }
.cta .cta-copy .quiet {
  margin-top: var(--space-6); padding-left: var(--space-5);
  border-left: 2px solid var(--color-blue-soft);
  font-style: italic; color: #b9c4cd;
}

.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: var(--text-sm); font-weight: 600; color: var(--color-blue-deep);
}
.field label .req { color: var(--color-accent); }
.field input, .field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-faint); }
.field input:focus, .field textarea:focus { border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(74,101,133,0.12); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }
.slug-row { display: flex; align-items: stretch; }
.slug-row input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.slug-suffix {
  display: inline-flex; align-items: center; padding: 0 var(--space-3);
  background: var(--color-surface-offset); border: 1px solid var(--color-border); border-left: none;
  border-top-right-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md);
  color: var(--color-text-muted); font-size: var(--text-sm); white-space: nowrap;
}
.form-submit { grid-column: 1 / -1; margin-top: var(--space-2); }
.form-submit .btn { width: 100%; }
.form-msg {
  grid-column: 1 / -1; display: none;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  font-size: var(--text-sm); margin-top: var(--space-2);
}
.form-msg.error { display: block; background: #f6e2da; color: #8a3c1e; border: 1px solid #e3c2b3; }

/* ---------------- closing ---------------- */
.closing { text-align: center; }
.closing blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 360; font-style: italic;
  line-height: 1.45; color: var(--color-blue-deep);
  max-width: 40ch; margin: 0 auto var(--space-5);
}
.closing cite {
  display: block; font-family: var(--font-body); font-style: normal;
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--color-blue-soft); margin-bottom: var(--space-16);
}
.closing .anchor p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 48ch; margin: 0 auto; }
.closing .anchor p + p { margin-top: var(--space-5); }
.closing .anchor .last { color: var(--color-blue-deep); font-weight: 500; }

/* ---------------- footer ---------------- */
.site-footer {
  background: var(--color-blue-deep);
  color: #c9d1d8;
  text-align: center;
  padding-block: var(--space-20);
}
.site-footer .footer-logo { width: 40px; height: 40px; color: #9fb1c4; margin: 0 auto var(--space-6); }
.site-footer p { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 360; line-height: 1.5; max-width: 32ch; margin: 0 auto var(--space-6); color: #dfe5ea; }
.site-footer .meta { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: 0.06em; color: #8295a6; }

/* ---------------- thank-you page ---------------- */
.thanks-hero { padding-top: clamp(var(--space-20), 12vw, var(--space-32)); text-align: center; padding-bottom: var(--space-12); }
.thanks-hero .mark { width: 64px; height: 64px; color: var(--color-blue); margin: 0 auto var(--space-8); }
.thanks-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.thanks-hero p { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 44ch; margin: 0 auto; }
.teasers { padding-top: var(--space-12); }
.teaser-list { display: grid; gap: var(--space-6); }
.teaser {
  display: flex; gap: var(--space-5); align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-8);
}
.teaser .num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--color-blue-wash); color: var(--color-blue-deep);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.teaser p { font-size: var(--text-base); color: var(--color-text); max-width: none; }
.teaser p .lead { color: var(--color-blue-deep); font-weight: 600; }
.teaser code { background: var(--color-blue-tint); padding: 1px 6px; border-radius: var(--radius-sm); font-size: 0.92em; color: var(--color-blue-deep); }
.thanks-foot { text-align: center; padding-top: var(--space-16); }
.thanks-foot .soft { font-size: var(--text-base); color: var(--color-text-muted); margin-bottom: var(--space-8); max-width: 42ch; margin-inline: auto; }

/* ---------------- scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@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; }
}

/* ============================================================
   Responsive — mobile first adjustments
   ============================================================ */
@media (max-width: 900px) {
  .hero .wrap,
  .reframe .wrap,
  .who .wrap,
  .cta .wrap { grid-template-columns: 1fr; }

  .hero { padding-top: var(--space-10); }
  .hero-figure { order: -1; }
  .hero .lede { max-width: none; }

  .reframe .reframe-figure { order: -1; }

  .rhythm-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-10) var(--space-6); }
  .rhythm:last-child { grid-column: 1 / -1; }

  .form-grid { grid-template-columns: 1fr; }

  .who-col { gap: var(--space-5); }
  .who-col-right { margin-top: var(--space-8); }
  .who-figure { margin-top: var(--space-12); }
}

@media (max-width: 480px) {
  .wrap { padding-inline: var(--space-5); }
  .nav-cta { padding: var(--space-2) var(--space-4); }
  .rhythm .ic { width: 80px; height: 80px; }
  .rhythm .ic img { width: 66px; height: 66px; }
  .teaser { padding: var(--space-5) var(--space-5); gap: var(--space-4); }
}

/* =========================================================
   ADDITIONS — Beta phase: status bar, nav, hero meta, timeline, join cards
   ========================================================= */

/* Beta status bar */
.status-bar {
  background: var(--color-blue-deep);
  color: var(--color-text-inverse);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
  padding: 0.55rem 0;
  text-align: center;
  position: relative;
  z-index: 50;
}
.status-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.status-bar strong { font-weight: 600; color: #fff; }
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #7dcfa1;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(125, 207, 161, 0.7);
  animation: pulse-dot 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.status-countdown {
  color: #fff;
  margin-left: 0.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.status-countdown.final-week {
  color: #ffd9a8;
  background: rgba(182, 118, 74, 0.22);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(125, 207, 161, 0.7); }
  50%      { box-shadow: 0 0 0 8px rgba(125, 207, 161, 0); }
}

/* Header nav links */
.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.95rem;
}
.site-header .nav-links a:not(.nav-cta) {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease;
}
.site-header .nav-links a:not(.nav-cta):hover { color: var(--color-text); }
@media (max-width: 720px) {
  .site-header .nav-links a:not(.nav-cta) { display: none; }
}

/* Hero additions */
.hero-eyebrow {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}
.hero-meta {
  margin-top: 1.3rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  max-width: 38ch;
  line-height: 1.55;
}

/* TIMELINE */
.timeline {
  padding: 5rem 0 5.5rem;
  background: var(--color-surface);
}
.timeline .eyebrow { color: var(--color-accent); }
.timeline h2 { max-width: 18ch; }
.timeline .intro {
  max-width: 58ch;
  color: var(--color-text-muted);
  margin: 1rem 0 2.6rem;
  font-size: 1.05rem;
}
.timeline .phases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .timeline .phases { grid-template-columns: 1fr; }
}
.timeline .phase {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.7rem;
  position: relative;
}
.timeline .phase-now    { border-top: 4px solid #7a9e6c; }
.timeline .phase-soon   { border-top: 4px solid var(--color-blue-soft); }
.timeline .phase-launch { border-top: 4px solid var(--color-accent); }
.timeline .phase-head { margin-bottom: 0.8rem; }
.timeline .phase-tag {
  display: inline-block;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.timeline .phase-now    .phase-tag { color: #5e7d51; }
.timeline .phase-launch .phase-tag { color: var(--color-accent); }
.timeline .phase h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}
.timeline .phase ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.timeline .phase ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--color-text);
  font-family: 'Source Sans 3', system-ui, sans-serif;
}
.timeline .phase ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  background: var(--color-text-muted);
  border-radius: 50%;
}
.timeline .phase-now    ul li::before { background: #7a9e6c; }
.timeline .phase-launch ul li::before { background: var(--color-accent); }

/* JOIN — two cards */
.join {
  padding: 5rem 0 5.5rem;
  background: var(--color-blue-deep);
  color: var(--color-text-inverse);
}
.join .join-head { margin-bottom: 2.4rem; text-align: center; }
.join .join-head h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.join .eyebrow { color: var(--color-blue-soft) !important; }
.join-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}
@media (max-width: 900px) {
  .join-grid { grid-template-columns: 1fr; }
}
.join-card {
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 18px;
  padding: 2rem 1.9rem 2.1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.join-card-notify {
  background: var(--color-surface);
}
.join-card header { margin-bottom: 1.4rem; }
.card-tag {
  display: inline-block;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.card-tag-beta {
  color: #fff;
  background: var(--color-accent);
}
.card-tag-notify {
  color: var(--color-blue-deep);
  background: var(--color-blue-wash);
}
.join-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 0.7rem;
}
.join-card header p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 50ch;
}

/* Join forms */
.join-form { margin-top: 0.4rem; }
.join-form .field {
  margin-bottom: 0.95rem;
}
.join-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .join-form .field-row { grid-template-columns: 1fr; }
}
.join-form label {
  display: block;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.join-form .req { color: var(--color-accent); margin-left: 2px; }
.join-form input[type="text"],
.join-form input[type="email"],
.join-form input[type="tel"],
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 0.62rem 0.8rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.join-form textarea { resize: vertical; min-height: 80px; }
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(74, 101, 133, 0.18);
}
.join-form .form-msg {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.92rem;
  margin: 0.4rem 0 0.8rem;
  min-height: 1.2em;
  line-height: 1.5;
}
.join-form .form-msg.error { color: #a04545; }
.join-form .form-msg.warn  { color: #8a5a2b; }
.join-form .form-msg.warn a {
  color: #8a5a2b;
  font-weight: 600;
  text-decoration: underline;
}
.join-form .btn { width: 100%; margin-top: 0.5rem; }
.join-form .fine-print {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.btn-secondary {
  background: var(--color-blue);
  color: #fff;
  border: none;
  padding: 0.85rem 1.6rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.btn-secondary:hover { background: var(--color-blue-deep); transform: translateY(-1px); }

/* Footer meta-light line */
.site-footer .meta-light {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.site-footer .meta-light a {
  color: var(--color-blue);
  text-decoration: none;
}
.site-footer .meta-light a:hover { text-decoration: underline; }
