/* Uhura Digital user guide — layout & components */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body { margin: 0; background: var(--c-paper); color: var(--c-text); font: var(--t-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: none; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: var(--c-green); font: var(--t-ui); padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 10px; outline: var(--focus-ring-on-ink); outline-offset: 2px; }

:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.visor :focus-visible, .drawer__list .is-current:focus-visible { outline: var(--focus-ring-on-ink); }

.wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ───────── Fit-to-width scaler (design-px artboards) ───────── */
.fit { position: relative; width: 100%; aspect-ratio: var(--fw) / var(--fh); }
.fit__inner { position: absolute; left: 0; top: 0; width: calc(var(--fw) * 1px); height: calc(var(--fh) * 1px); transform-origin: 0 0; transform: scale(var(--fs, 1)); }

/* ───────── 3D keys ───────── */
.k3d { --d: 10px; --press: 6px; --p: 0px; position: relative; display: inline-flex; padding: 0 var(--d) var(--d) 0; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  --k-top: var(--k-ui-top); --k-side: var(--k-ui-side); --k-bottom: var(--k-ui-bottom); }
.k3d[data-skin="green"]   { --k-top: var(--k-green-top);   --k-side: var(--k-green-side);   --k-bottom: var(--k-green-bottom); }
.k3d[data-skin="chassis"] { --k-top: var(--k-chassis-top); --k-side: var(--k-chassis-side); --k-bottom: var(--k-chassis-bottom); }
.k3d[data-skin="white"]   { --k-top: var(--c-white);       --k-side: var(--k-ui-side);      --k-bottom: var(--k-ui-bottom); }
.k3d__face { position: relative; z-index: 1; display: flex; align-items: center; width: 100%; background: var(--k-top); border: 1px solid var(--c-ink); border-radius: 2px;
  transform: translate(var(--p), var(--p)); transition: transform var(--d-hover) var(--e-in), background-color var(--d-hover) linear; }
/* side + bottom faces hang off the front face and shrink as it travels, so the base never moves */
.k3d__face::before, .k3d__face::after { content: ""; position: absolute; z-index: -1; box-sizing: border-box; border: 1px solid var(--c-ink); pointer-events: none; transform-origin: 0 0;
  transition: width var(--d-hover) var(--e-in), height var(--d-hover) var(--e-in); }
.k3d__face::before { left: 100%; top: -1px; width: calc(var(--d) - var(--p) + 1px); height: calc(100% + 2px); background: var(--k-side); transform: skewY(45deg); }
.k3d__face::after { top: 100%; left: -1px; height: calc(var(--d) - var(--p) + 1px); width: calc(100% + 2px); background: var(--k-bottom); transform: skewX(45deg); }
.k3d > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
@media (hover: hover) { .k3d:hover { --p: 2px; } }
.k3d:active { --p: var(--press); }
.k3d:active .k3d__face, .k3d:active .k3d__face::before, .k3d:active .k3d__face::after { transition-duration: var(--d-press); }
.k3d.is-hint { --p: 2px; }
.k3d.is-hint .k3d__face, .k3d.is-hint .k3d__face::before, .k3d.is-hint .k3d__face::after { transition-duration: 90ms; }
.k3d:has(> input:checked) { --p: var(--press); --k-top: var(--c-white); }
.k3d:has(> input:focus-visible) .k3d__face { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.k3d:focus-visible { outline: none; }
.k3d:focus-visible .k3d__face { outline: var(--focus-ring); outline-offset: var(--focus-offset); }

/* Buttons */
.btn-l { --d: 10px; }
.btn-l .k3d__face { width: 280px; height: 56px; justify-content: center; gap: 1ch; font: var(--t-button); }
.k3d--s { --d: 5px; --press: 3px; }
.k3d--s .k3d__face { height: 32px; padding: 0 18px; justify-content: center; gap: 1ch; font: var(--t-button-s); white-space: nowrap; }
.btn-group { display: flex; flex-wrap: wrap; gap: 24px; }

/* LEDs + radios */
.led { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--c-ink); background: var(--c-paper); transition: background-color 80ms steps(1); }
.led.is-on, .led--green.is-on { background: var(--c-green); }
.led--red.is-on { background: var(--c-red); }
.radio { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--c-ink); background: var(--c-paper); }
.k3d:has(> input:checked) .radio { background: var(--c-green); border-color: var(--c-ink); width: 12px; height: 12px; }

/* ───────── NAV ───────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: var(--c-paper); border-bottom: 1px solid var(--c-ink); }
.nav__inner { max-width: var(--page-max); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter); }
.nav__logo { display: block; flex: none; }
.nav__meta { font: var(--t-caption); color: var(--c-text-2); white-space: nowrap; }
.nav__spacer { flex: 1; }
.nav__progress { display: flex; align-items: center; gap: 4px; font: var(--t-meta); }
.nav__bars { display: flex; gap: 4px; }
.nav__bars i { width: 14px; height: 8px; border: 1px solid var(--c-ink); border-radius: 1.5px; background: var(--c-paper); }
.nav__bars i.is-on { background: var(--c-ink); }
.nav .k3d { margin-top: 5px; }
.nav__index .k3d__face { width: 96px; padding: 0; }

/* ───────── SECTIONS ───────── */
.section { border-top: 1px dashed var(--c-rule); padding: var(--section-py) 0; }
.sec-head { display: flex; align-items: flex-end; gap: 24px; font-weight: 500; font-family: var(--f-mono); }
.sec-head__n { font: var(--t-ui); color: var(--c-text-2); }
.sec-head__t { font: var(--t-h1); letter-spacing: var(--ls-h1); text-transform: uppercase; }
.lead { font: var(--t-lead); letter-spacing: var(--ls-lead); max-width: 980px; margin-top: var(--stack-md); }
.eyebrow { font: var(--t-eyebrow); letter-spacing: var(--ls-eyebrow); color: var(--c-text-2); text-transform: uppercase; }

