:root {
  /* Clap brand tokens — mirrors frontend/src/app/globals.css + theme.css */
  --ink: #10142e;
  --muted: #5a617a;
  --line: #e6e8f4;
  --card: #ffffff;
  --navy: #0b0e1f;        /* --color-brand-bg (marketing) */
  --navy-2: #0c1041;      /* --color-darker-blurple (app bg) */
  --blurple: #5145ff;     /* --color-blurple / --color-brand-500 */
  --blurple-2: #746aff;   /* --color-brand-400 */
  --blurple-3: #978fff;   /* --color-brand-300 */
  --lightblue: #05c2ff;   /* --color-lightblue */
  --teal: #17879e;        /* --color-clap-teal */
  --green: #26cd85;       /* --color-light-green */
  --shadow: 0 24px 80px rgba(18, 14, 73, 0.12);
  --radius: 22px;
  --focus: #05c2ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #f8f9ff;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(81, 69, 255, .25); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blurple);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

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

/* Fixed header offset for in-page anchors */
main section[id] { scroll-margin-top: 88px; }

.icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background .3s ease, height .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  height: 68px;
  background: rgba(11, 14, 31, .96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-logo {
  width: auto;
  height: 26px;
  aspect-ratio: 801.6 / 280.27;
  fill: #fff;
  display: block;
}
.brand-tag {
  padding: 4px 10px;
  border: 1px solid rgba(151, 143, 255, .45);
  border-radius: 999px;
  color: #c9c4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blurple), var(--lightblue));
  transition: right .25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { right: 0; }
.site-nav .nav-cta { display: none; }
.header-cta { justify-self: end; }
.menu-button { display: none; }
body.nav-open { overflow: hidden; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  position: relative;
  overflow: hidden;
}
.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: transform .7s ease;
}
.button:hover::before { transform: translateX(110%) skewX(-18deg); }
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--blurple);
  box-shadow: 0 8px 28px rgba(81, 69, 255, .35);
}
.button-primary:hover { background: #493de8; box-shadow: 0 14px 40px rgba(81, 69, 255, .5); }
.button-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}
.button-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.button-small { min-height: 42px; padding: 0 19px; font-size: 13px; }
.button-large { min-height: 60px; padding: 0 34px; font-size: 16px; }

