@font-face {
  font-family: "Instrument Sans";
  src: url("/_a/fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/_a/fonts/geist-mono.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* Horizon geometry. Colours come from /_theme.css (one accent per domain). */
:root {
  --hero-h: 980px;
  --hz: 720px;
  --planet: 3400px;
  --pf-w: 1400px;
  --pf-h: 520px;
  --mask-w: 900px;
  --mask-h: 200px;
  --bloom-w: 2600px;
  --bloom-h: 1000px;
  --hl-w: 280px;
  --gutter: 32px;
  color-scheme: dark;
}
@media (max-width: 640px) {
  :root {
    --hero-h: 760px;
    --hz: 600px;
    --planet: 1500px;
    --pf-w: 620px;
    --pf-h: 240px;
    --mask-w: 340px;
    --mask-h: 110px;
    --bloom-w: 1000px;
    --bloom-h: 500px;
    --hl-w: 140px;
    --gutter: 20px;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #000;
  color: #f4f4f5;
  font-family: "Instrument Sans", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.page { overflow: hidden; padding-bottom: env(safe-area-inset-bottom); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.eyebrow { margin: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }
.tint { color: var(--tint); }
.muted { color: rgba(255, 255, 255, 0.62); }
.center { text-align: center; }
a { color: inherit; }

/* Hero */
.hero { position: relative; height: var(--hero-h); overflow: hidden; text-align: center; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.bloom {
  position: absolute; left: 50%; top: var(--hz); width: var(--bloom-w); height: var(--bloom-h);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--bloom-a), var(--bloom-b) 50%, transparent);
}
.planet {
  position: absolute; left: 50%; top: var(--hz); width: var(--planet); height: var(--planet);
  margin-left: calc(var(--planet) / -2); border-radius: 50%;
  background: radial-gradient(var(--pf-w) var(--pf-h) at 50% 0, var(--p1) 0%, var(--p2) 45%, #000 80%);
  /* Zero-offset shadows so the atmosphere is even all the way round the curve. */
  box-shadow: 0 0 0 1px var(--rim), 0 0 3px 1px var(--rim2), 0 0 16px 3px var(--a55), 0 0 48px 8px var(--a28), 0 0 120px 24px var(--a13);
}
/* The sunlit stretch of the limb, masked to the top of the curve. */
.limb-mask {
  position: absolute; left: 50%; top: calc(var(--hz) - 200px);
  width: calc(var(--planet) + 400px); height: 600px; margin-left: calc((var(--planet) + 400px) / -2);
  -webkit-mask-image: radial-gradient(var(--mask-w) var(--mask-h) at 50% 200px, #000 0%, transparent 100%);
  mask-image: radial-gradient(var(--mask-w) var(--mask-h) at 50% 200px, #000 0%, transparent 100%);
}
.limb {
  position: absolute; left: 200px; top: 200px; width: var(--planet); height: var(--planet); border-radius: 50%;
  box-shadow: 0 0 0 1.5px #fff, 0 0 8px 3px var(--limb1), 0 0 30px 8px var(--limb2), 0 0 90px 20px var(--a55);
}
.highlight {
  position: absolute; left: 50%; top: var(--hz); width: var(--hl-w); height: 6px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), transparent);
  filter: blur(1.5px);
}
.grain { position: absolute; inset: 0; opacity: 0.07; background: url("/_a/grain.png"); background-size: 256px 256px; }
.fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(180deg, transparent, #000); }

.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 180px var(--gutter) 0; }
.name {
  margin: 20px 0 0;
  font-size: min(176px, calc((min(100vw, 1120px) - 2 * var(--gutter)) / (var(--name-chars) * 0.5)));
  line-height: 0.9; font-weight: 600; font-stretch: 88%; letter-spacing: -0.055em; white-space: nowrap; color: #fff;
}
.lead { margin: 26px auto 0; max-width: 640px; text-wrap: balance; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, 0.74); }
.chips { margin: 26px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.chip { display: flex; gap: 8px; align-items: baseline; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); }
.chip dt { font-size: 12px; color: rgba(255, 255, 255, 0.62); }
.chip dd { margin: 0; font-size: 13px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; margin-top: 36px; padding: 0 26px;
  border-radius: 999px; background: #f4f4f5; color: #000; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background 0.15s;
}
.hero-cta:hover { background: #fff; }
@media (max-width: 640px) {
  .hero-inner { padding-top: 96px; }
  .name { margin-top: 16px; }
  .lead { margin-top: 20px; font-size: 16px; max-width: 330px; }
  .chips { margin-top: 20px; gap: 6px; }
  .chip { padding: 6px 12px; }
  .chip dt { font-size: 11px; }
  .chip dd { font-size: 12px; }
  .hero-cta { height: 50px; margin-top: 28px; padding: 0 24px; }
}

/* How it works */
.steps-wrap { max-width: 1040px; margin: 0 auto; padding: 40px var(--gutter) 0; }
.steps-wrap h2 { margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.steps li { padding: 4px 28px; }
.steps li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.steps .mono { display: block; font-size: 12px; }
.steps strong { display: block; margin-top: 14px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { margin: 8px auto 0; max-width: 260px; text-wrap: balance; font-size: 15px; line-height: 1.55; color: #a6a6ae; }
@media (max-width: 720px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding: 24px 0; }
  .steps li:first-child { padding-top: 0; }
  .steps li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

/* Offer */
.offer { max-width: 1040px; margin: 140px auto 0; padding: 0 var(--gutter); scroll-margin-top: 24px; }
.offer-head { text-align: center; margin-bottom: 36px; }
.offer-head h2 { margin: 0; font-size: 52px; line-height: 0.95; font-weight: 600; font-stretch: 88%; letter-spacing: -0.045em; }
.offer-head p { margin: 16px auto 0; max-width: 520px; text-wrap: balance; font-size: 16px; line-height: 1.6; color: #a6a6ae; }
.card { background: #fff; color: #0e0e10; border-radius: 24px; padding: 40px; }
.form { display: flex; flex-direction: column; gap: 24px; }
.narrow { max-width: 420px; margin: 0 auto; padding: 16px 0; display: flex; flex-direction: column; gap: 20px; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .offer { margin-top: 88px; padding: 0 12px; }
  .offer-head h2 { font-size: 40px; }
  .offer-head p { font-size: 15px; max-width: 300px; }
  .card { border-radius: 20px; padding: 24px 20px; }
  .form { gap: 20px; }
}

.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .f-row { grid-template-columns: minmax(0, 1fr); } }
.f-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: #27272a; }
.f-lbl.center { justify-content: center; }
.f-lbl em { font-style: normal; font-weight: 400; font-size: 13px; color: #a1a1aa; }
.f-in {
  display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #e4e4e7; border-radius: 12px;
  background: #fff; font: inherit; font-size: 16px; color: #0e0e10; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.f-in::placeholder { color: #a1a1aa; }
.f-in:hover { border-color: #d4d4d8; }
.f-in:focus { border-color: #0e0e10; box-shadow: 0 0 0 4px rgba(14, 14, 16, 0.06); }
.f-in[aria-invalid="true"] { border-color: #dc2626; }
textarea.f-in { height: 96px; padding: 13px 16px; line-height: 1.5; resize: vertical; }
.f-code { height: 64px; text-align: center; font-size: 28px; font-weight: 600; letter-spacing: 0.4em; padding-left: calc(16px + 0.4em); }
.f-offer {
  display: flex; align-items: center; height: 50px; padding: 0 16px; border: 1px solid #e4e4e7; border-radius: 12px;
  background: #f7f7f8; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.f-offer:hover { border-color: #d4d4d8; }
.f-offer:focus-within { background: #fff; border-color: #0e0e10; box-shadow: 0 0 0 4px rgba(14, 14, 16, 0.06); }
.f-offer span { font-size: 16px; font-weight: 500; color: #71717a; }
.f-offer input { flex: 1 1 auto; min-width: 0; height: 100%; margin-left: 10px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: #0e0e10; outline: none; }
.f-offer input::placeholder { color: #a1a1aa; }

.seg { display: flex; gap: 4px; height: 50px; padding: 4px; border-radius: 12px; background: #f4f4f5; }
.seg label { position: relative; flex: 1 1 0; min-width: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label > span { display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 9px; font-size: 15px; color: #52525b; cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
.seg label > span:hover { color: #0e0e10; }
.seg input:checked + span { background: #fff; color: #0e0e10; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.seg input:focus-visible + span { outline: 2px solid #0e0e10; outline-offset: 1px; }
.seg .short { display: none; }
@media (max-width: 640px) {
  .seg label > span { font-size: 14px; }
  .seg .long { display: none; }
  .seg .short { display: inline; }
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-error { margin: 0; min-height: 0; font-size: 14px; color: #dc2626; }
.f-error:empty { display: none; }
.f-submit { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.f-fine { margin: 0; font-size: 13px; line-height: 1.6; color: #71717a; text-align: center; }
.submit {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px;
  border: 0; border-radius: 14px; background: #0e0e10; color: #fff; font: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: background 0.15s, opacity 0.15s;
}
.submit:hover { background: #26262b; }
.submit:disabled { opacity: 0.6; cursor: progress; }
.links { display: flex; justify-content: space-between; gap: 16px; }
.f-link {
  background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 14px; color: #52525b; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #d4d4d8;
}
.f-link:hover { color: #0e0e10; }

.done { align-items: center; text-align: center; gap: 24px; padding-top: 8px; }
.tick { width: 56px; height: 56px; border-radius: 999px; background: #0e0e10; color: #fff; display: flex; align-items: center; justify-content: center; }
.summary { align-self: stretch; margin: 0; border: 1px solid #e4e4e7; border-radius: 14px; text-align: left; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; }
.summary div + div { border-top: 1px solid #f0f0f2; }
.summary dt { font-size: 14px; color: #71717a; }
.summary dd { margin: 0; font-size: 15px; font-weight: 600; }

.foot {
  max-width: 1040px; margin: 140px auto 0; padding: 24px var(--gutter) 48px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8a8a93;
}
.foot .mono { font-size: 12px; }
@media (max-width: 640px) { .foot { margin: 88px 20px 0; padding: 20px 0 40px; flex-direction: column; gap: 8px; } }

.nf { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #8a8a93; font-size: 15px; }

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