@import url("fonts.css");

:root {
  --gold: #F9A11B;
  --indigo: #47118D;
  --white: #ffffff;
  --black: #000000;
  --ink: #111111;
  --muted: #3a3148;
  --paper: color-mix(in srgb, var(--black) 3.5%, var(--white));
  --line: color-mix(in srgb, var(--indigo) 16%, var(--white));
  --eink: #f3f0e8;
  --display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --body: "Lexend Deca", "Segoe UI", sans-serif;
  --header: 4.5rem;
  --max: 1120px;
  --radius: 20px;
  color-scheme: light;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, .wordmark, .btn, .kicker, .honesty, .target-value, .step-no {
  font-family: var(--display);
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; color: var(--indigo); }

h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.85rem, 4.6vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--white);
}

h2 { margin: 0 0 0.8rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { margin: 0 0 0.45rem; font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 0.8rem; }

a { color: var(--indigo); }
a:hover { color: var(--black); }

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

:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--gold); color: var(--black); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip:focus { top: 0.75rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--indigo);
  font-size: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  margin-right: auto;
  color: inherit;
}

.brand-product {
  font-family: var(--display);
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover { text-decoration: underline; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--indigo);
  background: var(--white);
  color: var(--indigo);
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.lang {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-btn {
  min-width: 44px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--indigo);
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--indigo);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: center;
}

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { filter: brightness(0.96); color: var(--black); }
.btn-gold:focus-visible { outline-color: var(--black); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 72%, transparent);
}

.btn-ghost:hover { background: color-mix(in srgb, var(--white) 10%, transparent); color: var(--white); }

.noscript {
  margin: 0;
  padding: 0.9rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.hero {
  background:
    radial-gradient(520px 320px at 82% 42%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 70%),
    var(--indigo);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.8rem, 6vw, 4.8rem);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow, .kicker {
  margin: 0 0 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.eyebrow { color: var(--gold); }

.kicker { color: var(--indigo); }

.status-pill {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.92rem;
}

.tagline-vi {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}

.lede, .hero-status { color: color-mix(in srgb, var(--white) 90%, transparent); max-width: 40rem; }

.hero-status { font-size: 0.98rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0.8rem;
}

.hero-note { color: var(--gold); font-weight: 600; max-width: 36rem; }

.device { margin: 0; position: relative; }

.device-flag {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  z-index: 1;
  margin: 0;
  background: var(--gold);
  color: var(--black);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.device figcaption {
  margin: 0.35rem 0 0;
  text-align: center;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  font-size: 0.92rem;
}

.honesty {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  background: var(--gold);
  color: var(--black);
}

.honesty li {
  margin: 0;
  padding: 1rem 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-paper { background: var(--paper); }

.section-lead { max-width: 44rem; color: var(--ink); }

.cards, .target-grid, .split, .steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card, .target, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 1.2rem 1.25rem 1.3rem;
  border-top: 4px solid var(--gold);
}

.card p, .prose p { color: var(--ink); }

.split { margin-top: 2rem; }

.marks { list-style: none; margin: 0; padding: 0; }
.marks li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.45rem 0;
}
.marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--gold);
}
.marks.not li::before {
  background: transparent;
  border: 2px solid var(--indigo);
  width: 0.45rem;
  height: 0.45rem;
}

.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.steps li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}
.step-no {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

.target { padding: 1rem 1rem 1.1rem; }
.target h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.target-value {
  margin: 0;
  color: var(--black);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.target-note { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.92rem; }
.target-flag {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
}
.chips li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.chips .target-flag { margin: 0; }

.fineprint { margin-top: 1.4rem; max-width: 46rem; color: var(--muted); }
.fineprint a { font-weight: 700; }

.waitlist-layout { display: grid; gap: 1.25rem; }

.form-card { padding: clamp(1.1rem, 3vw, 2rem); }

.form-grid {
  display: grid;
  gap: 1rem;
}

.field label, .field legend {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 0.35rem;
}

.field legend { padding: 0; }

.req { color: var(--indigo); text-decoration: none; }

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid color-mix(in srgb, var(--indigo) 35%, var(--white));
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  min-height: 48px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--indigo);
  flex: none;
}

textarea { min-height: 8rem; resize: vertical; }

.hint { color: var(--muted); font-size: 0.92rem; margin: 0.35rem 0 0; }

.field.is-invalid input:not([type="checkbox"]):not([type="radio"]),
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--black);
  box-shadow: inset 4px 0 0 var(--black);
}

.field-error, .form-errors {
  color: var(--black);
  font-weight: 600;
  background: color-mix(in srgb, var(--gold) 32%, var(--white));
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}

.field-error { margin: 0.4rem 0 0; }

.form-errors { margin-bottom: 1rem; }
.form-errors ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.form-errors a { color: var(--black); font-weight: 700; }

.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-weight: 500;
}

.choice.consent { font-weight: 500; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.is-invalid {
  padding: 0.7rem;
  border-radius: 12px;
  box-shadow: inset 4px 0 0 var(--black);
  background: color-mix(in srgb, var(--gold) 22%, var(--white));
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-submit { width: 100%; margin-top: 1rem; }

.form-reassure { margin: 0.7rem 0 0; font-weight: 600; }

.form-status {
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}

.form-status h3 { margin-top: 0; }

.form-status.is-pending {
  background: var(--white);
  border: 1px solid var(--line);
}

.form-status.is-success {
  background: var(--indigo);
  color: var(--white);
}

.form-status.is-success h3,
.form-status.is-success p { color: var(--white); }

.form-status.is-error {
  background: var(--gold);
  color: var(--black);
}

.form-status.is-error h3 { color: var(--black); }

.faq-list { max-width: 46rem; }

details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  color: var(--indigo);
  font-size: 1.12rem;
}

summary:hover { color: var(--black); }

details p { margin: 0.7rem 0 0.3rem; max-width: 62ch; }

.prose { max-width: 46rem; }

.site-footer {
  background: var(--indigo);
  color: var(--white);
  padding: 2.5rem 0 1.5rem;
}

.site-footer .wordmark { color: var(--white); }

.site-footer a { color: var(--white); }

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.3rem 0; }

.footer-legal {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

section[id], #privacy, #top { scroll-margin-top: calc(var(--header) + 0.6rem); }

@media (min-width: 720px) {
  .honesty { grid-template-columns: repeat(3, 1fr); }
  .honesty li { border-top: 0; border-left: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
  .honesty li:first-child { border-left: 0; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .btn-submit { width: auto; min-width: 16rem; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps, .target-grid { grid-template-columns: repeat(4, 1fr); }
  .waitlist-layout { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .form-status { grid-column: 2; }
  #waitlist-form { grid-column: 2; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1rem 0.8rem;
  }
  .site-nav.is-open {
    display: flex;
    z-index: 2;
    box-shadow: 0 16px 28px color-mix(in srgb, var(--black) 12%, transparent);
  }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .brand-product { display: none; }
  h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