.hero {
  min-height: 100vh;
  position: relative;
  padding: 150px clamp(20px, 5vw, 72px) 44px;
  background:
    radial-gradient(circle at 15% 18%, rgba(81, 69, 255, .16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(116, 106, 255, .15), transparent 30%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
  z-index: -2;
}
.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .2;
  z-index: -1;
  animation: floatBlob 10s ease-in-out infinite alternate;
}
.hero-glow-a { background: var(--blurple); right: 12%; top: 12%; }
.hero-glow-b { background: var(--teal); left: 15%; bottom: 10%; animation-delay: -4s; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  column-gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.hero-copy { max-width: 620px; position: relative; z-index: 3; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9c4ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(38, 205, 133, .55);
  animation: pulse 2s infinite;
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}
.hero h1 span, .cta-copy h2 span {
  background: linear-gradient(90deg, var(--blurple-2), var(--blurple-3) 45%, var(--lightblue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 7s linear infinite;
}
.hero-subhead {
  max-width: 620px;
  margin: 27px 0 0;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
  font-weight: 500;
  color: #9da3c0;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.mission-orbit {
  position: relative;
  width: 100%;
  min-height: 580px;
  perspective: 1200px;
}
.orbit-label {
  position: absolute;
  top: -14px;
  right: 0;
  z-index: 2;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(11, 14, 31, .6);
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Compact mobile-only workflow (shown at ≤680px in place of the orbit) */
.mission-steps-mobile { display: none; }
.mission-steps-mobile .orbit-label {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}
.mission-steps-mobile .flow-card.mstep {
  position: static;
  width: 100%;
  animation: none;
}
.mstep-arrow {
  text-align: center;
  padding: 6px 0;
  color: rgba(255, 255, 255, .55);
  font-size: 18px;
}
.orbit-line {
  position: absolute;
  border: 1px solid rgba(116, 106, 255, .32);
  border-radius: 50%;
}
.orbit-line-one { width: 82%; height: 44%; left: 7%; top: 18%; transform: rotate(-8deg); animation: orbitDrift 11s ease-in-out infinite alternate; }
.orbit-line-two { width: 70%; height: 58%; left: 18%; top: 23%; border-color: rgba(5, 194, 255, .14); transform: rotate(13deg); animation: orbitDrift 13s ease-in-out infinite alternate-reverse; }

.flow-card {
  position: absolute;
  padding: 17px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(31, 30, 72, .85), rgba(12, 14, 38, .82));
  box-shadow: 0 28px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.flow-card:hover { border-color: rgba(116, 106, 255, .65); box-shadow: 0 36px 90px rgba(0,0,0,.45), 0 0 45px rgba(81, 69, 255, .12); }
.flow-card h3 { margin: 0 0 14px; font-size: 14px; font-weight: 800; line-height: 1.35; padding-left: 28px; }
.card-step {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #e9e6ff;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(81, 69, 255, .9), rgba(50, 39, 209, .45));
  border: 1px solid rgba(255,255,255,.3);
}
.card-one { left: 2%; top: 10%; width: 26%; animation: cardFloat 5.4s ease-in-out infinite; }
.card-two { left: 38%; top: 8%; width: 24%; animation: cardFloat 6.1s ease-in-out infinite -1.2s; }
.card-three { right: 0; top: 5%; width: 30%; animation: cardFloat 5.8s ease-in-out infinite -2.4s; }
.card-four { right: 20%; bottom: 9%; width: 28%; animation: cardFloat 6.5s ease-in-out infinite -3s; }
.card-five { left: 9%; bottom: 8%; width: 28%; animation: cardFloat 5.7s ease-in-out infinite -1.7s; }
.flow-arrow { position: absolute; color: rgba(255,255,255,.66); font-size: 28px; filter: drop-shadow(0 0 10px rgba(81, 69, 255, .6)); }
.arrow-one { left: 31%; top: 19%; }
.arrow-two { right: 31%; top: 18%; }
.arrow-three { left: 39%; bottom: 24%; }
.fake-lines { display: grid; gap: 7px; padding: 8px 0 3px; }
.fake-lines span { height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,.19), rgba(255,255,255,.05)); }
.fake-lines span:nth-child(2) { width: 82%; }
.fake-lines span:nth-child(3) { width: 64%; }
.launch-icon { display: grid; place-items: center; font-size: 28px; height: 52px; border-radius: 10px; background: rgba(81, 69, 255, .1); }
.progress { height: 6px; margin-top: 12px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.08); }
.progress span { display: block; height: 100%; width: 76%; border-radius: inherit; background: linear-gradient(90deg, var(--lightblue), var(--blurple)); animation: progressPulse 2.2s ease-in-out infinite; }
.avatar-row { display: flex; gap: 7px; }
.avatar-row span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; font-size: 10px; font-weight: 800; color: #10142e; background: linear-gradient(135deg, #b9b5ff, #7ce3ff); border: 2px solid rgba(255,255,255,.7); }
.waveform { height: 38px; display: flex; align-items: center; gap: 3px; margin-top: 12px; padding: 6px 9px; border-radius: 9px; background: rgba(81, 69, 255, .11); }
.waveform i { width: 3px; border-radius: 99px; background: linear-gradient(180deg, var(--lightblue), var(--blurple-2)); animation: wave 1s ease-in-out infinite alternate; }
.waveform i:nth-child(1) { height: 8px; }.waveform i:nth-child(2) { height: 22px; animation-delay: -.3s; }.waveform i:nth-child(3) { height: 14px; animation-delay: -.5s; }.waveform i:nth-child(4) { height: 28px; animation-delay: -.15s; }.waveform i:nth-child(5) { height: 18px; animation-delay: -.7s; }.waveform i:nth-child(6) { height: 30px; animation-delay: -.4s; }.waveform i:nth-child(7) { height: 13px; animation-delay: -.6s; }.waveform i:nth-child(8) { height: 25px; animation-delay: -.2s; }.waveform i:nth-child(9) { height: 17px; animation-delay: -.75s; }.waveform i:nth-child(10) { height: 26px; animation-delay: -.35s; }.waveform i:nth-child(11) { height: 10px; animation-delay: -.55s; }
.signal-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.signal-pills span { padding: 4px 8px; border-radius: 999px; color: #c9c4ff; background: rgba(81, 69, 255, .16); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.score-row { display: grid; grid-template-columns: 78px 1fr 28px; gap: 8px; align-items: center; font-size: 10px; margin-top: 8px; color: rgba(255,255,255,.62); }
.score-row b { height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.score-row b i { display: block; height: 100%; width: var(--score); background: linear-gradient(90deg, var(--blurple), var(--lightblue)); border-radius: inherit; }
.score-row strong { color: #fff; font-size: 10px; }
.file-row { display: flex; gap: 8px; }
.file-row span { flex: 1; display: grid; place-items: center; min-height: 42px; border-radius: 8px; background: rgba(255,255,255,.05); font-size: 9px; font-weight: 700; color: rgba(255,255,255,.7); }
.delivered-check { position: absolute; right: -8px; bottom: -8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blurple), var(--teal)); box-shadow: 0 0 24px rgba(81, 69, 255, .6); }

.hero-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.mini-feature {
  display: flex;
  gap: 14px;
  padding: 19px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.mini-feature:hover { transform: translateY(-5px); background: rgba(255,255,255,.06); border-color: rgba(116, 106, 255, .4); }
.mini-feature h3 { margin: 0 0 5px; font-size: 13px; font-weight: 800; }
.mini-feature p { margin: 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.5; }
.icon-box { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #b9b5ff; background: linear-gradient(135deg, rgba(81, 69, 255, .28), rgba(5, 194, 255, .06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.icon-box .icon { width: 18px; height: 18px; }

.section { padding: 100px clamp(20px, 5vw, 72px); position: relative; }
.section-light { background: #f8f9ff; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-kicker { display: inline-block; margin-bottom: 12px; color: var(--blurple); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.section-heading h2, .dataset-copy h2, .cta-copy h2 { margin: 0; font-size: clamp(35px, 4vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.card-grid { display: grid; gap: 18px; }
.four-up { grid-template-columns: repeat(4, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.governance-card, .use-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 35px rgba(18, 14, 73, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.governance-card:hover, .use-card:hover { border-color: rgba(81, 69, 255, .28); box-shadow: var(--shadow); }
.governance-card h3, .use-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.governance-card p, .use-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

.use-card { min-height: 155px; padding: 26px; display: flex; align-items: flex-start; gap: 18px; }
.use-card > span { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--blurple); background: rgba(81, 69, 255, .08); font-size: 22px; }
.adjacent-note { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.dataset-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: center; }
.dataset-copy h2 { max-width: 520px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; color: #2d3450; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--blurple); background: rgba(81, 69, 255, .1); font-size: 11px; font-weight: 800; }
.dataset-table-wrap { border: 1px solid var(--line); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.table-toolbar { min-height: 62px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #eceef7; font-size: 13px; font-weight: 800; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(38, 205, 133, .12); }
.format-pills { display: flex; gap: 7px; }
.format-pills span { padding: 6px 9px; border-radius: 999px; background: #f1f2fa; color: #626a80; font-size: 10px; font-weight: 700; }
.dataset-table-scroll { overflow-x: auto; }
.dataset-table {
  width: 100%;
  min-width: 770px;
  border-collapse: collapse;
  color: #4a5168;
  font-size: 12px;
  text-align: left;
}
.dataset-table th, .dataset-table td { padding: 18px; vertical-align: middle; }
.dataset-table td { border-top: 1px solid #eef0f7; }
.dataset-table thead th {
  padding-top: 14px;
  padding-bottom: 14px;
  color: #626a80;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dataset-table b, .dataset-table small { display: block; }
.dataset-table b { color: #191e38; font-size: 12px; }
.dataset-table small { margin-top: 4px; color: #6b7288; font-weight: 600; }
.signal-cell { color: var(--blurple); font-weight: 700; font-size: 10px; letter-spacing: .03em; text-transform: uppercase; }
.score-chip { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 7px 10px; border-radius: 999px; background: rgba(38, 205, 133, .14); color: #177a50; font-weight: 800; }
.score-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.review-chip { display: inline-flex; width: fit-content; padding: 7px 10px; border-radius: 999px; color: #8a5c10; background: rgba(255, 189, 2, .16); font-weight: 800; }

.governance-card { padding: 28px; min-height: 210px; }
.governance-card > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; border-radius: 12px; color: var(--blurple); background: rgba(81, 69, 255, .08); }

.cta-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 86px clamp(20px, 7vw, 110px);
  color: #fff;
  background: radial-gradient(circle at 70% 20%, rgba(81, 69, 255, .24), transparent 35%), linear-gradient(135deg, var(--navy), var(--navy-2));
}
.section-kicker-dark { color: #b9b5ff; }
.cta-copy { position: relative; z-index: 2; }
.cta-copy p { max-width: 610px; margin: 20px 0 0; color: #9da3c0; line-height: 1.7; font-size: 16px; }
.cta-action { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.founder-line { margin: -6px 0 0; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; }
.cta-meta { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700; }
.cta-orbit { position: absolute; border: 1px solid rgba(81, 69, 255, .32); border-radius: 50%; pointer-events: none; }
.cta-orbit-one { width: 72%; height: 140%; right: -12%; top: -30%; transform: rotate(-12deg); }
.cta-orbit-two { width: 60%; height: 100%; right: -4%; top: 5%; border-color: rgba(5, 194, 255, .13); transform: rotate(14deg); }

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255,255,255,.72);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
}
footer .brand-logo { height: 22px; }
footer p { margin: 0; text-align: center; font-size: 13px; }
footer > nav { display: flex; flex-wrap: wrap; justify-self: end; justify-content: flex-end; gap: 8px 18px; font-size: 13px; font-weight: 700; }
footer a:hover { color: #fff; }

/* Progressive enhancement: content is visible by default. Reveals only hide
   when the <head> script confirmed IntersectionObserver support by adding
   .reveal-enabled to <html>; script.js then marks elements .visible. */
.reveal { transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal-enabled .reveal { opacity: 0; transform: translateY(24px); }
.reveal-enabled .reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(38, 205, 133, .5); } 70% { box-shadow: 0 0 0 10px rgba(38, 205, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(38, 205, 133, 0); } }
@keyframes gradientShift { to { background-position: 200% 0; } }
@keyframes floatBlob { to { transform: translate3d(26px, -20px, 0) scale(1.1); } }
@keyframes orbitDrift { to { transform: rotate(2deg) scale(1.03); } }
@keyframes cardFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes progressPulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.4); } }
@keyframes wave { from { transform: scaleY(.55); opacity: .65; } to { transform: scaleY(1); opacity: 1; } }

@media (max-width: 1180px) {
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 760px; }
  .mission-orbit { margin-top: 40px; min-height: 560px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .four-up { grid-template-columns: repeat(2, 1fr); }
  .dataset-section { grid-template-columns: 1fr; }
  .dataset-table-wrap { overflow-x: auto; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-button {
    display: inline-flex;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    background: rgba(255,255,255,.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-button span { width: 18px; height: 2px; border-radius: 99px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
  .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 68px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 16px;
    background: rgba(11, 14, 31, .98);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 24px 70px rgba(0,0,0,.38);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 12px; }
  .site-nav .nav-cta {
    display: inline-flex;
    margin-top: 10px;
    justify-content: center;
    padding: 0 19px;
    color: #fff;
  }
  .site-nav .nav-cta::after { display: none; }
  .three-up { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero { min-height: 0; padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: clamp(38px, 12vw, 62px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .site-nav .nav-cta { width: auto; }
  .brand-tag { display: none; }

  /* Swap the five-card orbit for the compact three-step workflow */
  .mission-orbit { display: none; }
  .mission-steps-mobile { display: block; margin-top: 36px; }

  /* Hero feature cards: compact 2×2 grid */
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
  .mini-feature { flex-direction: column; gap: 9px; padding: 13px; }
  .mini-feature h3 { font-size: 12px; }
  .mini-feature p { font-size: 10px; line-height: 1.45; }
  .icon-box { flex-basis: auto; width: 32px; height: 32px; border-radius: 9px; }
  .icon-box .icon { width: 15px; height: 15px; }

  .four-up, .three-up { grid-template-columns: 1fr; }
  .section { padding: 78px 18px; }
  .dataset-section { gap: 34px; }
  .cta-section { padding: 72px 18px; }
  .cta-meta { display: grid; gap: 8px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer > nav { justify-self: center; }
  footer > nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-enabled .reveal { opacity: 1; transform: none; }
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 650px;
}
.proof-row > div {
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
}
.proof-row strong { display: block; font-size: 20px; font-weight: 900; color: #fff; }
.proof-row span { display: block; margin-top: 4px; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.35; }

.comparison {
  max-width: 1050px;
  margin: 42px auto 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.comparison-head, .comparison-row { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-head { background: var(--navy-2); color: #fff; font-weight: 800; font-size: 13px; }
.comparison-head span, .comparison-row span, .comparison-row strong { padding: 18px 24px; }
.comparison-head span:last-child { color: #b9b5ff; }
.comparison-row { border-top: 1px solid var(--line); color: var(--muted); }
.comparison-row strong { color: var(--ink); border-left: 1px solid var(--line); }

.mission-lab {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  color: #fff;
  background: radial-gradient(circle at 80% 10%, rgba(81, 69, 255, .22), transparent 32%), linear-gradient(145deg, var(--navy), #171c47);
}
.mission-lab-copy h2 { margin: 12px 0 18px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.mission-lab-copy p { color: #9da3c0; font-size: 17px; line-height: 1.75; }
.coming-pill { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); color: #dfe1ff; font-size: 12px; font-weight: 800; }
.text-link { display: inline-flex; gap: 8px; margin-top: 12px; color: #b9b5ff; font-weight: 800; }
.text-link:hover { color: #fff; }

.save-one-shell { padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 30px 90px rgba(0,0,0,.3); backdrop-filter: blur(18px); }
.save-one-top { display: flex; justify-content: space-between; gap: 20px; color: #b9b5ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.save-one-top small { color: rgba(255,255,255,.66); letter-spacing: 0; font-size: 11px; text-transform: none; }
.save-one-shell h3 { margin: 20px 0; max-width: 620px; font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.15; letter-spacing: -.025em; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice-card { min-height: 116px; padding: 16px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 15px; color: #fff; background: rgba(255,255,255,.045); font-family: inherit; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.choice-icon { display: block; width: 30px; height: 30px; margin: 0 auto 13px; fill: none; stroke: #c9c4ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.choice-card span { font-weight: 800; font-size: 14px; }
.choice-card:hover { transform: translateY(-3px); border-color: rgba(116, 106, 255, .7); }
.choice-card.is-selected { border-color: var(--blurple-2); background: linear-gradient(145deg, rgba(81, 69, 255, .32), rgba(255,255,255,.06)); box-shadow: 0 15px 35px rgba(81, 69, 255, .25), inset 0 0 0 1px rgba(255,255,255,.08); }
.choice-card.is-selected .choice-icon { stroke: #fff; }
.sample-response { display: grid; grid-template-columns: 180px 1fr; gap: 18px; margin-top: 18px; padding: 16px; border-radius: 17px; background: rgba(6, 8, 26, .5); }
.camera-placeholder { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; border-radius: 13px; background: radial-gradient(circle at 50% 30%, rgba(116, 106, 255, .3), transparent 30%), linear-gradient(145deg, #232a55, #12162e); position: relative; overflow: hidden; }
.camera-placeholder::before { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; left: 50%; top: 30px; transform: translateX(-50%); background: rgba(255,255,255,.11); box-shadow: 0 60px 0 28px rgba(255,255,255,.07); }
.camera-placeholder strong, .camera-placeholder small { position: relative; z-index: 2; }
.camera-placeholder small { margin-top: 3px; color: rgba(255,255,255,.7); }
.rec-dot { position: absolute; top: 12px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #ff5d72; box-shadow: 0 0 0 4px rgba(255,93,114,.13); }
.response-data { align-self: center; }
.response-label { color: #b9b5ff; font-size: 12px; font-weight: 800; }
.response-data p { margin: 10px 0 14px; color: #fff; font-size: 15px; line-height: 1.6; }
.response-signals { display: flex; flex-wrap: wrap; gap: 7px; }
.response-signals span { padding: 6px 9px; border-radius: 999px; color: #c9c4ff; background: rgba(81, 69, 255, .16); font-size: 10px; font-weight: 800; }

.blueprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blueprint-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 60px rgba(18, 14, 73, .07); }
.blueprint-primary { color: #fff; background: linear-gradient(145deg, #171c47, var(--navy)); border-color: #232a55; }
.blueprint-primary p { color: #9da3c0; }
.blueprint-number { display: block; color: var(--blurple); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.blueprint-primary .blueprint-number { color: #b9b5ff; }
.blueprint-card h3 { margin: 35px 0 10px; font-size: 20px; font-weight: 800; }
.blueprint-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }

.dataset-note { max-width: 500px; color: var(--muted); line-height: 1.6; }
.download-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.download-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #333a54; font-size: 12px; font-weight: 800; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.download-link:hover { border-color: rgba(81, 69, 255, .45); color: var(--blurple); transform: translateY(-1px); }
.legal-note { max-width: 960px; margin: 28px auto 0; padding: 16px 18px; border: 1px solid #e2e4f2; border-radius: 13px; color: #656d86; background: #fff; font-size: 12px; line-height: 1.6; text-align: center; }
.founder-email { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 800; }
.founder-email:hover { color: #fff; }

@media (max-width: 1000px) {
  .mission-lab { grid-template-columns: 1fr; }
  .blueprint-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .proof-row { grid-template-columns: 1fr; }
  .comparison-head, .comparison-row { grid-template-columns: .85fr 1.15fr; }
  .comparison-head span, .comparison-row span, .comparison-row strong { padding: 15px 12px; font-size: 12px; }
  .mission-lab { padding: 78px 18px; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .sample-response { grid-template-columns: 1fr; }
  .camera-placeholder { min-height: 180px; }
  .blueprint-grid { grid-template-columns: 1fr; }
  .download-row { display: grid; }
}
