@font-face {
  font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../styles/fonts/archivo-latin.woff2') format('woff2');
}
/* Local names for the shared tokens (packages/shared/src/design/tokens.css).
   On this page --violet is the light violet ink used for marks on dark. */
:root {
  color-scheme: dark;
  --bg: var(--dm-ground); --ink: var(--dm-ink); --muted: var(--dm-prose-muted); --edge: var(--dm-edge-solid);
  --violet: var(--dm-violet-ink); --cyan: var(--dm-cyan); --magenta: var(--dm-magenta);
  --gutter: clamp(24px, 6.8vw, 112px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; scrollbar-color: #4b5367 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 Archivo, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: #9165ff; color: white; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; border: 1px solid var(--edge); background: #171c29; border-radius: 8px; min-height: 44px; padding: 8px 13px; transition: background .2s, border-color .2s; }
button:hover { background: #252c3d; border-color: #6b7284; }
button[aria-pressed=true] { background: #302448; border-color: #ad90f4; color: #f5edff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 580; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(54px, 6.7vw, 96px); }
h2 { font-size: clamp(34px, 3.3vw, 49px); }
p { text-wrap: pretty; }
img { display: block; width: 100%; height: auto; }
small { font-size: 12px; }
select { max-width: 100%; width: 100%; min-height: 44px; padding: 8px 30px 8px 10px; background: #161b28; color: var(--ink); border: 1px solid #424b60; border-radius: 8px; }
input { accent-color: #b49aff; caret-color: var(--violet); }
input[type=range] { width: 100%; min-width: 0; }
input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; }
label { color: var(--muted); font-size: 13px; }
button, a, summary { touch-action: manipulation; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 15px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.bar { height: 84px; position: relative; z-index: 10; padding: 0 var(--gutter); display: flex; align-items: center; gap: 36px; border-bottom: 1px solid #1d2230; background: var(--bg); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.15; font-size: 22px; font-weight: 600; letter-spacing: -.03em; flex-shrink: 0; }
.brand img { width: 30px; height: 28px; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 450; letter-spacing: 0; margin-top: 4px; }
.bar nav { display: flex; gap: 30px; margin-left: auto; font-size: 13px; }
.bar nav a { color: var(--muted); text-decoration: none; padding: 13px 0; }
.bar nav a[aria-current] { color: var(--ink); }
.bar nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 12px 22px; background: var(--ink); color: var(--bg); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 650; transition: background .2s, transform .2s; }
.button:hover { background: #ddd3fb; transform: translateY(-2px); }
.button.small { min-height: 42px; font-size: 12px; padding: 10px 16px; gap: 14px; }
.text-link { font-size: 14px; text-decoration: none; display: inline-flex; gap: 14px; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; }
#helix, #connectors { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#connectors { z-index: 1; }
.static-installation { position: fixed; right: 9%; top: 130px; width: min(27vw, 360px); height: 78vh; opacity: .65; pointer-events: none; }
.static-installation svg { width: 100%; height: 100%; }
body[data-renderer=webgl] .static-installation { display: none; }
body[data-renderer=fallback] #helix, body[data-renderer=lost] #helix { visibility: hidden; }
body[data-renderer=fallback] #connectors, body[data-renderer=lost] #connectors { visibility: hidden; }
.hero { position: relative; min-height: calc(100svh - 84px); height: max(740px, calc(100svh - 84px)); padding: 145px var(--gutter) 140px; display: flex; align-items: flex-start; }
.hero-copy { max-width: 660px; width: 55%; position: relative; z-index: 1; }
.hero-copy > p { max-width: 455px; font-size: 19px; color: var(--muted); line-height: 1.65; margin-top: 28px; }
.hero-copy .hero-note { font-size: 12px; color: var(--muted); margin-top: 64px; }
.helix-note { position: absolute; right: var(--gutter); bottom: 95px; font-size: 12px; line-height: 1.6; color: #d7deec; }
.helix-note small { display: block; color: var(--muted); padding-left: 28px; }
#render-status { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; }
.line-sample { display: inline-block; width: 17px; height: 3px; background: var(--cyan); margin-right: 11px; vertical-align: middle; }
.scroll-cue { position: absolute; bottom: 25px; left: var(--gutter); text-decoration: none; color: var(--muted); font-size: 12px; display: flex; gap: 22px; padding: 10px 0; }
.scroll-cue span { color: var(--ink); }
.motion-bar { position: fixed; bottom: 20px; left: var(--gutter); z-index: 20; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #d7deec; background: #090b12f2; border: 1px solid var(--edge); border-radius: 10px; padding: 0 6px 0 13px; height: 44px; font-variant-numeric: tabular-nums; }
.motion-bar button { font-size: 12px; border: 0; background: transparent; min-height: 36px; padding: 8px; border-left: 1px solid var(--edge); border-radius: 0; }
.motion-bar button:hover { color: white; text-decoration: underline; }
.heartbeat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.plans-link { position: fixed; right: var(--gutter); bottom: 27px; z-index: 10; font-size: 12px; text-decoration: none; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
.plans-link:hover { text-decoration: underline; }
.chapters { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.chapter { position: relative; min-height: 800px; display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); padding: 110px 0 90px; scroll-margin-top: 0; }
.feature { position: relative; z-index: 2; align-self: start; min-width: 0; background: var(--bg); }
.left .feature { grid-column: 1; }
.right .feature { grid-column: 3; }
.feature > p { margin-top: 23px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature h2 { padding-top: 8px; }
.feature::before { content: ''; position: absolute; top: 25px; width: 5px; height: 5px; background: #c9bbef; border-radius: 50%; }
.left .feature::before { right: -10px; }
.right .feature::before { left: -10px; }
.chapter.active .feature::before { background: var(--cyan); }
figure { margin-top: 28px; border-radius: 12px; overflow: hidden; background: #111522; }
figure figcaption { padding: 10px 12px; font-size: 12px; color: #c0c8d9; line-height: 1.5; }
.room-demo { position: relative; }
.room-demo img { aspect-ratio: 16/9; object-fit: cover; filter: brightness(.72) saturate(.7); }
.room-demo svg { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 16/9; overflow: visible; }
.room-demo path { fill: none; stroke: #9d90bb; stroke-width: 3; stroke-dasharray: 5 5; opacity: .35; }
.room-demo path.selected { stroke: var(--cyan); stroke-width: 5; stroke-dasharray: 5 3; opacity: 1; filter: drop-shadow(0 0 4px #00ddf5); }
.editor-demo img { aspect-ratio: 16/9; object-fit: cover; }
.room-demo .draw-path { opacity: 0; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.2s cubic-bezier(.22, 1, .36, 1), opacity .3s; }
.room-demo .draw-path.drawn { opacity: .7; stroke-dashoffset: 0; stroke: #b9a2ff; }
.room-demo .draw-path.drawn.selected { opacity: 1; stroke: var(--cyan); }
.draw-control { width: 100%; margin-top: 12px; font-size: 12px; }
.enhanced .feature { opacity: .85; transition: opacity .6s cubic-bezier(.22, 1, .36, 1); }
.enhanced .feature.visited, .enhanced .feature:focus-within { opacity: 1; }
.feature:hover::before, .chapter.active .feature::before { background: var(--cyan); }
.chapter.active .feature h2 { color: #fff; }
.feature details[open] summary { color: var(--violet); }
.feature details summary:hover { color: var(--violet); }
.demo-start { margin-top: 24px; background: #302448; border-color: #796697; }
.demo-start + .demo-status { margin-top: 10px; }
.relight-preview { position: relative; --relight-level: .65; }
.relight-preview img { aspect-ratio: 16/9; object-fit: cover; filter: brightness(.45) saturate(.6); }
.relight-spill { position: absolute; inset: 0 0 40px; opacity: var(--relight-level); background: radial-gradient(ellipse at 30% 45%, #6f9fff8c, transparent 65%), radial-gradient(ellipse at 85% 75%, #ff914db3, transparent 65%); mix-blend-mode: screen; pointer-events: none; }
.relight-control { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.relight-control input { grid-column: 1 / -1; }
.relight-control output { color: var(--ink); font-variant-numeric: tabular-nums; }
.profile-preview { margin-top: 28px; }
.canvas-demo:has([data-demo=profiles]) canvas { aspect-ratio: 64/14; }
.feature .preview-note { color: var(--muted); font-size: 12px; margin-top: 10px; }
.feature-availability { font-size: 13px; }
.feature-availability dt { color: var(--ink); margin-top: 20px; }
.feature-availability dd { color: var(--muted); margin: 6px 0 16px; }
.chapter-nav a { min-height: 32px; }
.bar::after { content: ''; position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--violet); transform: scaleX(var(--journey-progress, 0)); transform-origin: left; }
button:active, .button:active { transform: scale(.98); }
.animation-paused .feature { opacity: 1; }
.animation-paused .draw-path, .animation-paused .feature { transition: none; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.choices button { font-size: 12px; flex: 1; padding: 8px 9px; }
.feature .demo-status { font-size: 12px; margin-top: 10px; color: #c4bbd8; font-variant-numeric: tabular-nums; }
.assignment { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.assignment label:first-child { grid-column: 1/-1; }
.assignment label { display: grid; gap: 5px; }
.canvas-demo canvas { display: block; width: 100%; height: auto; aspect-ratio: 64/33; }
.canvas-demo figcaption { display: flex; justify-content: space-between; gap: 10px; }
.music-demo canvas, [data-demo=scenes] { aspect-ratio: 64/28; }
.canvas-demo:has([data-demo=effects]) canvas { aspect-ratio: 64/20; }
.select-line { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-top: 14px; }
.select-line select { font-size: 12px; }
.scene-scope { grid-template-columns: 1.5fr 1fr; }
.scene-scope label:first-child { grid-column: auto; }
.scene-scope label:last-child { grid-template-columns: 1fr auto; align-items: center; }
.scene-scope input { grid-column: 1; grid-row: 2; }
.scene-scope output { grid-row: 2; font-size: 12px; font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; }
.feature details { border-top: 1px solid var(--edge); margin-top: 22px; padding-top: 4px; }
.feature summary { padding: 14px 0; color: var(--ink); font-size: 13px; line-height: 1.5; }
.feature details p { font-size: 13px; line-height: 1.8; color: #adb7cb; margin: 9px 0 16px; }
.feature details .text-link { font-size: 12px; color: var(--violet); }
.device-demo { background: #111522; border-radius: 12px; padding: 20px; margin-top: 28px; font-size: 13px; }
.device-heading { display: flex; align-items: center; gap: 10px; }
.device-led { width: 8px; height: 8px; border-radius: 50%; background: #3ee0a1; }
.device-heading strong { font-size: 14px; font-weight: 550; }
.device-heading div span { display: block; font-size: 12px; color: var(--muted); }
.device-state { margin-left: auto; color: #71e2b3; font-size: 12px; }
.device-demo.offline .device-led { background: #ff6b7d; }
.device-demo.offline .device-state { color: #ffa3ae; }
.segment-row { display: flex; gap: 16px; border-top: 1px solid var(--edge); padding-top: 16px; margin-top: 17px; color: var(--muted); font-size: 12px; }
.device-demo p { color: #b5dbc9; font-size: 12px; margin: 17px 0; }
.device-demo.offline p { color: #ffa3ae; }
.device-demo button { font-size: 12px; width: 100%; }
.integrations { font-size: 13px; }
.integrations dt { color: var(--ink); margin: 17px 0 5px; }
.integrations dd { margin: 0; color: var(--muted); line-height: 1.8; }
.finale { min-height: 740px; padding-bottom: 140px; }
.finale h2 { font-size: clamp(44px, 4.3vw, 64px); }
.finale .actions { align-items: flex-start; flex-direction: column; gap: 12px; }
.finale .final-note { font-size: 12px; }
.foot { position: relative; z-index: 2; background: var(--bg); padding: 35px var(--gutter) 160px; border-top: 1px solid var(--edge); display: flex; gap: 28px; align-items: center; font-size: 12px; color: var(--muted); }
.foot .brand { margin-right: auto; }
.foot > a:not(.brand) { text-decoration: none; }
.foot > a:hover { text-decoration: underline; }
.chapter-nav { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 10; display: grid; gap: 6px; }
.chapter-nav a { position: relative; display: flex; align-items: center; justify-content: flex-end; min-width: 36px; min-height: 26px; font-size: 12px; color: transparent; text-decoration: none; padding-right: 18px; }
.chapter-nav a::after { content: ''; position: absolute; right: 0; width: 4px; height: 4px; border-radius: 50%; background: #596174; }
.chapter-nav a:hover, .chapter-nav a:focus-visible { color: var(--ink); background: var(--bg); }
.chapter-nav a[aria-current]::after { background: var(--cyan); height: 15px; border-radius: 3px; }
.plan-row { border-bottom: 1px solid var(--edge); padding: 16px 0; font-size: 13px; }
.plan-top { display: flex; gap: 10px; justify-content: space-between; }
.plan-top h3 { font-size: 16px; }
.plan-price { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.plan-row p { margin: 5px 0 !important; font-size: 12px !important; }
.plan-row ul { padding-left: 17px; color: var(--muted); font-size: 12px; }
.plan-row a { color: var(--violet); }
.plan-note { font-size: 12px !important; }
.plan-headline { font-weight: 600; color: var(--ink); }
.plan-tagline { font-style: italic; }
.plan-cta { display: inline-block; padding: 10px 14px; border: 1px solid currentColor; border-radius: 10px; text-decoration: none; }
@media (min-width: 1600px) { .hero-copy { margin-left: calc((100vw - 1440px)/2); max-width: 680px; } }
@media (max-width: 1100px) {
  .chapter { grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); }
  .chapters { padding: 0 55px; }
  .bar { gap: 22px; } .bar nav { gap: 22px; } .chapter-nav { right: 9px; }
  .hero { padding-top: 125px; } .hero-copy { width: 59%; }
  .hero-note { max-width: 260px; } .helix-note { right: 40px; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .bar { height: auto; min-height: 74px; gap: 8px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 4px; } .bar .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 26px; } .bar .button { display: none; }
  .bar nav { gap: 16px; font-size: 12px; width: 100%; order: 3; justify-content: space-between; } .bar nav a { padding: 12px 0; }
  .hero { height: max(760px, calc(100svh - 74px)); min-height: 760px; padding: 105px 22px 90px; }
  .hero-copy { width: 100%; max-width: 520px; }
  .hero h1 { font-size: clamp(49px, 10.8vw, 72px); max-width: 490px; }
  .hero-copy > p { font-size: 16px; max-width: 330px; }
  .static-installation { width: 150px; right: 5%; top: 445px; height: 320px; }
  .hero .actions { gap: 10px 20px; max-width: 350px; } .hero .button { font-size: 13px; }
  .hero .hero-note { margin-top: 26px; font-size: 12px; max-width: 210px; }
  .helix-note { left: 22px; right: auto; bottom: 140px; max-width: 160px; font-size: 12px; }
  .helix-note small { font-size: 12px; padding-left: 0; margin-top: 6px; }
  .scroll-cue { font-size: 12px; bottom: 82px; left: 22px; gap: 15px; max-width: 180px; }
  .chapters { padding: 0 22px 0 84px; }
  .chapter { display: block; min-height: 740px; padding: 85px 0; }
  .feature h2 { font-size: 38px; } .feature > p { font-size: 14px; }
  .left .feature::before, .right .feature::before { left: -10px; right: auto; }
  .feature { max-width: 560px; } .chapter-nav { display: none; }
  .motion-bar { left: 14px; bottom: 12px; font-size: 12px; gap: 7px; height: 42px; padding-left: 10px; }
  .motion-bar button { font-size: 12px; }
  .motion-bar #rhythm-label { display: none; }
  .plans-link { right: 14px; bottom: 16px; font-size: 12px; padding: 7px; }
  .foot { flex-wrap: wrap; gap: 18px; padding: 30px 24px 160px; } .foot .brand { flex-basis: 100%; }
  .finale { padding-bottom: 100px; } .finale h2 { font-size: 48px; }
  .choices button { font-size: 12px; } .device-demo { padding: 15px; }
  .device-heading { gap: 7px; } .device-heading strong { font-size: 12px; } .device-state { font-size: 12px; }
  .assignment { gap: 8px; } .assignment label, .assignment select { font-size: 12px; }
  .select-line { font-size: 12px; gap: 8px; }
}
@media (max-width: 380px) {
  .bar { padding: 0 16px; } .bar nav { gap: 11px; } .bar .brand { font-size: 17px; }
  .chapters { padding-left: 66px; padding-right: 18px; } .hero { padding-left: 20px; }
  .hero-copy > p { max-width: 290px; } .feature h2 { font-size: 33px; }
  .motion-bar #rhythm-label { max-width: 100px; white-space: nowrap; overflow: hidden; }
  .scene-scope { grid-template-columns: 1fr; } .scene-scope label:first-child { grid-column: 1; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .bar { height: 60px; }
  .bar .button { display: none; }
  .hero { height: calc(100svh - 60px); min-height: 0; padding: 24px var(--gutter) 74px; }
  .hero-copy { width: 55%; max-width: 430px; }
  .hero h1 { font-size: 44px; }
  .hero-copy > p { font-size: 13px; line-height: 1.5; margin-top: 16px; max-width: 380px; }
  .hero .actions { margin-top: 16px; gap: 16px; max-width: none; }
  .hero .button { min-height: 42px; padding: 8px 14px; font-size: 12px; }
  .hero .text-link { font-size: 12px; }
  .hero .hero-note, .helix-note, .scroll-cue { display: none; }
  .motion-bar { left: 22px; bottom: 10px; }
  .motion-bar #rhythm-label { display: none; }
  .plans-link { bottom: 12px; right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .enhanced .feature { opacity: 1; }
  .button:hover { transform: none; }
}
@media (forced-colors: active) {
  #helix { opacity: .4; } .feature::before { background: CanvasText; }
  .room-demo path.selected { stroke: Highlight; } .button { border: 1px solid ButtonText; }
}

/* Plans: recommended, saving, terms, the comparison */
.plan-row .plan-limits { font-variant-numeric: tabular-nums; }
.plan-badge { align-self: center; padding: 1px 8px; font-size: 11px; font-weight: 620; letter-spacing: .01em; color: var(--violet); border: 1px solid var(--violet); border-radius: 999px; white-space: nowrap; }
.plan-saving { color: var(--dm-ok); font-variant-numeric: tabular-nums; }
.plan-terms, .plan-quote { color: var(--muted); }
.plan-compare { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--edge); border-radius: 12px; }
.plan-compare:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.plan-compare table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.plan-compare th, .plan-compare td { padding: 8px 10px; text-align: center; color: var(--muted); border-bottom: 1px solid var(--edge); }
.plan-compare thead th { color: var(--ink); font-weight: 620; position: sticky; top: 0; background: var(--bg); }
.plan-compare tbody th[scope=row] { position: sticky; left: 0; z-index: 1; min-width: 150px; max-width: 220px; text-align: left; font-weight: 520; color: var(--ink); background: var(--bg); }
.plan-compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
.plan-compare .compare-group th { text-align: left; font-size: 11px; font-weight: 620; letter-spacing: .02em; color: var(--muted); background: var(--bg); position: static; }
.plan-compare .recommended { box-shadow: inset 2px 0 0 var(--violet), inset -2px 0 0 var(--violet); }
.plan-compare .compare-mark { display: block; font-size: 11px; font-weight: 520; color: var(--violet); }
.plan-fine { font-size: 12px; color: var(--muted); }
.compare-title { margin-top: 24px; font-size: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 560px) { .plan-compare tbody th[scope=row] { min-width: 120px; } }
@media (prefers-reduced-motion: reduce) { .plan-compare { scroll-behavior: auto; } }
