:root {
  --bg: #0A1220;
  --band: #0D1828;
  --card: #111F33;
  --text: #F6F1EA;
  --text-2: #A9B3C4;
  --muted: #7F8BA0;
  --accent: #F2A65A;
  --on-accent: #1B1206;
  --error: #FF9A8B;
  --hairline: rgba(246, 241, 234, 0.14);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Wordmark */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, filter 0.2s;
}
.btn--ghost {
  border: 1px solid rgba(246, 241, 234, 0.24);
  background: rgba(246, 241, 234, 0.06);
  color: var(--text);
  font-size: 14px;
}
.btn--ghost:hover { background: rgba(246, 241, 234, 0.12); }
.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
}
.btn--accent:hover { filter: brightness(1.06); }
.btn:disabled { cursor: progress; opacity: 0.8; }

/* Header / nav */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 84px;
}
.nav .wordmark { margin-right: auto; }
.nav__links {
  display: flex;
  gap: 4px;
  margin-right: 12px;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

@media (max-width: 639px) {
  .nav__links { display: none; }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: clamp(640px, 56.25vw, 920px);
  overflow: hidden;
  background: var(--bg) url("assets/poster.jpg") 62% 50% / cover no-repeat;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 14, 26, 0.70) 0%,
    rgba(8, 14, 26, 0.35) 30%,
    rgba(8, 14, 26, 0.08) 55%,
    rgba(8, 14, 26, 0) 70%,
    rgba(10, 18, 32, 0.6) 90%,
    #0A1220 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  text-align: center;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 7.4vw, 108px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero__sub {
  max-width: 34em;
  margin: 24px auto 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--text);
}
.hero .eyebrow,
.hero__sub { text-shadow: 0 1px 12px rgba(8, 14, 26, 0.55); }
.hero .waitlist { margin-top: 36px; }

.scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  padding: 6px 8px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.scroll-cue:hover { color: var(--text); }
.scroll-cue__line {
  width: 1px;
  height: 32px;
  background: currentColor;
  transform-origin: top;
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 479px) {
  .scroll-cue { bottom: 8px; }
  .scroll-cue__line { display: none; }
}

/* Waitlist form */

.waitlist {
  max-width: 480px;
  margin: 0 auto;
}
.waitlist__pill {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(246, 241, 234, 0.22);
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.waitlist__pill:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.waitlist input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist input:focus-visible { outline: none; }
.waitlist .btn { min-height: 48px; padding: 0 22px; }

.waitlist__msg {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text);
}
.waitlist__msg:empty { display: none; }
.waitlist__msg:focus { outline: none; }
.waitlist__msg.is-error { color: var(--error); }

.consent {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.consent a {
  display: inline-block;
  padding: 12px 4px;
  text-decoration: underline;
  text-decoration-color: rgba(127, 139, 160, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.consent a:hover { color: var(--text); }

.waitlist.is-done .waitlist__pill,
.waitlist.is-done .consent { display: none; }

@media (max-width: 479px) {
  .waitlist__pill {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .waitlist__pill:has(input:focus-visible) { outline: none; }
  .waitlist input {
    flex: none;
    height: 52px;
    border: 1px solid rgba(246, 241, 234, 0.22);
    background: rgba(8, 14, 26, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: center;
  }
  .waitlist input:focus-visible { outline: 2px solid var(--accent); }
  .waitlist .btn { min-height: 52px; }
}

/* Sections */

.section { padding: clamp(96px, 13vw, 176px) 0; }

.statement {
  max-width: 19em;
  margin-top: 28px;
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.statement span { color: var(--muted); }

.how { padding-top: 0; }
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 40px;
}
.column {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.column__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.column h3 {
  margin-top: 44px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.column p {
  margin-top: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 799px) {
  .columns { grid-template-columns: 1fr; gap: 40px; }
  .column h3 { margin-top: 24px; }
}

/* Your notes, mapped */

.mapped { padding-top: 0; text-align: center; }
.mapped h2 {
  max-width: 14em;
  margin: 28px auto 0;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.mapped__sub {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--text-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.chip i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.mapped .ceco-globe { margin: 24px auto 0; }

/* ---- Ceco globe: self-contained block (copy from here) ---- */
.ceco-globe {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  flex: 0 0 auto;
}
.ceco-globe canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.ceco-globe canvas:active { cursor: grabbing; }
.ceco-globe canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.ceco-globe .tip {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, calc(-100% - 14px));
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(10, 18, 32, 0.92);
  border: 1px solid var(--hairline);
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  color: var(--text);
}
/* ---- end globe block ---- */

/* Privacy band */

.band { background: var(--band); }
.band h2 {
  max-width: 14em;
  margin-top: 28px;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.band__sub {
  max-width: 34em;
  margin-top: 20px;
  color: var(--text-2);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(246, 241, 234, 0.06);
  border-radius: 16px;
  background: var(--card);
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}
.card--masked h3::before { background: var(--accent); }
.card--private h3::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.card__desc {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.card__label {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__desc + .card__label { margin-top: 28px; }
.card__sample {
  min-height: 5.2em;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.7;
}
.token {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(242, 166, 90, 0.12);
  color: var(--accent);
}
.bar {
  height: 12px;
  margin-top: 8px;
  border-radius: 6px;
  background: rgba(246, 241, 234, 0.08);
}
.bar:first-child { width: 92%; margin-top: 6px; }
.bar:last-child { width: 56%; margin-top: 14px; }

@media (max-width: 899px) {
  .cards { grid-template-columns: 1fr; }
  .card__sample { min-height: 0; }
}

/* Final CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(128px, 17vw, 232px) 0;
  text-align: center;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
}
.cta::before {
  background: url("assets/poster.jpg") center / cover no-repeat;
  opacity: 0.38;
}
.cta::after {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 18, 32, 0) 28%, rgba(10, 18, 32, 0) 72%, var(--bg) 100%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(38px, 5.8vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.cta .waitlist { margin-top: 40px; }

/* Footer */

.footer { border-top: 1px solid var(--hairline); }
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding-top: 28px;
  padding-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer__tag { color: var(--text-2); }
.footer__end {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.footer__end a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer__end a:hover { color: var(--text); }

@media (max-width: 639px) {
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer__end { margin-left: 0; }
}

/* Privacy page */

.page-header .nav { height: 84px; }
.prose {
  max-width: 680px;
  padding-top: 48px;
  padding-bottom: 120px;
}
.prose h1 {
  margin-top: 20px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.prose h2 {
  margin-top: 44px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.prose p,
.prose ul { margin-top: 12px; color: var(--text-2); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose .lede { margin-top: 24px; font-size: 19px; color: var(--text); }
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(246, 241, 234, 0.35);
  text-underline-offset: 3px;
}

/* Reduced motion: no video, poster shows through the hero background */

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .scroll-cue__line { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
