
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --teal: #0D5C6E;
  --teal-dark: #0A4A5A;  /* = app --brand-primary-deep */
  --night: #072F3A;        --teal-ghost: #E8F4F7; /* = app --brand-primary-ghost */
  --amber: #F59E0B;
  --cream: #FAFAF7;
  --paper: #F3F1EA;        --ink: #1E293B;        /* = app --brand-ink */
  --ink-2: #334155;      /* = app --brand-ink-2 */
  --ink-3: #5B6B80;      /* muted text: 5.3:1 on cream, 4.9:1 on paper */
  --wordmark: #8A6A2E;   /* = app --brand-wordmark (gold on light): 4.9:1 on cream */
  --gold: #E2C589;         --on-dark: #CFE3E8;    /* body text on teal: 7.4:1 on --teal-dark */
  --line: #E3E6E2;
  --card: #FFFFFF;
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);          /* signature: every entrance decelerates onto its place */
  --ease-exit: cubic-bezier(.4, 0, 1, 1);         --dur-quick: 180ms;                           /* hover, press */
  --dur-std: 420ms;                             /* panels, cards, state changes */
  --dur-slow: 720ms;                            /* reveals, data growing in */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px;
}
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 72ch; }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 999px; }

/* ── Header: one deep-teal bar, sticky, glass over the page ─────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 47, 58, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(226, 197, 137, 0.14);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
/* Wordmark = gold Roman capitals (vector), pressed in like a stamped gold plate. */
.brand-name {
  display: block; height: 20px; width: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.12));
}
.brand-sub {
  font-family: var(--display); font-weight: 600; font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--on-dark); margin-top: 5px;
}
.badge {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--night); background: var(--gold); border-radius: 999px; padding: 3px 9px; margin-left: 2px;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav .nav-cta {
  margin-left: 8px; padding: 0 18px; color: var(--night); background: var(--gold); font-weight: 700;
}
.nav .nav-cta:hover { background: #F0DAA6; color: var(--night); }
/* Phones: brand + the invite pill stay; the other links fold into a menu (no script needed). */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; padding: 0 14px; border-radius: 999px; color: var(--on-dark);
  border: 1px solid rgba(207, 227, 232, 0.3); font-size: 15px; font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: rgba(255, 255, 255, 0.08); }
.menu .menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; padding: 8px;
  background: var(--night); border: 1px solid rgba(226, 197, 137, 0.22); border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column;
}
.menu .menu-panel a {
  min-height: 48px; display: flex; align-items: center; padding: 0 14px; color: #fff; text-decoration: none; border-radius: 10px;
}
.menu .menu-panel a:hover { background: rgba(255, 255, 255, 0.07); }
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .menu { display: block; }
  .header-tools { display: flex; align-items: center; gap: 8px; }
}
@media (max-width: 520px) {
  .brand-sub, .badge { display: none; }
  .nav .nav-cta { margin-left: 0; padding: 0 14px; font-size: 14px; }
}
.header-tools { display: flex; align-items: center; gap: 4px; }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 7.2vw, 84px); font-weight: 800; max-width: 15ch; }
h2 { font-size: clamp(32px, 4.8vw, 56px); font-weight: 750; max-width: 20ch; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.3; }
.glow { color: var(--gold); font-style: italic; font-weight: 700; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.16em; margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-3); max-width: 56ch; margin: 0 0 34px; }

