/* FinerFormed: struck metal and hard enamel.
   Ground is black nickel; surfaces are struck gunmetal plates; each product owns one enamel.
   Status is engraved text. Facts are hallmark punches. Planned things are empty slots. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/unbounded-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  /* plating scale: the only neutrals on the site */
  --nickel-0: #0e0f11;  /* ground */
  --nickel-1: #15171a;  /* sunk */
  --plate: #1c1f23;     /* struck plate */
  --plate-2: #24282d;   /* plate top */
  --edge-lo: #07080a;   /* struck shadow edge */
  --edge: #30353b;      /* plate rim */
  --edge-hi: #4a5058;   /* rim catch-light */
  --steel: #eef1f4;     /* polished type */
  --steel-2: #b8bec6;   /* brushed type */
  --steel-3: #8e959e;   /* engraved hairline type (>= 4.5:1 on ground) */
  /* hard enamels: one per product, red only for refusals */
  --nimbus: #5b9bff; --nimbus-hi: #8cbcff; --nimbus-lo: #2f6fd8; --nimbus-ink: #06132b;
  --inspector: #f0a83a; --inspector-hi: #ffc978; --inspector-lo: #c27a14; --inspector-ink: #241503;
  --brand: #3fd1c6; --brand-hi: #86efe6; --brand-lo: #1c9a91; --brand-ink: #04211e;
  --refuse: #ef5f56; --refuse-hi: #ff8a82; --refuse-ink: #2a0606;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 32px;
  --strike: cubic-bezier(.16, 1, .3, 1);
  --struck: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 14px 30px -18px rgba(0, 0, 0, .9);
  --debossed: inset 0 2px 5px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 255, 255, .05);
  /* brushed gunmetal: anisotropic noise (long horizontal grain), laid over plate gradients */
  --brushed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='480'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.002 0.6' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.16 0 0 0 -0.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --rim: #eef1f4 #9aa1a9 #4a4f56 #9aa1a9; /* polished steel rim: light top, dark bottom */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--edge-hi) var(--nickel-0); }
body { margin: 0; background: var(--nickel-0); color: var(--steel); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
/* polished-steel lettering: cool steel with a struck highlight/shadow pair */
h1, h2 { color: #e6eaee; text-shadow: 0 -1px 0 rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .1); }
p, li { text-wrap: pretty; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
input, textarea { caret-color: var(--brand); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 9px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- shells ---------- */
.header-inner, .hero, .section, .page-hero, .page-section, .detail-hero, .support-layout, .prose, .not-found {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.section { padding-block: 96px; }
.section-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { color: var(--steel-2); max-width: 46ch; }
.lead { font-size: 19px; line-height: 1.6; color: var(--steel-2); max-width: 56ch; }

/* ---------- struck badges ---------- */
.badge { position: relative; display: inline-grid; width: var(--size); height: var(--size); flex: none; border-radius: 28%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); isolation: isolate; }
.badge svg { width: 100%; height: 100%; display: block; }
/* specular sheen: follows the pointer (app.js sets --mx/--my), rests at top-left */
@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 28%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 18%; }
.badge::after {
  content: ""; position: absolute; inset: 5%; border-radius: 26%; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 46%);
  transition: --mx .3s var(--strike), --my .3s var(--strike);
}
.badge-raw { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)) saturate(.6); }

/* ---------- engraved status & hallmarks ---------- */
.engraved { display: inline-block; font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .06); }
.engraved-soon { color: var(--nimbus-hi); }
.engraved-dev { color: var(--inspector-hi); }
.engraved-planned { color: var(--steel-3); font-weight: 500; }

.hallmarks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hallmarks li {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px 7px; color: var(--steel); border-radius: 5px;
  background: var(--nickel-1); box-shadow: var(--debossed); border: 1px solid #23272c;
}

