/* =========================================================
   Acrobat site - the app's design system scaled to a page.
   Dark only, neutral planes, 1px hairlines, one silver accent.
   ========================================================= */

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #0A0A0A;
  --panel: #101010;
  --surface: #191919;
  --surface-hover: #1F1F1F;
  --border: #262626;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .62);
  --text-3: rgba(255, 255, 255, .38);

  --accent: #BDBDBD;
  --accent-end: #737373;
  --accent-rgb: 189, 189, 189;
  --on-accent: #0A0A0A;
  --accent-grad: linear-gradient(90deg, var(--accent), var(--accent-end), var(--accent));

  --r-scale: 1;
  --r-chk: calc(3.5px * var(--r-scale, 1));
  --r-ctl: calc(6px * var(--r-scale, 1));
  --r-btn: calc(8px * var(--r-scale, 1));
  --r-sm: calc(10px * var(--r-scale, 1));
  --r-card: calc(16px * var(--r-scale, 1));
  --r-frame: calc(20px * var(--r-scale, 1));
  --r-show: calc(28px * var(--r-scale, 1));

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.3, .64, 1);
  --grad-head: linear-gradient(180deg, #F2F2F2, #9A9A9A);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Cascadia Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1120px;
  --wrap-wide: 1200px;
  --gut: 16px;
  --section-y: clamp(88px, 10vw, 140px);
  color-scheme: dark;
}

@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
img[style*="--w"] { width: calc(var(--w) * 1px); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-family: var(--mono); font-size: .86em; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: #fff; }
[hidden] { display: none !important; }
::selection { background: rgba(var(--accent-rgb), .28); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-btn); font-weight: 600; font-size: 14px; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap, .wrap-wide { width: 100%; margin-inline: auto; padding-inline: var(--gut); }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); }
.wrap-wide { max-width: calc(var(--wrap-wide) + var(--gut) * 2); }

.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
h1, h2 {
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .1em;
}
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.lead { font-size: clamp(16.5px, 1.5vw, 18.5px); line-height: 1.6; color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
p { color: var(--text-2); text-wrap: pretty; }

/* UPPERCASE eyebrow with a hairline running to the right: the app's card header */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); line-height: 1;
  background: none; -webkit-text-fill-color: currentColor; padding: 0;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.eyebrow-sm { font-size: 11.5px; letter-spacing: .13em; }