/* ── Buttons: DESIGN.md §0.5 pills ──────────────────────────────────────── */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid var(--teal); cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 180ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-ghost); }
.btn-gold {
  background: #E2C589 linear-gradient(180deg, #F2DCA4 0%, #E2C589 55%, #CFAE68 100%); color: var(--night);
  border-color: #CFAE68; box-shadow: 0 10px 30px -10px rgba(226, 197, 137, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(226, 197, 137, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-line-light { background: transparent; color: var(--cream); border-color: rgba(250, 250, 247, 0.45); }
.btn-line-light:hover { background: rgba(250, 250, 247, 0.08); border-color: var(--cream); }

.hero {
  --mx: 30%; --my: 40%;
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(226, 197, 137, 0.10), transparent 62%),
    linear-gradient(90deg, rgba(7, 47, 58, 0.95) 0%, rgba(10, 74, 90, 0.86) 48%, rgba(10, 74, 90, 0.4) 100%),
    url("/assets/hero-sunrise.webp") center 60% / cover no-repeat,
    var(--teal-dark);
  padding: clamp(64px, 10vw, 136px) 0 clamp(72px, 11vw, 152px);
}
/* Text on both sides (invite page: form left, steps right) → an even wash at every width. */
.hero.hero-even, .hero.hero-even:hover {
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(226, 197, 137, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(7, 47, 58, 0.93) 0%, rgba(10, 74, 90, 0.9) 100%),
    url("/assets/hero-sunrise.webp") center 60% / cover no-repeat,
    var(--teal-dark);
}
@media (max-width: 860px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(7, 47, 58, 0.93) 0%, rgba(10, 74, 90, 0.88) 100%),
      url("/assets/hero-sunrise.webp") center 60% / cover no-repeat,
      var(--teal-dark);
  }
}
/* Fine paper grain so the dark reads as a surface, not a void (/assets/grain.svg; a data: URL would break the site's CSP). */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07; pointer-events: none;
  background-image: url("/assets/grain.svg");
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero .eyebrow { color: #F2DFAE; } .hero h1 { color: #fff; }
.hero .lede { color: var(--on-dark); }
.hero-copy { max-width: 760px; }
.hero-copy > * { animation: lumen-rise 760ms var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-copy > *:nth-child(4) { animation-delay: 270ms; }
.hero-copy > *:nth-child(5) { animation-delay: 360ms; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none;
  color: var(--on-dark); font-size: 14px;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof li::before {
  content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none;
}
@keyframes lumen-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ── Sections: numbered, generous, alternating paper ────────────────────── */
section { padding: clamp(72px, 10vw, 128px) 0; }
main { counter-reset: lumen-section; }
section[data-num] { counter-increment: lumen-section; }
section[data-num] h2::before {
  content: counter(lumen-section, decimal-leading-zero);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; color: var(--wordmark);
  margin-bottom: 22px;
}
section[data-num] h2::after { content: none; }
.alt { background: var(--paper); }
.section-intro { color: var(--ink-3); font-size: 19px; max-width: 58ch; margin: 0 0 48px; }
.section-intro p { margin: 0; }

/* Feature cards: white, quiet border, a gold hairline that draws across on hover */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px 30px; overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, border-color 220ms ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--wordmark), var(--gold)); transform: scaleX(0.18); transform-origin: left;
  transition: transform 420ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(8, 40, 50, 0.35); border-color: #D8D3C4; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-top: 18px; }
.card p { color: var(--ink-3); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-ghost); color: var(--teal);
}
.icon svg { width: 26px; height: 26px; }
.tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--wordmark); margin-top: 20px;
}