/* ---------- buttons: enamel-filled struck plates ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: .01em; cursor: pointer;
  transition: transform .18s var(--strike), box-shadow .18s var(--strike), filter .18s var(--strike);
}
.button .icon { transition: transform .25s var(--strike); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(2px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45); }
/* hard enamel: a flat fill set inside a polished-steel rim */
.button-nimbus, .button-brand { border-width: 2px; border-color: var(--rim); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 10px 18px -12px rgba(0, 0, 0, .95); }
.button-nimbus { background: var(--nimbus); color: var(--nimbus-ink); }
.button-brand { background: var(--brand); color: var(--brand-ink); }
.button-nimbus:hover, .button-brand:hover { filter: brightness(1.08); }
.button-plate { background: var(--brushed), linear-gradient(180deg, var(--plate-2), var(--plate)); color: var(--steel); border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck); }
.button-plate:hover { border-color: #646b74 var(--edge-hi) var(--edge-lo) var(--edge-hi); }
.button-small { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.button-meta { font-weight: 600; opacity: .75; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--brand-hi); }
.text-link .icon { transition: transform .25s var(--strike); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { color: var(--steel); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; background: linear-gradient(180deg, #17191c, var(--nickel-0)); border-bottom: 1px solid var(--edge-lo); box-shadow: 0 1px 0 #202328; }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand .badge { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; color: var(--steel-2); }
.primary-nav > a:not(.button) { position: relative; padding-block: 6px; transition: color .2s var(--strike); }
.primary-nav > a:not(.button):hover { color: var(--steel); }
.primary-nav > a[aria-current="page"] { color: var(--steel); }
.primary-nav > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; border-radius: 2px; background: var(--nickel-1); box-shadow: var(--debossed), inset 0 0 0 1px var(--brand-lo); }
.menu-toggle { display: none; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
.menu-toggle .bar { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--steel); transition: transform .25s var(--strike); }
.menu-toggle .bar + .bar { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* ---------- plates & screenshots ---------- */
.plate-frame {
  position: relative; padding: 18px; border-radius: 20px;
  background: var(--brushed), linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck);
}
.shot { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; background: var(--nickel-1); box-shadow: 0 0 0 1px var(--edge-lo), 0 0 0 3px #2a2e33; }
.screw { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c5cbd2, #5a6068 60%, #2c3035); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); z-index: 1; }
.screw::after { content: ""; position: absolute; left: 1.5px; right: 1.5px; top: 3.5px; height: 1px; background: #1b1e22; transform: rotate(35deg); }
.screw:nth-child(1) { top: 5px; left: 5px; } .screw:nth-child(2) { top: 5px; right: 5px; }
.screw:nth-child(3) { bottom: 5px; left: 5px; } .screw:nth-child(4) { bottom: 5px; right: 5px; }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding-block: 96px 104px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 62px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; margin-bottom: 24px; }
.enamel-text { color: var(--nimbus); text-shadow: 0 1px 0 var(--nimbus-hi), 0 -1px 0 var(--nimbus-lo); }
.hero-mark, .detail-mark { position: relative; padding: 0 0 70px 40px; }
.hero-frame { transform: rotate(1.5deg); }
.hero-badge { position: absolute; left: 0; bottom: 0; z-index: 2; }
.detail-mark-solo { display: grid; place-items: center; padding: 40px; min-height: 340px; border-radius: 24px; background: var(--nickel-1); box-shadow: var(--debossed); }
.detail-mark-solo .hero-badge { position: static; }
@media (prefers-reduced-motion: no-preference) {
  .hero-badge .badge { animation: strike .62s var(--strike) .05s both; }
  .hero-badge .badge::after { animation: sheen .7s var(--strike) .05s both; }
}
@keyframes strike { from { transform: scale(1.08) rotate(-6deg); } to { transform: none; } }
@keyframes sheen { from { --mx: -40%; --my: -40%; } to { --mx: 28%; --my: 18%; } }

/* ---------- in game ---------- */
.ingame { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1d2024; }
.ingame-copy h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.ingame-copy > p { color: var(--steel-2); max-width: 44ch; }
.struck-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.struck-list li { display: flex; gap: 12px; align-items: baseline; color: var(--steel-2); }
.struck-list strong { color: var(--steel); }
.struck-list .icon { color: var(--brand); transform: translateY(3px); }
.refusals { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.refusals li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 6px;
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--refuse); color: var(--refuse-ink);
  border: 2px solid; border-color: var(--rim); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 8px 14px -10px rgba(0, 0, 0, .9);
}

/* ---------- backer card ---------- */
.set-section { border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1d2024; }
.backer {
  position: relative; padding: 28px; border-radius: 26px;
  background: var(--brushed), linear-gradient(180deg, #202328, #191b1f); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck);
}
.slots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.slot { border-radius: 18px; background: var(--nickel-1); box-shadow: var(--debossed); }
.slot > a, .slot-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 16px 22px; min-height: 216px; border-radius: inherit; }
.slot > a { transition: background-color .25s var(--strike); }
.slot > a:hover { background: #1a1d21; }
.slot > a:hover .badge { transform: translateY(-3px) rotate(-3deg); }
.slot .badge { margin-bottom: 8px; transition: transform .35s var(--strike); }
.slot-name { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.slot-text { font-size: 14px; color: var(--steel-3); }
/* an empty die slot: debossed recess where a badge will be struck */
.slot-hole { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; border-radius: 30px; background: #0b0c0e; box-shadow: inset 0 4px 9px rgba(0, 0, 0, .9), inset 0 -1px 0 rgba(255, 255, 255, .07), 0 1px 0 rgba(255, 255, 255, .04); color: var(--steel-3); }
.slot-suggest .slot-hole { border: 1.5px dashed var(--brand-lo); }
.slot-hole .icon { width: 28px; height: 28px; }
.slot-empty .slot-name { color: var(--steel-2); font-weight: 600; }
.slot-suggest .slot-hole { color: var(--brand); }
.slot-suggest .slot-name { color: var(--brand-hi); }
.slot-suggest > a:hover .slot-hole { border-style: solid; background: rgba(63, 209, 198, .06); }

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1d2024; }
.statement h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 20ch; }
.statement p { color: var(--steel-2); margin-bottom: 22px; max-width: 46ch; }

/* ---------- inner pages ---------- */
.page-hero { padding-block: 96px 48px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; margin-bottom: 18px; max-width: 18ch; }
.page-section { padding-block: 8px 88px; }

.product-rows { display: grid; gap: 18px; }
.product-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: center; padding: 28px 28px 28px 36px;
  border-radius: 22px; background: var(--brushed), linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck);
}
.product-row-media { transition: transform .35s var(--strike); }
.product-row:hover .product-row-media { transform: translateY(-3px); }
.product-row:hover .text-link .icon { transform: translateX(3px); }
.product-row h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.product-row p { color: var(--steel-2); max-width: 50ch; margin: 12px 0 16px; }
.product-row .shot { box-shadow: 0 0 0 1px var(--edge-lo); }
.product-row-media { position: relative; }
.row-badge { position: absolute; left: -26px; bottom: -18px; }
.product-row-blank { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--nickel-1); box-shadow: var(--debossed); }

.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 48px 80px; }
.detail-hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin: 26px 0 14px; }
.detail-copy .engraved { margin-bottom: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-block: -10px; font-size: 14px; font-weight: 700; color: var(--steel-2); }
.back-link:hover { color: var(--steel); }
.download-pending { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 20px; border-radius: 11px; background: var(--nickel-1); box-shadow: var(--debossed); color: var(--steel); font-weight: 800; }
.download-note { margin-top: 14px; font-size: 14px; color: var(--steel-3); max-width: 52ch; }

