/* Layout: one column, 1040px wide, sections separated by space not rules; the ring is the only picture. */
:root {
  --bg: #0E0E12; --surface: #16161C; --surface-2: #1E1E26; --line: #2A2A34; --line-2: #3A3A46;
  --fg: #F2F1F7; --fg-2: #A09FAE; --fg-3: #6C6B7A;
  --ring: #8B83F0; --ring-deep: #5B52C9; --notch: #F07A4F; --flow: #2BC48A; --break: #5BB2F0; --amber: #F0B34F;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F6F5F2; --surface: #FFFFFF; --surface-2: #EEEDE9; --line: #DDDBD5; --line-2: #C9C7C0;
    --fg: #17161C; --fg-2: #5A5966; --fg-3: #8B8A97; --ring: #6A61DB; --ring-deep: #4B43B8;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #F6F5F2; --surface: #FFFFFF; --surface-2: #EEEDE9; --line: #DDDBD5; --line-2: #C9C7C0;
  --fg: #17161C; --fg-2: #5A5966; --fg-3: #8B8A97; --ring: #6A61DB; --ring-deep: #4B43B8;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--fg-2); max-width: 36em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ring); }
.muted { color: var(--fg-2); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
section { padding-block: 72px; }
section + section { border-top: 0.5px solid var(--line); }
.stack { display: grid; gap: 16px; }
.cols { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .cols, .cols-2, .cols-4 { grid-template-columns: 1fr; } section { padding-block: 52px; } }
.card { background: var(--surface); border: 0.5px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--fg-2); font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 500; font-size: 15px; text-decoration: none; border: 0.5px solid var(--line-2); background: var(--surface); color: var(--fg); cursor: pointer; font-family: inherit; }
.btn:hover { border-color: var(--ring); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn.primary { background: var(--ring); border-color: var(--ring); color: #0E0E12; }
.btn.primary:hover { background: var(--ring-deep); border-color: var(--ring-deep); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px; border: 0.5px solid var(--line-2); color: var(--fg-2); white-space: nowrap; }
.chip.live { color: var(--flow); border-color: color-mix(in srgb, var(--flow) 50%, transparent); }
.chip.soon { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 50%, transparent); }
.chip.mac { color: var(--break); border-color: color-mix(in srgb, var(--break) 50%, transparent); }
.note { border-left: 3px solid var(--amber); padding: 10px 14px; background: color-mix(in srgb, var(--amber) 8%, transparent); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--fg-2); }
.note b { color: var(--fg); font-weight: 600; }

/* Nav */
nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--line); }
nav .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
nav .links { display: flex; gap: 18px; margin-left: auto; font-size: 14px; color: var(--fg-2); }
nav .links a { text-decoration: none; }
nav .links a:hover { color: var(--fg); }
@media (max-width: 760px) { nav .links a:not(.keep) { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 56px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-block: 44px 40px; } }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--fg-3); }
.ring-wrap { display: grid; place-items: center; }
.ring { width: min(100%, 360px); aspect-ratio: 1; max-width: 100%; }
.ring .track { stroke: var(--line-2); }
.ring .arc { stroke: url(#band); stroke-linecap: round; transform-origin: 50% 50%; transform: rotate(-90deg); stroke-dasharray: 100 100; stroke-dashoffset: 70.8; }
.ring .halo { stroke: var(--ring); opacity: 0.45; }
.ring .notch { stroke: var(--notch); stroke-linecap: round; }
.ring .pip { fill: var(--ring); }
.ring .time { font-family: var(--mono); font-size: 30px; font-weight: 500; fill: var(--fg); font-variant-numeric: tabular-nums; }
.ring .task { font-family: var(--font); font-size: 10.5px; fill: var(--fg-2); }


/* Shots: a screenshot in a tilted frame with drifting orbs behind it. */
.shot { position: relative; perspective: 1200px; padding: 24px 8px; min-width: 0; }
.shot .orb { position: absolute; border-radius: 50%; filter: blur(42px); opacity: 0.55; pointer-events: none; }
.shot .orb.a { width: 56%; aspect-ratio: 1; background: var(--ring); left: -8%; top: -6%; animation: drift 16s ease-in-out infinite; }
.shot .orb.b { width: 38%; aspect-ratio: 1; background: var(--notch); right: -6%; bottom: -4%; opacity: 0.35; animation: drift 21s ease-in-out infinite reverse; }
.shot .orb.c { width: 30%; aspect-ratio: 1; background: var(--break); right: 20%; top: -10%; opacity: 0.25; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.08); } }
.shot .frame { position: relative; border-radius: 14px; padding: 1px; background: linear-gradient(135deg, color-mix(in srgb, var(--ring) 60%, transparent), color-mix(in srgb, var(--line-2) 40%, transparent) 40%, color-mix(in srgb, var(--notch) 45%, transparent)); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6), 0 0 0 0.5px var(--line); transform: rotateY(-8deg) rotateX(3deg); transform-origin: 50% 50%; transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.shot.left .frame { transform: rotateY(8deg) rotateX(3deg); }
.shot:hover .frame { transform: rotateY(0) rotateX(0); }
.shot .frame img, .shot .frame .ph { display: block; width: 100%; height: auto; border-radius: 13px; background: var(--surface); }
.shot .frame .ph { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--fg-3); font-family: var(--mono); font-size: 12px; text-align: center; padding: 20px; }
.shot .cap { margin-top: 12px; font-size: 12.5px; color: var(--fg-3); font-family: var(--mono); }
@media (prefers-reduced-motion: reduce) { .shot .orb { animation: none; } .shot .frame { transform: none; } }

