:root {
  color-scheme: light;
  --ink: #17152b;
  --ink-soft: #514e63;
  --paper: #f5f1e8;
  --paper-bright: #fffdf8;
  --violet: #7057ff;
  --violet-deep: #4330be;
  --citrus: #dfff54;
  --mint: #9de8cb;
  --coral: #ff8c72;
  --line: rgba(23, 21, 43, 0.14);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --shadow: 0 28px 80px rgba(30, 24, 66, 0.14);
  --page: min(1180px, calc(100% - 48px));
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.site-header {
  width: var(--page);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid rgba(23, 21, 43, 0.45);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1.8rem;
}

nav a,
.nav-cta {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

nav a {
  position: relative;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: white;
}

.hero {
  position: relative;
  width: var(--page);
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: 5.5rem 0 6.5rem;
}

.hero::before {
  position: absolute;
  top: 4rem;
  left: -18vw;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 232, 203, 0.32), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.5rem;
  color: var(--violet-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.eyebrow span {
  width: 2rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--citrus);
  box-shadow: inset 0 0 0 1px rgba(23, 21, 43, 0.15);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.25rem, 6vw, 6.2rem);
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.25;
}

h1 span {
  display: block;
  color: var(--violet);
}

.hero-deck {
  max-width: 620px;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 21, 43, 0.2);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin: 2.25rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  list-style: none;
}

.hero-notes li::before {
  margin-right: 0.5rem;
  color: var(--violet);
  content: "●";
  font-size: 0.55rem;
}

.signal-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: min(7vw, 5rem) 1.4rem min(7vw, 5rem) 1.4rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(112, 87, 255, 0.62), transparent 28%),
    var(--ink);
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: var(--shadow);
  contain: paint;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 160ms ease-out;
}

.signal-stage::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(223, 255, 84, 0.09), transparent 40%);
  content: "";
}

.signal-orbit {
  position: absolute;
  top: 48%;
  left: 53%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 180px;
  height: 180px;
}

.orbit-two {
  width: 340px;
  height: 340px;
  border-style: dashed;
}

.orbit-three {
  width: 520px;
  height: 520px;
}

.signal-core {
  position: absolute;
  top: 48%;
  left: 53%;
  display: grid;
  width: 120px;
  height: 120px;
  place-content: center;
  border-radius: 50%;
  background: var(--citrus);
  box-shadow: 0 0 80px rgba(223, 255, 84, 0.3);
  color: var(--ink);
  text-align: center;
  transform: translate(-50%, -50%);
}

.signal-core span,
.signal-card span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-core strong {
  font-size: 2rem;
  line-height: 1;
}

.signal-card {
  position: absolute;
  width: 170px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  color: white;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.signal-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mint);
}

.signal-card strong {
  font-size: 0.86rem;
}

.card-research {
  top: 14%;
  left: 8%;
  transform: rotate(-4deg);
}

.card-create {
  top: 18%;
  right: 6%;
  transform: rotate(4deg);
}

.card-review {
  right: 10%;
  bottom: 12%;
  transform: rotate(-3deg);
}

.stage-caption {
  position: absolute;
  bottom: 1.35rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-caption span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
}

.principle-strip {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 3rem;
  background: var(--citrus);
}

.principle-strip p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.principle-strip > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.workflow {
  padding: 9rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading .section-kicker {
  align-self: start;
}

h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.4vw, 4.9rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
}

.section-heading > p:last-child,
.credits-intro > p:not(.section-kicker),
.waitlist-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.52);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.workflow-card:hover {
  background: var(--paper-bright);
  box-shadow: 0 24px 50px rgba(31, 25, 62, 0.1);
  transform: translateY(-6px);
}