/* ── Card anatomy: a diagram, never a screenshot; holds no data ─────────── */
.anatomy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.anatomy-keys { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.anatomy-keys button {
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: start;
  padding: 18px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.anatomy-keys .k {
  grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--wordmark); border: 1.5px solid currentColor;
  transition: background-color 200ms ease, color 200ms ease;
}
.anatomy-keys strong { font-family: var(--display); font-size: 18px; color: var(--ink); }
.anatomy-keys .d { color: var(--ink-3); font-size: 16px; }
.anatomy-keys button:hover, .anatomy-keys button[aria-pressed="true"] {
  background: #fff; border-color: var(--line); box-shadow: 0 16px 34px -24px rgba(8, 40, 50, 0.4);
}
.anatomy-keys button[aria-pressed="true"] .k { background: var(--wordmark); color: #fff; border-color: var(--wordmark); }
.specimen { margin: 0; position: relative; }
.spec-card {
  position: relative; background: #fff; border-radius: 18px; padding: 26px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(8, 40, 50, 0.45), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  display: grid; gap: 18px;
}
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bar { display: block; height: 10px; border-radius: 999px; background: #E7EAE6; }
.bar.tall { height: 18px; background: #DDE3E1; }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w75 { width: 75%; } .w90 { width: 90%; }
.spec-lines { display: grid; gap: 10px; }
.spec-range { position: relative; height: 54px; border-radius: 12px; background: var(--teal-ghost); overflow: hidden; }
.spec-range::before {
  content: ""; position: absolute; left: 22%; right: 26%; top: 18px; height: 18px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 92, 110, 0.18), rgba(13, 92, 110, 0.45), rgba(13, 92, 110, 0.18));
}
.spec-range::after {
  content: ""; position: absolute; left: 49%; top: 14px; width: 4px; height: 26px; border-radius: 2px; background: var(--teal);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--teal-dark);
  background: var(--teal-ghost); border: 1px solid rgba(13, 92, 110, 0.18);
}
.chip.gold { color: #5E4718; background: #FBF4E4; border-color: rgba(138, 106, 46, 0.3); }
.spec-empty {
  border: 1.5px dashed #CBD3D0; border-radius: 12px; padding: 14px 16px; color: var(--ink-3); font-size: 14px;
  display: flex; gap: 10px; align-items: center;
}
.spec-empty::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #9AA8A4; flex: none; }
.spec-note { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
/* The lit part: everything else dims, the part gets a gold ring of light */
[data-part] { transition: box-shadow 260ms ease, opacity 260ms ease, transform 260ms var(--ease); }
.specimen[data-active]:not([data-active=""]) .spec-card [data-part] { opacity: 0.35; }
.specimen[data-active]:not([data-active=""]) .spec-card [data-part].lit {
  opacity: 1; transform: scale(1.03);
  box-shadow: 0 0 0 3px rgba(226, 197, 137, 0.95), 0 0 28px 6px rgba(226, 197, 137, 0.45);
}
@media (max-width: 860px) {
  .anatomy-grid { grid-template-columns: 1fr; }
  .specimen { order: -1; }
}

/* ── "Switching on next": rows with a status pill ───────────────────────── */
.next-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.next-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.next-list strong { font-family: var(--display); font-size: clamp(19px, 2.2vw, 23px); color: var(--ink); letter-spacing: -0.01em; }
.next-list .d { grid-column: 1; color: var(--ink-3); }
.next-list .state {
  grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--wordmark); border: 1px solid rgba(138, 106, 46, 0.35); border-radius: 999px; padding: 4px 10px;
}
@media (max-width: 640px) {
  .next-list li { grid-template-columns: 1fr; }
  .next-list .state { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ── Dark band: principles, set large ───────────────────────────────────── */
.dark { background: var(--night); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.dark::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 197, 137, 0.12), transparent 65%);
}
.dark h2, .dark h3 { color: #fff; }
.dark[data-num] h2::before { color: var(--gold); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(226, 197, 137, 0.22); margin-top: 20px; }
.principle { padding: 32px 28px 8px 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid rgba(226, 197, 137, 0.16); }
.principle .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--gold); }
.principle h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 14px 0 12px; }
.principle p { margin: 0; color: var(--on-dark); }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0 4px; border-left: 0; }
  .principle + .principle { border-top: 1px solid rgba(226, 197, 137, 0.16); }
}

/* ── Closing call to action: the lamp again ─────────────────────────────── */
.closing { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.closing::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 197, 137, 0.28), transparent 65%);
}
.closing h2, .closing .narrow { margin-left: auto; margin-right: auto; }
.closing p { color: var(--ink-3); font-size: 18px; }
.closing .actions { justify-content: center; margin-top: 30px; }
.closing[data-num] h2::before { justify-content: center; }

