@font-face {
  font-family: "Kroma Pixel";
  src: url("/assets/kroma-pixel.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #0b0907;
  --coal: #15110e;
  --iron: #211b16;
  --iron-2: #2d241d;
  --paper: #eee6d7;
  --paper-dim: #b4aa99;
  --muted: #7f776c;
  --rust: #bd4a24;
  --rust-hot: #ee6a36;
  --brass: #bd9251;
  --acid: #c7e54a;
  --acid-ink: #252c0d;
  --line: rgba(238, 230, 215, 0.15);
  --line-hot: rgba(189, 74, 36, 0.58);
  --pixel: "Kroma Pixel", "SFMono-Regular", "Roboto Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 13% 8%, rgba(189, 74, 36, 0.12), transparent 30rem),
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.012) 48% 49%, transparent 49% 100%),
    var(--void);
  background-size: auto, 42px 42px, auto;
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 10%, transparent 90%, rgba(0, 0, 0, 0.2));
  mix-blend-mode: screen;
}

body::after {
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--rust), var(--brass), var(--acid), var(--rust));
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--acid);
  color: var(--acid-ink);
  font-family: var(--pixel);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  z-index: 50;
  top: 3px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1680px, 100%);
  min-height: 74px;
  padding: 12px clamp(20px, 4vw, 66px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 9, 7, 0.88);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.brand > span:last-child { display: grid; gap: 3px; }
.brand strong { font-family: var(--pixel); font-size: 17px; font-weight: 400; letter-spacing: 0.08em; }
.brand small { color: var(--muted); font-family: var(--pixel); font-size: 7px; letter-spacing: 0.11em; }

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 3px;
  align-items: end;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(189, 74, 36, 0.66);
  border-radius: 50%;
  background: radial-gradient(circle, #33261e, #100d0a 66%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.brand-mark i { display: block; width: 5px; background: var(--rust); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; background: var(--brass); }
.brand-mark i:nth-child(3) { height: 13px; background: var(--acid); }

.system-state {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.system-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(199, 229, 74, 0.72);
  animation: blink 2s steps(1) infinite;
}

.topbar nav,
footer nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(15px, 2vw, 30px);
}