.band { display: flex; align-items: center; gap: 14px; background: var(--c-band); border-bottom: 1.5px solid var(--c-ink); padding: 20px 24px; font: var(--t-band); letter-spacing: var(--ls-band); text-transform: uppercase; }
.band__n { font: var(--t-ui); letter-spacing: 0; color: var(--c-text-2); }
.band--open { border: 1px solid var(--c-ink); border-bottom: 0; }
.box { border: 1.5px solid var(--c-ink); background: var(--c-paper); }

/* reveals */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--d-reveal) var(--e-in), transform var(--d-reveal) var(--e-in); transition-delay: var(--rd, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────── 00 HERO ───────── */
.hero { position: relative; }
/* the hero always fills the first screen, so the next section starts below the fold */
.hero__pin { position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; }
.hero__stage { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 40px var(--gutter) 56px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hero__meta { width: 100%; display: flex; justify-content: space-between; font: var(--t-ui-s); color: var(--c-text-2); }
.hero__device { max-width: 1180px; }
.hero__device-m { display: none; }
.device__base { position: absolute; left: 0; top: 0; }
.device__power-led { position: absolute; left: 513px; top: 67px; width: 14px; height: 14px; }
.device__visor { position: absolute; left: 80px; top: 56px; width: 380px; height: 140px; padding: 36px 24px 0; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; }
.device__main { font-size: 56px; line-height: 1; color: var(--c-display-off); white-space: nowrap; }
.device__main.is-ready { color: var(--c-green); }
.device__sub { margin-top: 12px; margin-left: 2px; font-size: 16px; line-height: 1.45; color: var(--c-display-dim); white-space: nowrap; }
.device__boot { display: none; position: absolute; left: 24px; right: 24px; top: 36px; color: var(--c-display-dim); font-size: 18px; }
.device__bootbar { display: block; height: 14px; margin-top: 8px; border: 1px solid var(--c-display-dim); padding: 2px; }
.device__bootbar i { display: block; height: 100%; width: calc(var(--boot, 0) * 100%); background: var(--c-green); }
.hero[data-phase="boot"] .device__main, .hero[data-phase="boot"] .device__sub { display: none; }
.hero[data-phase="boot"] .device__boot { display: block; }
.device__abc, .device__exp { position: absolute; font: 600 12px/1.4 var(--f-mono); color: var(--c-ink); }
.device__exp { left: 778px; top: 72px; font: var(--t-eyebrow-s); letter-spacing: var(--ls-eyebrow-s); }

.hero__keys { position: absolute; inset: 0; pointer-events: none; }
.hkey { position: absolute; top: 236px; width: 122px; height: 156px; pointer-events: none; text-decoration: none; }
.hkey::before { content: attr(data-n); position: absolute; z-index: 1; left: 92px; top: 10px; font: var(--t-meta); color: var(--c-ink); }
.hkey__lab { position: absolute; left: 12px; top: 130px; font: var(--t-micro); color: var(--c-text-2); }
.hkey__art { position: absolute; inset: 0; display: block; }
.hkey__art[hidden] { display: none; }
.hkey__art img { position: absolute; }
.hkey .led { position: absolute; left: 13px; top: 13px; width: 14px; height: 14px; }
.hcap { --d: 12px; --p: 0px; --top: var(--c-white); --side: var(--k-chassis-side); --bottom: var(--k-chassis-bottom);
  position: absolute; left: 28px; top: 48px; width: 60px; height: 60px; box-sizing: border-box; background: var(--top); border: 1px solid var(--c-ink); border-radius: 3px;
  transform: translate(var(--p), var(--p)); transition: transform var(--d-hover) var(--e-in); }
.hcap::before, .hcap::after { content: ""; position: absolute; z-index: -1; box-sizing: border-box; border: 1px solid var(--c-ink); transform-origin: 0 0;
  transition: width var(--d-hover) var(--e-in), height var(--d-hover) var(--e-in); }
.hcap::before { left: 100%; top: -1px; width: calc(var(--d) - var(--p) + 1px); height: calc(100% + 2px); background: var(--side); transform: skewY(45deg); }
.hcap::after { top: 100%; left: -1px; height: calc(var(--d) - var(--p) + 1px); width: calc(100% + 2px); background: var(--bottom); transform: skewX(45deg); }
.hkey__art { isolation: isolate; }
.hcap[data-c="grey"] { --top: #D3D8DC; --side: #E6E9EB; }
.hcap[data-c="green"] { --top: var(--k-green-top); --side: var(--k-green-side); --bottom: var(--k-green-bottom); }
.hcap[data-c="mid"] { --top: #A7B0B7; --side: var(--k-grey-side); --bottom: var(--k-grey-bottom); }
.hero.is-ready .hkey { pointer-events: auto; cursor: pointer; }
@media (hover: hover) { .hero.is-ready .hkey:hover .hcap { --p: 2px; } }
.hero.is-ready .hkey:active .hcap { --p: 7px; transition-duration: var(--d-press); }
.hero.is-ready .hkey:active .hcap::before, .hero.is-ready .hkey:active .hcap::after { transition-duration: var(--d-press); }
.hero.is-ready .hkey:hover .led { animation: blink 360ms steps(1) 1; }
.hkey:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
@keyframes blink { 50% { background: var(--c-paper); } }

.hero__headline { width: 100%; max-width: 1000px; text-align: center; display: flex; flex-direction: column; gap: 20px; }
.hero__headline h1 { font: var(--t-display-xl); letter-spacing: var(--ls-display-xl); }
.hero__headline p { font: var(--t-body-l); }
.hero__cue { font: var(--t-ui-s); color: var(--c-text-2); text-decoration: none; }
.hero__cue:hover { color: var(--c-ink); }

/* power key + power-on states */
.device__power { --d: 10px; --p: 0px; position: absolute; left: 486px; top: 93px; width: 58px; height: 58px; border-radius: 50%; cursor: pointer; z-index: 2;
  transform: translate(var(--p), var(--p)); transition: transform var(--d-hover) var(--e-in); }
.device__power img { position: relative; width: 58px; height: 58px; }
/* extrusion = pill from the key face to the fixed base circle; it shortens as the face travels */
.device__power::before { content: ""; position: absolute; left: 0; top: 0; height: 58px; width: calc(58px + (var(--d) - var(--p)) * 1.41421); box-sizing: border-box; border: 1px solid var(--c-ink); border-radius: 29px;
  background: var(--k-green-bottom); transform-origin: 29px 29px; transform: rotate(45deg); transition: width var(--d-hover) var(--e-in); }
@media (hover: hover) { .device__power:hover { --p: 2px; } }
.device__power:active, .device__power.is-pressed { --p: 6px; transition-duration: var(--d-press); }
.device__power:active::before, .device__power.is-pressed::before { transition-duration: var(--d-press); }
.device__power:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.hero.is-off .device__power-led { animation: power-pulse 1.4s steps(1) infinite; }
@keyframes power-pulse { 50% { background: var(--c-green); } }
.js .hero__headline { opacity: 0; transform: translateY(24px); transition: opacity var(--d-reveal) var(--e-in), transform var(--d-reveal) var(--e-in); }
.js .hero.is-on .hero__headline { opacity: 1; transform: none; }
.hero.is-off .hero__cue { color: var(--c-ink); }

/* ───────── 01 WHAT'S NEW ───────── */
.tab-band { display: inline-flex; background: var(--c-green); color: var(--c-white); border: 1px solid var(--c-ink); border-bottom: 0; padding: 20px 24px; font: var(--t-band); letter-spacing: var(--ls-band); text-transform: uppercase; }
.changelog { border: 1px solid var(--c-ink); border-bottom: 0; }
.changelog li { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--c-ink); }
.changelog__k { flex: none; width: 150px; font: var(--t-eyebrow); letter-spacing: var(--ls-eyebrow); }
.changelog__v { flex: 1; font: var(--t-body-l); }
.changelog__link { font-weight: 700; text-decoration: none; }
.changelog__link:hover { text-decoration: underline; }

/* ───────── 02 QUICK START ───────── */
.qs { margin-top: var(--stack-lg); }
.qs__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 40px; }
.qs__step { font: 600 16px/1.45 var(--f-mono); }
.qs__hint { font: var(--t-caption); color: var(--c-text-2); }
.qs__rig .fit__inner { overflow: hidden; }
.qs__bg, .qs__cables { position: absolute; left: 0; top: 0; }
.qs__cables { overflow: visible; }
.qs__cables .cable { fill: none; stroke: var(--c-ink); stroke-width: 4; stroke-linecap: round; }
.qs__cards { position: absolute; left: 0; top: 0; width: 1280px; display: flex; justify-content: space-between; }
.qs-card { --d: 11px; --press: 6px; width: 210px; height: 188px; }
.qs-card .k3d__face { flex-direction: column; align-items: flex-start; width: 197px; height: 176px; padding: 15px 15px; margin: 1px 0 0 1px; }
.qs-card__sel { display: flex; align-items: center; gap: 9px; font: var(--t-meta); color: var(--c-text-2); }
.qs-card__t { margin-top: 13px; font: var(--t-ui-l); width: 168px; }
.qs-card:has(input:checked) .qs-card__sel { color: var(--c-ink); }
.qs__cells { position: absolute; left: 20px; top: 505px; width: 1240px; height: 62px; display: flex; }
.qs__cells li { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font: var(--t-key); letter-spacing: var(--ls-key); border: 1px solid transparent; transition: background-color 200ms var(--e-in); }
.qs__cells li.is-on { background: var(--c-green); outline: 1px solid var(--c-ink); outline-offset: -1px; }
.qs__leds i { position: absolute; top: 698px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--c-ink); background: var(--c-paper); }
.qs__leds i.is-on { background: var(--c-green); }
.qs__display { position: absolute; left: 80px; top: 591px; width: 430px; height: 80px; padding: 10px 22px; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; color: var(--c-display-dim); }
.qs__display.is-on { color: var(--c-green); }
.qs__count { font-size: 30px; line-height: 1.4; white-space: nowrap; }
.qs__count-sub { font-size: 14px; line-height: 1.4; margin-top: -4px; white-space: nowrap; }
.qs__step2 { position: absolute; left: 562px; top: 601px; width: 560px; }
.qs__step2-t { margin-top: 8px; font: var(--t-body-s); color: var(--c-text-2); }
.qs__bottom { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.qs__more { font: var(--t-ui); color: var(--c-text-2); text-decoration: none; }
.qs__more:hover { color: var(--c-ink); }

/* ───────── 02 CAPABILITIES ───────── */
.caps { margin-top: var(--stack-lg); display: grid; grid-template-columns: repeat(3, minmax(0, 400px)); justify-content: space-between; gap: 72px 40px; }
.cap { display: flex; flex-direction: column; gap: 20px; outline: none; }
.cap:focus-visible .cap__card { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.cap__card { border: 1.5px solid var(--c-ink); background: var(--c-paper); overflow: hidden; }
.cap__band { display: flex; align-items: center; gap: 14px; background: var(--c-band); border-bottom: 1.5px solid var(--c-ink); padding: 20px 24px; font: var(--t-band); letter-spacing: var(--ls-band); }
.cap__n { font: 500 13px/normal var(--f-mono); letter-spacing: 0; color: var(--c-text-2); }
.cap__ill { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.cap__ill svg { display: block; width: 100%; height: auto; transform-origin: 50% 50%; overflow: visible; }
.cap__svg .a-key path { transition: fill 60ms linear; }
.cap__t { font: var(--t-body-m); color: var(--c-text-2); }
.cap.is-anim .cap__ill svg { animation: cap-wiggle 600ms var(--e-in) 1; }
@keyframes cap-wiggle { 0% { transform: none; } 30% { transform: translateY(-4px) rotate(-1.5deg); } 60% { transform: translateY(2px) rotate(1deg); } 100% { transform: none; } }

/* ───────── 03 TALK TO US ───────── */
.talk__row { display: flex; align-items: stretch; }
.talk__face { flex: none; width: 400px; }
.talk__face img { width: 100%; height: auto; }
.talk__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 48px; padding: 80px 48px 20px 0; }
.talk__bubble { position: relative; display: flex; width: 100%; }
.talk__caret { flex: none; width: 32px; height: 32px; margin-right: -2px; position: relative; z-index: 2; }
.talk__quote { flex: 1; background: var(--c-white); border: 1px solid var(--c-ink); padding: 24px 48px; font: var(--t-ui-l); min-height: 96px; display: flex; align-items: center; }
.talk__pager { display: flex; align-items: center; gap: 12px; }
.talk__count { font: 500 13px/1.45 var(--f-mono); margin-right: 4px; }
.arrow-key { --d: 6px; --press: 4px; }
.arrow-key .k3d__face { width: 58px; height: 52px; justify-content: center; font: 600 20px/1 var(--f-mono); }

/* ───────── 04 IS THIS YOU ───────── */
.you { display: flex; gap: 56px; padding: 56px; border-width: 1px; }
.you__list { flex: none; width: 360px; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--c-band); font: var(--t-ui-l); }
.checklist img { margin-top: 3px; flex: none; }
.js .checklist img { opacity: 0; transform: scale(.6); transition: opacity 120ms, transform 160ms var(--e-in); transition-delay: calc(var(--i) * 60ms); }
.js .you.is-in .checklist img { opacity: 1; transform: none; }
.you__range { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ruler { position: relative; width: 752px; max-width: 100%; height: 300px; }
.ruler__band { position: absolute; left: 38.56%; right: 0; top: 48px; height: 64px; border: 1px solid var(--c-green); padding: 9px 11px;
  background: rgba(87,192,1,.16) repeating-linear-gradient(135deg, transparent 0 9px, rgba(87,192,1,.35) 9px 10px);
  transform-origin: 0 50%; transition: transform var(--d-reveal) var(--e-in); }
.js .ruler__band { transform: scaleX(0); }
.js .you.is-in .ruler__band { transform: none; }
.ruler__band strong { display: block; font: var(--t-eyebrow); letter-spacing: var(--ls-eyebrow); color: var(--c-ink); white-space: nowrap; }
.ruler__band span { display: block; font: var(--t-ui-s); color: var(--c-text-2); white-space: nowrap; }
.ruler__low, .ruler__high { position: absolute; font: var(--t-meta); color: var(--c-text-2); }
.ruler__low { left: 0; top: 90px; } .ruler__high { right: 0; top: 26px; }
.ruler__scale { position: absolute; left: 0; right: 0; top: 111px; height: 13px; border-top: 2px solid var(--c-ink);
  background: linear-gradient(var(--c-ink), var(--c-ink)) left top / 1.2px 12px no-repeat, linear-gradient(var(--c-ink), var(--c-ink)) right top / 1.2px 12px no-repeat,
    repeating-linear-gradient(90deg, var(--c-ink) 0 1.2px, transparent 1.2px 25%) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--c-ink) 0 1.2px, transparent 1.2px 5%) 0 0 / 100% 6px no-repeat; }
.ruler__marks { position: absolute; left: 0; right: 0; top: 130px; }
.ruler__marks li { position: absolute; top: 0; width: 130px; padding-top: 44px; font: var(--t-h6); }
.ruler__marks li::before { content: ""; position: absolute; left: -6px; top: 0; width: 0; height: 0; border: 6px solid transparent; border-bottom: 10px solid var(--c-ink); border-top: 0; }
.ruler__marks li::after { content: ""; position: absolute; left: -0.5px; top: 12px; width: 1px; height: 26px; background: var(--c-text-2); }
.ruler__n { position: absolute; top: 42px; left: 0; display: flex; align-items: center; gap: 8px; font: var(--t-meta); color: var(--c-text-2); }
.ruler__marks li { padding-top: 66px; }
.ruler__marks li { width: 17.3%; }
.ruler__marks li:nth-child(1) { left: 2.66%; } .ruler__marks li:nth-child(2) { left: 22.34%; } .ruler__marks li:nth-child(3) { left: 42.02%; } .ruler__marks li:nth-child(4) { left: 61.7%; } .ruler__marks li:nth-child(5) { left: 81.38%; }
.js .ruler__marks li { opacity: 0; transform: translateY(-8px); transition: opacity 300ms var(--e-in), transform 300ms var(--e-in); transition-delay: calc(400ms + var(--i) * 80ms); }
.js .you.is-in .ruler__marks li { opacity: 1; transform: none; }

/* ───────── 05 BUILD YOUR OWN ───────── */
.byo { margin-top: var(--stack-lg); display: flex; gap: 48px; align-items: stretch; }
.byo__options { flex: none; width: 420px; display: flex; flex-direction: column; gap: 8px; }
.byo__caption { display: flex; gap: 16px; margin-bottom: 6px; white-space: nowrap; }
.byo__hint { font: var(--t-caption); color: var(--c-text-2); }
.opt { --d: 6px; --press: 4px; width: 414px; max-width: 100%; }
.opt .k3d__face { gap: 14px; min-height: 85px; padding: 16px 44px 16px 17px; font: var(--t-ui); text-align: left; }
.opt .radio { margin-right: 12px; }
.byo__result { flex: 1; min-width: 0; border: 1px solid var(--c-ink); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rack { max-width: 818px; }
.rack__model { position: absolute; left: 0; top: 0; width: 818px; height: 617px; transform-origin: 50% 50%; }
.rack__chassis { position: absolute; }
.rack__body { position: absolute; display: flex; flex-direction: column; gap: 16px; padding: 18px 20px 22px; background: var(--c-paper); border: 1px solid var(--c-ink); border-radius: 12px; overflow: hidden; }
.rack__display { background: var(--c-ink); border-radius: 5px; padding: 12px 16px 14px; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; }
.rack__display .l { font-size: 14px; line-height: 1.1; color: var(--c-display-dim); }
.rack__display .o { margin-top: 4px; font-size: 22px; line-height: 1.05; color: var(--c-green); min-height: 1.05em; }
.rack__display.is-flash { background: #0b3550; }
.rack__slots { display: flex; flex-wrap: wrap; gap: 10px; }
.mod { position: relative; width: 90.4px; height: 112px; background: var(--c-white); border: 1px solid var(--c-ink); border-radius: 3.2px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 4.8px 9.6px; }
.mod--free { background: var(--c-paper); border: 1px dashed var(--c-k, #A7B0B7); }
.mod .led { position: absolute; left: 7.1px; top: 7.1px; width: 7.2px; height: 7.2px; border-width: 0.8px; }
.mod--free .led { border-color: var(--k-ui-bottom); }
.mod__ctl { position: relative; width: 70.4px; height: 60.8px; flex: none; }
.mod__ctl > span { position: absolute; }
.mod__ctl img { position: absolute; width: 100%; height: 100%; }
.mod__lab { font: 600 8.8px/1.4 var(--f-mono); text-align: center; width: 100%; }
.mod--free .mod__lab { font-weight: 500; color: var(--c-text-2); }

/* ───────── 06 USE CASES ───────── */
.uses { margin-top: var(--stack-lg); position: relative; border: 1px solid var(--c-ink); border-radius: 10px; background: #F2F2F2; box-shadow: 6px 6px 0 -1px var(--k-chassis-side), 6px 6px 0 0 var(--c-ink); }
.uses__body { padding: 24px 36px 36px; display: flex; flex-direction: column; gap: 20px; }
.uses__label { display: flex; align-items: center; gap: 10px; font: var(--t-eyebrow-s); letter-spacing: var(--ls-eyebrow-s); }
.uses__label .led { width: 8px; height: 8px; }
.uses__row { display: flex; gap: 48px; align-items: flex-start; }
.uses__keys { flex: none; display: grid; grid-template-columns: repeat(3, 170px); gap: 22px 18px; }
.ukey { --d: 14px; --press: 8px; width: 170px; height: 150px; }
.ukey .k3d__face { flex-direction: column; gap: 0; height: 136px; padding-top: 24px; }
.ukey .k3d__face { justify-content: center; }
.ukey .k3d__face > img { margin-top: auto; }
.ukey .k3d__face > span { margin-top: 22px; margin-bottom: 20px; font: var(--t-key); letter-spacing: var(--ls-key); }
.ukey .led { position: absolute; left: 12px; top: 12px; width: 10px; height: 10px; }
.ukey:has(input:checked) .led { background: var(--c-green); }
.visor { background: var(--c-ink); border-radius: 8px; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; }
.uses__visor { flex: 1; min-width: 0; height: 322px; padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.visor__label { font-size: 16px; line-height: 1.45; color: var(--c-display-dim); }
.visor__text { font-size: 34px; line-height: 1.05; color: var(--c-green); }
.caret::after { content: "▌"; animation: blink-caret 600ms steps(1) infinite; margin-left: 2px; }
@keyframes blink-caret { 50% { opacity: 0; } }

/* ───────── 07 EXPANSION ───────── */
.exp { margin-top: var(--stack-lg); padding: 56px; border-width: 1px; display: flex; justify-content: center; }
.exp__diagram { max-width: 1168px; }
.exp__visor { position: absolute; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; line-height: 1.45; color: var(--c-green); }
.exp__note { position: absolute; left: 631px; top: 34px; display: flex; align-items: center; gap: 8px; font: 400 9.7px/1.45 var(--f-mono); color: var(--c-text-2); white-space: nowrap; }
.exp__num { display: grid; place-items: center; width: 19.5px; height: 19.5px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); font: 600 8.9px/1 var(--f-mono); }
.js .exp__diagram img { clip-path: inset(0 100% 0 0); transition: clip-path 800ms var(--e-in); }
.js .exp.is-in .exp__diagram img { clip-path: inset(0 0 0 0); }
.exp__specs { margin-top: var(--stack-lg); display: flex; gap: 64px; }
.specs { flex: 1; min-width: 0; }
.specs__h { padding-bottom: 14px; border-bottom: 1px solid var(--c-ink); font: var(--t-key); letter-spacing: var(--ls-key); }
.specs li { display: flex; align-items: flex-start; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--c-rule); }
.specs p { flex: 1; font: var(--t-body); }
.tag { flex: none; background: var(--c-ink); color: var(--c-green); border-radius: 4px; padding: 2px 10px; font: 600 20px/1.45 var(--f-visor); font-variation-settings: var(--visor-axes); }
.tag--warn { color: var(--c-yellow); }

/* ───────── 08 FAQ ───────── */
.faq { border: 1px solid var(--c-ink); border-bottom: 0; }
.faq .band { border-bottom-width: 1px; }
.faq__item { border-bottom: 1px solid var(--c-ink); }
.faq__q { margin: 0; font: inherit; }
.faq__btn { width: 100%; display: flex; align-items: flex-start; gap: 32px; padding: 24px; text-align: left; font: var(--t-h5); letter-spacing: var(--ls-h5); }
.faq__btn span:first-child { flex: 1; }
.faq__btn:hover { background: #E8EAEC; }
.faq__btn:focus-visible { outline-offset: -3px; }
.faq__arrow { flex: none; font: var(--t-ui-l); transition: transform var(--d-ui) var(--e-in); }
.faq__btn[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-panel) var(--e-in); }
.faq__a[data-open] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a-in { display: flex; align-items: flex-start; gap: 20px; padding: 0 24px 24px; }
.faq__a p { font: var(--t-body); max-width: 860px; padding-top: 2px; }

/* ───────── 09 KEEP GOING ───────── */
.keep__panel { position: relative; max-width: 1282px; aspect-ratio: 1280.5 / 421; }
.keep__bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.keep__content { position: absolute; left: 0; top: 0; width: calc(100% * 1251 / 1280.5); height: calc(100% * 400 / 421); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; text-align: center; }
.keep__end { font: var(--t-ui); color: var(--c-text-2); }
.keep__t { font: var(--t-display-l); letter-spacing: var(--ls-display-l); }

/* ───────── INDEX DRAWER ───────── */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: transparent; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: max(50%, 560px); max-width: 100%; background: var(--c-paper); border-left: 3px solid var(--c-ink); padding: 0 80px 48px; display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto;
  transform: translateX(100%); transition: transform var(--d-panel) var(--e-out); }
.drawer.is-open .drawer__panel { transform: none; transition-timing-function: var(--e-in); }
.drawer__bar { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-height: var(--nav-h); padding-top: 5px; }
.drawer__esc { font: 400 11px/1.45 var(--f-mono); color: var(--c-text-2); }
.drawer__close .k3d__face { width: 96px; padding: 0; }
.drawer__list { border: 1px solid var(--c-ink); border-bottom: 0; margin-top: 40px; }
.drawer__list a { display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 24px; border-bottom: 1px solid var(--c-ink); text-decoration: none; font: 400 24px/1.45 var(--f-sans); letter-spacing: -0.24px; text-transform: uppercase; white-space: nowrap; }
.drawer__list a:hover { background: #E4E7EA; }
.drawer__dots { flex: 1; overflow: hidden; height: 18px; font: 400 13px/1.4 var(--f-mono); }
.drawer__list a.is-current { background: var(--c-ink); color: var(--c-green); font-weight: 500; }
.drawer__list a.is-current .drawer__dots::before { content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ."; white-space: nowrap; }

/* ═════════ RESPONSIVE ═════════ */

/* Tablet L ≤1279 / 1024 */
@media (max-width: 1279px) {
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }

  .cap__band { font-size: 20px; padding: 16px 18px; }
  .byo__options { width: 360px; }
  .opt { width: 100%; }
  .uses__row { gap: 32px; }
  .uses__visor { height: auto; align-self: stretch; }
  .visor__text { font-size: 28px; }
  .you { flex-direction: column; gap: 40px; padding: 48px; }
  .you__list { width: 100%; }
  .talk__face { width: 320px; }
  .drawer__panel { padding: 0 48px 40px; }
}

/* Tablet P ≤1023 / 768 */
@media (max-width: 1023px) {
  .nav__progress { display: none; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .byo { flex-direction: column; }
  .byo__options { width: 100%; }
  .byo__result { min-height: 0; }
  .uses__row { flex-direction: column; }
  .uses__keys { grid-template-columns: repeat(3, minmax(0, 170px)); }
  .uses__visor { width: 100%; min-height: 200px; }
  .you { flex-direction: column; }
  .you__list { width: 100%; }
  .talk__row { flex-direction: column; align-items: center; }
  .talk__face { width: 300px; }
  .talk__body { width: 100%; padding: 0 32px 32px; gap: 32px; }
  .exp { padding: 32px; }
  .keep__panel { aspect-ratio: auto; min-height: 340px; border: 1px solid var(--c-ink); border-radius: 13px; box-shadow: 10px 10px 0 -1px var(--k-chassis-bottom), 10px 10px 0 0 var(--c-ink); margin-right: 10px; }
  .keep__bg { display: none; }
  .keep__content { position: relative; width: 100%; height: auto; min-height: 340px; padding: 64px 24px; }
}

/* Mobile ≤767 / 390 */
@media (max-width: 767px) {
  .nav__meta { display: none; }
  .nav__inner { gap: 8px; }
  .nav__spacer { flex: 1; }
  .nav__cta-long { display: none; }
  .nav__cta .k3d__face { padding: 0 12px; width: 36px; }
  .nav__index .k3d__face { width: 96px; }

  .hero__stage { padding: 40px var(--gutter) 72px; gap: 40px; }
  .hero__device { display: none; }
  .hero__device-m { display: block; position: relative; width: 347px; max-width: 100%; aspect-ratio: 347 / 409; }
  .hero__device-m > img { width: 100%; height: auto; }
  .device-m__main, .device-m__sub { position: absolute; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; white-space: nowrap; }
  .device-m__main { left: 8.65%; top: 7.8%; font-size: 38px; line-height: normal; color: var(--c-green); }
  .device-m__sub { left: 8.9%; top: 18.6%; font-size: 14px; color: var(--c-display-dim); }
  .hero__keys { position: absolute; inset: 0; pointer-events: auto; }
  .hero__device-m .hkey { pointer-events: auto; width: 27.7%; height: 22.5%; }
  .hero__device-m .hkey::before { display: none; }
  .hero__headline h1 { font-size: 48px; }

  .changelog li { flex-wrap: wrap; gap: 8px 14px; padding: 18px 16px; }
  .changelog__k { width: auto; }
  .changelog__v { flex-basis: 100%; padding-left: 26px; }
  .tab-band { padding: 16px 20px; }

  .sec-head { gap: 16px; }
  .qs__bottom { flex-direction: column; align-items: stretch; }
  .btn-group { flex-direction: column; gap: 16px; }
  .btn-l { width: 100%; }
  .btn-l .k3d__face { width: 100%; }
  .qs__more { align-self: center; }

  .caps { grid-template-columns: 1fr; gap: 40px; }

  .talk__face { width: 240px; }
  .talk__body { padding: 0 16px 20px; align-items: stretch; }
  .talk__quote { padding: 20px; font-size: 14px; }
  .talk__pager { justify-content: flex-end; }

  .you { padding: 24px 20px 32px; gap: 32px; }
  .ruler { width: 100%; height: auto; padding: 24px 0 0 56px; }
  .ruler__band { left: 0; right: auto; top: 140px; bottom: 0; width: 40px; height: auto; transform-origin: 50% 0; padding: 0; }
  .js .ruler__band { transform: scaleY(0); }
  .ruler__band strong, .ruler__band span { display: none; }
  .ruler__low { left: 0; top: 0; } .ruler__high { left: 0; top: auto; bottom: -22px; right: auto; }
  .ruler__scale { left: 44px; right: auto; top: 22px; bottom: 0; width: 13px; height: auto; border-top: 0; border-left: 2px solid var(--c-ink); background: repeating-linear-gradient(180deg, var(--c-ink) 0 1.2px, transparent 1.2px 20px) 0 0 / 6px 100% no-repeat; }
  .ruler__marks { position: relative; top: 0; display: flex; flex-direction: column; gap: 20px; padding-left: 16px; }
  .ruler__marks li { position: relative; left: 0 !important; width: auto; padding: 0 0 0 0; }
  .ruler__marks li::before { left: -26px; top: 2px; border: 6px solid transparent; border-right: 10px solid var(--c-ink); border-left: 0; }
  .ruler__marks li::after { display: none; }
  .ruler__n { position: static; margin-bottom: 4px; }
  .ruler::after { content: "UHURA DIGITAL OPERATING RANGE · high-complexity contexts"; display: block; margin-top: 20px; font: var(--t-meta); color: var(--c-text-2); }

  .byo__caption { flex-wrap: wrap; white-space: normal; }
  .opt .k3d__face { min-height: 70px; padding: 12px 20px 12px 14px; font-size: 13px; }
  .byo__result { border: 0; }

  .uses { border-radius: 8px; }
  .uses__body { padding: 20px 16px 24px; }
  .uses__keys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; width: 100%; }
  .ukey { width: 100%; }
  .visor__text { font-size: 26px; }
  .uses__visor { padding: 20px; min-height: 240px; }

  .exp { padding: 16px; }
  .exp__specs { flex-direction: column; gap: 40px; }
  .specs p { font-size: 14px; }

  .faq__btn { gap: 16px; padding: 18px 16px; }
  .faq__a-in { padding: 0 16px 20px; flex-direction: column; gap: 10px; }

  .keep__t { font-size: 44px; }
  .keep__content { gap: 24px; padding: 48px 16px; }
  .keep__panel .btn-l { width: auto; }
  .keep__panel .btn-l .k3d__face { width: 240px; }

  .drawer__panel { width: 100%; border-left: 0; padding: 0 20px 32px; }
  .drawer__list a { font-size: 22px; height: auto; padding: 10px 16px; }
}

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .hero__headline, .device__power, .device__power::before, .hcap, .hcap::before, .hcap::after, .k3d__face, .k3d__face::before, .k3d__face::after, .faq__a, .faq__arrow, .drawer__panel, 
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .ruler__band, .js .ruler__marks li, .js .checklist img, .js .exp__diagram img { transform: none; opacity: 1; clip-path: none; transition: none; }
}

/* use-cases rack: Figma chassis art at desktop width */
@media (min-width: 1280px) {
  .uses { border: 0; border-radius: 0; box-shadow: none; background: url("../assets/svg/use-rack.svg") 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; padding: 2px 30px 22px 22px; }
}

.rack__body--compact { padding: 13px 20px 15px; gap: 10px; }
.rack__body--compact .rack__display { padding: 8px 16px 10px; }
.rack__body--compact .rack__display .o { margin-top: 2px; }

.hkey__m { display: none; }
@media (max-width: 767px) {
  .hkey__m { display: block; position: absolute; inset: 0; font: 500 10px/1.3 var(--f-mono); color: var(--c-ink); }
  .hkey__m b { position: absolute; right: 8%; top: 10%; font-weight: 600; }
  .hkey__m i { position: absolute; left: 10%; bottom: 8%; font-style: normal; }
}

/* rack visor keeps its final size while the output types in */
.rack__display .o { position: relative; }
.rack__display .o__ghost { visibility: hidden; }
.rack__display .o__type { position: absolute; left: 0; top: 0; right: 0; }

/* ───────── Quick start · compact layout (<1280px): card slider + dock that always fits the screen ───────── */
.qs__compact { display: none; }
@media (max-width: 1279px) {
  .qs__scroller { display: none; }
  .qs__compact { display: block; }
  .qsc-slider { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .qsc-slider::-webkit-scrollbar { display: none; }
  .qsc-item { flex: none; width: 210px; scroll-snap-align: start; }
  .qs__compact { position: relative; }
  .qsc-cables { position: absolute; top: 0; left: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); height: 100%; pointer-events: none; overflow: hidden; }
  .qsc-cables .cable { fill: none; stroke: var(--c-ink); stroke-width: var(--cable, 2px); stroke-linecap: round; }
  .qsd { margin-top: 124px; }
  .qsd-rack { border: 1px solid var(--c-ink); border-radius: 8px; background: #F2F2F2; padding: 0 8px 14px; }
  .qsd-cells { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--c-ink); }
  .qsd-cells li { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 2px; text-align: center; background: var(--c-band); border-left: 1px solid var(--c-ink);
    font: 600 11px/1.3 var(--f-mono); letter-spacing: 0.3px; transition: background-color 200ms var(--e-in) 300ms; }
  .qsd-cells li:last-child { border-right: 1px solid var(--c-ink); }
  .qsd-cells li.is-on { background: var(--c-green); }
  .qsd-body { display: flex; gap: 24px; align-items: center; padding: 16px 8px 0; }
  .qsd-display { flex: 0 0 44%; background: var(--c-ink); border-radius: 6px; padding: 10px 16px 12px; font-family: var(--f-visor); font-variation-settings: var(--visor-axes); font-weight: 600; color: var(--c-display-dim); }
  .qsd-display.is-on { color: var(--c-green); }
  .qsd-count { font-size: 26px; line-height: 1.3; white-space: nowrap; }
  .qsd-count span { display: inline-block; }
  .qsd-sub { font-size: 14px; line-height: 1.3; }
  .qsd-step2 { flex: 1; min-width: 0; }
  .qsd-leds { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 16px; }
  .qsd-leds i { justify-self: center; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--c-ink); background: var(--c-paper); transition: background-color 120ms linear 420ms; }
  .qsd-leds i.is-on { background: var(--c-green); }
}
@media (max-width: 767px) {
  .qsd { margin-top: 104px; }
  .qsd-rack { padding: 0 4px 12px; }
  /* as large as the longest single word (ENGINEERING, 11 characters) allows in one cell; two-word names wrap onto two lines */
  .qsd-cells li { min-height: 46px; padding: 4px 1px; font-size: clamp(7px, calc((100vw - 60px) / 41), 12px); letter-spacing: 0; line-height: 1.25; }
  .qsd-body { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 6px 0; }
  .qsd-display { flex: none; }
  .qsd-count { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .qsd-cells li, .qsd-leds i { transition: none !important; } }

.rack__cover { position: absolute; left: 0; top: 0; width: 818px; height: 617px; pointer-events: none; z-index: 2; }
