@font-face { font-family: "New Edge 666"; src: url("fonts/NewEdge666-LightRounded.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "ABC Diatype"; src: url("fonts/ABCDiatype-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
:root {
  --sky-top: #0D1E66; --cobalt-night: #122B8F; --cobalt: #1B3EC2; --ice: #ECF2FE; --paper: #FFFFFF;
  --mint: #7FE0AE; --mint-ink: #0A4229; --night-glass: #0C1858; --coral: #FF8573;
  --season-pre: #EFD9A7; --season-post: #8FB5F2; --season-peri: #B8A48A;
  --night-card: rgba(12,24,88,.35); --night-card-stroke: rgba(236,242,254,.15); --hairline: rgba(236,242,254,.14);
  --text-2: rgba(236,242,254,.8); --text-3: rgba(236,242,254,.7);
  --title: "New Edge 666", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "ABC Diatype", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* the grid: 12 columns, 24px gutters, 24px margins, 1104px content, 8px baseline */
  --margin: 24px; --gutter: 24px; --content: 1104px; --base: 8px;
  --section: clamp(96px, 11vw, 144px);
  --ease: cubic-bezier(.16,1,.3,1);
}
@media (max-width: 640px) { :root { --gutter: 16px; } }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; overflow-x: clip; background: var(--cobalt); color: var(--ice); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky-top) 0%, var(--cobalt-night) 55%, var(--cobalt) 100%); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2 { font-family: var(--title); font-weight: 300; letter-spacing: -.03em; color: var(--paper); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.6vw, 92px); line-height: .96; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--text-2); }
.body { font-size: clamp(17px, 1.35vw, 19px); color: var(--text-2); }
h2 + .lead, h2 + .body, h1 + .lead { margin-top: calc(var(--base) * 3); }

/* grid */
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); max-width: calc(var(--content) + var(--margin) * 2); margin: 0 auto; padding: 0 var(--margin); }
.c1-3 { grid-column: 1 / 4; } .c1-4 { grid-column: 1 / 5; } .c1-5 { grid-column: 1 / 6; } .c1-6 { grid-column: 1 / 7; } .c1-7 { grid-column: 1 / 8; } .c1-8 { grid-column: 1 / 9; } .c1-12 { grid-column: 1 / -1; }
.c3-10 { grid-column: 3 / 11; } .c5-12 { grid-column: 5 / -1; } .c7-12 { grid-column: 7 / -1; } .c8-12 { grid-column: 8 / -1; }
@media (max-width: 899px) { .g > [class*="c"] { grid-column: 1 / -1; } .stop .txt { order: -1; } }
section { padding-top: var(--section); }

/* top */
.top .g { height: 64px; align-items: center; }
.wm { font-size: 13px; letter-spacing: .3em; color: var(--text-3); text-decoration: none; grid-column: 1 / -1; }

