/* FixtureLabs Keyboard product page */

:root {
  --ink: #0d0e11;
  --ink-2: #33363d;
  --muted: #6a6f78;
  --line: #e2e5eb;
  --bg: #ffffff;
  --wash: #ecfaf7;
  --wash-2: #d3f4ee;
  --chip: #dfe7fd;
  --chip-ink: #006558;
  --accent: #008575;
  --accent-2: #5fdcc7;
  --graphite: #0b0c0f;
  --graphite-2: #14161b;
  --graphite-3: #1d2027;
  --graphite-line: #2a2e37;
  --marble: #f4f2ee;
  --studio: #e9e6e1;
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --announce: 38px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.eyebrow {
  font: 600 12px/1 var(--mono);
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; margin-top: 18px; }
.section-head p { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); margin-top: 20px; max-width: 680px; }
.dark { background: var(--graphite); color: #f2f3f6; }
.dark .section-head p { color: #9aa0ab; }
.dark .eyebrow { color: var(--accent-2); }
.tbc { text-decoration: underline dotted #d99a00 2px; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- missing asset placeholder ---------- */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 24px;
  background-color: #eef1f6;
  background-image:
    linear-gradient(#d7dce6 1px, transparent 1px),
    linear-gradient(90deg, #d7dce6 1px, transparent 1px);
  background-size: 24px 24px;
  color: #4b5160;
  width: 100%; height: 100%;
}
.dark .ph { background-color: #13151a; background-image: linear-gradient(#232733 1px, transparent 1px), linear-gradient(90deg, #232733 1px, transparent 1px); color: #8d94a3; }
.ph b { font: 700 clamp(22px, 3vw, 40px)/1 var(--mono); color: var(--accent); }
.ph span { font: 500 14px/1.35 var(--text); max-width: 34ch; }
.ph code { font: 500 11px/1 var(--mono); opacity: .75; }
.asset-tag {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  font: 700 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px;
  background: #ffcf40; color: #1a1400; pointer-events: none;
}
body:not(.show-assets) .asset-tag.present { display: none; }

/* ---------- intro animation ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: radial-gradient(120% 90% at 50% 40%, #171a21 0%, var(--graphite) 60%);
  display: grid; place-items: center;
  color: #fff;
  transition: transform 1s cubic-bezier(.7, 0, .2, 1), opacity .6s ease .5s;
}
.intro::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 55% at 50% 45%, #000 20%, transparent 75%);
}
.intro.out { transform: translateY(-100%); }
.intro.gone { display: none; }
.intro-inner { position: relative; display: grid; justify-items: center; gap: 36px; }
.intro .deck { --k: clamp(40px, 7.4vw, 76px); }
.intro .key { opacity: 0; transform: translateY(10px) scale(.9); filter: brightness(2.5) blur(4px); transition: all .7s var(--ease); }
.intro .key.on { opacity: 1; transform: none; filter: none; }
.intro-type { text-align: center; }
.intro-type .l1 {
  font: 600 clamp(28px, 5vw, 60px)/1 var(--display); letter-spacing: -0.035em;
  clip-path: inset(0 0 100% 0); transform: translateY(18px);
  transition: clip-path .9s var(--ease), transform .9s var(--ease);
}
.intro-type .l2 {
  margin-top: 14px; font: 500 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: #8e95a3;
  opacity: 0; transition: opacity .8s ease .25s;
}
.intro.words .l1 { clip-path: inset(0 0 -10% 0); transform: none; }
.intro.words .l2 { opacity: 1; }
.intro-skip {
  position: absolute; right: 24px; bottom: 24px;
  background: none; border: 1px solid #2d313b; color: #9aa0ab; border-radius: 99px;
  padding: 8px 16px; font: 500 12px/1 var(--mono); letter-spacing: .08em;
}
.intro-skip:hover { color: #fff; border-color: #555b68; }

/* ---------- announcement ---------- */
.announce {
  height: var(--announce); display: flex; align-items: center; justify-content: center; gap: .35em; white-space: nowrap; overflow: hidden;
  background: var(--graphite); color: #cfd3db; text-align: center;
  font: 500 13px/1.3 var(--text); padding: 0 var(--gutter);
}
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -0.02em; }
.brand img { height: 22px; width: auto; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.gallery { position: relative; padding: 24px 0 24px 24px; }
.stage {
  position: relative; aspect-ratio: 1 / 1; max-height: calc(100vh - 150px); width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--studio);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.active { opacity: 1; }
.slide > img, .slide > video, .slide > .ph { width: 100%; height: 100%; object-fit: cover; }
.stage-dots { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 3; }
.stage-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: transform .2s; }
.stage-dots button.active { background: #fff; transform: scale(1.35); }
.stage-arrow {
  position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); display: grid; place-items: center; transform: translateY(-50%);
  opacity: 0; transition: opacity .25s; box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.stage-arrow.prev { left: 56px; } .stage-arrow.next { right: 18px; }
.stage:hover .stage-arrow, .stage-arrow:focus-visible { opacity: 1; }
.stage-play {
  position: absolute; left: 18px; bottom: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid #fff; background: rgba(40,42,48,.65); color: #fff; display: grid; place-items: center;
}
.stage-play[hidden] { display: none; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: 0 0 76px; height: 76px; border-radius: 14px; overflow: hidden; padding: 0; border: 2px solid transparent;
  background: var(--studio); position: relative; opacity: .7; transition: opacity .2s, border-color .2s;
}
.thumbs button img, .thumbs button .ph { width: 100%; height: 100%; object-fit: cover; }
.thumbs button .ph b { font-size: 14px; } .thumbs button .ph span, .thumbs button .ph code { display: none; }
.thumbs button.active { border-color: var(--accent); opacity: 1; }
.thumbs .vid-badge { position: absolute; inset: auto 6px 6px auto; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; }

.buy { background: #fff; padding: 44px clamp(24px, 3.4vw, 56px) 32px; }
.buy-inner { max-width: 460px; }
.badge-new { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chip-ink); background: var(--chip); padding: 8px 12px; border-radius: 99px; }
.badge-new i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 186, 164,.18); }
.price { font: 500 20px/1 var(--text); margin-top: 22px; }
.buy h1 { font-size: clamp(32px, 3vw, 42px); line-height: 1.05; font-weight: 500; margin-top: 12px; color: #2b2f37; }
.buy .tagline { font: 500 19px/1.35 var(--text); margin-top: 12px; }
.buy .desc { color: #545a64; font-size: 17px; line-height: 1.7; margin-top: 18px; }
.usp { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.usp li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.usp svg { flex: 0 0 20px; margin-top: 2px; color: var(--accent); }
.buy hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.buy h3 { font: 800 21px/1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.buy .h3-sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.compat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.compat figure { margin: 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
.compat .logo-tile {
  width: 100%; aspect-ratio: 1; max-width: 104px; border-radius: 18px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(13,14,17,.25);
}
.compat .logo-tile img { width: 72%; height: 72%; object-fit: contain; }
.compat .logo-tile .ph { background-size: 12px 12px; padding: 6px; gap: 2px; }
.compat .logo-tile .ph b { font-size: 13px; } .compat .logo-tile .ph span { font-size: 10px; } .compat .logo-tile .ph code { display: none; }
.compat figcaption { font: 600 13px/1.25 var(--text); color: var(--ink-2); }
.stock-card { background: #fff; border-radius: 22px; padding: 20px; border: 1px solid var(--line); box-shadow: 0 16px 40px -24px rgba(13,14,17,.28); }
.stock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stock-row small { display: block; font: 500 11px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stock-row strong { display: block; font: 500 20px/1 var(--text); margin-top: 6px; }
.pill-sold { display: inline-flex; align-items: center; gap: 8px; background: #f3f3f3; color: #3a3d44; font: 600 13px/1 var(--text); padding: 9px 12px; border-radius: 99px; }
.pill-sold i { width: 7px; height: 7px; border-radius: 50%; background: #c7462f; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 99px; border: 0;
  background: var(--ink); color: #fff; font: 600 16px/1 var(--text); text-decoration: none;
  transition: transform .15s, background .2s;
}
.btn:hover { background: #22252c; }
.btn:active { transform: scale(.98); }
.btn.full { width: 100%; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #eef0f4; }
.notify { margin-top: 16px; }
.notify form { display: none; gap: 8px; }
.notify.open form { display: flex; }
.notify.open .notify-open { display: none; }
.notify input {
  flex: 1; min-width: 0; height: 52px; border-radius: 99px; border: 1px solid #d5dbe8; padding: 0 20px; font: 400 16px var(--text); background: #fff;
}
.notify input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.notify .done { display: none; align-items: center; gap: 10px; height: 52px; font-weight: 600; color: #19713f; }
.notify.sent form, .notify.sent .notify-open { display: none; }
.notify.sent .done { display: flex; }
.notify .done > div { display: grid; gap: 3px; min-width: 0; }
.notify .done small { font-size: 13px; font-weight: 500; color: var(--muted); overflow-wrap: anywhere; }
.notify.pop .done { animation: notify-in .5s var(--ease) both; }
.notify.pop .done path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: notify-tick .45s .2s var(--ease) forwards; }
@keyframes notify-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes notify-tick { to { stroke-dashoffset: 0; } }
.stock-note { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* Desktop: the whole PDP, notify button included, fits on the first screen */
@media (min-width: 1021px) {
  .pdp { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); height: calc(100svh - var(--announce)); min-height: 600px; max-height: 1080px; }
  .gallery { display: flex; flex-direction: column; min-height: 0; padding: clamp(20px, 3.2svh, 40px) 0 clamp(20px, 3.2svh, 40px) clamp(20px, 2.4vw, 40px); }
  .stage { flex: 1; min-height: 0; aspect-ratio: auto; max-height: none; }
  .thumbs { flex: none; gap: 12px; margin-top: clamp(12px, 2svh, 20px); }
  .thumbs button { flex-basis: clamp(44px, 6.4svh, 64px); height: clamp(44px, 6.4svh, 64px); border-radius: 12px; }
  .buy { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(20px, 4svh, 56px) clamp(32px, 4.4vw, 88px); overflow: hidden; }
  .buy-inner { width: 100%; max-width: 440px; }
  .buy h1 { font-size: clamp(30px, 4.6svh, 44px); line-height: 1.04; margin-top: clamp(14px, 2.6svh, 26px); }
  .buy .tagline { font-size: clamp(16px, 2.1svh, 19px); margin-top: clamp(8px, 1.3svh, 12px); }
  .buy .desc { font-size: clamp(15px, 1.85svh, 16.5px); line-height: 1.7; margin-top: clamp(14px, 2.4svh, 22px); }
  .usp { margin-top: clamp(14px, 2.4svh, 24px); gap: clamp(8px, 1.3svh, 12px); }
  .usp li { font-size: clamp(14px, 1.7svh, 15px); }
  .buy hr { margin: clamp(18px, 3svh, 32px) 0; }
  .buy h3 { font-size: 12px; font-family: var(--mono); font-weight: 600; letter-spacing: .12em; color: var(--muted); }
  .compat { margin-top: clamp(14px, 2.2svh, 20px); gap: 12px; }
  .compat figure { gap: 10px; }
  .compat .logo-tile { max-width: clamp(52px, 7.4svh, 72px); border-radius: 16px; }
  .compat figcaption { font-size: 12.5px; font-weight: 500; color: var(--muted); }
  .stock-card { padding: clamp(16px, 2.6svh, 24px); border-radius: 22px; }
  .notify { margin-top: clamp(14px, 2.2svh, 20px); }
  .btn.full, .notify input, .notify form .btn { height: clamp(46px, 6svh, 54px); }
  .stock-note { display: none; }
}
@media (min-width: 1021px) and (max-height: 820px) { .usp { display: none; } }
@media (min-width: 1021px) and (max-height: 680px) { .buy .desc { display: none; } }

@media (max-width: 1020px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { padding: 12px var(--gutter) 0; }
  .stage { max-height: none; }
  .buy-inner { position: static; max-width: 640px; }
}

/* sticky mini bar */
.minibar {
  position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 140%);
  width: min(720px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 99px; box-shadow: 0 16px 48px -12px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .5s var(--ease);
}
.minibar.show { transform: translate(-50%, 0); }
.minibar .t { font: 600 15px/1.2 var(--display); }
.minibar .p { font-size: 13px; color: var(--muted); }
.minibar .btn { margin-left: auto; height: 44px; padding: 0 20px; font-size: 14px; }
@media (max-width: 520px) { .minibar .p { display: none; } }

/* ---------- statement ---------- */
.statement { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 110px); }
.statement p {
  max-width: 1180px; margin: 0 auto; text-align: center;
  font: 400 clamp(26px, 3.3vw, 44px)/1.42 var(--text); letter-spacing: -0.015em; color: #34373e;
}
.hl { color: var(--chip-ink); background: var(--wash); border-radius: 10px; padding: 0 .28em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .6s; }
.hl.in { background: var(--wash-2); }
.film {
  position: relative; margin-top: clamp(48px, 7vw, 96px);
  border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 7; background: var(--studio);
}
.film > video, .film > img, .film > .ph { width: 100%; height: 100%; object-fit: cover; }
.film-chip {
  position: absolute; right: clamp(16px, 5%, 72px); top: 38%;
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 16px;
  background: rgba(211,244,238,.95); color: var(--chip-ink); font: 500 clamp(15px, 1.6vw, 22px)/1 var(--text);
  box-shadow: 0 10px 30px -10px rgba(23,57,156,.4);
  transition: opacity .35s, transform .35s var(--ease);
}
.film-chip.swap { opacity: 0; transform: translateY(8px); }
.film-chip .key { --k: clamp(34px, 3.4vw, 48px); border-radius: 10px; }
@media (max-width: 700px) { .film { aspect-ratio: 4 / 3; } }

/* ---------- deck (live key grid) ---------- */
.deck { --k: 64px; --gap: calc(var(--k) * .245); display: grid; grid-template-columns: repeat(5, var(--k)); gap: var(--gap); }
.key {
  width: var(--k); height: var(--k); border-radius: calc(var(--k) * .16);
  background-color: #0f1013; background-repeat: no-repeat; background-size: 669.92% 401.95%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.08), 0 2px 0 #000, 0 calc(var(--k) * .08) calc(var(--k) * .18) rgba(0,0,0,.5);
  transition: transform .18s var(--ease), filter .18s ease, opacity .18s ease;
}
.key.flip { transform: scale(.82); filter: brightness(.3) blur(2px); }
.key.press { transform: scale(.92); filter: brightness(1.3); }

/* the marble enclosure, top view (113.5 x 80.8 mm) */
.device {
  --k: 58px;
  position: relative; display: inline-grid; place-items: center;
  padding: calc(var(--k) * .42);
  border-radius: calc(var(--k) * .22);
  background-color: var(--marble);
  background-image:
    radial-gradient(circle at 12% 18%, #2b2b2b 0 .8px, transparent 1.3px),
    radial-gradient(circle at 67% 41%, #3b3b3b 0 .7px, transparent 1.2px),
    radial-gradient(circle at 38% 76%, #2b2b2b 0 .9px, transparent 1.4px),
    radial-gradient(circle at 88% 83%, #4a4a4a 0 .6px, transparent 1.1px),
    radial-gradient(circle at 51% 9%, #555 0 .5px, transparent 1px),
    linear-gradient(160deg, #fbfaf7, #ebe8e2);
  background-size: 37px 41px, 53px 29px, 31px 47px, 43px 37px, 23px 29px, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), inset 0 -3px 6px rgba(0,0,0,.06), 0 40px 80px -30px rgba(0,0,0,.55), 0 12px 24px -12px rgba(0,0,0,.35);
}
.device::before {
  /* fluted rim */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 1px, transparent 1px 7px) top / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(0,0,0,.09) 0 1px, transparent 1px 7px) bottom / 100% 7px no-repeat,
    repeating-linear-gradient(0deg, rgba(0,0,0,.09) 0 1px, transparent 1px 7px) left / 7px 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(0,0,0,.09) 0 1px, transparent 1px 7px) right / 7px 100% no-repeat;
}
.device .panel {
  background: #050506; border-radius: calc(var(--k) * .1);
  padding: calc(var(--k) * .26) calc(var(--k) * .3);
  box-shadow: inset 0 0 0 1px #1d1f24, inset 0 2px 10px rgba(255,255,255,.04);
}

/* ---------- adapt demo ---------- */
.adapt { position: relative; overflow: hidden; }
.adapt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.adapt .wrap { position: relative; }
.env-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.env-tabs button {
  border: 1px solid var(--graphite-line); background: transparent; color: #aeb4bf;
  height: 42px; padding: 0 18px; border-radius: 99px; font: 500 14px/1 var(--text);
  display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
  transition: color .2s, border-color .2s, background .2s;
}
.env-tabs button:hover { color: #fff; border-color: #444a57; }
.env-tabs button.active { background: #fff; color: var(--ink); border-color: #fff; }
.env-tabs button .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.env-tabs button.active .bar { animation: fill var(--cycle, 4200ms) linear forwards; }
.adapt.paused .env-tabs button .bar { animation: none; width: 0; }
@keyframes fill { to { width: 100%; } }
.adapt-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) auto; gap: clamp(28px, 4vw, 64px); align-items: center; }
.cad-window {
  border-radius: 16px; overflow: hidden; background: #fff; color: #1f2329;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -40px rgba(0,0,0,.9);
  position: relative;
}
.cad-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; background: #eceef2; border-bottom: 1px solid #d9dce2; font: 500 12px/1 var(--text); color: #4a4f59; }
.cad-bar .lights { display: flex; gap: 6px; }
.cad-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3da; }
.cad-bar .file { margin: 0 auto; }
.cad-ribbon { display: flex; gap: 4px; padding: 8px 10px; background: #f6f7f9; border-bottom: 1px solid #e3e5ea; overflow: hidden; min-height: 58px; }
.cad-ribbon .tool { display: grid; justify-items: center; gap: 4px; min-width: 58px; padding: 4px 6px; border-radius: 6px; font: 500 10px/1.1 var(--text); color: #3c414b; white-space: nowrap; animation: pop .45s var(--ease) both; }
.cad-ribbon .tool i { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #d6def5, #9fb3ef); }
.cad-ribbon .tool:nth-child(1) i { background: linear-gradient(135deg, #7d9bff, #008575); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.cad-body { display: grid; grid-template-columns: 150px 1fr; aspect-ratio: 16 / 9.4; }
.cad-tree { border-right: 1px solid #e3e5ea; background: #fafbfc; padding: 10px; font: 400 11px/1.9 var(--text); color: #545a64; overflow: hidden; }
.cad-tree b { display: block; font-weight: 600; color: #1f2329; margin-bottom: 4px; }
.cad-tree div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cad-tree div::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #c4cde3; margin-right: 7px; vertical-align: 0; }
.cad-view { position: relative; background: linear-gradient(180deg, #f3f5f9, #dfe4ec); overflow: hidden; }
.cad-view svg, .cad-view img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cad-view img { object-fit: cover; }
.cad-view .scene { animation: fadein .5s ease both; }
@keyframes fadein { from { opacity: 0; } }
.cad-env-flag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(20,22,27,.8); padding: 7px 9px; border-radius: 6px;
}
.cad-cursor { position: absolute; z-index: 4; width: 18px; height: 18px; pointer-events: none; transition: left .7s var(--ease), top .7s var(--ease); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
@media (max-width: 700px) { .cad-body { grid-template-columns: 1fr; } .cad-tree { display: none; } }

.adapt-side { display: grid; justify-items: center; gap: 22px; }
.adapt .device { --k: clamp(40px, 4.6vw, 64px); }
.sync {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em; color: #aeb4bf;
  border: 1px solid var(--graphite-line); padding: 9px 14px; border-radius: 99px;
}
.sync i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); }
.sync.pulse i { animation: ping .9s ease-out; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(61,220,132,0); } }
.sync b { color: #fff; font-weight: 600; }
.adapt-caption { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.adapt-caption p { font: 400 clamp(18px, 1.8vw, 24px)/1.45 var(--text); color: #c9cdd5; max-width: 760px; min-height: 2.9em; transition: opacity .3s; }
.adapt-caption p.swap { opacity: 0; }
.adapt-caption p strong { color: #fff; font-weight: 600; }
.adapt-note { font: 500 12px/1.5 var(--mono); color: #6f7684; max-width: 300px; text-align: right; }
@media (max-width: 1020px) {
  .adapt-stage { grid-template-columns: 1fr; }
  .adapt-caption { grid-template-columns: 1fr; }
  .adapt-note { text-align: left; }
}

/* ---------- feature carousel ---------- */
.features { overflow: hidden; }
.rail {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  position: relative; flex: 0 0 clamp(290px, 29vw, 420px); aspect-ratio: 400 / 544;
  border-radius: var(--radius-xl); overflow: hidden; scroll-snap-align: start;
  background: var(--wash); isolation: isolate;
}
.card.tone-studio { background: var(--studio); }
.card.tone-dark { background: var(--graphite-2); }
.card > img, .card > video, .card > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.card:hover > img, .card:hover > video { transform: scale(1.035); }
.card-label {
  position: absolute; left: 28px; top: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px;
  border-radius: 22px; background: rgba(236,250,247,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 20px/1 var(--text); color: #006558;
}
.card-label .ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #006558; }
.card-plus {
  position: absolute; right: 26px; bottom: 26px; z-index: 2; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease);
}
.card-plus:hover { transform: rotate(90deg) scale(1.05); }
.card .card-deck { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.card .card-deck .deck { --k: clamp(70px, 8.4vw, 116px); grid-template-columns: repeat(2, var(--k)); transform: rotate(-8deg) translateY(30px); }
.rail-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.rail-dots { display: flex; gap: 12px; }
.rail-dots i { width: 9px; height: 9px; border-radius: 50%; background: #c9ccd3; transition: background .2s, transform .2s; }
.rail-dots i.active { background: var(--ink); transform: scale(1.2); }
.rail-arrows { display: flex; gap: 12px; }
.round {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: background .2s, opacity .2s;
}
.round:disabled { background: #cfd2d8; cursor: default; }

/* modal */
dialog.sheet {
  border: 0; padding: 0; border-radius: 32px; width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 48px);
  background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.5);
}
dialog.sheet::backdrop { background: rgba(10,12,16,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 480px; }
.sheet-media { position: relative; background: var(--wash); min-height: 320px; }
.sheet-media > img, .sheet-media > video, .sheet-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-media .card-deck { position: absolute; inset: 0; display: grid; place-items: center; background: var(--graphite-2); }
.sheet-media .card-deck .deck { --k: 96px; grid-template-columns: repeat(2, var(--k)); }
.sheet-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; overflow-y: auto; }
.sheet-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-top: 14px; }
.sheet-copy p { color: #50565f; font-size: 17px; line-height: 1.7; margin-top: 18px; }
.sheet-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sheet-copy li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.sheet-copy li span:first-child { font: 600 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet-close { position: absolute; right: 18px; top: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
@media (max-width: 760px) { .sheet-grid { grid-template-columns: 1fr; } .sheet-media { min-height: 280px; } }

/* ---------- every screen bento ---------- */
.screens { background: linear-gradient(180deg, #fff, var(--wash) 30%, var(--wash)); }
.bento { display: grid; grid-template-columns: .9fr .9fr 1fr 2.6fr; gap: 16px; height: clamp(460px, 44vw, 640px); }
.tile { position: relative; border-radius: 120px; overflow: hidden; background: #f5f5f3; isolation: isolate; }
.tile:last-child { border-radius: 72px; }
.tile > img, .tile > video, .tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.tile.dark-tile { background: var(--graphite-2); }
.tile .tile-deck { position: absolute; inset: 0 0 64px; display: grid; place-items: center; z-index: 0; }
.tile .tile-deck .deck { --k: clamp(46px, 4.2vw, 62px); grid-template-columns: repeat(2, var(--k)); }
.tile-tag {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; white-space: nowrap;
  font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--ink);
}
.tile.dark-tile .tile-tag { background: rgba(255,255,255,.12); color: #fff; }
.tile.wide .tile-tag { left: 40px; transform: none; bottom: 40px; }
.screen-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.screen-points h4 { font-size: 20px; }
.screen-points p { color: var(--muted); margin-top: 8px; font-size: 16px; }
.screen-points .n { font: 600 12px/1 var(--mono); color: var(--accent); margin-bottom: 14px; display: block; }
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(3, 1fr); height: auto; }
  .bento .tile { aspect-ratio: 1 / 1.6; }
  .bento .tile.wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .screen-points { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) { .bento .tile { border-radius: 60px; } .tile .tile-deck .deck { --k: 38px; } .tile-tag { font-size: 10px; padding: 8px 10px; } }



/* ---------- ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.eco-card { position: relative; border-radius: var(--radius-lg); background: var(--wash); overflow: hidden; display: flex; flex-direction: column; }
.eco-media { position: relative; aspect-ratio: 1 / 1; background: var(--studio); }
.eco-media > img, .eco-media > video, .eco-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eco-copy { padding: 26px 28px 30px; }
.eco-copy .verb { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eco-copy h3 { font-size: 26px; margin-top: 12px; }
.eco-copy p { color: var(--muted); margin-top: 10px; }
.eco-status { position: absolute; top: 18px; left: 18px; z-index: 2; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 11px; border-radius: 99px; background: rgba(255,255,255,.92); }
.eco-status.live { background: var(--ink); color: #fff; }
.hub { margin-top: 20px; border-radius: var(--radius-lg); background: var(--graphite); color: #fff; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; position: relative; overflow: hidden; }
.hub-mark { width: 88px; height: 88px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(0, 186, 164,.12), 0 0 60px rgba(0, 186, 164,.45); }
.hub-mark img { width: 58%; }
.hub h3 { font-size: clamp(24px, 2.4vw, 32px); }
.hub p { color: #a3a9b5; margin-top: 8px; max-width: 640px; }
.hub-flow { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); color: #c7ccd6; flex-wrap: wrap; }
.hub-flow span { border: 1px solid var(--graphite-line); padding: 9px 12px; border-radius: 99px; white-space: nowrap; }
.hub-flow svg { color: var(--accent-2); }
.eco-lines { position: absolute; left: 0; right: 0; bottom: -20px; height: 20px; pointer-events: none; }
@media (max-width: 1020px) {
  .eco-grid { grid-template-columns: 1fr; }
  .eco-card { display: grid; grid-template-columns: 1fr 1.2fr; }
  .eco-media { aspect-ratio: auto; min-height: 220px; }
  .hub { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .eco-card { grid-template-columns: 1fr; } .eco-media { aspect-ratio: 4 / 3; } }

/* ---------- specs + box ---------- */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.spec-table { border-top: 1px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font: 600 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-row dd { margin: 0; font-size: 16px; }
.spec-row dd small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.box-card { border-radius: var(--radius-lg); background: var(--wash); overflow: hidden; }
.box-media { aspect-ratio: 16 / 10; position: relative; background: var(--studio); }
.box-media > img, .box-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.box-list { padding: 28px; display: grid; gap: 14px; }
.box-list div { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.box-list .q { font: 600 13px/1 var(--mono); color: var(--accent); width: 28px; }
.req { margin-top: 28px; }
.req-tabs { display: inline-flex; padding: 4px; border-radius: 99px; background: #f0f2f6; }
.req-tabs button { border: 0; background: transparent; height: 36px; padding: 0 16px; border-radius: 99px; font: 500 14px var(--text); color: var(--muted); }
.req-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.req-panel { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.req-panel ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr; } .spec-row { grid-template-columns: 130px 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 36px; height: 36px; border-radius: 50%; background: #f0f2f6; display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq .ans { padding: 0 60px 26px 0; color: #50565f; font-size: 16px; line-height: 1.7; }
.faq .ans p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } .faq .ans { padding-right: 0; } }

/* ---------- final notify band + footer ---------- */
.band { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 170px) 0; }
.band .band-deck { display: flex; justify-content: center; margin-bottom: 44px; }
.band .deck { --k: clamp(32px, 4vw, 52px); }
.band h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.band p { color: #9aa0ab; font-size: 19px; margin: 20px auto 0; max-width: 560px; }
.band .notify { max-width: 520px; margin: 36px auto 0; }
.band .notify input { background: #16181e; border-color: #2a2e37; color: #fff; }
.band .notify .done { justify-content: center; color: #6fe3a1; }
.band .notify .done small { color: #a1a1a6; }
.footer { background: var(--graphite); color: #8c93a0; border-top: 1px solid var(--graphite-line); padding: 56px 0 40px; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer a { display: block; text-decoration: none; margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand img { filter: invert(1); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--graphite-line); padding-top: 24px; margin-top: 24px; font-size: 12px; line-height: 1.6; color: #666d7a; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .wrap > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* a real photo in a bento tile hides the drawn keys */
.tile > img + .tile-deck { display: none; }
.footer a.brand { display: inline-flex; margin-top: 0; }

/* ---------- the tools come to you: scroll scene ---------- */
.statement { padding-bottom: clamp(24px, 4vw, 48px); }
.bring { position: relative; height: 800vh; }
.bring-sticky { position: sticky; top: 0; height: 100svh; display: flex; }
.bring-stage {
  position: relative; flex: 1; overflow: hidden; isolation: isolate;
  /* a rounded card that grows to fill the screen in act 4 (--c goes 0 to 1) */
  clip-path: inset(calc(16px * (1 - var(--c, 0))) calc(var(--gutter) * (1 - var(--c, 0))) round calc(40px * (1 - var(--c, 0))));
  background: radial-gradient(120% 95% at 28% 18%, #f8f6f2 0%, #ece8e2 52%, #dcd6cd 100%);
}
.bring-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(60,60,80,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(60,60,80,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 70% at 40% 50%, #000 30%, transparent 80%);
}

/* ribbon */
.bring-ribbon {
  position: absolute; left: 50%; top: 4.5%; z-index: 3; transform-origin: top center;
  transform: translateX(-50%) translateY(var(--ry, 0px)) scale(var(--rs, 1));
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px -30px rgba(40,35,30,.45);
  padding: 0 10px 10px; white-space: nowrap;
}
.rb-tabs { display: flex; gap: 22px; padding: 11px 12px 9px; border-bottom: 1px solid #eceef2; font: 500 12px/1 var(--text); color: #6a6f78; }
.rb-tabs span { position: relative; }
.rb-tabs span.on { color: var(--ink); }
.rb-tabs span.on::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -10px; height: 2px; border-radius: 2px; background: var(--accent); }
.rb-body { display: flex; padding-top: 10px; }
.rb-group { display: flex; flex-direction: column; align-items: center; padding: 0 10px; border-right: 1px solid #eceef2; }
.rb-group:last-child { border-right: 0; }
.rb-tools { display: flex; gap: 4px; }
.rb-tool { width: 50px; display: grid; justify-items: center; gap: 5px; font: 500 10px/1 var(--text); color: #454a53; border-radius: 8px; padding: 4px 0; }
.rb-ico {
  position: relative; width: 38px; height: 38px; border-radius: 9px; background-color: #0f1013; background-repeat: no-repeat; background-size: 669.92% 401.95%;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.rb-slot { position: relative; width: 38px; height: 38px; }
.rb-slot::before { content: ""; position: absolute; inset: 0; border-radius: 9px; border: 1.5px dashed #b9c0cc; opacity: var(--gone, 0); }
.rb-slot .rb-ico { position: absolute; inset: 0; opacity: calc(1 - var(--gone, 0)); }
.rb-tool.hover { background: #ecfaf7; }
.rb-tool.hover .rb-ico { box-shadow: 0 0 0 2px var(--accent); }
.rb-ghost .rb-ico { background: linear-gradient(145deg, #eef0f4, #dfe3ea); box-shadow: inset 0 0 0 1px #d5dae3; }
.rb-ghost .rb-ico::after { content: ""; position: absolute; inset: 11px; border-radius: 4px; border: 2px solid #b8bfcc; }
.rb-ghost { opacity: var(--ghost, 1); color: #8a909b; }
.rb-glabel { margin-top: 8px; font: 600 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9aa0ab; }

/* model */
.bring-model { position: absolute; left: 5%; top: 21%; width: 42%; height: 46%; z-index: 1; }
.bring-model svg { width: 100%; height: 100%; overflow: visible; }
.bring-file { position: absolute; left: 2%; top: -6%; font-size: 11px; color: #7a808b; letter-spacing: .04em; }

/* the mouse's trip to the ribbon */
.bring-trip { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.bring-trip path { fill: none; stroke: #33363d; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: var(--q, 0) 1; opacity: .5; }
.bring-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }

/* keyboard in 3D */
.bring-device { position: absolute; right: 11%; top: 36%; z-index: 4; }
.bring-mover { perspective: 1800px; perspective-origin: 50% 0%; transform-origin: 50% 50%; will-change: transform; }
.bring .device {
  --k: clamp(28px, 3.7vw, 60px); --t: calc(var(--k) * 1.15);
  transform: rotateX(var(--rx, 52deg)) rotateZ(var(--rz, -32deg)); transform-style: preserve-3d; box-shadow: none;
}
.bring .device::after {
  content: ""; position: absolute; inset: 6% 4%; border-radius: 24px; background: rgba(40,32,24,.5); filter: blur(26px);
  transform: translateZ(calc(var(--t) * -1 - 2px)) translate(4%, 6%);
}
.bring .device .side { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bring .device .front, .bring .device .back {
  left: 0; width: 100%; height: var(--t);
  background: linear-gradient(rgba(0,0,0,.02), rgba(0,0,0,.1)), repeating-linear-gradient(90deg, #f4f1eb 0 calc(var(--k) * .1), #d7d0c5 calc(var(--k) * .1) calc(var(--k) * .135));
}
.bring .device .left, .bring .device .right {
  top: 0; height: 100%; width: var(--t);
  background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(0,0,0,.2)), repeating-linear-gradient(0deg, #f4f1eb 0 calc(var(--k) * .1), #d7d0c5 calc(var(--k) * .1) calc(var(--k) * .135));
}
.bring .device .front { top: 100%; transform-origin: top; transform: rotateX(-90deg); }
.bring .device .back { bottom: 100%; transform-origin: bottom; transform: rotateX(90deg); }
.bring .device .right { left: 100%; transform-origin: left; transform: rotateY(90deg); }
.bring .device .left { right: 100%; transform-origin: right; transform: rotateY(-90deg); }
.bring .key { filter: brightness(var(--b, 1)) saturate(var(--b, 1)); transition: transform .15s var(--ease), box-shadow .3s ease; }
.bring .key.land { animation: land .7s var(--ease); }
.bring .key.pressed { transform: scale(.88); box-shadow: 0 0 0 3px var(--accent), 0 0 30px rgba(0, 186, 164,.8); }
@keyframes land { 0% { box-shadow: 0 0 0 3px rgba(0, 186, 164,.9), 0 0 34px rgba(0, 186, 164,.9); } 100% { box-shadow: 0 0 0 0 rgba(0, 186, 164,0), 0 0 0 rgba(0, 186, 164,0); } }

/* flying keys */
.bring-fly { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.flyer {
  position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 16%;
  background-color: #0f1013; background-repeat: no-repeat; background-size: 669.92% 401.95%;
  box-shadow: 0 18px 30px -12px rgba(20,20,30,.55); opacity: 0; will-change: transform, opacity;
}

/* copy */
.bring-copy { position: absolute; left: 5%; bottom: 7%; width: min(460px, 40%); z-index: 4; }
.bring-steps { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 10px; }
.bring-steps li { flex: 1; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9aa0ab; }
.bring-steps li i { display: block; height: 2px; border-radius: 2px; background: rgba(0,0,0,.1); margin-bottom: 9px; overflow: hidden; position: relative; }
.bring-steps li i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--f, 0)); }
.bring-steps li.on { color: var(--ink); }
.bring-copy .caps { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.bring-copy .cap { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--ease); }
.bring-copy .cap.on { opacity: 1; transform: none; }
.bring-copy h3 { font-size: clamp(24px, 2.5vw, 38px); line-height: 1.08; margin-top: 12px; }
.bring-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7a808b; transition: opacity .3s; }
.bring-hint svg { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

@media (max-width: 900px) {
  .bring { height: 720vh; }
  .rb-ghost { display: none; }
  .bring-copy { left: 6%; right: 6%; width: auto; top: 17%; bottom: auto; }
  .bring-copy h3 { font-size: clamp(22px, 5.8vw, 30px); }
  .bring-model { left: 4%; right: 4%; width: auto; top: 42%; height: 24%; }
  .bring-file { display: none; }
  .bring-device { right: auto; left: 50%; top: 68%; transform: translateX(-50%); }
  .bring .device { --k: clamp(18px, 5vw, 30px); }
  .bring-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bring { height: auto; }
  .bring-sticky { position: relative; height: 100svh; }
}

/* ---------- every screen: expanding tiles ---------- */
.acc-row { display: flex; gap: 14px; height: clamp(400px, 40vw, 600px); }
.acc-tile {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate; cursor: pointer;
  border-radius: 56px; background: var(--graphite-2);
  transition: flex-grow .8s var(--ease), border-radius .8s var(--ease);
}
.acc-tile.open { flex-grow: 4.4; border-radius: 40px; cursor: default; }
.acc-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.acc-tile > img, .acc-tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.acc-tile:not(.open) > img { transform: scale(1.12); }
.acc-tile > img + .tile-deck { display: none; }
.acc-tile .tile-deck { position: absolute; inset: 0; display: grid; place-items: center; }
.acc-tile .tile-deck::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 50%, rgba(0, 186, 164,.18), transparent 70%);
  opacity: 0; transition: opacity .8s ease;
}
.acc-tile.open .tile-deck::before { opacity: 1; }
.acc-tile .deck { --k: clamp(46px, 4.8vw, 76px); transition: transform .8s var(--ease); }
.acc-tile:not(.open) .deck { transform: scale(.9); }
.acc-caps { display: flex; gap: 14px; margin-top: 20px; }
.acc-cap {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 12px;
  opacity: 0; transition: flex-grow .8s var(--ease), opacity .25s ease; pointer-events: none;
}
.acc-cap.open { flex-grow: 4.4; opacity: 1; transition: flex-grow .8s var(--ease), opacity .5s ease .35s; pointer-events: auto; }
.acc-cap span { font: 500 clamp(16px, 1.4vw, 19px)/1.3 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-plus { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .25s var(--ease); }
.acc-plus:hover { transform: rotate(90deg); }
@media (max-width: 700px) {
  .acc-row { height: 380px; gap: 8px; }
  .acc-tile { border-radius: 32px; }
  .acc-tile.open { flex-grow: 6; border-radius: 28px; }
  .acc-caps { gap: 8px; }
  .acc-cap.open { flex-grow: 6; }
  .acc-tile .deck { --k: 40px; }
}
.sheet-media .tile-deck { position: absolute; inset: 0; display: grid; place-items: center; background: var(--graphite-2); }
.sheet-media .tile-deck .deck { --k: clamp(40px, 5vw, 64px); }
/* ?at=0.5 shows only the scroll scene, frozen at that point (for screenshots) */
.solo-bring .announce, .solo-bring main > :not(#bring), .solo-bring .footer, .solo-bring .minibar, .solo-bring .intro { display: none !important; }
.solo-bring .bring { height: 100svh; }

/* ---------- acts 4 and 5: the stage turns dark, the keyboard docks, the environments play ---------- */
.bring-night { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  clip-path: circle(var(--nr, 0px) at var(--nx, 75%) var(--ny, 50%)); /* the dark spreads out from the keyboard */
  background: radial-gradient(110% 90% at 72% 45%, #181b23 0%, #0b0c0f 62%); }
.bring-night::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(75% 70% at 50% 50%, #000 30%, transparent 85%);
}
.bring-adapt {
  position: absolute; inset: 7% 5% 6%; z-index: 3; color: #f2f3f6; pointer-events: none;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(32px, 4.5vw, 80px); row-gap: clamp(18px, 3svh, 36px);
}
.bring-adapt.live { pointer-events: auto; }
.bring-adapt > :not(.ad-side), .ad-side > :not(.ad-dock) { opacity: 0; }
.ad-head { grid-column: 1; grid-row: 1; }
.ad-head .eyebrow { color: var(--accent-2); }
.ad-head h2 { font-size: clamp(34px, min(4.6vw, 7.4svh), 68px); line-height: 1.02; margin-top: 14px; }
.ad-head p { color: #9aa0ab; font-size: clamp(15px, 1.9svh, 18px); margin-top: 14px; max-width: 580px; }
.ad-window { grid-column: 1; grid-row: 2; height: 100%; display: flex; flex-direction: column; min-height: 0; }
.ad-window .cad-body { flex: 1; aspect-ratio: auto; min-height: 0; }
.ad-side { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: clamp(12px, 2svh, 20px); min-height: 0; }
.ad-side > .ad-dock { opacity: 1; flex: 1; min-height: 140px; }
.ad-side .env-tabs { margin: 0; justify-content: flex-end; gap: 6px; }
.ad-side .env-tabs button { height: 36px; padding: 0 13px; font-size: 13px; }
.ad-side .sync { align-self: center; }
.bring-adapt .env-tabs button .bar { animation: none; width: calc(var(--f, 0) * 100%); }
.ad-copy { font: 400 clamp(16px, 2.1svh, 21px)/1.45 var(--text); color: #c9cdd5; min-height: 2.9em; transition: opacity .3s; text-align: center; }
.ad-copy strong { color: #fff; font-weight: 600; }
.ad-copy.swap { opacity: 0 !important; }
.bring-adapt .adapt-note { text-align: center; max-width: none; }
@media (max-width: 900px) {
  .bring-adapt { inset: 5% 5% 4%; grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0, 1fr) minmax(130px, 26%) auto; row-gap: 12px; }
  .ad-side { display: contents; }
  .ad-head { grid-row: 1; }
  .ad-head h2 { font-size: clamp(28px, 8vw, 36px); }
  .ad-head p, .ad-copy, .bring-adapt .adapt-note { display: none; }
  .ad-side .env-tabs { grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ad-side .env-tabs button { height: 34px; padding: 0 12px; font-size: 13px; flex: none; }
  .ad-window { grid-row: 3; }
  .ad-side > .ad-dock { grid-row: 4; min-height: 0; }
  .ad-side .sync { grid-row: 5; }
}

/* coming soon: the caliper and mouse stay blurred until launch (remove the "soon" class to reveal) */
.eco-card.soon .eco-media { overflow: hidden; }
.eco-card.soon .eco-media > img { filter: blur(6px) saturate(.9) contrast(1.05); transform: scale(1.08); transition: filter .8s var(--ease), transform .8s var(--ease); }
.eco-card.soon:hover .eco-media > img { filter: blur(3.5px) saturate(.95) contrast(1.05); transform: scale(1.06); }
.eco-card.soon .veil {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 10px 30px -12px rgba(40,35,30,.35);
  font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #3b3f47; white-space: nowrap;
}
.snap .reveal { transition: none; }
.solo .announce, .solo main > :not(.solo-target), .solo .footer, .solo .minibar, .solo .intro { display: none !important; }

/* =====================================================================
   One page, one system (Apple-style pass). Neutral greys, black for the
   cinematic sections, FixtureLabs blue only as an accent. Section rhythm:
   PDP white > statement white > scene (card to black) > design black >
   every screen grey > bench white > specs grey > FAQ white > band black > footer grey
   ===================================================================== */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --wash: #f5f5f7;
  --wash-2: #e8e8ed;
  --chip: #f5f5f7;
  --chip-ink: #1d1d1f;
  --black: #0b0c0f;
  --card-dark: #1c1c1f;
}
body { color: var(--ink); }
.tbc { text-decoration: none; }
body.draft .tbc { text-decoration: underline dotted #d99a00 2px; text-underline-offset: 3px; }

/* section backgrounds */
.tone-white { background: #fff; }
.tone-grey { background: var(--soft); }
.tone-black { background: var(--black); color: #f5f5f7; }
.screens { background: var(--soft); }

/* headings: centred, two-tone, a quiet eyebrow */
.eyebrow { font: 600 clamp(15px, 1.25vw, 19px)/1.3 var(--text); letter-spacing: -0.01em; text-transform: none; color: var(--accent); gap: 0; }
.eyebrow::before { display: none; }
.tone-black .eyebrow, .dark .eyebrow, .ad-head .eyebrow { color: #5fdcc7; }
.tone { color: var(--faint); }
.section-head { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head { max-width: 1040px; }
.section-head h2 { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.05; letter-spacing: -0.035em; margin-top: 14px; text-wrap: balance; }
.section-head p { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); }
.tone-black .section-head p, .dark .section-head p { color: #a1a1a6; }
.section { padding: clamp(96px, 12vw, 176px) 0; }
.more { display: inline-flex; align-items: center; gap: 2px; font: 500 17px/1.2 var(--text); color: var(--accent); text-decoration: none; }
.more::after { content: "›"; font-size: 1.25em; line-height: 0; margin-left: 4px; transform: translateY(-1px); transition: transform .2s var(--ease); }
.more:hover::after { transform: translate(3px, -1px); }
.more.light { color: #5fdcc7; }

/* buy box */
.badge-new { background: none; padding: 0; border-radius: 0; font: 600 15px/1 var(--text); letter-spacing: 0; text-transform: none; color: var(--accent); }
.buy h1 { color: var(--ink); font-weight: 600; letter-spacing: -0.03em; }
.buy .desc { color: var(--muted); }
.buy h3 { font: 600 15px/1.2 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.compat .logo-tile { box-shadow: none; border-color: var(--line); }

/* statement: grey text, the key phrases resolve to black */
.statement { background: #fff; }
.statement p { font: 600 clamp(28px, 3.5vw, 52px)/1.2 var(--display); letter-spacing: -0.028em; color: #b0b0b5; max-width: 1080px; }
.hl, .hl.in { background: none; padding: 0; border-radius: 0; color: #b0b0b5; transition: color 1s var(--ease); }
.hl.in { color: var(--ink); }

/* design: dark, continuing the scene */
.features.tone-black { overflow: hidden; }
.features .card { background: var(--card-dark); }
.features .card.tone-studio { background: var(--studio); }
.card-label { background: rgba(255,255,255,.88); color: var(--ink); font-weight: 600; font-size: 17px; border-radius: 99px; padding: 8px 20px 8px 8px; }
.card-label .ic { width: 40px; height: 40px; background: var(--ink); color: #fff; }
.card-plus { background: rgba(29,29,31,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.tone-black .rail-dots i { background: #424245; }
.tone-black .rail-dots i.active { background: #f5f5f7; }
.tone-black .round { background: #2c2c2e; color: #f5f5f7; }
.tone-black .round:disabled { background: #1c1c1f; color: #58585d; }

/* every screen */
.acc-tile { background: var(--card-dark); }
.acc-cap span { font-weight: 600; color: var(--ink); }
.screen-points { border-top: 1px solid var(--line); padding-top: 40px; }
.screen-points .n { font: 600 14px/1 var(--text); color: var(--accent); }
.screen-points p { color: var(--muted); }

/* ---------- tech specs ---------- */
.spec-hero {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: 28px; padding: clamp(28px, 3.5vw, 48px) 0;
}
.spec-hero > div { text-align: center; padding: 0 16px; border-left: 1px solid var(--line); }
.spec-hero > div:first-child { border-left: 0; }
.spec-hero b { display: block; font: 600 clamp(44px, 5.4vw, 80px)/1 var(--display); letter-spacing: -0.04em; }
.spec-hero b small { font-size: .38em; letter-spacing: -0.01em; color: var(--muted); font-weight: 600; }
.spec-hero span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
.spec-groups { background: #fff; border-radius: 28px; margin-top: 20px; padding: 8px clamp(24px, 3.5vw, 56px); }
.spec-group { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.spec-group:first-child { border-top: 0; }
.spec-group h3 { font-size: 22px; letter-spacing: -0.02em; }
.spec-body { display: grid; gap: 28px; }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.spec-list dt { font-size: 14px; color: var(--muted); }
.spec-list dd { margin: 4px 0 0; font-size: 17px; line-height: 1.4; }
.size-draw { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.size-draw .sd-part rect, .size-draw .sd-part path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.size-draw .sd-keys rect { fill: none; stroke: #a1a1a6; stroke-width: .9; }
.size-draw .sd-dim path { fill: none; stroke: #a1a1a6; stroke-width: 1; }
.size-draw .sd-dim path.ref { stroke-dasharray: 3 3; }
.size-draw text { font: 500 12px var(--text); fill: var(--muted); }
.size-draw text.m { text-anchor: middle; }
.size-draw text.r { text-anchor: end; }
.spec-logos { display: flex; flex-wrap: wrap; gap: 28px; }
.spec-logos figure { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 16px; }
.spec-logos img { width: 40px; height: 40px; object-fit: contain; }
.box-shot { margin: 0; max-width: 560px; border-radius: 18px; overflow: hidden; background: var(--studio); aspect-ratio: 16 / 10; position: relative; }
.box-shot > img, .box-shot > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.box-items { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.box-items li { background: var(--soft); border-radius: 99px; padding: 10px 16px; font-size: 15px; }
@media (max-width: 800px) {
  .spec-hero { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .spec-hero > div:nth-child(3) { border-left: 0; }
  .spec-group { grid-template-columns: 1fr; gap: 18px; }
  .spec-list { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-grid .section-head { text-align: left; margin-left: 0; margin-right: 0; }
.faq-grid .section-head p { margin-left: 0; }
.faq summary { font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); }
.faq summary .pm { background: var(--soft); }
.faq .ans { color: var(--muted); }
.faq .ans a { color: var(--accent); text-decoration: none; }

/* closing band and footer */
.band { background: var(--black); }
.band p { color: #a1a1a6; }
.footer { background: var(--soft); color: var(--muted); border-top: 0; font-size: 13px; }
.footer h4 { color: var(--ink); font: 600 13px/1 var(--text); letter-spacing: 0; text-transform: none; }
.footer a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); }
.footer .brand img { filter: none; }
.footer .legal { border-top-color: var(--line); color: var(--faint); }

:root { --announce: 0px; }
.section-head h2, .ad-head h2 { margin-top: 0; }

/* tech specs, short version: four figures, then six facts */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: var(--line); border-radius: 28px; overflow: hidden; }
.spec-grid > div { background: #fff; padding: clamp(24px, 3vw, 40px); }
.spec-grid h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.spec-grid p { margin-top: 10px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); }
@media (max-width: 800px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

/* CAD icon set card: a slowly drifting wall of every command icon */
.card .icon-wall { place-items: start center; overflow: hidden; mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 80%, transparent); }
.wall-track { --k: clamp(58px, 5.6vw, 78px); display: grid; grid-template-columns: repeat(4, var(--k)); gap: calc(var(--k) * .2); padding-bottom: calc(var(--k) * .2); animation: wall-drift 60s linear infinite; }
.card:hover .wall-track { animation-play-state: paused; }
@keyframes wall-drift { to { transform: translateY(-50%); } }
.sheet-media .icon-wall { background: var(--card-dark); }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }

/* the CAD window: real key icons in the ribbon, the tool in use lit to match the key */
.cad-ribbon .tool { gap: 5px; transition: background .25s, box-shadow .25s; }
.cad-ribbon .tool .ti { width: 26px; height: 26px; border-radius: 6px; background-color: #0f1013; background-repeat: no-repeat; background-size: 669.92% 401.95%; }
.cad-ribbon .tool.on { background: #ecfaf7; box-shadow: inset 0 0 0 1.5px var(--accent); color: #006558; }
.cad-cursor { display: none; }
.bring .key.cue { box-shadow: 0 0 0 3px var(--accent), 0 0 26px rgba(0, 186, 164,.75); }

/* environment progress: every step has a visible track, finished steps stay filled */
.bring-adapt .env-tabs button { position: relative; padding-bottom: 4px; }
.bring-adapt .env-tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.16); }
.bring-adapt .env-tabs button .bar { position: absolute; left: 12px; bottom: 6px; height: 3px; border-radius: 3px; width: calc(var(--f, 0) * (100% - 24px)); background: var(--accent); z-index: 1; animation: none; }
.bring-adapt .env-tabs button.active::after { background: rgba(0,0,0,.12); }
.bring-adapt .env-tabs button.done { color: #f5f5f7; border-color: #3a3f4b; }
.env-progress { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: -4px; font: 600 13px/1 var(--text); color: #86868b; }
.env-progress #env-count { color: #f5f5f7; }
.env-scroll { display: inline-flex; align-items: center; gap: 6px; transition: opacity .3s; }
.env-scroll svg { animation: nudge 1.6s ease-in-out infinite; }
.bring-adapt.last .env-scroll { opacity: 0; }
@media (max-width: 900px) { .env-progress { grid-row: 2; justify-content: flex-start; margin-top: 44px; } }
.cad-view .scene { animation: none; }
.cad-view .scene.enter { animation: fadein .4s ease both; }

/* Context aware card: the keyboard cycles through its CAD pages, the environment label switches with it */
.ctx-cycle { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 90px 22px 100px; }
.ctx-stack { position: relative; width: 100%; aspect-ratio: 857 / 599; }
.ctx-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; }
.ctx-stack img.on { opacity: 1; }
.ctx-env { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 99px; border: 1px solid #34363d; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: #a1a1a6; white-space: nowrap; }
.ctx-env b { color: #fff; font-weight: 600; }
.ctx-env i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.ctx-cycle.tick .ctx-env i { animation: ping .9s ease-out; }
.sheet-media .ctx-cycle { position: absolute; inset: 0; background: var(--card-dark); }

/* ---------- buy box: the plugin page's placement (top aligned, same column split and spacing) ---------- */
.buy-inner { max-width: 460px; }
.badge-new { font: 600 15px/1 var(--text); color: var(--accent); }
.buy h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.03em; margin-top: 12px; }
.buy .tagline { font: 500 19px/1.35 var(--text); margin-top: 10px; }
.buy .desc { color: var(--muted); font-size: 16px; line-height: 1.6; margin-top: 10px; }
.usp { margin-top: 20px; gap: 10px; }
.usp li { font-size: 15px; }
.buy hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.buy h3 { font: 600 15px/1.2 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.compat { display: flex; gap: 22px; margin-top: 14px; }
.compat figure { margin: 0; display: grid; gap: 8px; justify-items: center; text-align: center; }
.compat .logo-tile { width: 64px; max-width: none; aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: none; display: grid; place-items: center; overflow: hidden; }
.compat .logo-tile img { width: 70%; height: 70%; object-fit: contain; }
.compat figcaption { font: 600 12.5px/1.25 var(--text); color: var(--ink-2); }
@media (min-width: 1021px) {
  .pdp { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .buy { justify-content: flex-start; align-items: stretch; padding: 40px clamp(24px, 3.4vw, 56px) 32px; }
  .stock-note { display: block; margin-top: 12px; font-size: 12.5px; }
}
@media (min-width: 1021px) and (max-height: 820px) { .buy hr { margin: 18px 0; } .stock-note { display: none; } }
@media (max-width: 1020px) { .buy-inner { max-width: 560px; margin: 0 auto; } }
.buy .h3-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

