@font-face {
  font-family: "Lilita One";
  src: url("fonts/lilita.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b2350;
  --ink-soft: #3b4d73;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #d5dcec;
  --green: #12a04a;
  --green-deep: #0b7a36;
  --gold: #ffd21e;
  --gold-deep: #f0b400;
  --blue: #1a44a0;
  --stage: #0d1c2c;
  --radius: 14px;
  --measure: 62ch;
  --gutter: clamp(16px, 5vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  font-family: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--green-deep); }

.head-link {
  font-weight: 600;
  font-size: 1rem;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(20px, 5vw, 56px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

h1,
h2 {
  font-family: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  line-height: 1.1;
}

.lede {
  margin: 22px 0 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.proof {
  margin: 14px 0 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-deep);
}

/* ---------- waitlist form ---------- */
.waitlist {
  margin-top: 30px;
  max-width: 460px;
}

.waitlist label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  padding: 13px 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.btn {
  font: inherit;
  font-weight: 700;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.15s ease;
}
.btn:hover { background: var(--gold-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

.waitlist-note {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.waitlist-status {
  margin: 12px 0 0;
  font-weight: 600;
  min-height: 1.6em;
}
.waitlist-status[data-state="ok"] { color: var(--green-deep); }
.waitlist-status[data-state="error"] { color: #a3201b; }
.waitlist-status[data-state="info"] { color: var(--ink); }

/* ---------- hero frames ---------- */
.frames {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 16px);
  align-items: start;
}

.frame {
  margin: 0;
  border: 5px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  background: var(--stage);
  box-shadow: 0 14px 30px -14px rgba(11, 35, 80, 0.5);
}
.frame:nth-child(2) { transform: translateY(32px); }

.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 38%; }

/* ---------- sections ---------- */
.section {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-top: 2px solid var(--line);
}

.section-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.section-intro p {
  margin: 16px 0 0;
  max-width: 34ch;
  color: var(--ink-soft);
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  max-width: var(--measure);
}

.facts li { margin: 0; }

.facts strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.facts span { color: var(--ink-soft); }

.faq { max-width: var(--measure); border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 32px 16px 0;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green-deep);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

.small-print {
  margin: 28px 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.about p { margin: 16px 0 0; max-width: var(--measure); }

.closing {
  background: var(--ink);
  color: var(--white);
  border-top: 0;
}
.closing h2 { color: var(--white); }
.closing .lede { color: #c8d3ee; }
.closing .waitlist label { color: var(--white); }
.closing .waitlist-note { color: #c8d3ee; }
.closing .waitlist-note a { color: var(--gold); }
.closing .waitlist-status[data-state="ok"] { color: #7ee2a1; }
.closing .waitlist-status[data-state="error"] { color: #ffb3ad; }
.closing .waitlist-status[data-state="info"] { color: var(--white); }
.closing .btn { border-color: var(--gold); box-shadow: 0 4px 0 var(--gold-deep); }
.closing :focus-visible { outline-color: var(--gold); }

/* ---------- footer ---------- */
.site-foot {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- privacy page ---------- */
.doc { max-width: var(--measure); padding-bottom: 64px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); max-width: none; margin-bottom: 8px; }
.doc h2 { font-size: 1.6rem; margin-top: 36px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc .updated { color: var(--ink-soft); margin: 0 0 24px; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .frames { max-width: 520px; }
  .section-body { grid-template-columns: minmax(0, 1fr); }
  h1 { max-width: 12ch; }
}

@media (max-width: 480px) {
  .head-link { display: none; }
  .frame { border-width: 4px; border-radius: 16px; }
}

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