:root, [data-theme="light"] {
  color-scheme: light;
  --sheet: #f5f5f2; --ink: #212020; --muted: #5c5b55; --line: #d9d9d2;
  --panel: #eaeae4; --copper: #9b481b; --cta: #212020; --on-cta: #f5f5f2;
  --hero: #d28147; --hero-ink: #212020;
}
[data-theme="dark"] {
  color-scheme: dark;
  --sheet: #212020; --ink: #e7e7e2; --muted: #b4b4ac; --line: #45443f;
  --panel: #2c2b28; --copper: #d28147; --cta: #e7e7e2; --on-cta: #212020;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--sheet); color: var(--ink); font-family: Roboto, system-ui, sans-serif; scroll-padding-top: 6rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--sheet); }
main { overflow-x: clip; }
::selection { background: var(--copper); color: var(--sheet); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
a { color: var(--copper); text-underline-offset: 0.22em; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: 1rem; background: var(--cta); color: var(--on-cta); }
.skip:focus { top: 1rem; }
.top { width: min(1328px, calc(100% - 64px)); margin: auto; min-height: 96px; display: flex; align-items: center; gap: 2rem; }
.wordmark { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
.wordmark img { width: 44px; height: 44px; border-radius: 10px; }
.top-links { display: flex; gap: 2rem; margin-left: auto; }
.top-links a, .nav-docs { color: var(--ink); font-size: 0.9rem; text-decoration: none; }
.top-links a:hover, .nav-docs:hover { color: var(--copper); }
.top-actions { display: flex; align-items: center; gap: 1rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
[data-theme="light"] .icon-sun, [data-theme="dark"] .icon-moon { display: none; }
.cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 0.85rem 1.25rem; border-radius: 12px; background: var(--cta); color: var(--on-cta); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
a.cta:hover { background: color-mix(in srgb, var(--cta) 85%, var(--copper)); }
.cta-narrow { display: none; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: min(1360px, calc(100% - 48px)); min-height: 720px; margin: 0 auto; padding: 64px 56px 72px; border-radius: 16px; overflow: hidden; background: var(--hero); color: var(--hero-ink); }
.hero-copy { position: relative; z-index: 4; align-self: start; padding-top: 12px; }
.hero h1 { max-width: 10.6ch; margin: 0 0 32px; font-size: clamp(3.8rem, 6.2vw, 5.6rem); font-weight: 450; line-height: 0.99; letter-spacing: -0.04em; text-wrap: initial; }
.hero .lede { max-width: 30ch; margin-bottom: 16px; font-size: 1.25rem; line-height: 1.45; font-weight: 450; }
.hero-detail { max-width: 38ch; margin-bottom: 28px; font-size: 0.95rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero .cta { --cta: #212020; --on-cta: #f5f5f2; min-height: 54px; }
.text-link { color: inherit; font-size: 0.85rem; text-decoration-thickness: 1px; }
.hero :focus-visible { outline-color: #212020; }
.stage { position: relative; height: 580px; align-self: end; }
.measurement-arcs { position: absolute; width: 770px; height: 770px; max-width: none; left: 49%; top: 56%; transform: translate(-50%, -50%); color: #f7dfcb; stroke-width: 0.65; opacity: 0.65; }
.frame { position: absolute; width: 225px; }
.frame img { width: 100%; }
.frame-a { left: 110px; top: 96px; transform: rotate(-7deg); z-index: 1; }
.frame-b { right: 20px; top: 0; transform: rotate(5deg); z-index: 2; }
.dark { display: none; }
[data-theme="dark"] .light { display: none; }
[data-theme="dark"] .dark { display: block; }
.readout { position: absolute; z-index: 3; color: #212020; font-size: 0.75rem; line-height: 1.5; }
.readout-level { top: 70px; left: -64px; }
.readout-level::after { content: ""; display: block; width: 90px; height: 24px; margin: 12px 0 0 auto; border-top: 1px solid currentColor; border-right: 1px solid currentColor; opacity: 0.6; }
.readout-label { display: block; }
.readout-level > strong { display: block; font-size: 2.4rem; font-weight: 450; line-height: 1.3; font-variant-numeric: tabular-nums; }
.readout-level > strong span { font-size: 1.5rem; }
.readout-level > strong.dark { display: none; }
[data-theme="dark"] .readout-level > strong.light { display: none; }
[data-theme="dark"] .readout-level > strong.dark { display: block; }
.readout-record { display: flex; gap: 12px; align-items: center; right: 0; bottom: -8px; }
.readout-record svg { color: currentColor; }
.readout-record span, .readout-record strong { display: block; }
.readout-record strong { font-size: 0.9rem; font-weight: 500; }
.hero-foot { position: absolute; left: 56px; right: 40px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.hero-foot a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #86502a; border-radius: 50%; color: inherit; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; width: min(1216px, calc(100% - 96px)); margin: auto; padding: 28px 0; border-bottom: 1px solid var(--line); }
.trust-strip p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.band { width: min(1216px, calc(100% - 96px)); margin: 112px auto 0; }
.band h2 { margin: 0 0 24px; font-size: clamp(2.5rem, 4vw, 3.6rem); font-weight: 450; letter-spacing: -0.035em; line-height: 1.05; }
.copy { max-width: 53ch; margin: 0 0 20px; color: var(--muted); font-size: 1.075rem; font-weight: 400; line-height: 1.65; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.section-head h2, .section-head .copy { margin-bottom: 0; }
.section-head .copy { max-width: 43ch; }
.film-section { width: min(1040px, calc(100% - 96px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.film-section h2 { margin-bottom: 16px; font-size: 2rem; line-height: 1.2; letter-spacing: -0.025em; }
.film-copy .copy { max-width: 32ch; font-size: 1rem; }
.film-media { min-width: 0; }
.product-film { margin: 0; }
.product-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--panel); }
.product-film figcaption { margin-top: 16px; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.film-transcript { max-width: 75ch; margin-top: 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.film-transcript summary { width: fit-content; min-height: 44px; padding: 10px 0; color: var(--ink); cursor: pointer; }
.film-transcript p { margin: 12px 0 0; }
.bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bench figure { margin: 0; }
.bench-plate { height: 450px; padding: 32px 24px 0; overflow: hidden; border-radius: 16px; background: var(--panel); }
.bench-plate img { width: 100%; border-radius: 12px 12px 0 0; }
.bench figure:nth-child(2) .bench-plate { background: #373931; }
.bench figcaption { padding-top: 24px; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.bench figcaption strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.bench-more { max-width: 75ch; color: var(--muted); font-size: 0.8rem; line-height: 1.6; margin: 32px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.copy-col { max-width: 500px; }
.shot-wide { margin: 0 auto; width: 290px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.shot-wide img { width: 100%; }
#capture { width: min(1360px, calc(100% - 48px)); padding: 72px; border-radius: 16px; background: var(--panel); }
.split.flip .copy-col { order: 2; }
.formula { width: fit-content; max-width: 100%; margin: 30px 0 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 1.05rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.formula-cap { font-size: 0.8rem; color: var(--muted); }
#loop { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; }
.loop-head h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.loop-head .copy { font-size: 0.95rem; }
.beats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 24px; }
.beat h3 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 500; }
.beat p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.kit-browser { --kit-dwell: 6.5s; display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 500px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kit-rail { display: flex; flex-direction: column; padding: 12px 24px 12px 0; border-right: 1px solid var(--line); }
.kit-rail [role="tab"] { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; border: none; border-radius: 8px; padding: 10px 12px; background: transparent; color: var(--muted); font-size: 0.85rem; font-weight: 450; text-align: left; cursor: pointer; }
.kit-rail [role="tab"]::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--pip, var(--copper)); }
.kit-rail [role="tab"].on { background: var(--panel); color: var(--ink); }
.kit-rail [role="tab"]:hover { color: var(--ink); }
.kit-stage { display: flex; flex-direction: column; min-width: 0; }
.kit-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 24px; }
.kit-kicker { font-size: 1.15rem; font-weight: 500; margin: 0; }
.kit-count { margin: 0 auto 0 0; font-size: 0.8rem; color: var(--muted); }
.kit-controls { display: flex; gap: 8px; }
.kit-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.kit-controls button:hover { background: var(--panel); }
.kit-controls svg { width: 18px; height: 18px; }
.kit-controls .ico-play { fill: currentColor; stroke: none; }
.kit-browser:not(.is-paused) .ico-play, .kit-browser.is-paused .ico-pause { display: none; }
.kit-progress { height: 2px; background: var(--line); overflow: hidden; }
.kit-progress i { display: block; width: 100%; height: 100%; background: var(--pip, var(--copper)); transform: scaleX(0); transform-origin: left; }
.kit-browser.is-running .kit-progress i { animation: kit-fill var(--kit-dwell) linear; }
@keyframes kit-fill { to { transform: scaleX(1); } }
.kit-viewport { flex: 1; max-height: 440px; overflow: auto; padding: 12px 24px 24px; scrollbar-color: var(--muted) transparent; }
.kit-tools { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.kit-tools li { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 0.9rem; line-height: 1.5; }
.kit-pick { display: none; }
.kit-more { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.questions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.question-list details { border-top: 1px solid var(--line); }
.question-list details:last-child { border-bottom: 1px solid var(--line); }
.question-list summary { position: relative; padding: 24px 36px 24px 0; font-size: 1.1rem; line-height: 1.5; cursor: pointer; list-style: none; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary::after { content: ""; position: absolute; right: 4px; top: 33px; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.question-list details[open] summary::after { transform: rotate(225deg); top: 38px; }
.question-list p { max-width: 60ch; padding-right: 24px; color: var(--muted); line-height: 1.65; font-size: 0.95rem; }
.get-band { display: grid; grid-template-columns: 88px 1fr 0.8fr; align-items: center; gap: 40px; width: min(1360px, calc(100% - 48px)); padding: 64px 56px; background: var(--hero); color: var(--hero-ink); border-radius: 16px; }
.get-band > img { width: 72px; border-radius: 16px; }
.get-band h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.7rem); }
.get-band p { line-height: 1.6; font-size: 1rem; margin: 0 0 16px; }
.get-band .availability { display: inline-block; padding: 12px 18px; border: 1px solid #86502a; border-radius: 12px; font-weight: 500; margin-bottom: 10px; }
.get-band .launch-note { font-size: 0.75rem; margin-bottom: 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; width: min(1216px, calc(100% - 96px)); margin: 40px auto 0; padding: 0 0 40px; color: var(--muted); font-size: 0.8rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot a:first-child { font-weight: 700; }
@media (min-width: 861px) { .foot a:nth-child(3) { margin-right: auto; } }
@media (min-width: 861px) and (max-width: 1200px) {
  .hero { padding: 48px 40px 72px; min-height: 700px; }
  .hero h1 { font-size: 5rem; }
  .frame { width: 200px; }
  .stage { height: 600px; }
  .frame-a { left: 0; }
  .readout-level { left: 0; top: auto; bottom: 0; }
  .readout-level::after { display: none; }
  .readout-record { bottom: 0; }
  .hero-actions { gap: 16px; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .top { width: auto; min-height: 80px; padding: 12px 20px; gap: 12px; background: var(--sheet); }
  .wordmark { font-size: 1rem; gap: 8px; }
  .wordmark img { width: 40px; height: 40px; }
  .top-links { display: none; }
  .top-actions { gap: 10px; margin-left: auto; }
  .nav-docs { display: none; }
  .cta-wide { display: none; }
  .cta-narrow { display: inline; }
  .top .cta { min-width: 52px; padding: 12px; }
  .hero { display: block; width: calc(100% - 24px); min-height: 0; padding: 32px 24px 66px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(3rem, 11.5vw, 5rem); max-width: 11ch; margin-bottom: 24px; }
  .hero .lede { font-size: 1.125rem; max-width: 31ch; }
  .hero-detail { font-size: 0.9rem; max-width: 40ch; margin-bottom: 24px; }
  .hero-actions { gap: 16px; }
  .hero .cta { gap: 20px; }
  .stage { width: min(100%, 490px); height: clamp(490px, 150vw, 660px); margin: 36px auto 0; }
  .frame { width: 57%; max-width: 240px; }
  .frame-a { left: -5px; top: 60px; }
  .frame-b { right: 0; top: 0; }
  .measurement-arcs { width: 600px; height: 600px; }
  .readout { padding-top: 16px; border-top: 1px solid #86502a; width: 46%; }
  .readout-level { left: 0; top: auto; bottom: 0; min-height: 112px; font-size: 0.75rem; }
  .readout-level::after { display: none; }
  .readout-level > strong { font-size: 1.9rem; }
  .readout-record { right: 0; bottom: 0; min-height: 112px; gap: 8px; align-items: start; font-size: 0.75rem; }
  .readout-record svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
  .readout-record strong { font-size: 0.8rem; }
  .hero-foot { left: 24px; right: 20px; bottom: 14px; font-size: 0.75rem; }
  .hero-foot a { width: 44px; height: 44px; flex-shrink: 0; }
  .trust-strip { width: calc(100% - 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0; }
  .trust-strip p { font-size: 0.75rem; }
  .band { width: calc(100% - 48px); margin-top: 72px; }
  .band h2 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  .film-section { display: block; max-width: 640px; }
  .film-section h2 { font-size: 1.75rem; }
  .film-copy .copy { max-width: 43ch; margin-bottom: 24px; }
  .section-head, .split, .questions { display: block; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { margin-bottom: 24px; }
  .copy { font-size: 1rem; }
  .bench { grid-template-columns: 1fr; gap: 40px; }
  .bench-plate { height: 430px; padding: 24px 36px 0; }
  .bench-plate img { max-width: 300px; margin: auto; }
  .bench figcaption { padding-top: 20px; font-size: 0.95rem; }
  .bench-more { margin-top: 24px; }
  #capture { width: calc(100% - 24px); padding: 36px 24px; }
  .copy-col { max-width: none; }
  .shot-wide { width: min(290px, 100%); margin: 32px auto 0; }
  .formula { font-size: 0.87rem; }
  .loop-head { display: block; }
  .loop-head h2 { font-size: 1.7rem; }
  .beats { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .kit-browser { grid-template-columns: 1fr; min-height: 0; }
  .kit-rail, .kit-kicker { display: none; }
  .kit-toolbar { padding: 20px 0; gap: 16px; }
  .kit-pick { display: block; width: 100%; }
  .kit-pick select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--ink); font-size: 1rem; }
  .kit-count { margin-right: auto; }
  .kit-controls { display: none; }
  .kit-tools { grid-template-columns: 1fr; }
  .kit-viewport { max-height: none; overflow: visible; padding: 0; }
  .kit-browser:not(.is-expanded) .kit-tools li:nth-child(n+7) { display: none; }
  .kit-more:not([hidden]) { display: block; align-self: flex-start; min-height: 48px; margin: 16px 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
  .kit-more:hover { background: var(--panel); }
  .question-list { margin-top: 32px; }
  .question-list summary { font-size: 1rem; }
  .get-band { display: block; padding: 36px 24px; width: calc(100% - 24px); }
  .get-band > img { margin-bottom: 32px; width: 64px; }
  .get-band h2 { margin-bottom: 24px; }
  .foot { width: calc(100% - 48px); gap: 20px; margin-top: 32px; font-size: 0.8rem; }
  .foot span:last-child { width: 100%; }
}
@media (max-width: 360px) {
  .top { padding-inline: 12px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { gap: 14px; }
  .bench-plate { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@supports (scrollbar-color: auto) { html { scrollbar-color: var(--muted) var(--sheet); } }