.accent-text {
  background: var(--accent-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
html.accent-animated .accent-text { animation: accent-shift 4s linear infinite; }
@keyframes accent-shift { from { background-position: 0 0; } to { background-position: 200% 0; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-tint {
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0) 45%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 100%; }
.sec-head h2 { margin-top: 22px; max-width: 18ch; }
.sec-head .lead { margin-top: 20px; }

/* ---------- Reveal (only when JS is present) ---------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Headline blur-in (words are created by JS) */
html.js [data-split] .word {
  opacity: 0; filter: blur(8px); transform: translateY(16px);
  animation: word-in .7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}
.word {
  display: inline-block; padding-bottom: .1em; margin-bottom: -.1em;
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  font: 600 15px/1 var(--font); white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--r-btn);
  transition: background-color .2s, border-color .2s, color .2s, filter .2s, transform .16s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15.5px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: var(--r-ctl); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary {
  color: var(--on-accent);
  background: radial-gradient(70% 110% at 50% 30%, #FFFFFF, #A8A8A8);
  background: radial-gradient(70% 110% at 50% 30%, color-mix(in srgb, var(--accent) 10%, #fff), color-mix(in srgb, var(--accent) 88%, #555));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 30px rgba(var(--accent-rgb), .10);
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.02);
  border-color: var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: #343434; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 12px; right: 12px;
  max-width: var(--wrap-wide); margin-inline: auto; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 10px 0 16px;
  background: rgba(14,14,14,.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border); border-radius: calc(12px * var(--r-scale, 1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: background-color .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(12,12,12,.9); border-color: #2c2c2c; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand-name { font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
/* Calligraphic A: the square art has a little built-in padding, so pull it in to sit snug against the wordmark. */
.mark { width: 30px; height: 30px; margin: -3px -2px -3px -4px; }
.mark-sm { width: 26px; height: 26px; }
.nav-links { position: relative; display: flex; gap: 2px; }
.nav-links a {
  position: relative; z-index: 1; display: block; padding: 0 14px;
  height: 36px; line-height: 36px; font-size: 14px; font-weight: 500;
  color: var(--text-2); transition: color .2s; border-radius: var(--r-ctl);
}
.nav-links a:hover, .nav-links a[aria-current="true"], .nav-links a[aria-current="page"] { color: var(--text); }
.nav-pill {
  position: absolute; left: 0; top: 0; height: 100%; z-index: 0;
  width: var(--w, 0px); transform: translateX(var(--x, 0px));
  background: var(--surface); border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: calc(8px * var(--r-scale, 1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), width .3s var(--ease), opacity .2s;
}
.nav-pill.is-visible { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.nav-toggle {
  display: none; width: 40px; height: 36px; place-items: center;
  background: transparent; border: 1px solid var(--border); border-radius: var(--r-ctl);
  transition: background-color .2s;
}
.nav-toggle:hover { background: var(--surface-hover); }
.nav-toggle .ic-close, .nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.nav-sheet {
  position: fixed; z-index: 49; top: 76px; left: 12px; right: 12px; max-width: var(--wrap-wide); margin-inline: auto;
  padding: 8px 16px 20px;
  background: rgba(12,12,12,.94);
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 80px rgba(0,0,0,.6);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav-sheet.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-sheet > a:not(.btn) { display: block; padding: 16px 4px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--border); }
.nav-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nav-sheet-actions .btn { width: 100%; }

@media (max-width: 859px) {
  .nav { display: flex; justify-content: space-between; }
  .nav-links, .nav-discord { display: none; }
  .nav-toggle { display: grid; }
}
@media (min-width: 860px) { .nav-sheet { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(124px, 14vw, 168px); overflow-x: clip; }
.hero-dust {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .8;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.02);
  font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .7); }
.hero h1 { margin-top: 26px; max-width: 16ch; }
.hero-sub { margin-top: 24px; max-width: 54ch; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.55; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* Product stage */
.stage {
  position: relative; z-index: 1; max-width: 1100px; margin: clamp(56px, 7vw, 88px) auto 0;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease), opacity .7s var(--ease);
  will-change: transform;
}
html.js .stage[data-reveal] { transition: transform .35s var(--ease), opacity .9s var(--ease); }
html.js .stage[data-reveal]:not(.is-in) { transform: translateY(24px); }
html.js .stage[data-reveal].is-in { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.stage-glow {
  position: absolute; left: 50%; top: 42%; width: min(1000px, 130%); aspect-ratio: 1.5; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .13), rgba(var(--accent-rgb), .04) 55%, transparent 100%);
  pointer-events: none; z-index: -1;
}

/* Frame: glass product shot with travelling border glint */
.frame {
  position: relative; width: fit-content; max-width: 100%;
  padding: 6px; border-radius: var(--r-frame);
  background: linear-gradient(180deg, #0E0E0E, #0A0A0A);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 120px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.frame-inner { border-radius: max(0px, calc(var(--r-frame) - 7px)); overflow: hidden; background: var(--bg); }
.hero-frame { margin-inline: auto; z-index: 2; }
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(255,255,255,.55) 78%, rgba(var(--accent-rgb), .6) 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: glint 9s linear infinite;
}
.hero-frame::after { filter: blur(6px); opacity: .6; }
@keyframes glint { to { --a: 360deg; } }
.hero-frame .frame-inner {
  max-height: 600px;
  -webkit-mask-image: linear-gradient(#000 76%, transparent);
  mask-image: linear-gradient(#000 76%, transparent);
}

.stage-back {
  position: absolute; z-index: 1; filter: brightness(.6) saturate(.9);
  border-radius: var(--r-card); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
.stage-left { left: 0; top: 96px; width: min(520px, 47%); transform: translateZ(-70px) scale(.96); transform-origin: 100% 50%; }
.stage-right { right: 0; top: 44px; width: min(470px, 43%); transform: translateZ(-70px) scale(.94); transform-origin: 0 50%; }
.stage-float {
  position: absolute; z-index: 3; right: 15%; bottom: 40px; width: min(324px, 80%);
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 30px 70px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateZ(70px);
}

/* ---------- Proof strip ---------- */
.proof { margin-top: clamp(40px, 6vw, 72px); border-block: 1px solid var(--border); position: relative; z-index: 2; background: var(--bg); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 36px); }
.proof-item + .proof-item { border-left: 1px solid var(--border); }
.proof-item dd:not(.proof-note) {
  order: 1; font-size: clamp(48px, 6vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; padding-bottom: .08em;
  background: var(--grad-head); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.proof-item dt { order: 2; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.proof-note { order: 3; margin-top: 4px; font-size: 12.5px; color: var(--text-3); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.split-main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split-copy { position: sticky; top: 120px; }
.tab-index { margin-top: 36px; border-top: 1px solid var(--border); }
.tab-index li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.ti-name { font-weight: 600; color: var(--text); }
.ti-desc { color: var(--text-2); }
.split-visual { min-width: 0; }

/* ---------- Tabs (the app's sliding pill row) ---------- */
.tabs { display: flex; flex-direction: column; align-items: center; gap: 22px; min-width: 0; }
.tablist {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; max-width: 100%;
  background: #0D0D0D; border: 1px solid var(--border); border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab-pill {
  position: absolute; left: 0; top: 5px; bottom: 5px; z-index: 0; pointer-events: none;
  width: var(--w, 0px); transform: translateX(var(--x, 0px));
  background: var(--surface); border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: calc(7px * var(--r-scale, 1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .3s var(--ease), width .3s var(--ease);
}
.tab {
  position: relative; z-index: 1; flex: none; height: 34px; padding: 0 14px;
  background: transparent; border: 0; border-radius: calc(7px * var(--r-scale, 1));
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); }
html:not(.js) .tab[aria-selected="true"] { background: var(--surface); }
.tab-panels { width: 100%; min-width: 0; }
.tabpanel { outline-offset: 4px; }
.tabpanel.is-active { animation: panel-in .2s var(--ease); }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }
.shot { display: flex; flex-direction: column; align-items: center; }
.shot .frame { margin-inline: auto; }
.shot figcaption { margin-top: 18px; font-size: 14px; color: var(--text-2); text-align: center; }

/* ---------- Customize showcase ---------- */
.showcase-wrap { position: relative; isolation: isolate; }
.showcase-wrap::before {
  content: ""; position: absolute; inset: -80px -40px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 18% 30%, rgba(var(--accent-rgb), .5), transparent 70%),
    radial-gradient(34% 42% at 86% 72%, rgba(var(--accent-rgb), .34), transparent 70%);
  opacity: .22; transition: opacity .5s var(--ease);
}
/* The glow bleeds 40px sideways on desktop; on narrow screens that pushes the page wider than the viewport. */
@media (max-width: 1280px) { .showcase-wrap::before { inset: -80px 0; } }
html.glass-on .showcase-wrap::before { opacity: .75; }
.showcase {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 424px); gap: clamp(24px, 3vw, 40px); align-items: start;
  padding: clamp(14px, 2.4vw, 30px);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-show);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 40px 120px rgba(0,0,0,.5);
  transition: background-color .4s var(--ease);
}
html.glass-on .showcase {
  background: rgba(16,16,16,.5);
  -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
}
.ctl-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ctl-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 18px 20px 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
html.glass-on .ctl-card { background: rgba(10,10,10,.55); }
.ctl-card .eyebrow { margin-bottom: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative; width: 34px; height: 34px; padding: 0; border-radius: var(--r-ctl);
  background: var(--c, var(--surface)); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .16s var(--ease), box-shadow .2s;
}
.swatch:hover { transform: translateY(-2px); }
.swatch:active { transform: scale(.94); }
.swatch[aria-pressed="true"], .swatch.is-active {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c, var(--accent)), inset 0 1px 0 rgba(255,255,255,.3);
}
.swatch-custom { display: grid; place-items: center; background: var(--surface); color: var(--text-2); cursor: pointer; box-shadow: none; }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.swatch-custom:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch-custom:hover { color: var(--text); }

.ctl-row { margin-bottom: 18px; }
.ctl-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14.4px; color: var(--text); }
.pill-val {
  min-width: 52px; text-align: center; padding: 2px 12px; border-radius: 999px;
  background: var(--surface); font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums;
}
.range {
  --p: 50%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 20px; margin: 0;
  background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), var(--surface) var(--p)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%;
  background: var(--accent); border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.5); transition: transform .16s var(--ease);
}
.range:hover::-webkit-slider-thumb { transform: scale(1.2); }
.range:active::-webkit-slider-thumb { transform: scale(1.5); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--surface); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.5); }
html.accent-animated .range::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--accent), var(--accent-end)) 0 0 / var(--p) 100% no-repeat, var(--surface); }

.chk-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14.4px; cursor: pointer; width: fit-content; }
.chk {
  -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-chk);
  transition: background-color .2s, border-color .2s; cursor: pointer;
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.chk:hover { border-color: #3a3a3a; }
.chk:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
html.accent-animated .chk:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--accent-grad); background-size: 12px, 300% 100%; animation: accent-shift 4s linear infinite; }
.ctl-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 2px 0; }
.ctl-note { font-size: 13px; color: var(--text-3); }

