/* Conitage waitlist. Same tokens and idiom as the Conitage archive: dark image-led hero, light reading sections. */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F5F5F2; --surface: #FFFFFF; --surface-2: #EEEEEA;
  --ink: #0F1115; --ink-2: #4A4F57; --ink-3: #5E646C;
  --line: #E2E2DD; --line-2: #CFCFC9;
  --accent: #3352DF; --accent-hover: #2742BF; --accent-ink: #FFFFFF; --accent-soft: #E8ECFD;
  --ok: #1F7A50; --ok-soft: #DFF2E8;
  --hero-bg: #0C0E11; --hero-ink: #F3F4F6; --hero-ink-2: #A8AEB7; --hero-line: rgba(255, 255, 255, 0.14);
  --hero-field: rgba(255, 255, 255, 0.07); --panel: #14171C; --hero-accent: #8FA4FF; --hero-ok: #6FD3A2; --hero-err: #FF9A91;
  --gold: #E0A12C; --navy: #13243B;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(15, 17, 21, 0.05), 0 14px 36px rgba(15, 17, 21, 0.10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0D10; --surface: #14161A; --surface-2: #1C1F24; --ink: #ECEEF1; --ink-2: #AAB0B9; --ink-3: #8D949E;
    --line: #262A31; --line-2: #343942; --accent: #8FA4FF; --accent-hover: #AFBEFF; --accent-ink: #0B1023; --accent-soft: #1B2244;
    --ok: #6FD3A2; --ok-soft: #132A20;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 36px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-color: var(--ink-3) var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: rgba(51, 82, 223, 0.22); color: inherit; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.inner { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }
.fine { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--hero-bg); color: var(--hero-ink); border-bottom: 1px solid var(--hero-line); }
.hdr .inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand .sub { font-weight: 400; opacity: 0.72; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--hero-ink); opacity: 0.85; text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.hdr :focus-visible, .hero :focus-visible, .cta :focus-visible { outline-color: var(--hero-accent); }
.nav .btn { opacity: 1; margin-left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px;
  border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 550; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.hdr .btn.primary, .hero .btn.primary, .cta .btn.primary { background: #3352DF; color: #fff; }
.hdr .btn.primary:hover, .hero .btn.primary:hover, .cta .btn.primary:hover { background: #2742BF; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--hero-ink); border-color: var(--hero-line); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.4); }
.btn.danger { background: #B3372F; color: #fff; }
.btn.danger:hover { background: #962C25; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.textbtn { border: 0; background: none; color: var(--hero-accent); font: inherit; font-size: 14px; padding: 4px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.textbtn:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); isolation: isolate; }
.hero .inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 72px; min-height: min(760px, calc(100svh - 64px)); display: flex; align-items: center; }
.hero-copy { max-width: 572px; display: grid; gap: 26px; }
.hero h1 { margin: 0; font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.hero h1 span { color: var(--hero-ink-2); font-weight: 400; }
.lede { margin: 0; font-size: 18px; line-height: 1.6; color: var(--hero-ink-2); max-width: 56ch; }
.lede b { color: var(--hero-ink); font-weight: 600; }
.say { font-family: var(--mono); font-size: 0.82em; color: var(--hero-ink-2); }
.mosaic { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 47%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 20px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.mcol { display: grid; gap: 14px; align-content: start; animation: drift 96s linear infinite; }
.mcol:nth-child(2) { animation-duration: 118s; animation-direction: reverse; }
.mcol:nth-child(3) { animation-duration: 104s; }
.mcol:nth-child(4) { animation-duration: 128s; animation-direction: reverse; }
.mcol img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #1A1D22; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 14, 17, 0.98) 0%, rgba(12, 14, 17, 0.94) 38%, rgba(12, 14, 17, 0.55) 62%, rgba(12, 14, 17, 0.25) 100%); }

/* Join panel */
.join { background: var(--panel); border: 1px solid var(--hero-line); border-radius: 18px; padding: 22px 22px 18px; display: grid; gap: 14px; max-width: 540px; }
.join h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.join p { margin: 0; color: var(--hero-ink-2); font-size: 15px; }
.join .fine { color: var(--hero-ink-2); font-size: 13px; }
.join .fine a, .join p a { color: var(--hero-accent); }
.join b { color: var(--hero-ink); font-weight: 600; }
.gbtn { min-height: 44px; display: flex; align-items: center; }
.step { display: grid; gap: 14px; }
.who-line { font-size: 14.5px !important; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 550; color: var(--hero-ink); }
.field select, .field input { width: 100%; height: 46px; border-radius: 11px; border: 1px solid var(--hero-line); background: var(--hero-field); color: var(--hero-ink);
  padding: 0 14px; font: inherit; font-size: 15.5px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A8AEB7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { color: #0F1115; background: #fff; }
.field input::placeholder { color: rgba(243, 244, 246, 0.5); }
.field select:focus, .field input:focus { outline: none; border-color: rgba(143, 164, 255, 0.9); box-shadow: 0 0 0 4px rgba(51, 82, 223, 0.35); }
.field [aria-invalid="true"] { border-color: var(--hero-err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--hero-ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #3352DF; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.done-h { color: var(--hero-ink) !important; font-size: 19px !important; font-weight: 600; letter-spacing: -0.01em; }
.confirm { border-top: 1px solid var(--hero-line); padding-top: 14px; display: grid; gap: 12px; }
.note { min-height: 1.4em; font-size: 14px !important; }
.note.err { color: var(--hero-err) !important; }
.note.ok { color: var(--hero-ok) !important; }
.strip { display: none; }

/* Sections */
.sec { padding: 88px 0; }
.sec.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; max-width: 22ch; }
.sec-lede { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.what { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
.idcard { margin: 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 96px; }
.idcard img { width: 100%; height: auto; aspect-ratio: 599 / 329; object-fit: cover; background: var(--surface-2); }
.idcard figcaption { padding: 20px 22px 22px; display: grid; gap: 10px; }
.idtop { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); }
.idchip { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.03em; background: var(--accent-soft); color: var(--accent); border-radius: 8px; padding: 3px 9px; }
.idcard h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.idcard p { margin: 0; color: var(--ink-2); font-size: 15px; }
.facts { margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { padding: 10px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.reuse { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 1px 10px; font-size: 12.5px; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.reuse::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.abilities { list-style: none; margin: 0; padding: 0; }
.abilities li { padding: 22px 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.abilities li:last-child { border-bottom: 1px solid var(--line-2); }
.abilities h3 { margin: 0; font-size: 20px; letter-spacing: -0.015em; font-weight: 600; }
.abilities p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.who { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.who div { padding: 22px 0; border-top: 1px solid var(--line-2); }
.who dt { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.who dd { margin: 6px 0 0; color: var(--ink-2); max-width: 52ch; }
.bios { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.bios article { display: grid; gap: 8px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.bios h3 { margin: 0; font-size: 20px; letter-spacing: -0.015em; font-weight: 600; }
.bios .role { margin: 0; color: var(--ink-3); font-size: 14.5px; }
.bios p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.studio-line { margin-top: 36px; display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 15px; }
.a2mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--gold); color: var(--navy);
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 13px; line-height: 1; }
.a2mark sup { font-size: 8.5px; margin-left: 1px; align-self: flex-start; margin-top: 5px; line-height: 1; }

/* Closing call to action */
.cta { background: var(--hero-bg); color: var(--hero-ink); padding: 72px 0; }
.cta .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; font-weight: 600; max-width: 24ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .inner { padding-top: 32px; padding-bottom: 44px; display: grid; gap: 12px; color: var(--ink-3); font-size: 14px; }
.foot p { margin: 0; max-width: 80ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.a2line { display: flex; gap: 10px; align-items: center; }

/* Reading pages (privacy, terms) */
.doc { padding: 64px 0 88px; }
.doc .inner { max-width: 820px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.doc h2 { margin: 36px 0 8px; font-size: 21px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--ink-2); max-width: 70ch; }
.doc ul { padding-left: 20px; }
.doc .updated { color: var(--ink-3); font-size: 14.5px; margin: 0 0 24px; }

@media (max-width: 980px) {
  .what { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .idcard { position: static; max-width: 640px; }
  .who, .bios { grid-template-columns: minmax(0, 1fr); }
  .mosaic { width: 46%; grid-template-columns: repeat(2, 1fr); }
  .hero::after { background: linear-gradient(90deg, rgba(12, 14, 17, 0.98) 0%, rgba(12, 14, 17, 0.92) 55%, rgba(12, 14, 17, 0.5) 100%); }
}
@media (max-width: 720px) {
  .inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .nav a:not(.btn) { display: none; }
  .brand .sub { display: none; }
  .mosaic { display: none; }
  .hero::after { display: none; }
  .hero .inner { padding-top: 32px; padding-bottom: 44px; min-height: 0; }
  .hero-copy { gap: 20px; }
  .lede { font-size: 16.5px; }
  .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .strip img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
  .join { padding: 18px 16px 14px; }
  .sec { padding: 64px 0; }
  .cta { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mcol { animation: none; }
  * { transition: none !important; }
}
