/* Lumen Suite: one light, many rooms.
   The Lumen mark is the one light source. In dark mode it is cool white and
   lights the type it passes. The site is dark only. In-app windows (.win, not
   the film) are white surfaces, and Hairline figures use the white, filled
   Lumen set. Lumi's warm light appears only where Lumi is.
   Link after tokens.css. The mark and Lumi are the only things that spring. */

@view-transition { navigation: auto; }

:root {
  color-scheme: dark;
  --bg: var(--ink-950); --bg-rgb: 10 10 10;
  --bg-2: var(--ink-900);
  --bg-3: var(--ink-850);
  --fg: var(--ink-25); --fg-hover: #ffffff;
  --mid: var(--ink-300);
  --dim: var(--ink-400);
  --line: rgb(255 255 255 / 0.10);
  --line-2: rgb(255 255 255 / 0.22);
  --ink-mark: #ffffff;
  --glow: 255 255 255; --glow-a: 0.075;
  --lit-0: #ffffff; --lit-1: #f4f4f4; --lit-2: #dcdcdc; --lit-3: #a3a3a3;
  --lit-dim-0: #e6e6e6; --lit-dim-1: #b4b4b4; --lit-dim-2: #7c7c7c;
  --mark-shadow: drop-shadow(0 0 10px rgb(255 255 255 / 0.35));
  --win-shadow: 0 40px 120px -40px rgb(0 0 0 / 0.9);
  --gut: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);

  /* Lumi's palette, used where Lumi is. */
  --lumi-body-hi: #fffefa; --lumi-body: #fff6e6; --lumi-body-edge: #f4d9aa; --lumi-glow: #ffbd5e;
  --lumi-ray: #fff0d0; --lumi-ink: #17120c; --lumi-catch: #ffffff; --lumi-blush: rgba(255, 122, 96, 0.55); --lumi-sweat: #d7ecff;
  --warm: 255 189 94;

  /* Hairline figures: white, filled plates with black lines, on the dark page.
     lo (faint detail lines and off dots) stays a dark grey so it still reads as secondary. */
  --hairline-plate: #ffffff;
  --hairline-hi: #000000;
  --hairline-edge: #0a0a0a;
  --hairline-mid: #0a0a0a;
  --hairline-lo: #6b6b70;

  /* Written every frame by light.js. */
  --lx: 72vw; --ly: 42vh; --lr: 420px; --lg: 0.7;
  --vt-dir: 1;
}
/* In-app screenshots are white, like the product itself. The film keeps its own frame. */
.win:not(.film) {
  color-scheme: light;
  --bg: #f4f4f2;
  --bg-2: #ffffff;
  --bg-3: #e9e9e6;
  --fg: var(--ink-950); --fg-hover: #000000;
  --mid: var(--ink-600);
  --dim: var(--ink-500);
  --line: rgb(0 0 0 / 0.10);
  --line-2: rgb(0 0 0 / 0.22);
  --color-success: #15803d;
  --color-danger: #b91c1c;
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; min-height: 100svh; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color 400ms, color 400ms;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--fg); color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---- The room: a pool of light around the mark, dust in it --------------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle calc(var(--lr) * 1.5) at var(--lx) var(--ly),
    rgb(var(--glow) / calc(var(--lg) * var(--glow-a))), rgb(var(--glow) / calc(var(--lg) * var(--glow-a) * 0.3)) 45%, rgb(var(--glow) / 0) 72%);
}
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .bar, .foot { position: relative; z-index: 1; }

/* ---- The lamp: the Lumen mark, one light across every page --------------- */
.lamp { position: fixed; left: 0; top: 0; z-index: 60; width: 140px; height: 140px; pointer-events: none; will-change: transform; contain: layout; }
.lamp.is-behind { z-index: 0; } /* the halo sits behind Lumi */
.mark { width: 100%; height: 100%; overflow: visible; --warm: 0; }
.mark line { stroke: color-mix(in srgb, var(--ink-mark) calc(100% - var(--warm) * 100%), var(--lumi-glow)); }
.mark-core { fill: var(--ink-mark); }
/* At rest as the logo the official spoke paths show; the strokes take over when it moves. */
.mark-true { fill: var(--ink-mark); opacity: 0; transition: opacity 140ms; }
.mark-spokes { transition: opacity 140ms; }
.mark.is-exact .mark-true { opacity: 1; }
.mark.is-exact .mark-spokes { opacity: 0; }
.lamp .mark { filter: var(--mark-shadow) drop-shadow(0 0 calc(var(--warm) * 18px) rgb(var(--warm) / calc(var(--warm) * 0.7))); }