.shots { display: flex; flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; }
.shots .tablist { align-self: center; gap: 0; }
/* Five Customize section names must fit the screenshot column without the row scrolling. */
.shots .tab { padding: 0 10px; font-size: 13.5px; }
.shots .tab-panels {
  display: flex; justify-content: center; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
}
.shots .tabpanel { width: 100%; display: flex; justify-content: center; }
.shots .tabpanel[hidden] { display: none; }

/* Facts list */
.facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.facts li { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--border); }
.facts li:not(:nth-child(3n)) { padding-right: 28px; }
.facts li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--border); }
.facts strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.facts span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

/* ---------- Visuals ---------- */
.split-visuals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.duo { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 790; margin-inline: auto; }
.duo .frame { position: absolute; width: 72%; }
.duo-a { left: 0; top: 0; z-index: 1; }
.duo-b { right: 0; bottom: 0; z-index: 2; }
.duo .frame-inner img { width: 100%; }
.feat-groups { display: flex; flex-direction: column; gap: 34px; }
.feat-group .eyebrow { margin-bottom: 14px; color: var(--text-2); }
.feat-group p { font-size: 17px; line-height: 1.6; max-width: 52ch; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.callout .ic { margin-top: 3px; color: var(--accent); }
.callout p { font-size: 15.5px; line-height: 1.55; }
.callout strong { color: var(--text); font-weight: 600; }

/* ---------- Tools bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.b-6 { grid-column: span 6; }
.b-4 { grid-column: span 4; }
.bento-card {
  --mx: 50%; --my: 50%; --glow: 0;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden; isolation: isolate;
}
.bento-card::before, .bento-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glow, 0); transition: opacity .35s var(--ease); }
.bento-card::before {
  z-index: 3; padding: 1px;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .6), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.bento-card::after { z-index: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .07), transparent 65%); }
.bento-shot {
  position: relative; z-index: 1; margin: 8px 8px 0; height: 220px; overflow: hidden;
  border-radius: max(0px, calc(var(--r-card) - 8px)); background: var(--bg); border: 1px solid #1c1c1c;
}
.shot-tall .bento-shot { height: 290px; }
.b-6:not(.shot-tall) .bento-shot { height: 250px; }
/* Show every tool window at about half its 2x pixel size (i.e. 1:1 with the app) and crop from the top-left,
   instead of shrinking the whole window into the card, so the UI text stays readable on narrow cards. */
.bento-shot img { width: 600px; max-width: none; height: auto; transform-origin: 0 0; transition: transform .6s var(--ease); }
.bento-card:hover .bento-shot img { transform: scale(1.025); }
.bento-body { position: relative; z-index: 1; padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bento-body h3 { display: flex; align-items: center; gap: 10px; }
.bento-body h3 .ic { color: var(--text-2); }
.bento-body p { font-size: 15px; line-height: 1.55; }
.chips { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span {
  height: 24px; padding: 0 10px; display: inline-flex; align-items: center;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 12.5px; color: var(--text-2);
}

/* ---------- Media ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.media-stage {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px 36px; min-height: 480px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.media-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 50% at 50% 58%, rgba(var(--accent-rgb), .16), transparent 70%); }
.media-stage .tabs { gap: 28px; }
.media-panels { min-height: 370px; display: flex; justify-content: center; align-items: center; }
.media-panels .tabpanel { display: flex; justify-content: center; }
.media-panels .tabpanel[hidden] { display: none; }
.media-panels img { border-radius: var(--r-sm); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 90px rgba(var(--accent-rgb), .12), 0 24px 60px rgba(0,0,0,.6); }

.lyric-card {
  display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 40px);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.lyrics { display: flex; flex-direction: column; gap: 20px; margin: 30px 0 28px; }
.lyric-line { font-size: clamp(22px, 2.5vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: var(--text); opacity: .42; transition: opacity .35s var(--ease); }
.lyric-line.is-current { opacity: 1; }
.lyric-line .w {
  background: linear-gradient(90deg, #fff 0, #fff 28%, rgb(var(--accent-rgb)) 36%, rgba(255,255,255,.38) 46%, rgba(255,255,255,.38) 100%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  transition: background-position .5s linear;
}
.lyric-line .w.is-sung { background-position: 0 0; }
.lyric-break { display: flex; gap: 8px; padding: 2px 0; }
.lyric-break span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.38); animation: dot-pulse 1.6s var(--ease) infinite; }
.lyric-break span:nth-child(2) { animation-delay: .2s; }
.lyric-break span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.lyric-note { font-size: 13px; color: var(--text-3); }

/* ---------- Details ---------- */
.details-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 56px); }
.details-head .sec-head { margin-bottom: 0; }
.hud-shot { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); background: var(--bg); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 176px;
  padding: 24px 26px 26px; border: 2px dashed #202024; border-radius: var(--r-card);
  transition: border-color .25s, background-color .25s;
}
.detail:hover { border-color: #34343a; background: rgba(255,255,255,.012); }
.d-num { font-size: 15px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--text-3); transition: color .25s; }
.detail:hover .d-num { color: var(--text); }
.detail p { font-size: 16.5px; line-height: 1.5; color: var(--text); }

