/* ───────────────────────── TOKENS ───────────────────────── */
:root {
  --bg: #050505;
  --card: #0f0f0f;
  --card-2: #161616;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #fff;
  --muted: #8a8a8e;

  --f-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(16px, 3vw, 48px);
  --hdr: 64px;
  --fh: 88vh;                       /* video frame height (desktop) */
  --fw: calc(var(--fh) * 9 / 16);   /* video frame width  (desktop) */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
::selection { background: #fff; color: #000; }

.mono { font-family: var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.muted { color: var(--muted); }


/* ───────────────────────── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 2px; transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, box-shadow 0.3s;
  position: relative; white-space: nowrap;
}
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e8e8e8; box-shadow: 0 0 0 1px #fff, 0 12px 40px -8px rgba(255, 255, 255, 0.35); }
.btn--white:active { transform: scale(0.985); }
.btn--ghost { border: 1px solid var(--line-2); color: #fff; }
.btn--ghost:hover { background: #fff; color: #000; }
.btn--sm { height: 38px; padding: 0 20px; font-size: 11px; }
.btn--xl { width: 100%; height: 60px; font-size: 13px; }

.pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; position: relative; flex: none; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #fff; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }

/* ───────────────────────── HEADER ───────────────────────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  background: rgba(5, 5, 5, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.hdr__brand { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; justify-self: start; }
.hdr__brand em { font-style: normal; color: var(--muted); font-weight: 400; margin: 0 2px; }
.hdr__status { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; justify-self: center; }
.hdr__cta { justify-self: end; }

/* ───────────────────────── PRODUCT / BUY ───────────────────────── */
.buy { position: relative; padding: calc(var(--hdr) + clamp(20px, 3vw, 48px)) var(--pad) clamp(48px, 6vw, 96px); background: var(--bg); }
.buy__wrap { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 96px); align-items: start; }

.buy__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--card); cursor: zoom-in; }
.bento img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.55) brightness(0.82) contrast(1.06); transition: transform 0.9s var(--ease), filter 0.6s; }
.bento:nth-child(1) img { object-position: 54% 50%; }
.bento::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px 10px rgba(5, 5, 5, 0.75); transition: opacity 0.6s; }
.bento:hover img { transform: scale(1.08); filter: saturate(0.9) brightness(0.95) contrast(1.05); }
.bento:hover::after { opacity: 0.4; }
.bento__n { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 11px; padding: 4px 8px; background: rgba(5, 5, 5, 0.6); border: 1px solid var(--line-2); border-radius: 2px; }

