/* The landing page shares the app's palette and fonts; its layout is a
   product catalogue with a consistent margin for headings and annotations. */
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', monospace;
  --canvas: #100c1d;
  --bg0: #141021;
  --bg1: #1d172e;
  --bg2: #261e39;
  --line: #211c32;
  --line2: #373047;
  --tx: #c9c6d1;
  --tx2: #aaa2bf;
  --tx3: #938aa8;
  --violet-text: #c6c3ff;
  --cyan-text: #79d4ff;
  --pad: clamp(24px, 4.45vw, 64px);
  --gap: clamp(72px, 8.35vw, 120px);
  --margin-column: 240px;
  --column-gap: 56px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; scrollbar-color: var(--line2) var(--bg0); }
html, body { margin: 0; padding: 0; background: var(--canvas); }
body { font: 400 17px/1.6 var(--sans); color: var(--tx); -webkit-font-smoothing: antialiased; }
h1, h2, p, ul, figure { margin: 0; }
p, li { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: var(--violet-text); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--cyan-text); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--violet-text); color: var(--bg0); }
:focus-visible { outline: 2px solid var(--cyan-text); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
img { max-width: 100%; height: auto; }
.mono { font-family: var(--mono); }
.page { max-width: 1440px; margin-inline: auto; background: var(--bg0); }
h2 { font: 500 30px/1.16 var(--sans); letter-spacing: -.025em; text-wrap: balance; }

/* Header */
.top { height: 88px; margin-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line2); }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 30px; height: 30px; display: block; }
.brand-name { font-size: 23px; font-weight: 550; letter-spacing: -.035em; }
.nav-preorder { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; font-size: 14px; }
.nav-preorder span { padding-left: 16px; border-left: 1px solid var(--line2); color: var(--cyan-text); }

/* The offer remains the first decision, alongside the product mechanism. */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) 436px; grid-template-areas: 'hero rail' 'pricing pricing'; }
.hero { grid-area: hero; min-width: 0; padding: 48px 56px 48px var(--pad); }
h1 { max-width: 780px; font: 500 clamp(46px, 4.73vw, 68px)/1.035 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
h1 span { display: block; color: var(--cyan-text); }
.lede { max-width: 62ch; margin-top: 25px; color: var(--tx2); font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* One motion vocabulary: a task enters, then the six stations fill in order. */
.demo { margin-top: 32px; }
.composer { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px 20px; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg1); }
.composer-label { padding-top: 3px; font: 450 12px/1.6 var(--mono); letter-spacing: .08em; color: var(--tx3); }
.composer-text { min-height: 2lh; font: 400 14px/1.65 var(--mono); color: var(--tx); text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .composer-text::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.12em; background: var(--cyan-text); animation: caret-blink 1.1s step-end infinite; }
}
@keyframes caret-blink { 50% { opacity: 0; } }
.gates { display: flex; padding-top: 24px; }
.gate { position: relative; flex: 1; min-width: 0; }
.gate-node { position: relative; display: grid; place-items: center; width: 13px; height: 13px; border: 1px solid var(--tx3); border-radius: 50%; background: var(--bg0); transition: background-color .25s, border-color .25s; }
.gate-name { display: block; padding: 10px 10px 0 0; font: 400 12px/1.4 var(--sans); color: var(--tx3); transition: color .25s; }
.gate:last-child { flex: .6; }
.link { position: absolute; top: 6px; left: 12px; right: -1px; }
.link::before, .link span { position: absolute; top: 0; right: 0; width: 100%; height: 1px; background: var(--line2); }
.link::before { content: ''; }
.link span { background: var(--violet-text); transform: scaleX(0); transform-origin: left; transition: transform .4s ease-out; }
.link.is-filled span { transform: scaleX(1); }
.gate.is-done .gate-node { border-color: var(--violet-text); background: var(--violet-text); }
.gate.is-done .gate-name { color: var(--violet-text); }
.gate.is-active .gate-node { border-color: var(--cyan-text); background: var(--cyan-text); }
.gate.is-active .gate-node::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--bg0); }
.gate.is-active .gate-name { color: var(--cyan-text); }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line2); }
.price strong { display: block; font-size: 18px; font-weight: 550; letter-spacing: -.015em; }
.price > span { display: block; margin-top: 4px; font-size: 14px; color: var(--tx2); }
.audience { align-self: start; max-width: 25ch; color: var(--violet-text); font-size: 15px; line-height: 1.5; }