/* ---------- FAQ ---------- */
.split-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.split-faq .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 4px;
  font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--text-2); transition: transform .3s var(--ease), color .2s; }
.faq summary:hover .ic { color: var(--text); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--accent); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--r-ctl); }
.faq-body { padding: 0 4px 24px; max-width: 60ch; }
.faq-body p { font-size: 16.5px; }
.faq-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--text-3); text-underline-offset: 3px; }
.faq details[open] .faq-body { animation: faq-in .3s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(110px, 15vw, 200px); border-top: 1px solid var(--border); text-align: center; }
.cta-glow { position: absolute; left: 50%; top: 52%; width: min(1100px, 140%); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .04) 55%, transparent); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(46px, 9vw, 112px); line-height: 1; letter-spacing: -.035em; max-width: none; }
.cta .lead { margin-top: 22px; }
.cta .hero-cta { margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); padding-top: 40px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--text-2); }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.disclaimer { margin-top: 22px; font-size: 13px; color: var(--text-3); }
.footer-word {
  margin-top: clamp(28px, 5vw, 64px); text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-size: min(19.2vw, 360px); font-weight: 800; letter-spacing: -.055em; line-height: .8;
  height: .6em; overflow: hidden;
  background: linear-gradient(180deg, #202020 0%, #121212 55%, var(--bg) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .split-main { grid-template-columns: 1fr; }
  .split-copy { position: static; }
  .split-visual { margin-top: 8px; }
  .tab-index { max-width: 640px; }
  .showcase { grid-template-columns: 1fr; }
  .shots { max-width: 480px; width: 100%; margin-inline: auto; }
  .split-visuals { grid-template-columns: 1fr; gap: 56px; }
  .split-faq { grid-template-columns: 1fr; }
  .split-faq .sec-head { position: static; margin-bottom: 8px; }
  .media-grid { grid-template-columns: 1fr; }
  .details-head { grid-template-columns: 1fr; align-items: start; }
  .hud-shot { max-width: 456px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li, .facts li:not(:nth-child(3n)), .facts li:not(:nth-child(3n+1)) { padding: 22px 24px 24px 0; border-left: 0; }
  .facts li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--border); }
}
@media (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-6, .b-4 { grid-column: span 1; }
  .bento .bento-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 719px) {
  .stage-back { display: none; }
  .hero-frame .frame-inner { max-height: 460px; }
  .stage-float { right: 4%; bottom: 20px; width: min(300px, 78%); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .bento { grid-template-columns: 1fr; }
  .bento .bento-card:nth-child(5) { grid-column: auto; }
  .shot-tall .bento-shot, .b-6:not(.shot-tall) .bento-shot, .bento-shot { height: 210px; }
  .details-grid, .facts { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(n) { padding: 20px 0 22px; border-left: 0; }
  .detail { min-height: 0; gap: 28px; }
  .tab { padding: 0 11px; font-size: 13.5px; }
  .tablist { gap: 2px; }
  .tab-index li { grid-template-columns: 72px 1fr; gap: 12px; }
  .media-stage { min-height: 0; padding: 20px 12px 28px; }
  .media-panels { min-height: 340px; }
  .media-panels img { max-width: 100%; }
  .nav-sheet-actions { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}
@media (max-width: 420px) {
  .tab { padding: 0 7px; font-size: 13px; }
  .tablist { gap: 0; padding: 4px; }
  /* The five Customize section names can't fit a phone row; fade the trailing edge so the scroll is discoverable. */
  .shots .tablist { -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
}
@media (max-width: 370px) {
  .tab { padding: 0 6px; font-size: 12.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .swatches { gap: 8px; }
  .swatch { width: 32px; height: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html.js [data-reveal], html.js .stage[data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  html.js [data-split] .word { opacity: 1; filter: none; transform: none; }
  .stage { transform: none !important; }
  .stage-left, .stage-right, .stage-float { transform: none; }
  .hero-frame::before, .hero-frame::after { display: none; }
  .hero-dust { display: none; }
  .lyric-break span { opacity: .6; }
}
