@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #030405;
  --panel: #070a0d;
  --inset: #040608;
  --line: #29343d;
  --soft-line: #1c252d;
  --ink: #eef2f5;
  --text: #b9c2cb;
  --muted: #92a0ac;
  --blue: #59bffa;
  --pale: #a6dcfa;
  --sans: Nunito, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 85px; }
body { margin: 0; line-height: 1.55; min-height: 100vh; }
h1, h2, h3, p, figure, fieldset, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.16; letter-spacing: -.036em; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: #83cdf5; color: #05111a; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
main { min-height: calc(100vh - 232px); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; inset: 8px auto auto 8px; z-index: 50; background: #f4f7fa; color: #000; padding: 9px 14px; }
header { position: sticky; top: 0; z-index: 10; background: #040607; border-bottom: 1px solid var(--soft-line); }
.mast { min-height: 68px; padding-top: 9px; display: flex; align-items: center; gap: clamp(24px, 4vw, 66px); }
.brand, .mainnav, .header-actions, .footer-row, .footer-nav { display: flex; align-items: center; }
.brand { flex: none; gap: 9px; }
.brand-mark { display: block; border-radius: 3px; }
.wordmark { font: 850 .95rem/.98 var(--sans); letter-spacing: .17em; }
.wordmark-sub { display: block; margin-top: 5px; color: var(--pale); font: 550 .56rem/1 var(--mono); letter-spacing: .13em; }
.mainnav { gap: clamp(15px, 2.5vw, 36px); height: 100%; }
.mainnav a { position: relative; display: flex; align-items: center; min-height: 43px; color: var(--text); font: 650 .94rem/1 var(--sans); white-space: nowrap; }
.mainnav a[aria-current], .mainnav a:hover { color: #fff; }
.mainnav a[aria-current]::after { content: ""; position: absolute; height: 2px; width: 13px; bottom: 2px; left: calc(50% - 6px); background: var(--blue); }
.header-actions { gap: 8px; margin-left: auto; }
.header-actions > * { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #080c0f; border-radius: 4px; min-height: 32px; padding: 4px 10px; color: var(--text); font: 550 .75rem/1.35 var(--mono); }
.header-actions > *:hover { color: var(--blue); border-color: #49748b; }
.header-actions .motion-toggle { min-width: 33px; padding: 4px; }
#motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.motion-symbol { display: block; width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-symbol { width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.discord-link { text-transform: uppercase; letter-spacing: .08em; }
.discord-link::before { content: "["; color: var(--muted); }
.discord-link::after { content: "]"; color: var(--muted); }
footer { margin-top: 68px; background: var(--bg); border-top: 1px solid var(--soft-line); }
.footer-row { min-height: 88px; gap: 22px; color: var(--muted); font: 500 .75rem/1.5 var(--mono); }
.footer-nav { margin-left: auto; gap: 20px; }
.footer-nav a:hover, .text-link:hover, .quick-links a:hover { color: white; text-decoration: underline; }
footer .wordmark { color: var(--ink); }
.cta, .ghost, .buy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 18px; font: 600 .82rem/1.4 var(--mono); border: 1px solid transparent; border-radius: 4px; text-align: center; }
.cta, .buy-button { color: #04141f; background: linear-gradient(110deg,#95d8ff,#57baf4); border-color: #65bbeb; }
.cta:hover, .buy-button:hover { background: #a8deff; }
.ghost { color: #d4dee5; background: var(--inset); border-color: var(--line); }
.ghost:hover { border-color: #6994ab; color: white; }
.text-link { color: var(--pale); font: 600 .85rem/1.5 var(--mono); }
.micro, .window-bar, .directory-heading, .variants legend { font: 550 .76rem/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.window { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: clip; min-width: 0; }
.window-bar { min-height: 37px; display: flex; align-items: center; gap: 10px; padding: 7px 15px; background: #090d10; border-bottom: 1px solid var(--line); }
.window-bar h2 { font: inherit; letter-spacing: inherit; }
.bar-end { margin-left: auto; color: #94a5b3; text-transform: none; letter-spacing: 0; font-size: .74rem; }
.window-dots { display: inline-flex; align-items: center; flex: none; gap: 5px; }
.window-dots i { width: 8px; height: 8px; background: #57d9ac; border-radius: 50%; }
.window-dots i:nth-child(2) { background: #f2c25f; }
.window-dots i:nth-child(3) { background: #ec7785; }
.window-body { padding: 17px; }
.specs { padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--inset); font: 550 .85rem/1.5 var(--mono); }
.specs > div { display: grid; grid-template-columns: 100px 1fr; padding: 4px 0; gap: 9px; }
.specs dt { color: var(--muted); text-transform: uppercase; font-size: .75rem; letter-spacing: .04em; }
.specs dd { overflow-wrap: anywhere; }
.available, .pending { display: inline-flex; align-items: center; gap: 8px; color: #82dfba; font: 600 .75rem/1.55 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.available::before, .pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pending { color: #efca7c; }
.variants { min-width: 0; border: 0; padding: 0; display: grid; gap: 5px; }
.variants legend { padding: 0; margin-bottom: 8px; }
.variants legend:not(.sr)::before { content: "[ "; }
.variants legend:not(.sr)::after { content: " ]"; }
.variant-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 9px 12px; border: 1px solid var(--line); background: var(--inset); border-radius: 4px; color: var(--text); font: 550 .83rem/1.4 var(--mono); cursor: pointer; }
.variant-row::before { content: "( )"; color: #8895a0; white-space: pre; }
.variant-row input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.variant-row:hover, .variant-row.is-selected { background: #0b161e; color: #f2f8fc; border-color: #49748e; }
.variant-row.is-selected::before { content: "(•)"; color: var(--blue); }
.variant-row:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.variant-price { margin-left: auto; font-weight: 650; white-space: nowrap; }
.pack-tag { color: #9bd9fd; font-size: .72rem; font-weight: 500; white-space: nowrap; }
.buy-button { width: 100%; margin-top: 15px; text-transform: uppercase; letter-spacing: .045em; }
.checkout-note, .pack-context, .order-help { color: var(--muted); font-size: .91rem; line-height: 1.55; }
.checkout-note { margin: 9px 0 0; }
#cart-dialog { width: min(460px, 94vw); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 24px; }
#cart-dialog::backdrop { background: #000b; }
.modal-open { overflow: hidden; }
.close { float: right; border: 1px solid var(--line); background: var(--inset); border-radius: 3px; width: 32px; height: 32px; }
.cart-row { display: flex; gap: 12px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-row a { color: var(--blue); }
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .mast { column-gap: 10px; padding-top: 16px; min-height: 65px; }
  .mainnav { gap: 14px; }
  .mainnav a { font-size: .86rem; }
}
@media (max-width: 590px) {
  .mast { flex-wrap: wrap; padding-top: 15px; row-gap: 0; }
  .header-actions { margin-left: auto; }
  .mainnav { order: 3; flex-basis: 100%; gap: 24px; }
  .mainnav a { min-height: 36px; }
  .mainnav a[aria-current]::after { left: 0; bottom: 2px; }
  .brand-mark { width: 29px; height: 29px; }
  .footer-row { flex-wrap: wrap; padding-block: 17px; gap: 12px 16px; }
  .footer-nav { width: 100%; margin: 0; }
  .window-body { padding: 13px; }
  .variant-row { gap: 8px; }
  .specs > div { grid-template-columns: 81px 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