/* Click a shot to see it flat and large. */
.shot .frame { cursor: zoom-in; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); width: auto; }
dialog.lightbox::backdrop { background: rgba(10, 10, 14, 0.9); backdrop-filter: blur(6px); }
dialog.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
dialog.lightbox img { max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); cursor: zoom-out; }
dialog.lightbox figcaption { color: var(--fg-2); font-family: var(--mono); font-size: 12.5px; text-align: center; max-width: 60em; }
dialog.lightbox .hint { color: var(--fg-3); font-size: 11.5px; }

/* Doors */
.door { position: relative; }
.door .who { font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; }
.door ul { margin: 4px 0 0; padding-left: 18px; color: var(--fg-2); font-size: 15px; display: grid; gap: 4px; }
.door .plan { margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--fg-3); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { display: grid; gap: 8px; min-width: 0; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--mono); color: var(--ring); font-size: 13px; }
.step p { color: var(--fg-2); font-size: 15px; }

/* Receipt */
.receipt { background: var(--surface); border: 0.5px solid var(--line); border-radius: 12px; padding: 18px 20px; font-family: var(--mono); font-size: 13.5px; display: grid; gap: 6px; max-width: 420px; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; }
.receipt .row span:last-child { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.receipt .total { border-top: 0.5px dashed var(--line-2); padding-top: 8px; margin-top: 4px; color: var(--fg); }
.receipt .flag { color: var(--notch); }

/* Spec table */
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; font-size: 15px; }
.spec dt { font-family: var(--mono); font-size: 13px; color: var(--fg-3); padding-top: 2px; }
.spec dd { margin: 0; color: var(--fg-2); min-width: 0; }
.spec dd b { color: var(--fg); font-weight: 500; }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; gap: 2px 0; } .spec dd { margin-bottom: 10px; } }

/* Integrations */
.grid-int { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.int { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 0.5px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14.5px; min-width: 0; }
.int span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; }

/* Pricing */
.price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.price small { font-size: 14px; color: var(--fg-3); font-weight: 400; letter-spacing: 0; }
.tier ul { margin: 0; padding-left: 18px; color: var(--fg-2); font-size: 14.5px; display: grid; gap: 4px; }
.tier.featured { border-color: var(--ring); }

/* Form */
form.apply { display: grid; gap: 10px; max-width: 460px; }
form.apply input, form.apply select { font: inherit; padding: 11px 12px; border-radius: 10px; border: 0.5px solid var(--line-2); background: var(--surface); color: var(--fg); width: 100%; }
form.apply label { font-size: 13px; color: var(--fg-2); display: grid; gap: 5px; }
.thanks { display: grid; gap: 6px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--flow) 10%, transparent); border: 0.5px solid color-mix(in srgb, var(--flow) 40%, transparent); font-size: 14.5px; }

/* FAQ */
details { border-top: 0.5px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 0.5px solid var(--line); }
summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--fg-3); font-family: var(--mono); }
details[open] summary::after { content: "–"; }
details p { color: var(--fg-2); font-size: 15px; margin-top: 8px; max-width: 60em; }

footer { padding-block: 40px 56px; border-top: 0.5px solid var(--line); color: var(--fg-3); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { text-decoration: none; color: var(--fg-2); }