/* ── Form ───────────────────────────────────────────────────────────────── */
.signup {
  position: relative; background: #fff; color: var(--ink); border: 1px solid rgba(226, 197, 137, 0.5); border-radius: 18px;
  padding: 28px; max-width: 600px;
  box-shadow: 0 0 0 6px rgba(226, 197, 137, 0.08), 0 40px 80px -36px rgba(0, 0, 0, 0.6);
}
.signup label { display: block; font-weight: 700; margin-bottom: 10px; }
.signup select { width: 100%; min-height: 48px; padding: 0 12px; margin-bottom: 14px; border: 1px solid currentColor; border-radius: 10px; background: #fff; font: inherit; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 240px; min-height: 54px; padding: 0 18px; font: inherit; font-size: 17px;
  border: 1.5px solid #9AA6B2; border-radius: 999px; background: #fff; color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.signup input[type="email"]:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 92, 110, 0.15); outline: none; }
.signup .btn { flex: 0 0 auto; }
.signup .note { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.signup .status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.signup .status.ok { color: var(--teal); }
.signup .status.err { color: #B91C1C; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-side { display: grid; gap: 14px; }
.form-side .step {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--on-dark);
  padding: 16px 0; border-top: 1px solid rgba(226, 197, 137, 0.16);
}
.form-side .step:last-child { border-bottom: 1px solid rgba(226, 197, 137, 0.16); }
.form-side .step .k { font-family: var(--mono); font-size: 13px; color: #F2DFAE; padding-top: 2px; }

/* ── Questions ──────────────────────────────────────────────────────────── */
details { border-bottom: 1px solid var(--line); max-width: 860px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; font-family: var(--display); font-weight: 650; font-size: 19px; min-height: 64px; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(138, 106, 46, 0.5);
  background:
    linear-gradient(var(--wordmark), var(--wordmark)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--wordmark), var(--wordmark)) center / 1.5px 12px no-repeat;
  transition: transform 260ms var(--ease), background-color 200ms ease;
}
details[open] summary::after { transform: rotate(45deg); background-color: #FBF4E4; }
details p { margin: 0 0 22px; color: var(--ink-3); max-width: 70ch; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--night); color: var(--on-dark); padding: 64px 0 72px; font-size: 14px; border-top: 1px solid rgba(226, 197, 137, 0.16); }
.site-footer .foot-brand { display: inline-flex; margin-bottom: 22px; }
.site-footer .links { display: flex; gap: 4px 22px; flex-wrap: wrap; margin-bottom: 18px; }
.site-footer .links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: #fff; text-decoration: none; }
.site-footer .links a:hover { color: var(--gold); }
.disclaimer { max-width: 78ch; margin: 0; color: rgba(207, 227, 232, 0.86); }

/* Lists inside cards stay compact (invite page) */
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0 10px 26px; position: relative; color: var(--ink-3); }
ul.plain li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border: 1.5px solid var(--wordmark); transform: rotate(45deg);
}
/* Numbered steps as large ruled rows */
ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 16px; max-width: 860px; }
ol.steps li {
  counter-increment: step; margin: 0; padding: 24px 0 24px 72px; position: relative;
  border-top: 1px solid var(--line); font-size: 19px; font-family: var(--display); font-weight: 600; color: var(--ink);
}
ol.steps li:last-child { border-bottom: 1px solid var(--line); }
ol.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 22px;
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--wordmark); letter-spacing: 0.12em;
  width: 44px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(138, 106, 46, 0.35); border-radius: 999px;
}

/* ── Arrive as read: only when the script is running, so nothing hides without it ──── */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-in > *:nth-child(2) { transition-delay: 90ms; }
.js [data-reveal-group].is-in > *:nth-child(3) { transition-delay: 180ms; }
.js [data-reveal-group].is-in > *:nth-child(4) { transition-delay: 270ms; }
.js [data-reveal-group].is-in > *:nth-child(5) { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
}

.signups { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