.terminal {
  position: sticky; top: calc(var(--hdr) + 24px);
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.4vw, 36px);
}
.terminal__top { display: flex; justify-content: space-between; font-size: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.terminal__name { margin-top: 24px; font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 1.9vw, 32px); line-height: 1.12; letter-spacing: -0.005em; }
.badge { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 2px; }
.badge i { width: 6px; height: 6px; background: #fff; transform: rotate(45deg); flex: none; }
.price { margin-top: 28px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price b { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3vw, 48px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-size: 18px; text-decoration-thickness: 1px; }
.price em { font-style: normal; font-size: 11px; padding: 4px 8px; background: #fff; color: #000; border-radius: 2px; font-weight: 700; }
.pills { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.pills li { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 100px; display: inline-flex; align-items: center; gap: 8px; }
.pill--hot { background: #fff; color: #000; border-color: #fff !important; font-weight: 700; }
.pill--hot .pulse { background: #000; }
.pill--hot .pulse::after { border-color: #000; }

.accs { margin: 28px 0 0; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; text-align: left; font-size: 14px; font-weight: 500; }
.acc__btn:hover { color: #fff; }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #fff; transition: transform 0.4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.acc__btn[aria-expanded='true'] .plus::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc__btn[aria-expanded='true'] + .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.kv { display: grid; font-size: 12px; padding-bottom: 18px; }
.kv > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 10px 0; border-top: 1px dashed var(--line); }
.kv dt { color: var(--muted); }
.kv dd { text-transform: none; letter-spacing: 0.01em; }
.care { display: grid; gap: 10px; padding-bottom: 18px; color: #c9c9cc; font-size: 14px; }
.care li { position: relative; padding-left: 20px; }
.care li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: #fff; }
.price + .btn { margin-top: 26px; }
.terminal__note { margin-top: 14px; text-align: center; font-size: 10px; color: var(--muted); }

.ftr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--pad) 40px; border-top: 1px solid var(--line); font-size: 11px; }

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

/* ───────────────────────── LIGHTBOX ───────────────────────── */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lb__fig { position: relative; margin: 0; display: grid; gap: 14px; max-width: min(92vw, 1100px); transform: scale(0.96); transition: transform 0.6s var(--ease); }
.lb.is-open .lb__fig { transform: none; }
.lb__fig img { max-height: 82vh; max-height: 82svh; width: auto; margin: 0 auto; border-radius: 4px; border: 1px solid var(--line-2); object-fit: contain; }
.lb__fig figcaption { display: flex; justify-content: space-between; font-size: 11px; }
.lb__x, .lb__nav { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(15, 15, 15, 0.6); transition: background 0.25s, color 0.25s; }
.lb__x:hover, .lb__nav:hover { background: #fff; color: #000; }
.lb__x { top: 20px; right: 20px; }
.lb__nav { top: 50%; margin-top: -24px; }
.lb__nav--p { left: 20px; }
.lb__nav--n { right: 20px; }

/* ───────────────────────── CHECKOUT DRAWER ───────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 130; visibility: hidden; transition: visibility 0.6s; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.5s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(500px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(14, 14, 14, 0.78); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%);
  border-left: 1px solid var(--line-2); box-shadow: -40px 0 120px rgba(0, 0, 0, 0.6);
  transform: translateX(100%); transition: transform 0.7s var(--ease); padding: 28px clamp(20px, 3vw, 36px) 36px;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__grab { display: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.drawer__head p { font-size: 11px; }
.drawer__head h2 { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; margin-top: 4px; }
.drawer__x { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: all 0.25s; }
.drawer__x:hover { background: #fff; color: #000; }

.drawer__body { display: grid; gap: 18px; }
.drawer__body[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sum { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, 0.03); }
.sum img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; filter: saturate(0.6) brightness(0.9); }
.sum__t { display: grid; gap: 4px; font-size: 12px; line-height: 1.3; min-width: 0; }
.sum__t span { font-size: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button { width: 32px; height: 36px; font-size: 16px; }
.qty button:hover { background: #fff; color: #000; }
.qty output { min-width: 28px; text-align: center; font-size: 13px; }

.field { display: grid; gap: 8px; }
.field label, .pay legend { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input {
  height: 52px; padding: 0 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); border-radius: 2px;
  color: #fff; font: 500 15px var(--f-body); transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder { color: #55555a; }
.field input:focus { outline: 0; border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.field.is-bad input { border-color: #ff6b6b; }
.combo { position: relative; }
.combo input { width: 100%; }
.combo input:disabled { opacity: 0.45; cursor: not-allowed; }
.combo__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 260px; overflow-y: auto; overscroll-behavior: contain;
  background: #121212; border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); padding: 4px;
}
.combo__list li { padding: 12px 12px; font-size: 14px; line-height: 1.35; border-radius: 3px; cursor: pointer; color: #e6e6e8; }
.combo__list li[aria-selected='true'], .combo__list li:hover { background: #fff; color: #000; }
.combo__list li.combo__msg { cursor: default; color: var(--muted); font-size: 13px; }
.combo__list li.combo__msg:hover { background: none; color: var(--muted); }
.err { min-height: 0; font-size: 12px; color: #ff8a8a; }
.err:empty { display: none; }

.pay { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay legend { grid-column: 1 / -1; margin-bottom: 8px; }
.pay label { position: relative; cursor: pointer; }
.pay input { position: absolute; opacity: 0; inset: 0; }
.pay span { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line-2); border-radius: 2px; transition: all 0.3s var(--ease); height: 100%; }
.pay b { font-size: 13px; font-weight: 600; }
.pay small { font-size: 10px; color: var(--muted); }
.pay input:checked + span { background: #fff; color: #000; border-color: #fff; }
.pay input:checked + span small { color: #444; }
.pay input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); }
.total b { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.drawer__fine { font-size: 10px; line-height: 1.6; color: var(--muted); text-transform: none; letter-spacing: 0.02em; }

#submitBtn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(0, 0, 0, 0.2); border-top-color: #000; border-radius: 50%; animation: rot 0.7s linear infinite; }
#submitBtn.is-loading span { opacity: 0.5; }
#submitBtn.is-loading .spin { display: block; }
#submitBtn.is-loading { pointer-events: none; }
@keyframes rot { to { transform: rotate(360deg); } }

.done { display: grid; gap: 16px; justify-items: start; padding-top: 24px; }
.done[hidden] { display: none; }
.done__ck { width: 88px; height: 88px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.done__ck circle { stroke-dasharray: 227; stroke-dashoffset: 227; }
.done__ck path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.done.is-in .done__ck circle { animation: draw 0.9s var(--ease) 0.1s forwards; }
.done.is-in .done__ck path { animation: draw 0.6s var(--ease) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done > p, .done > h3, .done > dl, .done > button { opacity: 0; transform: translateY(18px); }
.done.is-in > p, .done.is-in > h3, .done.is-in > dl, .done.is-in > button { animation: rise 0.9s var(--ease) forwards; }
.done.is-in > :nth-child(3) { animation-delay: 0.5s; }
.done.is-in > :nth-child(4) { animation-delay: 0.6s; }
.done.is-in > :nth-child(5) { animation-delay: 0.7s; }
.done.is-in > :nth-child(6) { animation-delay: 0.8s; }
.done.is-in > :nth-child(2) { animation-delay: 0.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.done h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.done__txt { color: #c9c9cc; font-size: 14px; }
.done__txt b { color: #fff; font-weight: 600; white-space: nowrap; }
.done__sum { width: 100%; display: grid; font-size: 11px; margin: 8px 0; }
.done__sum > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.done__sum > div:last-child { border-bottom: 1px solid var(--line); }
.done__sum dt { color: var(--muted); }
.done__sum dd { text-transform: none; letter-spacing: 0.01em; }

/* mobile sticky buy bar */
.sticky-buy { display: none; }


/* ───────────────────────── ANATOMY (static) ───────────────────────── */
.an { padding: clamp(56px, 7vw, 112px) var(--pad); border-top: 1px solid var(--line); background: var(--bg); }
.an__head { max-width: 1480px; margin: 0 auto clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.an__head h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.06; letter-spacing: -0.01em; }
.an__head p { font-size: 11px; white-space: nowrap; }
.an__grid { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.an__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.an__img { position: relative; aspect-ratio: 1; overflow: hidden; background: #0a0a0a; }
.an__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6) contrast(1.05) brightness(0.92); transition: transform 1.2s var(--ease); }
.an__img::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 50px 8px rgba(5, 5, 5, 0.8); }
.an__card:hover .an__img img { transform: scale(1.05); }
.an__body { display: grid; align-content: start; gap: 12px; padding: clamp(18px, 1.8vw, 26px); }
.an__tag { font-size: 11px; color: var(--muted); }
.an__body h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.12; letter-spacing: -0.005em; }
.an__body > p:not(.an__tag) { color: #c9c9cc; font-size: 14px; }
.an__specs { display: grid; font-size: 12px; margin-top: 4px; }
.an__specs > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.an__specs dt { color: var(--muted); }
.an__specs dd { text-transform: none; letter-spacing: 0.01em; }
.comp { display: flex; gap: 3px; height: 28px; }
.comp i { flex: calc(var(--w) + 0.0001) 1 0; background: #fff; min-width: 3px; position: relative; }
.comp i:nth-child(2) { background: #8a8a8e; }
.comp i:nth-child(3) { background: #444; }
.comp b { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 11px; color: #000; font-weight: 500; }
.an__cta { max-width: 560px; margin: clamp(32px, 4vw, 56px) auto 0; display: grid; gap: 16px; text-align: center; }
.an__price { display: flex; justify-content: center; align-items: baseline; gap: 14px; }
.an__price b { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.02em; }
.an__price s { color: var(--muted); font-size: 18px; }


[hidden] { display: none !important; }

/* ───────────────────────── ON A PERSON / REVIEWS / CONTACTS ───────────────────────── */
.mdl, .rev, .ct { padding: clamp(48px, 6vw, 96px) var(--pad); border-top: 1px solid var(--line); background: var(--bg); }
.mdl__grid { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.mdl__item { aspect-ratio: 3 / 4; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--card); cursor: zoom-in; }
.mdl__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.mdl__item:hover img { transform: scale(1.04); }
.mdl .an__head, .rev .an__head, .ct .an__head { max-width: 880px; }
.rev .an__head, .ct .an__head { max-width: 1480px; }

.rev__grid { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev__card { display: grid; align-content: start; gap: 14px; padding: clamp(18px, 2vw, 28px); border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.rev__stars { letter-spacing: 3px; font-size: 15px; }
.rev__card p { color: #d6d6d9; font-size: 15px; }
.rev__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.rev__who { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); }
.rev__who b { color: #fff; font-weight: 500; }

.ct__grid { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; font-size: 13px; }
.ct__grid > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.ct__grid dt { color: var(--muted); }
.ct__grid dd { text-transform: none; letter-spacing: 0.01em; word-break: break-word; }
.ct__grid a { border-bottom: 1px solid var(--line-2); transition: border-color 0.25s; }
.ct__grid a:hover { border-color: #fff; }
.ct__wide { grid-column: 1 / -1; }

.ftr__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__links a { color: #c9c9cc; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.ftr__links a:hover { border-color: #fff; }
.drawer__fine a { color: #c9c9cc; text-decoration: underline; text-underline-offset: 2px; }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: calc(var(--hdr) + clamp(32px, 5vw, 72px)) var(--pad) clamp(56px, 7vw, 112px); }
.doc h1 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 4vw, 44px); line-height: 1.06; letter-spacing: -0.01em; margin: 16px 0 24px; }
.doc h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); margin: 40px 0 14px; }
.doc p, .doc li { color: #c9c9cc; font-size: 16px; }
.doc p { margin-bottom: 14px; }
.doc b { color: #fff; font-weight: 600; }
.doc ul, .doc ol { display: grid; gap: 10px; margin: 0 0 14px 20px; list-style: disc; }
.doc ol { list-style: decimal; }
.doc a { border-bottom: 1px solid var(--line-2); }
.doc__kv { display: grid; font-size: 13px; margin-bottom: 14px; }
.doc__kv > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.doc__kv dt { color: var(--muted); }
.doc__kv dd { text-transform: none; letter-spacing: 0.01em; }

@media (max-width: 1100px) {
  .rev__grid, .ct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rev__grid, .ct__grid { grid-template-columns: 1fr; }
  .mdl__grid { gap: 8px; }
  .ct__grid > div { grid-template-columns: 96px 1fr; }
}

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (max-width: 1100px) {
  .an__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --hdr: 56px; }
  .hdr { grid-template-columns: auto 1fr auto; gap: 12px; background: rgba(5, 5, 5, 0.92); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr__status { justify-self: center; font-size: 10px; }
  .hdr__brand { font-size: 11px; gap: 8px; }
  .hdr__ed { display: none; }

  .buy { padding-top: calc(var(--hdr) + 14px); }
  .buy__wrap { grid-template-columns: 1fr; gap: 20px; }
  /* swipeable photo strip — the next photo peeks in so it reads as a carousel */
  .buy__gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .buy__gallery::-webkit-scrollbar { display: none; }
  .bento { flex: 0 0 66vw; max-width: 320px; scroll-snap-align: start; }
  .bento img, .an__img img { filter: none; }
  .terminal { position: static; padding: 20px; }
  .terminal__top { display: none; }
  .terminal__name { margin-top: 0; font-size: clamp(19px, 5.6vw, 26px); }
  .badge { margin-top: 12px; font-size: 10px; }
  .price { margin-top: 18px; }
  .price + .btn { margin-top: 18px; }

  .an__grid { grid-template-columns: 1fr; }
  .an__img { aspect-ratio: 16 / 10; }
  .an__head { align-items: flex-start; flex-direction: column; gap: 8px; }

  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px var(--pad) max(12px, env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, 0.94); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.5s var(--ease);
  }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy b { font-family: var(--f-display); font-size: 18px; font-weight: 800; margin-right: 10px; }
  .sticky-buy s { color: var(--muted); font-size: 13px; }
  .sticky-buy .btn { height: 46px; padding: 0 28px; font-size: 12px; }
  .ftr { padding-bottom: 96px; }

  /* drawer → bottom sheet */
  .drawer__panel { top: auto; left: 0; right: 0; width: 100%; max-height: 94svh; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 20px 20px 0 0; transform: translateY(100%); padding-top: 14px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .drawer__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 18px; }
  .lb__nav--p { left: 8px; }
  .lb__nav--n { right: 8px; }
  .lb__nav { top: auto; bottom: 20px; margin: 0; }
  .lb__x { top: 12px; right: 12px; }
}
@media (max-width: 420px) {
  .pay { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