.detail-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; padding-top: 0; }
.intro-text { font-size: 19px; line-height: 1.65; color: var(--steel-2); max-width: 58ch; }
.ledger { display: grid; align-content: start; padding: 8px 22px; border-radius: 18px; background: var(--nickel-1); box-shadow: var(--debossed); }
.ledger div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid #22262b; }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-3); }
.ledger dd { font-weight: 700; text-align: right; }

.features { display: grid; gap: 104px; }
.feature { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.feature-flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.feature-flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.feature p { color: var(--steel-2); max-width: 40ch; }

/* one struck plate carrying a checklist, not a row of cards */
.struck-plate { margin: 0; max-width: 860px; padding: 26px 30px; border-radius: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px;
  background: var(--brushed), linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck); }
.struck-planned .icon { color: var(--steel-3); }

.fair-play { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fair-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.fair-copy p { color: var(--steel-2); max-width: 40ch; }
.refusals-large { flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.refusals-large li { font-size: clamp(15px, 1.6vw, 18px); padding: 12px 22px 12px 14px; }
.refusals-large .icon { width: 24px; height: 24px; }

.faqs { max-width: 840px; display: grid; gap: 10px; }
.faq { border-radius: 14px; background: var(--nickel-1); box-shadow: var(--debossed); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 22px; font-weight: 800; font-size: 16px; cursor: pointer; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--steel-3); transition: transform .3s var(--strike), color .2s; }
.faq[open] summary .icon { transform: rotate(45deg); color: var(--brand); }
.faq summary:hover .icon { color: var(--brand); }
.faq p { padding: 0 22px 20px; color: var(--steel-2); max-width: 66ch; }
.faq-more { margin-top: 24px; color: var(--steel-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }

.related { border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1d2024; }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.related-item { display: flex; gap: 20px; align-items: center; padding: 22px; border-radius: 18px; background: var(--brushed), linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck); }
.related-item .badge { transition: transform .35s var(--strike); }
.related-item:hover .badge { transform: translateY(-3px) rotate(-3deg); }
.related-item h3 { font-size: 18px; margin-bottom: 4px; }
.related-item p { margin-top: 8px; color: var(--steel-2); font-size: 15px; }

/* ---------- prose ---------- */
.prose { max-width: 820px; margin-left: max(0px, calc((100vw - var(--wrap)) / 2)); padding-bottom: 104px; }
.prose h2 { font-size: 22px; margin: 44px 0 12px; }
.prose h2:first-child { margin-top: 8px; }
.prose p { color: var(--steel-2); max-width: 66ch; }
.prose p + p { margin-top: 14px; }
.prose .updated { margin-top: 44px; font-size: 14px; color: var(--steel-3); }

/* ---------- support (an operate island in the same world) ---------- */
.support-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 56px; align-items: start; padding-bottom: 104px; }
/* the form plate stays unbrushed: small hint text must never sit on grain */
.contact-form { padding: 32px; border-radius: 24px; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid; border-color: var(--edge-hi) var(--edge) var(--edge-lo) var(--edge); box-shadow: var(--struck); }
.form-body { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.form-body[disabled] { opacity: .6; }
.form-closed { display: flex; gap: 12px; align-items: center; margin-bottom: 26px; padding: 14px 16px; border-radius: 12px; background: var(--nickel-1); box-shadow: var(--debossed); color: var(--steel-2); font-size: 15px; }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend, .field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 800; }
.optional { color: var(--steel-3); font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 18px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--steel-2); background: var(--nickel-1); box-shadow: var(--debossed); transition: color .2s, background .2s; }
.choice input:checked + span { color: var(--brand-ink); background: var(--brand); box-shadow: 0 0 0 2px #9aa1a9, inset 0 1px 0 rgba(255, 255, 255, .3); }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 11px; border: 1px solid #23272c; background: var(--nickel-1); box-shadow: var(--debossed); color: var(--steel); transition: border-color .2s var(--strike); }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8bec6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--edge-hi); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--refuse); }
.hint { margin-top: 6px; font-size: 14px; color: var(--steel-3); }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--refuse-hi); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { font-size: 15px; font-weight: 700; color: var(--steel-2); }
.form-status.is-success { color: var(--brand-hi); }
.form-status.is-error { color: var(--refuse-hi); }
.contact-form.is-sending button[type="submit"] { cursor: progress; }
.form-legal { font-size: 14px; color: var(--steel-3); }
.form-legal a { color: var(--steel-2); text-decoration: underline; text-underline-offset: 3px; }
.support-aside h2 { font-size: 18px; margin-bottom: 10px; }
.support-aside h2:not(:first-child) { margin-top: 36px; }
.support-aside p, .support-aside li { color: var(--steel-2); font-size: 15px; }
.support-aside ul { padding-left: 20px; margin: 10px 0 14px; }
.support-aside li + li { margin-top: 4px; }
.aside-warning { color: var(--inspector-hi) !important; font-weight: 700; }
.support-aside .text-link { margin-top: 8px; display: inline-flex; }

