/* ==================================================================
   TYPE FOUNDRY — Y2K hyper-tech shell
   Two colour modes on <html data-theme>: "chrome" (silver, default)
   and "void" (black). Everything reads its colours from the variables
   below, so a new mode is one block.
   ================================================================== */

:root {
  --bg: #dde3ea; --bg-hi: #f4f7fa; --bg-lo: #bfc9d4;
  --ink: #05070b; --ink-2: #434d5a; --ink-3: #76828f;
  --hair: rgba(5, 7, 11, .16); --hair-2: rgba(5, 7, 11, .07);
  --panel: rgba(244, 247, 250, .78); --panel-2: #eaeff4;
  --blue: #0a2bff; --blue-hi: #6f8cff; --blue-lo: #0014a8;
  --lime: #c6ff1f; --lime-ink: #0d1700;
  --lcd-bg: #0a0f09; --lcd-ink: #c6ff1f;
  --hover-bg: #05070b; --hover-ink: #f4f7fa;
  --chrome-edge: #05070b;
  --chrome: linear-gradient(180deg, #fff 0%, #e4eeff 13%, #86a9ff 30%, #1a37ff 45%, #020a4d 50%, #2b3f7a 54%, #9fb2cf 64%, #f1f5fa 76%, #fff 85%, #8497b1 100%);
  --silver: linear-gradient(180deg, #fff 0%, #dfe7f0 18%, #929fb0 38%, #2b3443 48.5%, #06080c 50.5%, #4e5b72 57%, #c4cfdc 75%, #fff 91%, #a9b5c3 100%);
  --silver-hi: linear-gradient(180deg, #fff 0%, #f1f5f9 28%, #a9b6c6 46%, #5f6c80 50.5%, #b4c0ce 58%, #fff 80%, #cdd6e0 100%);
  --metal: linear-gradient(180deg, #fff 0%, #e9eef3 45%, #b7c1cc 55%, #dfe5eb 100%);
  --f-serif: 'EB Garamond', 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --f-ui: 'Michroma', 'Eurostile', 'Arial Black', sans-serif;
  --f-px: 'Silkscreen', 'Courier New', monospace;
  --f-dot: 'Doto', 'Courier New', monospace;
  --gut: clamp(16px, 2.2vw, 32px);
  --top: 80px;
}
[data-theme="void"] {
  --bg: #04060a; --bg-hi: #0d131c; --bg-lo: #000;
  --ink: #e9f0f8; --ink-2: #a3afbf; --ink-3: #66748a;
  --hair: rgba(233, 240, 248, .2); --hair-2: rgba(233, 240, 248, .08);
  --panel: rgba(12, 17, 26, .8); --panel-2: #0b1019;
  --blue: #2c4bff; --blue-hi: #8ea4ff; --blue-lo: #0a1fc4;
  --hover-bg: #0a2bff; --hover-ink: #fff;
  --chrome-edge: #000;
  --chrome: var(--silver);
  --metal: linear-gradient(180deg, #2a3442 0%, #161d27 45%, #0a0e14 55%, #1a222d 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(180deg, var(--bg-hi), var(--bg) 30%, var(--bg-lo));
  background-attachment: fixed; font: 400 19px/1.45 var(--f-serif); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden; cursor: crosshair; padding-top: var(--top);
}
/* blueprint grid + brushed-metal grain: ground, never figure */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--hair-2) 1px, transparent 1px), linear-gradient(90deg, var(--hair-2) 1px, transparent 1px),
    linear-gradient(var(--hair-2) 1px, transparent 1px), linear-gradient(90deg, var(--hair-2) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 240px 240px, 240px 240px;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .012' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type utilities ---------- */
.px { font: 400 10px/1.2 var(--f-px); letter-spacing: .04em; text-transform: uppercase; }
.ui { font: 400 11px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.dim { color: var(--ink-3); }
.lcd {
  display: inline-block; font: 800 15px/1 var(--f-dot); letter-spacing: .06em; color: var(--lcd-ink); background: var(--lcd-bg);
  padding: 5px 7px 4px; border: 1px solid #000; border-radius: 2px; text-shadow: 0 0 7px rgba(198, 255, 31, .65);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 31, .14), inset 0 2px 5px #000; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tag { display: inline-block; font: 400 10px/1 var(--f-px); text-transform: uppercase; padding: 4px 7px 3px; border: 1px solid currentColor; border-radius: 99px; vertical-align: middle; }
.tag.lime { background: var(--lime); color: var(--lime-ink); border-color: var(--lime-ink); }
.tag.blue { background: var(--blue); color: #fff; border-color: var(--blue-lo); }

/* liquid chrome text. Padding + negative margin keep italic overhang and
   descenders inside the box that background-clip paints. */
.chrome {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding: .1em .14em .2em .06em; margin: -.1em -.14em -.2em -.06em; filter: url(#chromeStill);
}
.chrome.lit { filter: url(#chromeLit) drop-shadow(0 .06em .09em rgba(10, 43, 255, .28)); }
[data-theme="void"] .chrome.lit { filter: url(#chromeLit) drop-shadow(0 0 .12em rgba(80, 120, 255, .55)); }
#fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#fx-defs .edge { flood-color: var(--chrome-edge); }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.still .rv { opacity: 1; transform: none; }
html.still { scroll-behavior: auto; }
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 56px; display: flex; align-items: stretch;
  background: var(--panel); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--ink);
}
.logo { display: flex; align-items: center; gap: 10px; padding: 0 22px 0 var(--gut); text-decoration: none; border-right: 1px solid var(--ink); white-space: nowrap; }
.spark { width: 22px; height: 22px; flex: none; animation: spin 14s linear infinite; }
.logo-w { font: 400 14px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; }
.logo sup { font: 400 9px/1 var(--f-ui); margin-left: -6px; align-self: flex-start; margin-top: 18px; }
.logo-t { color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--hair); }
.nav { display: flex; align-items: stretch; }
.nav > li { position: relative; display: flex; }
.nav a.nl { display: flex; align-items: center; gap: 9px; padding: 0 20px; text-decoration: none; border-right: 1px solid var(--hair); font: 400 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; transition: background .15s, color .15s; }
.nav a.nl i { font: 400 10px/1 var(--f-px); font-style: normal; color: var(--ink-3); }
.nav a.nl:hover, .nav li:focus-within > a.nl, .nav a.nl[aria-current] { background: var(--ink); color: var(--bg-hi); }
.nav a.nl:hover i, .nav a.nl[aria-current] i { color: var(--lime); }
.hd-r { margin-left: auto; display: flex; align-items: stretch; }
.hd-r > * { border: 0; border-left: 1px solid var(--hair); background: none; padding: 0 18px; display: flex; align-items: center; gap: 10px; font: 400 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.hd-r > *:hover { background: var(--ink); color: var(--bg-hi); }
.theme-sw i { position: relative; width: 34px; height: 16px; border: 1px solid currentColor; border-radius: 99px; background: var(--metal); }
.theme-sw i::after { content: ""; position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #7d8a99 55%, #0b0f15); transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
[data-theme="void"] .theme-sw i::after { transform: translateX(18px); background: radial-gradient(circle at 35% 30%, #fff, var(--lime) 45%, #3c5200); }
.theme-sw .px { color: inherit; opacity: .55; }
[data-theme="chrome"] .theme-sw .px:first-child, [data-theme="void"] .theme-sw .px:last-child { opacity: 1; }
.cart-btn { padding-right: var(--gut) !important; }
.menu-btn { display: none !important; }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: -1px; width: min(760px, 92vw); display: grid; grid-template-columns: 1fr 1fr; background: var(--panel-2);
  border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--hair); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.nav li:hover > .mega, .nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px 10px; text-decoration: none; border-bottom: 1px solid var(--hair); border-right: 1px solid var(--hair); }
.mega a b { font-weight: 500; font-size: 30px; line-height: 1; white-space: nowrap; }
.mega a:hover { background: var(--blue); color: #fff; }
.mega a:hover .dim { color: #fff; }

/* status strip */
.st { position: fixed; top: 56px; inset-inline: 0; z-index: 59; height: 24px; display: flex; align-items: center; gap: 0; padding: 0 var(--gut); background: var(--ink); color: var(--bg-hi); white-space: nowrap; overflow: hidden; }
.st > span { padding: 0 14px; border-right: 1px solid rgba(128, 140, 155, .4); line-height: 24px; }
.st > span:first-child { padding-left: 0; }
.st .sp { flex: 1; border: 0; }
.st b { font-weight: 400; color: var(--lime); }
.st .led { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--lime); box-shadow: 0 0 6px var(--lime); animation: blink 1.6s steps(2) infinite; }
[data-theme="void"] .st { background: #0b1019; color: var(--ink-2); border-bottom: 1px solid var(--hair); }

/* viewport HUD corners + side label */
.hud { position: fixed; inset: calc(var(--top) + 8px) 8px 8px 8px; z-index: 40; pointer-events: none; }
.hud i { position: absolute; width: 12px; height: 12px; border: 0 solid var(--ink-3); }
.hud i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hud i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hud i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* mobile menu */
.mm { position: fixed; inset: var(--top) 0 0 0; z-index: 58; background: var(--bg); padding: 20px var(--gut) 40px; overflow: auto; display: none; }
.mm.open { display: block; }
.mm a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 44px; line-height: 1; font-style: italic; }
.mm a .px { font-style: normal; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 24px; overflow: hidden;
  font: 400 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: #fff; border: 1px solid var(--blue-lo); border-radius: 99px;
  background: linear-gradient(180deg, var(--blue-hi) 0%, var(--blue) 46%, var(--blue-lo) 54%, #3a68ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -8px 12px rgba(255, 255, 255, .18), 0 6px 18px rgba(10, 43, 255, .32);
  transition: transform .15s, box-shadow .15s;
}
.btn::before { content: ""; position: absolute; left: 8%; right: 8%; top: 2px; height: 46%; border-radius: 99px; background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .05)); pointer-events: none; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transition: left .5s; pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -8px 12px rgba(255, 255, 255, .18), 0 12px 26px rgba(10, 43, 255, .42); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(1px); }
.btn > * { position: relative; }
.btn.metal { color: #05070b; border-color: #05070b; background: linear-gradient(180deg, #fff 0%, #dfe6ed 46%, #a9b4c0 54%, #e8edf2 100%); box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(5, 7, 11, .18); }
.btn.lime { color: var(--lime-ink); border-color: var(--lime-ink); background: linear-gradient(180deg, #f1ffb8 0%, var(--lime) 46%, #9bd400 54%, #d9ff5c 100%); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(150, 210, 0, .4); }
.btn.ghost { color: var(--ink); border-color: var(--ink); background: transparent; box-shadow: none; }
.btn.ghost::before { display: none; }
.btn.ghost:hover { background: var(--ink); color: var(--bg-hi); }
.btn.sm { height: 34px; padding: 0 16px; font-size: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { filter: grayscale(1); opacity: .5; pointer-events: none; }

/* ---------- OS window ---------- */
.win { position: relative; background: var(--panel); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 8px; border-bottom: 1px solid var(--ink); background: repeating-linear-gradient(180deg, transparent 0 2px, var(--hair) 2px 3px), var(--metal); }
.win-bar b { font: 400 10px/1 var(--f-px); text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: var(--bg-hi); padding: 6px 9px 5px; white-space: nowrap; }
.win-bar > span { background: var(--panel-2); padding: 3px 7px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-bar em { flex: none; }
.win-bar em { margin-left: auto; display: flex; gap: 4px; }
.win-bar em::before, .win-bar em::after { content: ""; width: 11px; height: 11px; border: 1px solid var(--ink); background: var(--bg-hi); box-shadow: inset -2px -2px 0 var(--hair); }
.win-body { padding: 18px; }

/* ---------- section scaffolding ---------- */
.sec { position: relative; }
.mini-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mini-head b { font: 800 20px/1 var(--f-dot); }
.mini-head h2 { font: 400 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; flex: 1; }
.sec-head { display: flex; align-items: center; gap: 16px; padding: 14px var(--gut); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--panel); }
.sec-head .n { font: 800 20px/1 var(--f-dot); }
.sec-head h2 { font: 400 13px/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; }
.sec-head .rule { flex: 1; height: 9px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 6px); opacity: .45; }
.sec-head .px { color: var(--ink-2); }
.wrap { padding-inline: var(--gut); }
.lede { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.08; letter-spacing: -.012em; max-width: 24ch; }
.lede i { font-style: italic; }
.body { max-width: 62ch; color: var(--ink-2); }
.page-head { padding: 54px var(--gut) 66px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; border-bottom: 1px solid var(--ink); }
.page-head h1 { font-weight: 400; font-size: clamp(64px, 12vw, 210px); line-height: .82; letter-spacing: -.03em; }
.page-head h1 i { font-style: italic; }
.page-head .body { font-size: 21px; color: var(--ink); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-bottom: 22px; color: var(--ink-2); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--top)); display: flex; flex-direction: column; padding: 22px var(--gut) 30px; overflow: hidden; border-bottom: 1px solid var(--ink); }
.hero-globe { position: absolute; right: -4vw; top: 46%; width: min(86vh, 58vw); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.hero-globe canvas { width: 100%; height: 100%; }
.hero-meta { position: relative; display: flex; gap: 28px; align-items: flex-start; color: var(--ink-2); }
.hero-meta .sp { flex: 1; }
.hero-meta div { display: grid; gap: 4px; }
.hero-meta b { font-weight: 400; color: var(--ink); }
.hero h1 { position: relative; margin: auto 0 0; font-weight: 400; font-size: clamp(50px, 17.4vw, 340px); line-height: .86; letter-spacing: -.035em; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero h1 .l2 { font-style: italic; margin-top: .02em; }
.hero-foot { position: relative; display: grid; grid-template-columns: minmax(0, 34ch) auto 1fr; gap: 40px; align-items: end; margin-top: clamp(40px, 5.4vw, 96px); }
.hero-foot p { font-size: 21px; line-height: 1.3; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-new { justify-self: end; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; text-decoration: none; border: 1px solid var(--ink); background: var(--panel); box-shadow: 5px 5px 0 var(--hair); transition: transform .15s; }
.hero-new:hover { transform: translate(-2px, -2px); }
.hero-new .g { font-size: 54px; line-height: .8; font-style: italic; width: 62px; height: 62px; display: grid; place-items: center; background: var(--ink); color: var(--bg-hi); }
.hero-new .t { display: grid; gap: 5px; justify-items: start; }
.hero-new .t b { font: 400 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- ticker ---------- */
.tick { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--lime); color: var(--lime-ink); }
.tick > div { display: flex; width: max-content; animation: tick 46s linear infinite; }
.tick span { display: flex; align-items: center; gap: 26px; padding: 11px 13px; font: 400 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.tick span::after { content: "✦"; font-size: 14px; }

/* ---------- catalogue rows ---------- */
.rows { border-bottom: 1px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 64px 210px minmax(0, 1fr) 150px 124px; align-items: center; gap: 0 22px; padding: 14px var(--gut); border-top: 1px solid var(--ink); transition: background .16s, color .16s; }
.row:first-child { border-top: 0; }
.row:hover, .row:focus-within { background: var(--hover-bg); color: var(--hover-ink); }
.row .ix { font: 800 30px/1 var(--f-dot); }
.row .nm { display: grid; gap: 8px; align-content: center; }
.row .nm a { font: 400 14px/1.15 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.row .nm a::after { content: ""; position: absolute; inset: 0; }
.row .nm .px { color: var(--ink-3); }
.row .sp { font-size: clamp(44px, 8.6vw, 156px); line-height: 1.04; white-space: nowrap; overflow: hidden; padding: .02em .1em .1em 0; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.row:hover .sp span, .row:focus-within .sp span { background: var(--silver-hi); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.row .mt { display: grid; gap: 6px; color: var(--ink-2); }
.row:hover .mt, .row:hover .nm .px { color: #b8c4d2; }
.row .rb { position: relative; z-index: 2; justify-self: end; }
.rows-tools { display: grid; grid-template-columns: minmax(0, 1fr) 320px auto; gap: 0; border-bottom: 1px solid var(--ink); background: var(--panel); }
.rows-tools > * { padding: 12px var(--gut); border-right: 1px solid var(--hair); display: flex; align-items: center; gap: 12px; }
.rows-tools output { flex: none; }
.rows-tools input[type="range"] { flex: 1; min-width: 80px; }
.rows-tools input[type="text"] { flex: 1; border: 0; background: none; font: 400 26px/1 var(--f-serif); font-style: italic; outline: none; min-width: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 400 10px/1 var(--f-px); text-transform: uppercase; letter-spacing: .04em; padding: 7px 10px 6px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; }
.chip:hover { background: var(--hair); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg-hi); }

/* ---------- 4-up engineered cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.card { position: relative; padding: 18px var(--gut) 26px; border-right: 1px solid var(--ink); display: grid; grid-template-rows: auto 190px auto auto; gap: 12px; align-content: start; }
.card:last-child { border-right: 0; }
.card .viz { display: grid; place-items: center; overflow: hidden; border: 1px solid var(--hair); background: var(--panel); }
.card h3 { font: 400 13px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.card p { font-size: 17px; line-height: 1.35; color: var(--ink-2); }
.viz-axis { font-size: 150px; line-height: 1; animation: wght 3.2s ease-in-out infinite alternate; }
.viz-lang { font-size: 92px; line-height: 1; font-style: italic; }
.viz-ot { display: grid; gap: 4px; text-align: center; font-size: 46px; line-height: 1; }
.viz-ot small { font: 400 10px/1 var(--f-px); color: var(--ink-3); text-transform: uppercase; }
.viz-px { width: 168px; height: 168px; image-rendering: pixelated; border: 1px solid var(--hair); background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px); background-size: 7px 7px; }

/* ---------- licence tiers / split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; padding: 56px var(--gut); align-items: start; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink); background: var(--panel); }
.tier { padding: 14px 12px 16px; border-right: 1px solid var(--ink); display: grid; gap: 10px; align-content: start; min-width: 0; }
.tier:last-child { border-right: 0; }
.tier b { font: 400 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.tier .x { font: 800 40px/1 var(--f-dot); }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 44px var(--gut); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--hover-bg); color: var(--hover-ink); }
.cta-band h2 { font-weight: 400; font-size: clamp(40px, 6.6vw, 112px); line-height: .9; letter-spacing: -.025em; }
.cta-band h2 i { font-style: italic; }
.cta-band .chrome { background-image: var(--silver); }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--ink); background: var(--panel); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 32px; padding: 40px var(--gut); }
.ft h4 { font: 400 10px/1 var(--f-px); text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ft li a { display: inline-block; padding: 3px 0; text-decoration: none; font-size: 20px; }
.ft li a:hover { font-style: italic; color: var(--blue); }
.news { display: flex; border: 1px solid var(--ink); background: var(--bg-hi); max-width: 460px; }
[data-theme="void"] .news { background: #000; }
.news input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; height: 46px; font: 400 19px/1 var(--f-serif); font-style: italic; outline: none; }
.news .btn { border-radius: 0; height: 46px; border-width: 0 0 0 1px; box-shadow: none; }
.ft-mark { padding: 0 var(--gut); overflow: hidden; border-top: 1px solid var(--ink); }
.ft-mark div { font-size: 21.5vw; line-height: .92; letter-spacing: -.04em; font-style: italic; white-space: nowrap; text-align: center; padding: .06em 0 .24em; }
.news .btn::before { left: 0; right: 0; top: 0; border-radius: 0; }
.ft-legal { display: flex; gap: 22px; flex-wrap: wrap; padding: 12px var(--gut); border-top: 1px solid var(--ink); background: var(--ink); color: var(--bg-hi); line-height: 1.6; }
.ft-legal a { text-decoration: none; }
.ft-legal a:hover { color: var(--lime); }
.ft-legal .sp { flex: 1; }
.ft-mock { padding: 10px var(--gut); border-top: 1px dashed var(--ink); color: var(--ink-2); line-height: 1.6; }
.barcode { height: 30px; width: 190px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 8px, var(--ink) 8px 11px, transparent 11px 13px, var(--ink) 13px 14px, transparent 14px 19px); }

/* ---------- form controls ---------- */
.field { display: grid; gap: 6px; }
.field > span { font: 400 10px/1 var(--f-px); text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--bg-hi); font: 400 19px/1.2 var(--f-serif); outline: none; box-shadow: inset 2px 2px 0 var(--hair); }
[data-theme="void"] .field input, [data-theme="void"] .field select, [data-theme="void"] .field textarea { background: #000; }
.field textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 43, 255, .22); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.3; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 3px 0 0; border: 1px solid var(--ink); background: var(--bg-hi); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--lime); }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: var(--lime-ink); }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%) !important; background-size: 6px 6px, 6px 6px !important; background-position: calc(100% - 16px) 55%, calc(100% - 10px) 55% !important; background-repeat: no-repeat !important; padding-right: 30px !important; cursor: pointer; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: ew-resize; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border: 1px solid var(--ink); background: repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 7px), var(--bg-hi); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 24px; margin-top: -9px; border: 1px solid #05070b; border-radius: 2px; background: linear-gradient(90deg, #fff, #98a4b2 46%, #fff 54%, #75818f); box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
input[type="range"]::-moz-range-track { height: 8px; border: 1px solid var(--ink); background: var(--bg-hi); }
input[type="range"]::-moz-range-thumb { width: 13px; height: 24px; border: 1px solid #05070b; border-radius: 2px; background: linear-gradient(90deg, #fff, #98a4b2 46%, #fff 54%, #75818f); }
.note { padding: 10px 12px; border: 1px dashed var(--ink); background: var(--panel); color: var(--ink-2); line-height: 1.6; }
.note b { color: var(--ink); font-weight: 400; }
.ok { border: 1px solid var(--lime-ink); background: var(--lime); color: var(--lime-ink); padding: 14px 16px; }
.ok b { display: block; font: 400 12px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- typeface page ---------- */
.face-hero { position: relative; padding: 34px var(--gut) 0; overflow: hidden; border-bottom: 1px solid var(--ink); }
.face-hero h1 { font-weight: 400; font-size: clamp(74px, 17.5vw, 350px); line-height: .9; letter-spacing: -.04em; white-space: nowrap; margin: 0 0 .16em -.03em; }
.face-hero .tagline { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.14; max-width: 30ch; }
.face-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: end; padding-bottom: 34px; }
.face-top > div { min-width: 0; }
.face-top .spec { position: relative; z-index: 2; }
.spec { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--ink); background: var(--panel); }
.spec dt, .spec dd { margin: 0; padding: 8px 10px 7px; border-bottom: 1px solid var(--hair); }
.spec dt { font: 400 10px/1.5 var(--f-px); text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--hair); }
.spec dd { font-size: 17px; line-height: 1.15; }
.spec dt:nth-last-of-type(1), .spec dd:nth-last-of-type(1) { border-bottom: 0; }
.subnav { position: sticky; top: var(--top); z-index: 30; display: flex; align-items: stretch; border-bottom: 1px solid var(--ink); background: var(--panel-2); padding-left: var(--gut); }
.subnav > a { padding: 13px 16px 12px; text-decoration: none; border-right: 1px solid var(--hair); font: 400 10px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.subnav > a:first-child { border-left: 1px solid var(--hair); }
.subnav > a:hover { background: var(--ink); color: var(--bg-hi); }
.subnav .sp { flex: 1; }
.subnav .act { display: flex; gap: 8px; align-items: center; padding: 0 var(--gut) 0 12px; }

.testers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 36px var(--gut) 60px; }
.t-ctl { display: grid; grid-template-columns: 210px repeat(4, minmax(0, 1fr)) auto; border-bottom: 1px solid var(--ink); }
.ctl { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 9px 12px 10px; border-right: 1px solid var(--hair); min-width: 0; }
.ctl > .px { grid-column: 1 / -1; color: var(--ink-2); }
.ctl select { height: 30px; border: 1px solid var(--ink); background-color: var(--bg-hi); padding: 0 10px; font: 400 17px/1 var(--f-serif); grid-column: 1 / -1; width: 100%; }
[data-theme="void"] .ctl select { background-color: #000; }
.ctl .lcd, .rows-tools .lcd { min-width: 58px; text-align: right; font: 400 10px/1 var(--f-px); padding: 7px 7px 6px; letter-spacing: .08em; text-shadow: 0 0 4px rgba(198, 255, 31, .4); }
.ctl.off { opacity: .35; pointer-events: none; }
.ctl-b { display: flex; align-items: center; gap: 4px; padding: 0 12px; }
.ib { width: 30px; height: 30px; border: 1px solid var(--ink); background: var(--metal); display: grid; place-items: center; padding: 0; font: 400 10px/1 var(--f-px); }
.ib:hover { background: var(--hair); }
.ib[aria-pressed="true"] { background: var(--ink); color: var(--bg-hi); }
.ib svg { width: 14px; height: 14px; }
.t-feat { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--ink); }
.ft-chip { display: inline-flex; align-items: center; gap: 7px; font: 400 10px/1 var(--f-px); text-transform: uppercase; padding: 6px 9px 5px 7px; border: 1px solid var(--ink); background: var(--metal); }
.ft-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .5); }
.ft-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg-hi); }
.ft-chip[aria-pressed="true"]::before { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.ft-chip.na { display: none; }
.t-stage { padding: 26px 22px 30px; min-height: 120px; outline: none; cursor: text; overflow: hidden; overflow-wrap: anywhere; transition: background .2s, color .2s; }
.t-stage:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.tester.inv .t-stage { background: var(--hover-bg); color: var(--hover-ink); }
.tester.cols .t-stage { column-count: 2; column-gap: 40px; }

.styles { border-bottom: 1px solid var(--ink); }
.sty { display: grid; grid-template-columns: 210px 70px minmax(0, 1fr); align-items: baseline; gap: 20px; width: 100%; padding: 6px var(--gut) 8px; border: 0; border-top: 1px solid var(--hair); background: none; text-align: left; }
.sty:first-child { border-top: 0; }
.sty:hover { background: var(--blue); color: #fff; }
.sty:hover .px { color: #fff; }
.sty .px { color: var(--ink-2); }
.sty .s { font-size: clamp(30px, 4.4vw, 68px); line-height: 1.12; white-space: nowrap; overflow: hidden; text-overflow: clip; }

.axis { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border-bottom: 1px solid var(--ink); }
.axis-stage { padding: 10px var(--gut) 26px; font-size: clamp(120px, 25vw, 440px); line-height: .9; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; }
.axis-ctl { border-left: 1px solid var(--ink); padding: 22px; display: grid; gap: 16px; align-content: center; background: var(--panel); }
.axis-ctl .big { font: 800 78px/1 var(--f-dot); padding: 14px 12px 10px; text-align: center; display: block; }

.glyphs { display: grid; grid-template-columns: 400px minmax(0, 1fr); border-bottom: 1px solid var(--ink); align-items: start; }
.g-insp { position: sticky; top: calc(var(--top) + 46px); margin: 22px 0 22px var(--gut); }
.g-insp canvas { width: 100%; aspect-ratio: 1; }
.g-read { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.g-read div { padding: 8px 10px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: grid; gap: 4px; }
.g-read .px { color: var(--ink-2); }
.g-read b { font: 800 17px/1 var(--f-dot); }
.g-main { padding: 22px var(--gut) 40px 26px; min-width: 0; }
.g-lab { margin: 22px 0 8px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); border-left: 1px solid var(--hair); border-top: 1px solid var(--hair); background: var(--panel); }
.g-grid button { aspect-ratio: 1; border: 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: none; font-size: 32px; line-height: 1; padding: 0; }
.arr { display: inline-block; width: 0; height: 0; border-left: 9px solid var(--blue); border-block: 5px solid transparent; align-self: center; }
.g-grid button:hover, .g-grid button[aria-pressed="true"] { background: var(--ink); color: var(--bg-hi); }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.feat { padding: 16px var(--gut) 20px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: grid; gap: 8px; }
.feat .px { color: var(--ink-2); display: flex; justify-content: space-between; }
.feat .ab { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px; font-size: 40px; line-height: 1.1; white-space: nowrap; overflow: hidden; }
.feat .ab span:first-child { color: var(--ink-3); }

.langs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; padding: 30px var(--gut) 44px; border-bottom: 1px solid var(--ink); }
.langs .chips .chip { cursor: default; border-color: var(--hair); }
.pang li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 27px; line-height: 1.15; }
.pang .px { color: var(--blue); }

.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 44px var(--gut) 56px; border-bottom: 1px solid var(--ink); }
.about p { font-size: 24px; line-height: 1.28; }
.about p + p { margin-top: .8em; }

.buy { display: grid; grid-template-columns: minmax(0, 1fr) 380px; margin: 34px var(--gut) 60px; }
.buy > .win-bar { grid-column: 1 / -1; }
.buy-steps { border-right: 1px solid var(--ink); }
.step { padding: 16px 18px 18px; border-bottom: 1px solid var(--ink); }
.step:last-child { border-bottom: 0; }
.step h3 { display: flex; gap: 10px; align-items: center; font: 400 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.step h3 b { font: 800 20px/1 var(--f-dot); }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink); }
.seg button { padding: 10px 8px; border: 0; border-right: 1px solid var(--ink); background: var(--metal); display: grid; gap: 5px; text-align: left; }
.seg button:last-child { border-right: 0; }
.seg button b { font: 400 11px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg-hi); }
.opt { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.opt label { position: relative; display: grid; gap: 4px; padding: 10px 12px 10px 38px; border: 1px solid var(--ink); background: var(--metal); cursor: pointer; }
.opt label input { position: absolute; left: 10px; top: 10px; appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--ink); background: var(--bg-hi); cursor: pointer; }
.opt label input:checked { background: var(--lime); box-shadow: inset 0 0 0 3px var(--bg-hi); }
.opt label:has(input:checked) { background: var(--ink); color: var(--bg-hi); }
.opt label b { font: 400 11px/1.2 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.opt label .s { font-size: 24px; line-height: 1; }
.opt label small { font: 400 10px/1.4 var(--f-px); text-transform: uppercase; opacity: .7; }
.buy-sum { padding: 18px; display: grid; gap: 14px; align-content: start; background: var(--panel-2); }
.buy-sum .total { font-size: 54px; padding: 16px 12px 12px; text-align: right; display: block; }
.lines { display: grid; gap: 0; }
.lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 17px; }
.lines div span:last-child { font: 800 15px/1.4 var(--f-dot); white-space: nowrap; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pager a { padding: 24px var(--gut) 28px; text-decoration: none; display: grid; gap: 8px; border-right: 1px solid var(--ink); }
.pager a:last-child { border-right: 0; text-align: right; }
.pager a b { font-weight: 400; font-size: clamp(44px, 7vw, 120px); line-height: .9; }
.pager a:hover { background: var(--blue); color: #fff; }

/* ---------- trials ---------- */
.trial-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; padding: 34px var(--gut) 70px; align-items: start; }
.charset { font-size: clamp(22px, 2.5vw, 36px); line-height: 1.15; overflow-wrap: anywhere; padding: 16px 18px; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pack { position: relative; display: grid; gap: 6px; padding: 14px 14px 12px; border: 1px solid var(--ink); background: var(--panel); cursor: pointer; transition: transform .12s; }
.pack:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--hair); }
.pack input { position: absolute; right: 12px; top: 12px; appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid currentColor; background: transparent; cursor: pointer; }
.pack input:checked { background: var(--lime); box-shadow: inset 0 0 0 3px var(--ink); }
.pack:has(input:checked) { background: var(--ink); color: var(--bg-hi); }
.pack .s { font-size: 38px; line-height: 1.1; white-space: nowrap; overflow: hidden; }
.pack b { font: 400 11px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.sticky { position: sticky; top: calc(var(--top) + 20px); }

/* ---------- long-form pages ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--ink); }
.toc { position: sticky; top: var(--top); align-self: start; padding: 26px 0 26px var(--gut); max-height: calc(100vh - var(--top)); overflow: auto; }
.toc a { display: flex; gap: 10px; padding: 8px 12px 7px 0; text-decoration: none; border-bottom: 1px solid var(--hair); font: 400 10px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.toc a i { font: 400 10px/1.3 var(--f-px); font-style: normal; color: var(--ink-3); }
.toc a:hover { color: var(--blue); }
.doc-main { border-left: 1px solid var(--ink); min-width: 0; }
.blk { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 30px; padding: 34px var(--gut) 40px 34px; border-bottom: 1px solid var(--ink); }
.blk:last-child { border-bottom: 0; }
.blk > header { display: grid; gap: 10px; align-content: start; }
.blk > header .n { font: 800 34px/1 var(--f-dot); }
.blk > header h2 { font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.015em; }
.blk > header h2 i { font-style: italic; }
.prose { font-size: 21px; line-height: 1.42; max-width: 66ch; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + .tbl, .prose .tbl + p, .prose p + .win, .prose p + .tiers, .prose .tiers + p { margin-top: .9em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: "✦"; position: absolute; left: 0; top: .12em; font-size: 14px; color: var(--blue); }
.prose a:not(.btn) { color: var(--blue); text-underline-offset: 3px; }
.prose h3 { font: 400 11px/1.3 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; margin: 1.6em 0 .6em; }
.prose small { font: 400 10px/1.6 var(--f-px); text-transform: uppercase; color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--ink); background: var(--panel); font-size: 17px; }
.tbl th, .tbl td { padding: 9px 10px 8px; border-bottom: 1px solid var(--hair); border-right: 1px solid var(--hair); text-align: left; vertical-align: top; line-height: 1.25; }
.tbl th { font: 400 10px/1.3 var(--f-px); text-transform: uppercase; background: var(--ink); color: var(--bg-hi); }
.tbl td.y { color: var(--blue); font: 400 10px/1.9 var(--f-px); }
.tbl td.n { color: var(--ink-3); font: 400 10px/1.9 var(--f-px); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 24px; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 24px/1 var(--f-dot); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 14px; color: var(--ink-2); }
.eula { counter-reset: e; }
.eula h3 { counter-increment: e; }
.eula h3::before { content: "§" counter(e) "  "; color: var(--blue); }
.diagram { border: 1px solid var(--hair); background: var(--panel); padding: 14px 14px 20px; overflow: hidden; }
.prose p + .diagram, .prose .diagram + p { margin-top: .9em; }
.dg-w { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; font-size: clamp(54px, 7vw, 110px); line-height: 1; }
.dg-m { position: relative; font-size: clamp(80px, 10vw, 150px); line-height: 1.3; text-align: center; }
.contact { font-size: clamp(34px, 5.2vw, 84px); line-height: 1; font-style: italic; text-decoration: none; overflow-wrap: anywhere; }
.contact:hover { color: var(--blue); }

/* ---------- cart ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg); border-left: 1px solid var(--ink); box-shadow: -14px 0 0 var(--hair); transform: translateX(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.drawer.open { transform: none; }
.drawer .win-bar em { cursor: pointer; }
.drawer-body { flex: 1; overflow: auto; }
.drawer-foot { border-top: 1px solid var(--ink); padding: 16px; display: grid; gap: 12px; background: var(--panel-2); }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(5, 7, 11, .45); opacity: 0; visibility: hidden; transition: .25s; }
.scrim.open { opacity: 1; visibility: visible; }
.ci { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--hair); }
.ci .s { font-size: 34px; line-height: 1; }
.ci .px { color: var(--ink-2); line-height: 1.6; }
.ci .p { font: 800 20px/1 var(--f-dot); text-align: right; }
.ci button { border: 0; background: none; padding: 0; text-decoration: underline; justify-self: end; align-self: end; }
.ci button:hover { color: var(--blue); }
.empty { padding: 40px 16px; text-align: center; color: var(--ink-2); }
.empty .s { font-size: 46px; line-height: 1; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; padding: 34px var(--gut) 70px; align-items: start; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--top)); display: grid; place-items: center; text-align: center; padding: 40px var(--gut); overflow: hidden; }
.lost h1 { font-weight: 400; font-size: clamp(150px, 38vw, 640px); line-height: .78; letter-spacing: -.05em; font-style: italic; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes wght { from { font-weight: 400; font-variation-settings: "wght" 400; } to { font-weight: 800; font-variation-settings: "wght" 800; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .logo-t, .nav a.nl i, .theme-sw .px { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .subnav .act a:first-child { display: none; }
  .subnav > a { padding-inline: 12px; }
  .nav a.nl { padding: 0 14px; }
  .row { grid-template-columns: 50px 170px minmax(0, 1fr) 110px; }
  .row .mt { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card:nth-child(2) { border-right: 0; }
  .card:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .t-ctl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-ctl > * { border-bottom: 1px solid var(--hair); }
  .ctl-b { padding: 9px 12px; }
  .glyphs { grid-template-columns: 320px minmax(0, 1fr); }
  .buy { grid-template-columns: minmax(0, 1fr) 320px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .blk { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 860px) {
  :root { --top: 76px; }
  body { font-size: 18px; }
  .hd { height: 52px; }
  .st { top: 52px; }
  .nav, .st .hide-m, .theme-sw { display: none !important; }
  .logo { gap: 8px; padding-left: 14px; }
  .logo-w { font-size: 12px; letter-spacing: .14em; }
  .logo sup { display: none; }
  .cart-btn > span { display: none; }
  .cart-btn { padding-right: 12px !important; }
  .hd-r > * { padding: 0 12px; }
  .hero-meta div:last-child { display: none; }
  .face-hero h1 { font-size: 25vw; }
  .tbl { display: block; overflow-x: auto; }
  .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .t-ctl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page-head { padding-bottom: 40px; }
  .page-head h1 { font-size: 19vw; }
  .blk > header h2 { font-size: 34px; }
  .prose { font-size: 19px; }
  .opt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy { margin-inline: 0; border-inline: 0; box-shadow: none; }
  .cta-band { padding-block: 34px; }
  .menu-btn { display: flex !important; }
  .logo { border-right: 0; padding-right: 8px; }
  .hd-r > * { padding: 0 14px; }
  .hud { display: none; }
  .hero { padding-top: 16px; min-height: 0; }
  .hero-globe { right: -30vw; top: 30%; width: 120vw; opacity: .7; }
  .hero-meta { flex-wrap: wrap; gap: 14px 22px; }
  .hero-meta .sp { display: none; }
  .hero h1 { margin-top: 26vh; font-size: 17.4vw; line-height: .84; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 22px; }
  .hero-new { justify-self: start; }
  .page-head { grid-template-columns: minmax(0, 1fr); padding-top: 34px; gap: 20px; }
  .row { grid-template-columns: 1fr auto; gap: 6px 12px; padding-block: 14px; }
  .row .ix { display: none; }
  .row .sp { grid-column: 1 / -1; grid-row: 2; font-size: 15vw; }
  .row .rb { grid-row: 1; grid-column: 2; }
  .rows-tools { grid-template-columns: minmax(0, 1fr); }
  .rows-tools > * { border-right: 0; border-bottom: 1px solid var(--hair); }
  .cards, .tiers, .feats, .packs, .form, .seg { grid-template-columns: minmax(0, 1fr); }
  .card, .tier { border-right: 0; border-bottom: 1px solid var(--ink); }
  .card:last-child, .tier:last-child { border-bottom: 0; }
  .seg button { border-right: 0; border-bottom: 1px solid var(--ink); grid-template-columns: 1fr auto; align-items: center; }
  .seg button:last-child { border-bottom: 0; }
  .split, .langs, .about, .trial-grid, .checkout, .face-top, .axis, .glyphs, .buy, .doc, .cta-band, .pager { grid-template-columns: minmax(0, 1fr); }
  .split { padding-block: 36px; gap: 24px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-top > :first-child { grid-column: 1 / -1; }
  .subnav { overflow-x: auto; }
  .subnav .act, .subnav .sp { display: none; }
  .t-ctl { grid-template-columns: 1fr 1fr; }
  .ctl:first-child, .ctl-b { grid-column: 1 / -1; }
  .tester.cols .t-stage { column-count: 1; }
  .t-stage { padding: 18px 14px 22px; }
  .sty { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .sty .s { grid-column: 1 / -1; }
  .axis-ctl { border-left: 0; border-top: 1px solid var(--ink); }
  .g-insp { position: static; margin: 16px var(--gut) 0; }
  .g-main { padding-left: var(--gut); }
  .buy-steps { border-right: 0; border-bottom: 1px solid var(--ink); }
  .pager a { border-right: 0; border-bottom: 1px solid var(--ink); }
  .pager a:last-child { text-align: left; border-bottom: 0; }
  .toc { position: static; max-height: none; padding: 16px var(--gut); display: flex; overflow-x: auto; gap: 16px; border-bottom: 1px solid var(--ink); }
  .toc a { border: 0; white-space: nowrap; padding: 4px 0; }
  .doc-main { border-left: 0; }
  .blk { padding: 26px var(--gut) 30px; }
  .sticky { position: static; }
  .sec-head .px { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