/* Plan rows form a single choice set, with selection carried by cyan. */
.rail { grid-area: rail; align-self: start; margin: 48px var(--pad) 48px 0; padding: 24px; background: var(--bg1); border: 1px solid var(--line2); }
.preorder-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preorder-heading h2 { font-size: 25px; letter-spacing: -.03em; }
.discount { flex: none; color: var(--cyan-text); font-size: 14px; font-weight: 550; }
.preorder-platform { margin-top: 8px; color: var(--tx2); font-size: 13px; }
.plan-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 24px 0 10px; color: var(--tx2); font-size: 12px; }
.currency-options { display: flex; flex: none; margin: 0; padding: 0; border: 0; }
.currency-options label { cursor: pointer; }
.currency-options label > span { display: grid; place-items: center; min-width: 48px; min-height: 44px; border: 1px solid var(--line2); }
.currency-options label + label { margin-left: -1px; }
.currency-options label:hover > span { background: var(--bg2); }
.currency-options input:checked + span { position: relative; border-color: var(--cyan-text); color: var(--cyan-text); }
.currency-options input:focus-visible + span { position: relative; z-index: 1; outline: 2px solid var(--cyan-text); outline-offset: 4px; }
.plan-options { display: grid; gap: 0; border: 0; min-width: 0; margin: 0 0 20px; padding: 0; }
.plan-option { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 12px; border: 1px solid var(--line2); cursor: pointer; transition: background-color .18s, border-color .18s; }
.plan-option + .plan-option { margin-top: -1px; }
.plan-option:hover { background: var(--bg2); }
.plan-option:has(input:checked) { position: relative; background: #101b28; border-color: var(--cyan-text); }
.plan-option:has(input:focus-visible) { z-index: 1; outline: 2px solid var(--cyan-text); outline-offset: 4px; }
.plan-option input { appearance: none; flex: none; display: grid; place-content: center; width: 15px; height: 15px; margin: 3px 0 0; border: 1px solid var(--tx3); border-radius: 50%; cursor: pointer; }
.plan-option input:checked { border-color: var(--cyan-text); }
.plan-option input:checked::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-text); }
.plan-option input:focus-visible { outline: none; }
.plan-content { flex: 1; min-width: 0; }
.plan-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.plan-name { font-size: 15px; font-weight: 550; }
.plan-period { font-size: 12px; color: var(--tx2); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 6px 0; font-size: 36px; font-weight: 450; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.plan-price > span:not([data-eur]) { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.plan-price s { margin-left: auto; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--tx2); text-decoration-thickness: 1px; }
.plan-renewal { display: block; color: var(--tx2); font-size: 12px; line-height: 1.5; }
.checkout-summary { color: var(--tx2); font-size: 13px; line-height: 1.7; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font: 550 14px/1.5 var(--sans); transition: color .18s, background-color .18s, border-color .18s; }
.btn-primary { margin-top: 20px; background: var(--cyan-text); color: var(--bg0); }
.btn-primary:hover:not(:disabled) { background: #ace5ff; }
.btn-primary:disabled { background: #282237; border-color: #373047; color: #b3a9c7; cursor: not-allowed; }
.btn-secondary { border-color: var(--violet-text); color: var(--violet-text); background: transparent; }
.btn-secondary:hover { background: var(--violet-text); color: var(--bg0); }
.checkout-status { margin-top: 10px; color: var(--tx3); font-size: 12px; line-height: 1.6; }
.signup { border-top: 1px solid var(--line2); margin-top: 20px; }
.signup summary { min-height: 44px; padding: 16px 20px 0 0; position: relative; cursor: pointer; list-style: none; color: var(--violet-text); font-size: 12px; }
.signup summary::-webkit-details-marker { display: none; }
.signup summary::after { content: ''; position: absolute; right: 2px; top: 22px; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.signup[open] summary::after { transform: rotate(225deg); top: 25px; }
.signup summary:hover { color: var(--cyan-text); }
.request { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-head label { color: var(--tx); font-size: 13px; }
.tag { flex: none; color: var(--tx3); font-size: 12px; }
.tag-required { color: var(--cyan-text); }
.request input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 3px; color: var(--tx); background: var(--bg0); font-size: 16px; caret-color: var(--cyan-text); }
.request input:hover { border-color: var(--tx3); }
.request input:focus { border-color: var(--cyan-text); }
.request .btn-secondary { justify-content: center; }
.fine { color: var(--tx2); font-size: 12px; line-height: 1.65; }

/* Shared grid: a heading in the margin, content in the reading column. */
.pricing, .section, .privacy { display: grid; grid-template-columns: var(--margin-column) minmax(0, 1fr); column-gap: var(--column-gap); margin-inline: var(--pad); }
.pricing { grid-area: pricing; padding-block: 40px; border-block: 1px solid var(--line2); }
.pricing h2 { max-width: 10ch; font-size: 26px; }
.plan-lists { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.plan-includes { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.plan-includes li { display: flex; gap: 12px; }
.plan-includes li::before { content: '\2022'; color: var(--cyan-text); }
.plan-excludes { max-width: 46ch; color: var(--tx2); font-size: 14px; line-height: 1.65; }
.section { padding-top: var(--gap); }
.section > h2 { max-width: 12ch; }
.prose { display: flex; flex-direction: column; gap: 24px; max-width: 72ch; color: var(--tx2); font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.prose .bright { margin-bottom: 8px; max-width: 48ch; color: var(--tx); font-size: 29px; font-weight: 450; line-height: 1.4; letter-spacing: -.025em; }

/* The real captures read as plates with their captions in the margin. */
.shots { margin-top: var(--gap); padding: 64px var(--pad) 72px; background: var(--bg1); border-block: 1px solid var(--line); }
.shots h2 { margin-bottom: 48px; font-size: 54px; letter-spacing: -.04em; }
.shots-list { display: flex; flex-direction: column; gap: 56px; }
.shots figure { display: grid; grid-template-columns: var(--margin-column) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 18px var(--column-gap); align-items: start; padding-top: 24px; border-top: 1px solid var(--line2); }
.shot-index { grid-column: 1; grid-row: 1; font: 400 13px/1.5 var(--mono); color: var(--cyan-text); }
.shot-frame { grid-column: 2; grid-row: 1 / 3; overflow: hidden; border: 1px solid var(--line2); border-radius: 4px; line-height: 0; background: var(--bg0); }
.shot-frame img { width: 100%; display: block; }
.shots figcaption { grid-column: 1; grid-row: 2; max-width: 26ch; color: var(--tx2); font-size: 16px; line-height: 1.65; text-wrap: pretty; }

.capability-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; font-size: 16px; line-height: 1.6; }
.capability-list li { display: flex; gap: 12px; padding: 20px 0 24px; border-top: 1px solid var(--line2); }
.capability-list li::before { content: '\2022'; flex: none; color: var(--cyan-text); }
.development-intro { grid-column: 2; max-width: 62ch; color: var(--tx2); font-size: 17px; line-height: 1.65; }
.milestones { grid-column: 2; margin-top: 32px; border-top: 1px solid var(--line2); }
.milestone { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.when { padding-top: 3px; font: 400 12px/1.6 var(--mono); color: var(--tx3); font-variant-numeric: tabular-nums; }
.what { color: var(--tx); font-size: 16px; font-weight: 500; line-height: 1.45; }
.gloss { margin-top: 6px; color: var(--tx2); font-size: 14px; line-height: 1.6; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: var(--gap); padding: 64px var(--pad); background: var(--bg2); border-block: 1px solid var(--line2); }
.closing h2 { max-width: 19ch; font-size: 46px; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.closing p { max-width: 48ch; margin-top: 20px; color: var(--tx2); font-size: 16px; }
.closing .btn-secondary { flex: none; width: 220px; justify-content: center; min-height: 56px; }
.privacy { padding-top: 64px; color: var(--tx3); }
.privacy h2 { font-size: 20px; }
.privacy p { max-width: 80ch; font-size: 13px; line-height: 1.8; }
.privacy a { color: var(--tx2); text-decoration: underline; }
.foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin: 64px var(--pad) 0; padding: 28px 0 36px; border-top: 1px solid var(--line2); color: var(--tx2); font-size: 12px; }
.foot .dim { color: var(--tx3); font: 400 12px/1.7 var(--sans); }
.foot a { color: inherit; }
.foot a:hover { color: var(--cyan-text); text-decoration: underline; }

@media (min-width: 1000px) {
  .page { width: calc(100% - 48px); border-inline: 1px solid var(--line2); }
}

@media (max-width: 1199px) {
  :root { --margin-column: 190px; --column-gap: 40px; }
  .offer { grid-template-columns: minmax(0, 1fr) 380px; }
  .hero { padding-right: 36px; }
  h1 { font-size: 54px; }
  .lede { font-size: 16px; }
  .rail { padding: 20px; }
  .gate-name { font-size: 12px; overflow-wrap: anywhere; }
  .terms { grid-template-columns: 1fr; }
  .audience { max-width: none; }
  .plan-price { font-size: 32px; }
  .preorder-heading { flex-wrap: wrap; gap: 6px 12px; }
  .plan-lists { grid-template-columns: 1fr 1fr; gap: 28px; }
  .milestone { grid-template-columns: 136px minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 999px) {
  :root { --margin-column: 160px; --column-gap: 32px; }
  .offer { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'hero' 'rail' 'pricing'; }
  .hero { padding: 48px var(--pad) 40px; }
  h1 { max-width: 800px; font-size: clamp(48px, 7.5vw, 68px); }
  .lede { max-width: 66ch; margin-top: 24px; font-size: 18px; }
  .demo { margin-top: 32px; }
  .gate-name { font-size: 12px; overflow-wrap: normal; }
  .terms { grid-template-columns: 1fr 1fr; }
  .rail { margin: 0 var(--pad) 48px; padding: 28px; }
  .preorder-heading { justify-content: flex-start; gap: 16px; }
  .preorder-heading h2 { font-size: 30px; }
  .preorder-platform { font-size: 14px; }
  .plan-options { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plan-option { padding: 18px; }
  .plan-option + .plan-option { margin: 0; }
  .plan-price { font-size: 38px; }
  .plan-price s { font-size: 12px; }
  .checkout-summary { max-width: 75ch; font-size: 14px; }
  .checkout-status, .signup summary { font-size: 13px; }
  .btn-primary, .btn-secondary { font-size: 15px; }
  .signup summary { padding-block: 18px 0; min-height: 44px; }
  .request { max-width: 560px; }
  .field-head label { font-size: 14px; }
  .tag { font-size: 12px; }
  .plan-lists { grid-template-columns: 1fr; gap: 24px; }
  .plan-excludes { max-width: 60ch; }
  .prose .bright { font-size: 25px; }
  .shots h2 { font-size: 46px; }
  .shots figure { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 16px; }
  .shot-index { grid-column: 1; grid-row: 2; align-self: start; }
  .shot-frame { grid-column: 1; grid-row: 1; }
  .shots figcaption { grid-column: 1; grid-row: 2; max-width: 65ch; margin-left: 104px; }
  .capability-list { grid-template-columns: 1fr; }
  .milestone { grid-template-columns: 1fr; gap: 6px; }
  .when { padding-top: 0; }
  .closing h2 { font-size: 38px; }
}

@media (max-width: 599px) {
  :root { --pad: 24px; --gap: 72px; }
  .top { height: 72px; }
  .mark { width: 26px; height: 26px; }
  .brand-name { font-size: 21px; }
  .nav-preorder { gap: 10px; font-size: 12px; }
  .nav-preorder span { padding-left: 10px; }
  .hero { padding-top: 36px; padding-bottom: 32px; }
  h1 { font-size: clamp(36px, 9.5vw, 56px); line-height: 1.07; }
  .lede { margin-top: 24px; font-size: 16px; line-height: 1.65; }
  .demo { display: none; }
  .terms { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; padding-top: 20px; }
  .price strong { font-size: 18px; }
  .price > span { font-size: 13px; }
  .audience { font-size: 14px; }
  .rail { padding: 22px 18px; margin-bottom: 40px; }
  .preorder-heading { justify-content: space-between; gap: 10px; }
  .preorder-heading h2 { font-size: 26px; }
  .discount { font-size: 13px; }
  .preorder-platform { font-size: 12px; }
  .plan-options { grid-template-columns: 1fr; gap: 0; }
  .plan-option { padding: 18px 12px; }
  .plan-option + .plan-option { margin-top: -1px; }
  .plan-price { font-size: 36px; }
  .plan-price s { font-size: 12px; }
  .checkout-summary { font-size: 13px; }
  .checkout-status { font-size: 12px; }
  .signup summary { font-size: 12px; }
  .field-head { gap: 8px; }
  .field-head label { font-size: 13px; }
  .tag { font-size: 12px; }
  .pricing, .section, .privacy { grid-template-columns: 1fr; gap: 24px; }
  .pricing { padding-block: 32px; }
  .pricing h2 { max-width: 18ch; font-size: 26px; }
  .plan-lists { gap: 24px; }
  .plan-includes, .plan-excludes { font-size: 14px; }
  .section > h2 { max-width: none; font-size: 28px; }
  .prose { gap: 20px; font-size: 16px; line-height: 1.75; }
  .prose .bright { font-size: 24px; line-height: 1.4; margin-bottom: 4px; }
  .shots { padding-top: 40px; padding-bottom: 40px; }
  .shots h2 { margin-bottom: 32px; font-size: 40px; }
  .shots-list { gap: 36px; }
  .shots figure { gap: 12px; padding-top: 16px; }
  .shot-index { grid-row: 1; font-size: 12px; }
  .shot-frame { grid-row: 2; margin-inline: -12px; }
  .shots figcaption { grid-row: 3; margin-left: 0; font-size: 14px; }
  .capability-list { font-size: 15px; }
  .capability-list li { padding-block: 18px; }
  .development-intro { grid-column: 1; font-size: 16px; }
  .milestones { grid-column: 1; margin-top: 4px; }
  .milestone { padding-block: 20px; gap: 8px; }
  .when { font-size: 12px; }
  .what { font-size: 16px; }
  .gloss { font-size: 14px; }
  .closing { flex-direction: column; align-items: flex-start; gap: 28px; padding-block: 40px; }
  .closing h2 { font-size: 36px; }
  .closing p { margin-top: 16px; font-size: 15px; }
  .closing .btn-secondary { width: 100%; min-height: 52px; }
  .privacy { padding-top: 40px; gap: 16px; }
  .privacy p { font-size: 12px; }
  .foot { margin-top: 40px; padding-bottom: 28px; font-size: 12px; }
  .foot .dim { font-size: 12px; }
}

.legal { max-width: 880px; margin-inline: auto; padding: 48px var(--pad) 64px; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal > p { margin-top: 16px; }
.legal section { margin-top: 40px; }
.legal section p { margin-top: 16px; }
.legal a { text-decoration: underline; }
.withdrawal-fields { display: grid; gap: 20px; }
.withdrawal textarea { width: 100%; padding: 12px; border: 1px solid var(--line2); border-radius: 3px; color: var(--tx); background: var(--bg0); font: inherit; resize: vertical; }
.withdrawal textarea:focus { border-color: var(--cyan-text); }
.withdrawal dl { margin-top: 24px; }
.withdrawal dt { margin-top: 16px; color: var(--tx2); }
.withdrawal dd { margin: 4px 0 0; white-space: pre-wrap; }
.withdrawal-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.withdrawal-actions .btn-primary { width: auto; }

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