/* ---------- 404: an empty slot ---------- */
.not-found { padding-block: 120px; text-align: center; }
.not-found-slot { display: inline-grid; place-items: center; padding: 26px; margin-bottom: 32px; border-radius: 30px; background: var(--nickel-1); box-shadow: var(--debossed); }
.not-found-slot .slot-hole { margin: 0; }
.not-found h1 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 16px; }
.not-found .lead { margin-inline: auto; }
.not-found .actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { padding: 52px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 28px; background: linear-gradient(180deg, var(--nickel-0), #0a0b0c); border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1d2024; }
.footer-main { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; color: var(--steel-2); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--steel-2); align-content: start; }
.site-footer nav a:hover, .site-footer nav a[aria-current="page"] { color: var(--brand-hi); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--edge-lo); box-shadow: inset 0 1px 0 #1a1c20; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--steel-3); }
.maker-mark { display: inline-flex; align-items: center; gap: 10px; }
.maker-mark span { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .08em; padding: 3px 6px; border-radius: 4px; color: var(--steel-2); background: var(--nickel-1); box-shadow: var(--debossed); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-row { grid-template-columns: minmax(0, 1fr); }
  .product-row-media { order: -1; margin-left: 20px; }
  .struck-plate { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero, .detail-hero, .detail-intro, .feature, .feature-flip, .statement, .fair-play, .support-layout, .ingame { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature-flip .feature-copy { order: 0; }
  .features { gap: 72px; }
  .hero-mark, .detail-mark { padding: 0 0 60px 30px; max-width: 560px; }
  .section-head { flex-direction: column; align-items: start; gap: 12px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .header-inner { height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: #15171a; border-bottom: 1px solid var(--edge-lo); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .9); }
  .primary-nav { opacity: 0; translate: 0 -8px; transition: opacity .18s var(--strike), translate .18s var(--strike), display .18s allow-discrete; }
  .primary-nav.open { display: flex; opacity: 1; translate: 0 0; transition-duration: .28s; }
  @starting-style { .primary-nav.open { opacity: 0; translate: 0 -8px; } }
  .primary-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid #202328; }
  .primary-nav > a[aria-current="page"]::after { display: none; }
  .primary-nav > a[aria-current="page"] { color: var(--brand-hi); }
  .primary-nav .button { margin-top: 16px; min-height: 48px; }
  .hero { padding-block: 56px 64px; }
  .hero-mark, .detail-mark { padding: 0 0 48px 22px; }
  .hero-badge .badge { --size: 120px !important; width: 120px; height: 120px; }
  .detail-mark-solo { min-height: 260px; }
  .lead, .intro-text { font-size: 17px; }
  .detail-hero h1, .page-hero h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .section { padding-block: 64px; }
  .page-hero { padding-block: 64px 32px; }
  .detail-hero { padding-block: 32px 56px; }
  .backer { padding: 14px; border-radius: 20px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .slot > a, .slot-empty { min-height: 180px; padding: 20px 10px 18px; }
  .slot .badge { --size: 72px !important; width: 72px; height: 72px; }
  .slot .engraved { font-size: 12px; letter-spacing: .06em; }
  .slot-name { font-size: 15px; }
  .slot-hole { width: 72px; height: 72px; border-radius: 24px; }
  .product-row { padding: 20px; }
  .product-row-media { margin-left: 14px; }
  .row-badge .badge { --size: 64px !important; width: 64px; height: 64px; }
  .row-badge { left: -16px; bottom: -14px; }
  .struck-plate { padding: 20px; }
  .contact-form { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 100%; }
  .not-found { padding-block: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- motion: page continuity ----------
   Cross-page view transitions. The page crossfades (exit faster than entrance) while the header holds still.
   A clicked product badge is the shared element: it flies from its slot to the product page's hero badge. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
/* the new page fades and rises over a held old page (normal blending, so brightness never flares or dips) */
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vt-in .34s var(--strike) both; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--strike); }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
/* arriving by a badge flight: the badge has already landed, so skip the strike-on-load */
.vt-arrived .hero-badge .badge, .vt-arrived .hero-badge .badge::after { animation: none !important; }


@media (prefers-reduced-motion: reduce) {
  /* fewer, gentler: no flying badge or slide, just a short fade between pages */
  ::view-transition-group(*), ::view-transition-image-pair(*) { animation: none !important; }
  ::view-transition-old(root) { animation: none !important; }
  ::view-transition-new(root) { animation: vt-fade .16s linear both !important; }
  .primary-nav { translate: none !important; }
  .faq summary .icon { transition: none !important; }
}
@keyframes vt-fade { from { opacity: 0; } }