.lamp { view-transition-name: lamp; }
.bar { view-transition-name: bar; }
::view-transition { background: var(--bg); }
::view-transition-old(root) { animation: vt-swipe-out 640ms cubic-bezier(0.65, 0, 0.35, 1) both; }
::view-transition-new(root) { animation: vt-swipe-in 640ms cubic-bezier(0.65, 0, 0.35, 1) both; }
::view-transition-group(lamp), ::view-transition-group(bar) { animation-duration: 640ms; }
::view-transition-old(bar), ::view-transition-new(bar) { animation-duration: 320ms; }
@keyframes vt-swipe-out { to { transform: translateX(calc(var(--vt-dir, 1) * -100%)); } }
@keyframes vt-swipe-in { from { transform: translateX(calc(var(--vt-dir, 1) * 100%)); } }


/* ---- Lit type: strongest nearest the mark --------------------------------- */
.lit { color: var(--lit-3); padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em; }
.js .lit {
  background-image: radial-gradient(circle var(--lr) at var(--mx, -2000px) var(--my, -2000px), var(--lit-0) 0, var(--lit-1) 18%, var(--lit-2) 38%, var(--lit-3) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lit--dim { color: var(--lit-dim-2); }
.js .lit--dim { background-image: radial-gradient(circle var(--lr) at var(--mx, -2000px) var(--my, -2000px), var(--lit-dim-0) 0, var(--lit-dim-1) 30%, var(--lit-dim-2) 70%); }
.lit--warm { color: #bfa98a; }
.js .lit--warm { background-image: radial-gradient(circle var(--lr) at var(--mx, -2000px) var(--my, -2000px), #fffaf0 0, #ffe0a8 16%, #e3c99e 36%, #a89272 72%); }

/* ---- Bar ---------------------------------------------------------------------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 18px var(--gut); isolation: isolate; }
.bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -120px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(var(--bg-rgb) / 0.72) 0%, rgb(var(--bg-rgb) / 0.6) 35%, rgb(var(--bg-rgb) / 0.34) 62%, rgb(var(--bg-rgb) / 0.12) 82%, rgb(var(--bg-rgb) / 0) 100%);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.brand { margin-right: auto; display: inline-flex; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--mid); padding: 10px 14px; border-radius: 999px; transition: color 200ms, background-color 200ms; }
.nav a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.nav a[aria-current="page"], .nav a.is-here { color: var(--fg); background: color-mix(in srgb, var(--fg) 9%, transparent); }
.bar-cta { overflow: hidden; white-space: nowrap; justify-content: center; flex: none; transition: background-color 400ms, color 400ms, box-shadow 400ms; }
.bar-cta.is-warm { background: var(--lumi-body); color: var(--lumi-ink); box-shadow: 0 0 0 1px rgb(var(--warm) / 0.5), 0 0 24px rgb(var(--warm) / 0.35); }
.bar-cta-t { display: inline-block; }
@media (max-width: 900px) {
  .bar { padding: 14px 16px; gap: 10px; }
  .bar .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .brand img { height: 21px; }
    .nav {
    position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%);
    background: color-mix(in srgb, var(--bg-3) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: max-content; max-width: calc(100vw - 24px);
    overflow-x: auto; scrollbar-width: none; gap: 0;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 9px; font-size: 12.5px; white-space: nowrap; }
  .foot { padding-bottom: 96px; }
}
@media (max-width: 420px) { .bar .bar-cta { padding: 0 12px; font-size: 13px; } }

/* ---- Type and atoms ------------------------------------------------------------ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--dim); margin: 0; }
.d1 { font-size: clamp(44px, 7vw, 112px); line-height: 1.0; letter-spacing: -0.05em; font-weight: 600; margin: 0; }
.d2 { font-size: clamp(34px, 5vw, 80px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; margin: 0; }
.d3 { font-size: clamp(28px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600; margin: 0; }
.d4 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; margin: 0; }
.ln { display: block; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mid); max-width: 36rem; margin: 0; }
.note { font-size: 13px; color: var(--dim); margin: 0; }
.body { color: var(--mid); margin: 0; max-width: 34rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 6px; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform 200ms var(--ease), background-color 200ms, color 200ms, box-shadow 200ms;
}
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light:hover { background: var(--fg-hover); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.btn--warm { background: var(--lumi-body); color: var(--lumi-ink); box-shadow: inset 0 0 0 1px rgb(var(--warm) / 0.45); }
.btn--warm:hover { background: var(--lumi-body-hi); }
.btn .arr { transition: transform 240ms var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--mid); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--color-success, #22a35a); }
.status--soon { color: var(--mid); }
.status--req { color: var(--color-info, #3b82f6); }

.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--mid); padding: 8px 14px; min-height: 40px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.spot { aspect-ratio: 1; width: 100%; pointer-events: none; }

.js .rise { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rise.in { opacity: 1; transform: none; }

/* ---- Sections ---------------------------------------------------------------- */
.sec { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(48px, 8vh, 96px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 240px); gap: 32px; align-items: end; }
.sec-head .lede { margin-top: 20px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head .spot { max-width: 110px; order: -1; } }

.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.6fr); gap: 40px; align-items: center; padding-top: 120px; padding-bottom: 80px; }
.hero .eyebrow { margin-bottom: 24px; display: flex; align-items: center; flex-wrap: wrap; }
.hero .lede { margin-top: 28px; }
.hero .row { margin-top: 36px; }
.hero-spot { max-width: 300px; justify-self: center; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 110px; } .hero-spot { max-width: 130px; order: -1; justify-self: start; } }

.points { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 32px; }
.points li { border-top: 1px solid var(--line-2); padding: 20px 0 28px; }
.points h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 8px; }
.points p { margin: 0; color: var(--mid); font-size: 16px; }
.points .k { font-size: 13px; color: var(--dim); display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } }

/* Hairline figures: a 5:4 stage, theme-aware */
.figure { width: 100%; container-type: inline-size; }
/* Line weight scales with the figure: 0.9 px at the live site's ~210 px card size, so a
   bigger figure keeps the same weight (about 1.25 px at 290 px, 2 px at 460 px). */
.figure [data-hairline] { width: 100%; --hairline-stroke: max(0.9px, 0.43cqi); }
/* Unfilled outlines float on the dark page, not on a white plate (the globe's rings, the lighthouse beam):
   black would vanish there, so they keep the light grey. */
.figure [data-hairline] svg .nf.sil, .figure [data-hairline] svg .nf.hi { stroke: #c3c3c9; }
.fig-cap { margin-top: 10px; font-size: 13px; color: var(--dim); }

.faq { margin-top: 48px; border-top: 1px solid var(--line-2); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); position: relative; }
/* Where the mark lands for each question: just left of the + */
.faq-spot { position: absolute; right: 44px; top: 14px; width: 48px; }
.faq summary { padding-right: 104px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-weight: 400; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; color: var(--mid); max-width: 44rem; }
.faq details[open] p { animation: faq-in 420ms var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

.start { padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(80px, 12vh, 140px); }
.start-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 260px); gap: 40px; align-items: center; }
.start .lede { margin-top: 24px; }
.start .row { margin-top: 36px; }
@media (max-width: 760px) { .start-in { grid-template-columns: 1fr; } .start-in .spot { max-width: 120px; order: -1; } }

.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { height: 24px; width: auto; }
.foot-tag { margin: 16px 0 0; color: var(--dim); font-size: 14px; }
.foot h2 { font-size: 13px; font-weight: 500; color: var(--dim); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.foot a { text-decoration: none; color: var(--mid); }
.foot a:hover { color: var(--fg); }
.foot-legal { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; color: var(--dim); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

.win { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--win-shadow); }
.win-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.win-head b { color: var(--mid); font-weight: 500; }
.win-head .grow { margin-right: auto; }

.callout { margin-top: 48px; padding: 22px 24px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); max-width: 52rem; }
.callout p { margin: 0; color: var(--mid); }
.callout b { color: var(--fg); font-weight: 600; }
.callout a { color: var(--fg); }
.ib { min-height: 40px; padding: 0 14px; border-radius: 6px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 200ms, box-shadow 200ms; }
.ib:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.ib--yes { background: var(--fg); color: var(--bg); box-shadow: none; }
.ib--yes:hover { background: var(--fg-hover); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .faq details[open] p { animation: none; }
}