/* hero */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--base) * 6); }
.hero .stars { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ice); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero .stars { animation: drift 160s linear infinite; } }
@keyframes drift { to { transform: translateY(-40px); } }
.hero .g { position: relative; align-items: start; }
.hero .copy { padding-top: calc(var(--base) * 6); }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 30ch; }
.hero .device { margin-top: calc(var(--base) * 6); -webkit-mask-image: linear-gradient(#000 60%, transparent 96%); mask-image: linear-gradient(#000 60%, transparent 96%); }
@media (min-width: 900px) { .hero .device { margin-top: 0; justify-self: end; width: min(100%, 420px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .device { opacity: 0; transform: translateY(48px); animation: rise 1.4s var(--ease) .15s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* the device: a drawn iPhone around a real capture */
/* interim drawn frame; the founder wants a photographic device, see README */
.device { position: relative; width: min(100%, 400px); margin: 0 auto; border-radius: 66px; padding: 12px; background: linear-gradient(160deg, #3A3F57 0%, #181C31 45%, #0B1026 100%); box-shadow: inset 0 0 0 1.5px rgba(236,242,254,.22), 0 48px 110px -20px rgba(8,16,64,.85); }
.device::before, .device::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2B3048; }
.device::before { left: -3px; top: 17%; height: 24%; background: linear-gradient(#2B3048 0 22%, transparent 22% 34%, #2B3048 34% 64%, transparent 64% 76%, #2B3048 76% 100%); }
.device::after { right: -3px; top: 24%; height: 14%; }
.device .screen { border-radius: 54px; overflow: hidden; background: var(--night-glass); }
.device.small { width: min(100%, 340px); border-radius: 58px; padding: 10px; }
.device.small .screen { border-radius: 48px; }
.device.crop { max-height: 560px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); mask-image: linear-gradient(#000 72%, transparent 100%); }
.device.crop::before, .device.crop::after { display: none; }

/* a windowed crop from the app, the deck's own device */
.windows { display: grid; gap: calc(var(--base) * 3); }
.window { border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--hairline), 0 32px 80px -24px rgba(8,16,64,.8); background: var(--cobalt); }

/* form */
.form { margin-top: calc(var(--base) * 4); max-width: 520px; }
.form .row { display: flex; flex-wrap: wrap; gap: 10px; }
.form input[type=email] { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(236,242,254,.28); background: rgba(12,24,88,.35); color: var(--ice); font: inherit; font-size: 17px; transition: border-color .2s; }
@media (max-width: 520px) { .form .btn { width: 100%; } }
.form input::placeholder { color: rgba(236,242,254,.5); }
.form input:focus { outline: none; border-color: var(--mint); }
.form input:focus-visible { box-shadow: 0 0 0 3px rgba(127,224,174,.25); }
.btn { height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font: inherit; font-size: 16px; cursor: pointer; white-space: nowrap; transition: transform .1s ease-out, opacity .1s; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: scale(.975); opacity: .88; }
.btn:focus-visible { outline: 3px solid rgba(127,224,174,.45); outline-offset: 2px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.receipt { margin-top: 12px; font-size: 14px; color: var(--text-3); }
.err { display: none; margin-top: 10px; font-size: 14px; color: #FFC2B8; }
.err.show { display: block; }
.seasons .q { font-size: 15px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px; border: 1.5px solid rgba(236,242,254,.25); color: var(--paper); font-size: 15px; cursor: pointer; user-select: none; background: transparent; font-family: inherit; transition: border-color .15s; }
.chip:hover { border-color: rgba(236,242,254,.5); }
.chip .ring { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(236,242,254,.35); flex: none; }
.chip[aria-pressed=true] { border-color: rgba(127,224,174,.6); }
.chip[aria-pressed=true] .ring { border: 0; background: var(--mint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%230A4229' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/11px no-repeat; }
.chip:focus-visible { outline: 3px solid rgba(127,224,174,.45); outline-offset: 2px; }
.done { display: none; }
.done h3 { font-family: var(--title); font-weight: 300; letter-spacing: -.03em; font-size: 34px; line-height: 1; margin: 0; color: var(--paper); }
.done p { margin-top: 12px; color: var(--text-2); }
.form.is-done .row, .form.is-done .receipt, .form.is-done .seasons { display: none; }
.form.is-done .done { display: block; }
.hp { position: absolute; left: -9999px; }

/* ruled lists: the page's one list shape */
.rule { list-style: none; margin: calc(var(--base) * 5) 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.rule li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gutter); padding: calc(var(--base) * 3) 0; border-bottom: 1px solid var(--hairline); }
.rule b { font-weight: 400; font-size: 21px; color: var(--paper); line-height: 1.25; }
.rule span { color: var(--text-2); align-self: center; }
.rule.plain li { grid-template-columns: 1fr; padding: calc(var(--base) * 2) 0; }
.rule.plain b { font-size: 19px; }
@media (max-width: 640px) { .rule li { grid-template-columns: 1fr; row-gap: 4px; } }
.rule .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.rule .state { display: block; margin-top: 4px; font-size: 14px; color: var(--text-3); }
.more { display: inline-block; margin-top: calc(var(--base) * 3); color: var(--ice); text-decoration: none; border-bottom: 1px solid rgba(236,242,254,.35); padding-bottom: 2px; transition: border-color .2s; }
.more:hover { border-color: var(--ice); }

/* the App Store label */
.label { margin-top: calc(var(--base) * 5); display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 26px 26px 24px; border-radius: 18px; background: var(--night-card); border: 1.5px solid var(--night-card-stroke); }
.label svg { width: 56px; height: 56px; }
.label b { display: block; font-weight: 400; font-size: 22px; color: var(--paper); }
.label span { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.label small { display: block; margin-top: 12px; font-size: 14px; color: var(--text-3); }

/* stops */
.stop .g { align-items: start; }
.stop .device, .stop .window { margin-top: calc(var(--base) * 5); }
@media (min-width: 900px) { .stop .device, .stop .window { margin-top: 0; } .stop .txt { padding-top: calc(var(--base) * 6); } }

/* price */
.price p { text-align: center; font-size: clamp(22px, 2.6vw, 30px); color: var(--text-2); line-height: 1.3; }
.price b { font-weight: 400; color: var(--paper); }

/* founder */
.portrait { width: 200px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--night-glass); box-shadow: 0 0 0 1.5px rgba(236,242,254,.22); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder .name { margin-top: 18px; font-family: var(--title); font-weight: 300; font-size: 30px; color: var(--paper); letter-spacing: -.02em; }
.founder .role { font-size: 14px; color: var(--text-3); }
.note p { margin-top: calc(var(--base) * 3); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--ice); max-width: 58ch; }
.note { margin-top: calc(var(--base) * 5); }
@media (min-width: 900px) { .note { margin-top: 0; } }

/* close and footer */
.close { padding-bottom: calc(var(--base) * 12); }
footer { border-top: 1px solid var(--hairline); padding: 28px 0 44px; font-size: 14px; color: var(--text-3); }
footer .g > span { grid-column: 1 / -1; }
@media (min-width: 640px) { footer .g > span:first-child { grid-column: 1 / 6; } footer .g > span:last-child { grid-column: 6 / -1; text-align: right; } }
footer a { text-decoration: none; }
footer a:hover { color: var(--ice); }

/* join page */
.join { min-height: 100vh; display: flex; flex-direction: column; }
.join main { flex: 1; padding: 40px 0 80px; }
.join h1 { font-size: clamp(40px, 7vw, 64px); }

/* reading pages: terms, privacy */
.read { padding: 40px 0 96px; }
.read h1 { font-size: clamp(40px, 6vw, 64px); }
.read .updated { margin-top: 12px; font-size: 15px; color: var(--text-3); }
.read h2 { font-size: 28px; margin-top: 56px; }
.read h3 { font-size: 20px; margin-top: 32px; color: var(--ice); }
.read p { margin-top: 16px; max-width: 62ch; color: var(--text-2); font-size: 18px; overflow-wrap: anywhere; }
.read .sub { padding-left: 24px; }
.read address { margin-top: 16px; font-style: normal; color: var(--text-2); font-size: 18px; line-height: 1.5; }
.read a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.read .vin { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
.read .versions { display: inline-flex; margin-top: 24px; padding: 3px; border-radius: 999px; background: var(--night-card); border: 1.5px solid var(--night-card-stroke); }
.read .versions label { padding: 9px 18px; border-radius: 999px; font-size: 15px; line-height: 1.2; color: var(--text-2); cursor: pointer; }
#v-normal:checked ~ .versions label[for="v-normal"], #v-legal:checked ~ .versions label[for="v-legal"] { background: var(--mint); color: var(--mint-ink); }
#v-normal:focus-visible ~ .versions label[for="v-normal"], #v-legal:focus-visible ~ .versions label[for="v-legal"] { outline: 2px solid var(--mint); outline-offset: 2px; }
#v-normal:checked ~ .legal, #v-legal:checked ~ .normal { display: none; }
.read .governs { margin-top: 12px; font-size: 15px; color: var(--text-3); }
.read .normal ol { margin: 16px 0 0; padding-left: 22px; max-width: 62ch; color: var(--text-2); font-size: 18px; }
.read .normal li { margin-top: 8px; }
@media print { .read .versions, .read .governs, .read .normal { display: none !important; } .read .legal { display: block !important; } }