.card-index {
  display: flex;
  justify-content: space-between;
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-card h3 {
  margin: 5rem 0 0.8rem;
  font-size: 1.5rem;
  letter-spacing: 0;
  line-height: 1.35;
}

.workflow-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.mini-visual {
  height: 74px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.research-visual {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.research-visual span {
  flex: 1;
  border-radius: 0.25rem 0.25rem 0 0;
  background: var(--violet);
}

.research-visual span:nth-child(1) { height: 28%; }
.research-visual span:nth-child(2) { height: 55%; }
.research-visual span:nth-child(3) { height: 38%; background: var(--coral); }
.research-visual span:nth-child(4) { height: 82%; background: var(--citrus); }
.research-visual span:nth-child(5) { height: 64%; }

.filter-visual,
.create-visual,
.review-visual {
  display: grid;
  align-items: center;
  gap: 0.4rem;
}

.filter-visual span {
  height: 7px;
  border-radius: 99px;
  background: rgba(112, 87, 255, 0.22);
}

.filter-visual span:nth-child(1) { width: 100%; }
.filter-visual span:nth-child(2) { width: 68%; background: var(--violet); }
.filter-visual span:nth-child(3) { width: 38%; background: var(--citrus); }

.create-visual {
  grid-template-columns: 1fr 1fr 1fr;
}

.create-visual span {
  height: 46px;
  border-radius: 50% 50% 0.6rem 0.6rem;
  background: var(--mint);
}

.create-visual span:nth-child(2) { background: var(--violet); transform: translateY(-5px); }
.create-visual span:nth-child(3) { background: var(--coral); }

.review-visual {
  grid-template-columns: repeat(4, 1fr);
}

.review-visual span {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.review-visual span:nth-child(-n + 3) {
  background: var(--ink);
  box-shadow: inset 0 0 0 5px var(--paper-bright);
}

.credits {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  padding: 4rem 0 10rem;
}

.credits-intro h2 {
  margin-bottom: 2rem;
}

.status-chip {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-bright);
  font-size: 0.72rem;
  font-weight: 750;
}

.status-chip span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--coral);
}

.credit-panel {
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  background: var(--violet);
  box-shadow: var(--shadow);
  color: white;
}

.credit-panel-head,
.credit-equation,
.credit-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.credit-panel-head {
  align-items: flex-start;
}

.credit-panel-head span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credit-panel-head strong {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 1;
}

.credit-panel-head strong small {
  font-size: 0.8rem;
  letter-spacing: 0;
}

.credit-panel-head .matrix-tag {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: white;
}

.credit-equation {
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--citrus);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

.credit-equation b {
  font-weight: 500;
}

.credit-facts {
  margin: 0;
}

.credit-facts div {
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.credit-facts dt,
.credit-facts dd {
  margin: 0;
  font-size: 0.78rem;
}

.credit-facts dt {
  color: rgba(255, 255, 255, 0.65);
}

.credit-facts dd {
  max-width: 55%;
  font-weight: 700;
  text-align: right;
}

.credit-fineprint {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  line-height: 1.6;
}

.compliance {
  border-radius: 4rem 4rem 0 0;
  background: var(--ink);
  color: white;
}

.compliance-inner {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.compliance .section-kicker {
  color: var(--citrus);
}

.compliance-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-grid article {
  min-height: 330px;
  padding: 1.5rem 1.4rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-grid article:last-child {
  border-right: 0;
}

.boundary-number {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 800;
}

.boundary-grid h3 {
  margin: 6rem 0 1rem;
  font-size: 1.4rem;
  letter-spacing: 0;
}

.boundary-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.84rem;
  line-height: 1.65;
}

.boundary-grid p strong {
  color: white;
}

.residency-note {
  max-width: 760px;
  margin: 3rem 0 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  line-height: 1.65;
}

.residency-note span {
  margin-right: 0.8rem;
  color: var(--citrus);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  align-items: end;
  padding: 8rem 0;
}

.waitlist-copy h2 {
  margin-bottom: 1.5rem;
}

.waitlist-placeholder {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-bright);
}

.waitlist-placeholder label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-placeholder > div {
  display: flex;
  gap: 0.55rem;
}

.waitlist-placeholder input {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #efede7;
  color: var(--ink-soft);
}

.waitlist-placeholder button {
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: #d8d5cd;
  color: #6c6972;
  font-weight: 800;
  cursor: not-allowed;
}

.waitlist-placeholder small {
  display: block;
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

footer {
  width: var(--page);
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.7rem;
}

footer strong,
footer span {
  display: block;
}

footer strong {
  color: var(--ink);
  font-size: 0.84rem;
}

footer p {
  max-width: 480px;
  margin: 0;
  text-align: right;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 36px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .signal-stage {
    min-height: 520px;
  }

  .section-heading,
  .credits,
  .compliance-heading,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .section-heading > p:last-child {
    max-width: 580px;
  }

  .workflow-list,
  .boundary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .boundary-grid article:nth-child(2) {
    border-right: 0;
  }

  .boundary-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .credits-intro {
    max-width: 620px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 28px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 3rem;
    padding: 4rem 0;
  }

  .hero::before {
    left: -14px;
    width: 100vw;
    height: 100vw;
  }

  .hero > * {
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
    line-height: 1.25;
  }

  .hero-deck {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .signal-stage {
    min-height: 430px;
    border-radius: 3rem 1rem 3rem 1rem;
  }

  .orbit-three {
    width: min(84vw, 320px);
    height: min(84vw, 320px);
  }

  .orbit-two {
    width: min(62vw, 240px);
    height: min(62vw, 240px);
  }

  .orbit-one {
    width: min(42vw, 160px);
    height: min(42vw, 160px);
  }

  .signal-card {
    width: min(38vw, 140px);
    padding: 0.8rem;
  }

  .card-research {
    top: 10%;
    left: 4%;
  }

  .card-create {
    top: 12%;
    right: 3%;
  }

  .card-review {
    right: 5%;
    bottom: 12%;
  }

  .principle-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
  }

  .principle-strip p {
    text-align: left;
  }

  .principle-strip > span {
    display: none;
  }

  .workflow,
  .compliance-inner,
  .waitlist {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .workflow-list,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 340px;
  }

  .boundary-grid article {
    min-height: 290px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .boundary-grid article:last-child {
    border-bottom: 0;
  }

  .boundary-grid h3 {
    margin-top: 4.5rem;
  }

  .credits {
    padding-bottom: 7rem;
  }

  .credit-panel-head strong {
    font-size: 3.1rem;
  }

  .credit-facts div {
    flex-direction: column;
    gap: 0.3rem;
  }

  .credit-facts dd {
    max-width: none;
    text-align: left;
  }

  .compliance {
    border-radius: 2.5rem 2.5rem 0 0;
  }

  .waitlist-placeholder > div,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    justify-content: center;
    padding: 2rem 0;
  }

  footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .signal-stage {
    transform: none !important;
  }
}