.topbar nav a,
footer nav a,
.privacy-settings {
  color: var(--paper-dim);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.topbar nav a:hover,
.topbar nav a:focus-visible,
footer nav a:hover,
footer nav a:focus-visible,
.privacy-settings:hover,
.privacy-settings:focus-visible { color: var(--paper); }

.privacy-settings { padding: 0; border: 0; background: none; cursor: pointer; }

.topbar .nav-cta {
  padding: 10px 13px;
  border: 1px solid var(--rust);
  color: #f08a5c;
}

.topbar .nav-cta:hover { background: var(--rust); color: var(--paper); }

main { overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  min-height: 100svh;
  max-width: 1680px;
  margin: 0 auto;
  padding-top: 77px;
  border-inline: 1px solid rgba(238, 230, 215, 0.07);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 94px clamp(28px, 5.4vw, 92px) 104px;
}

.serial-line,
.section-index {
  margin: 0;
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.serial-line span,
.section-index { color: #d17a52; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--pixel);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin-top: 31px;
  font-size: clamp(58px, 7vw, 112px);
  letter-spacing: -0.055em;
  line-height: 0.88;
}

h1 mark,
h2 mark { background: none; color: var(--rust-hot); }

.hero-intro {
  max-width: 620px;
  margin: 34px 0 0;
  color: #bdb3a4;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 228px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--pixel);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.button-primary { border-color: var(--rust); background: var(--rust); }
.button-primary:hover, .button-primary:focus-visible { background: var(--rust-hot); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--paper); }
.button-disabled { cursor: default; opacity: 0.72; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin: 48px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.hero-stats div { padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats dt { color: var(--acid); font-family: var(--pixel); font-size: 24px; }
.hero-stats dd { margin: 8px 0 0; color: var(--muted); font-family: var(--pixel); font-size: 7px; line-height: 1.5; }

.hero-object {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
  overflow: hidden;
  padding: 106px 38px 88px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 43%, rgba(189, 74, 36, 0.18), transparent 31%),
    linear-gradient(rgba(238, 230, 215, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 230, 215, 0.035) 1px, transparent 1px),
    #110e0b;
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.hero-object::before {
  position: absolute;
  top: 10%;
  left: 9%;
  width: 40%;
  height: 1px;
  background: var(--line);
  box-shadow: 0 600px var(--line);
  content: "";
  transform: rotate(-13deg);
}

.forge-rings,
.forge-rings i { position: absolute; border: 1px solid rgba(189, 74, 36, 0.24); border-radius: 50%; }
.forge-rings { width: min(610px, 88%); aspect-ratio: 1; animation: forge-spin 35s linear infinite; }
.forge-rings::before, .forge-rings::after { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--rust); content: ""; }
.forge-rings::before { top: 8%; left: 21%; }
.forge-rings::after { right: 10%; bottom: 27%; background: var(--brass); }
.forge-rings i:nth-child(1) { inset: 9%; border-style: dashed; }
.forge-rings i:nth-child(2) { inset: 21%; border-color: rgba(199, 229, 74, 0.16); }
.forge-rings i:nth-child(3) { inset: 34%; border-style: dotted; }

.hero-medallion {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(500px, 83%);
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(238, 230, 215, 0.27);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 27%, #4a3a2d, #1a1511 56%, #090807 72%);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.022), 0 45px 80px rgba(0, 0, 0, 0.55);
}

.hero-medallion::before { display: block; padding-top: 100%; content: ""; }
.hero-medallion > img {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.hero-medallion figcaption {
  position: absolute;
  right: -7%;
  bottom: 2%;
  display: grid;
  min-width: 230px;
  padding: 15px 18px;
  border: 1px solid var(--line-hot);
  background: rgba(11, 9, 7, 0.94);
  box-shadow: 10px 10px 0 rgba(189, 74, 36, 0.13);
}

.hero-medallion figcaption span,
.hero-medallion figcaption small { color: var(--muted); font-family: var(--pixel); font-size: 7px; }
.hero-medallion figcaption strong { margin: 8px 0 6px; color: var(--acid); font-family: var(--pixel); font-size: 20px; font-weight: 400; }

.bolt { position: absolute; z-index: 4; width: 10px; height: 10px; border: 2px solid #766556; border-radius: 50%; background: #1a1511; box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2); }
.bolt-a { top: 4%; left: 50%; }
.bolt-b { top: 50%; right: 4%; }
.bolt-c { bottom: 4%; left: 50%; }
.bolt-d { top: 50%; left: 4%; }
.hero-stamp { position: absolute; right: 4%; bottom: 4%; margin: 0; color: #51483f; font-family: var(--pixel); font-size: 8px; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }

.status-rail {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid #572818;
  background: #25140e;
}

.status-rail > div { display: flex; width: max-content; animation: marquee 29s linear infinite; }
.status-rail span { padding: 14px 27px; border-right: 1px solid #572818; color: #d88761; font-family: var(--pixel); font-size: 9px; letter-spacing: 0.08em; }

.section {
  position: relative;
  max-width: 1680px;
  margin: 0 auto;
  padding: 128px clamp(22px, 5vw, 78px);
  border-inline: 1px solid rgba(238, 230, 215, 0.07);
}

.section-anchor { position: absolute; top: 0; left: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head h2,
.scan h2,
.final-cta h2 {
  margin-top: 18px;
  font-size: clamp(50px, 5.9vw, 91px);
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.section-head > p,
.scan-copy > p:not(.section-index),
.cta-copy > p:not(.serial-line) {
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
}

.catalog { background: linear-gradient(180deg, rgba(189, 74, 36, 0.04), transparent 16%); }

.catalog-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 26px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--coal);
}

.catalog-toolbar label,
.catalog-toolbar span { color: var(--muted); font-family: var(--pixel); font-size: 8px; letter-spacing: 0.08em; }
.catalog-toolbar > div { display: flex; align-items: center; gap: 18px; }
.catalog-toolbar input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0d0b09;
  color: var(--paper);
  font: 11px var(--pixel);
  letter-spacing: 0.04em;
}
.catalog-toolbar input::placeholder { color: #5d564e; }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }

.catalog-loading,
.noscript,
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 70px 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--pixel);
  font-size: 11px;
  text-align: center;
}

.model-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 29%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--coal);
  background-size: auto, 18px 18px, auto;
  transition: border-color 220ms ease, transform 220ms ease;
}

.model-card:hover { border-color: rgba(238, 230, 215, 0.34); transform: translateY(-3px); }
.model-card[data-featured="true"] { border-color: rgba(189, 74, 36, 0.7); background-color: #1b110d; }
.model-card::before { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: linear-gradient(135deg, transparent 48%, rgba(189, 74, 36, 0.18) 49%); content: ""; }

.model-card > header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--pixel); font-size: 8px; letter-spacing: 0.06em; }
.model-card > header span:first-child { color: #d17a52; }

.model-visual { position: relative; display: grid; place-items: center; min-height: 270px; padding: 28px; overflow: hidden; }
.model-visual::before, .model-visual::after { position: absolute; border: 1px solid rgba(189, 74, 36, 0.18); border-radius: 50%; content: ""; }
.model-visual::before { width: 68%; aspect-ratio: 1; }
.model-visual::after { width: 52%; aspect-ratio: 1; border-style: dashed; }
.model-visual img { position: relative; z-index: 2; width: min(230px, 78%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.46)); transition: transform 220ms ease; }
.model-card:hover .model-visual img { transform: scale(1.025) rotate(-1deg); }

.model-meta { padding: 0 17px 16px; }
.model-meta h3 { font-size: clamp(22px, 2vw, 31px); line-height: 1; }
.model-meta p { margin: 8px 0 0; color: var(--muted); font-family: var(--pixel); font-size: 7px; letter-spacing: 0.08em; }

.color-picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.color-chip {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(238, 230, 215, 0.26);
  border-radius: 50%;
  background: var(--swatch, #777);
  cursor: pointer;
  box-shadow: inset 0 0 0 3px rgba(11, 9, 7, 0.32);
}
.color-chip[aria-pressed="true"] { border-color: var(--acid); box-shadow: 0 0 0 2px var(--coal), 0 0 0 3px var(--acid), inset 0 0 0 3px rgba(11, 9, 7, 0.25); }

.card-selection { display: grid; gap: 5px; align-content: start; min-height: 66px; padding: 14px 17px; }
.card-selection span { color: var(--muted); font-family: var(--pixel); font-size: 7px; }
.card-selection strong { overflow: hidden; color: var(--paper-dim); font-family: var(--pixel); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }

.qr-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 17px; border: 0; border-top: 1px solid var(--line-hot); background: #25140e; color: #e58b64; cursor: pointer; font-family: var(--pixel); font-size: 9px; letter-spacing: 0.07em; }
.qr-button:hover, .qr-button:focus-visible { background: var(--rust); color: var(--paper); }

.scan {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(58px, 8vw, 126px);
  align-items: center;
  min-height: 830px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 11% 50%, rgba(189, 74, 36, 0.15), transparent 33%),
    #100d0b;
}
.scan-copy > p:not(.section-index) { margin-top: 30px; }
.scan-steps { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.scan-steps li { display: grid; grid-template-columns: 82px 1fr; gap: 22px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.scan-steps li > span { color: var(--rust-hot); font-family: var(--pixel); font-size: 31px; }
.scan-steps strong { font-family: var(--pixel); font-size: 15px; font-weight: 400; }
.scan-steps p { margin: 9px 0 0; color: var(--muted); line-height: 1.5; }

.core { max-width: none; background: var(--paper); color: var(--void); }
.core > * { max-width: 1524px; margin-inline: auto; }
.core .section-index { color: #8e4a2d; }
.core h2 mark { color: #9f3b1d; }
.core .section-head > p { color: #625b52; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(11, 9, 7, 0.2); border-left: 1px solid rgba(11, 9, 7, 0.2); }
.feature-grid article { min-height: 310px; padding: clamp(25px, 3vw, 43px); border-right: 1px solid rgba(11, 9, 7, 0.2); border-bottom: 1px solid rgba(11, 9, 7, 0.2); }
.feature-grid article > span { color: #a34d2f; font-family: var(--pixel); font-size: 9px; }
.feature-grid h3 { margin-top: 42px; font-size: clamp(20px, 1.8vw, 28px); }
.feature-grid p { margin: 20px 0 0; color: #625b52; font-size: 15px; line-height: 1.6; }

.final-cta {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  max-width: 1680px;
  min-height: 690px;
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 50%, rgba(199, 229, 74, 0.15), transparent 24%),
    linear-gradient(135deg, rgba(189, 74, 36, 0.12), transparent 45%),
    #18130f;
}
.cta-seal { display: grid; place-items: center; align-content: center; gap: 2px; border-right: 1px solid var(--line); font-family: var(--pixel); }
.cta-seal span { display: grid; place-items: center; width: min(300px, 64%); aspect-ratio: 1; border: 2px solid var(--rust); border-radius: 50%; color: var(--rust-hot); font-size: clamp(100px, 13vw, 205px); box-shadow: inset 0 0 0 13px #18130f, inset 0 0 0 14px rgba(189, 74, 36, 0.35), 0 0 80px rgba(189, 74, 36, 0.12); }
.cta-seal i { margin-top: -42px; color: var(--acid); font-size: 20px; font-style: normal; }
.cta-copy { display: grid; align-content: center; justify-items: start; padding: clamp(50px, 8vw, 120px); }
.cta-copy h2 { margin-top: 29px; }
.cta-copy > p:not(.serial-line) { max-width: 630px; margin-top: 28px; }
.cta-copy .button { margin-top: 35px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 64px clamp(22px, 5vw, 78px) 32px;
  border-inline: 1px solid rgba(238, 230, 215, 0.07);
}
footer > div > p { margin: 17px 0 0; color: var(--muted); font-family: var(--pixel); font-size: 8px; }
.copyright { grid-column: 1 / -1; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #554f47; font-family: var(--pixel); font-size: 8px; }

.qr-dialog {
  width: min(900px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(189, 74, 36, 0.8);
  border-radius: 0;
  background: var(--coal);
  color: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.72), 16px 16px 0 rgba(189, 74, 36, 0.14);
}
.qr-dialog::backdrop { background: rgba(5, 4, 3, 0.82); backdrop-filter: blur(10px); }
.qr-dialog[open] { display: grid; grid-template-columns: 0.83fr 1.17fr; }
.dialog-close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); background: rgba(11, 9, 7, 0.84); color: var(--paper); cursor: pointer; font-size: 24px; }
.qr-dialog-art { display: grid; place-items: center; min-height: 100%; padding: 42px; border-right: 1px solid var(--line); background: radial-gradient(circle, rgba(189, 74, 36, 0.17), transparent 53%), #100d0b; }
.qr-dialog-art img { width: min(300px, 100%); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.qr-dialog-copy { display: grid; align-content: center; justify-items: start; padding: clamp(40px, 6vw, 68px); }
.qr-dialog-copy h2 { margin-top: 14px; font-size: clamp(31px, 4vw, 53px); }
.qr-dialog-copy > p:nth-of-type(2) { color: var(--paper-dim); font-family: var(--pixel); font-size: 10px; line-height: 1.5; }
.qr-dialog-copy > p strong { color: var(--acid); font-weight: 400; }
.qr-plate { width: min(230px, 100%); margin-top: 12px; padding: 13px; background: #f5f0e4; }
.qr-plate img { width: 100%; image-rendering: pixelated; }
.qr-help { max-width: 440px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dialog-actions .button { min-width: 190px; }

.consent-panel {
  position: fixed;
  z-index: 80;
  right: clamp(14px, 3vw, 36px);
  bottom: clamp(14px, 3vw, 36px);
  left: clamp(14px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  max-width: 960px;
  margin-left: auto;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-hot);
  background: rgba(11, 9, 7, 0.97);
  box-shadow: 16px 16px 0 rgba(189, 74, 36, 0.14), 0 0 60px rgba(0, 0, 0, 0.6);
}
.consent-panel[hidden] { display: none; }
.consent-panel h2 { margin: 9px 0 11px; color: var(--rust-hot); font-size: clamp(18px, 2vw, 27px); }
.consent-panel p { max-width: 680px; margin: 0; color: var(--paper-dim); font-size: 14px; line-height: 1.55; }
.consent-panel .consent-label { color: var(--acid); font-family: var(--pixel); font-size: 8px; }
.consent-actions { display: grid; gap: 9px; min-width: 200px; }
.consent-actions button { padding: 13px 15px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; font-family: var(--pixel); font-size: 8px; }
.consent-actions .consent-allow { border-color: var(--rust); background: var(--rust); }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 620ms ease, transform 620ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.32; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes forge-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 1180px) {
  .system-state { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr 0.84fr; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .topbar { min-height: 66px; padding: 10px 17px; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 35px; height: 35px; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .topbar .nav-cta { padding: 9px 10px; font-size: 8px; }
  .hero { grid-template-columns: 1fr; padding-top: 69px; }
  .hero-copy { padding: 75px 21px 62px; }
  h1 { font-size: clamp(54px, 16vw, 88px); }
  .hero-intro { font-size: 18px; }
  .hero-object { min-height: 700px; border-top: 1px solid var(--line); border-left: 0; }
  .hero-medallion { width: min(470px, 76%); }
  .section { padding: 92px 21px; }
  .section-head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  .section-head h2, .scan h2 { font-size: clamp(44px, 12.5vw, 75px); }
  .catalog-toolbar { grid-template-columns: 1fr; gap: 10px; }
  .scan { grid-template-columns: 1fr; gap: 56px; }
  .final-cta { grid-template-columns: 1fr; }
  .cta-seal { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 34px; }
  footer nav { justify-self: start; flex-wrap: wrap; }
  .qr-dialog[open] { grid-template-columns: 1fr; }
  .qr-dialog-art { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .qr-dialog-art img { width: 260px; }
  .consent-panel { grid-template-columns: 1fr; gap: 20px; }
  .consent-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 590px) {
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { display: grid; grid-template-columns: 70px 1fr; align-items: center; }
  .hero-stats dd { margin: 0; }
  .hero-object { min-height: 570px; padding-inline: 18px; }
  .hero-medallion { width: min(390px, 86%); }
  .hero-medallion figcaption { right: -6%; min-width: 190px; }
  .model-grid { grid-template-columns: 1fr; }
  .model-visual { min-height: 250px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 230px; }
  .scan-steps li { grid-template-columns: 58px 1fr; }
  .cta-copy { padding: 58px 21px; }
  .cta-seal { min-height: 350px; }
  footer nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .qr-dialog-copy { padding: 38px 22px; }
  .dialog-actions { display: grid; width: 100%; }
  .consent-actions { grid-template-columns: 1fr; }
}
