/* ==========================================================================
   Pi Grading — Website
   ========================================================================== */

:root {
  --bg: #08080a;
  --bg-2: #0c0c0f;
  --surface: #111115;
  --surface-2: #17171c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --text: #ededf0;
  --muted: #9a9aa4;
  --dim: #63636c;

  --gold: #cfae62;
  --gold-2: #f0d896;
  --gold-3: #8f7436;
  --gold-soft: rgba(207, 174, 98, .12);
  --gold-grad: linear-gradient(135deg, #f0d896 0%, #cfae62 45%, #a8873d 100%);

  --radius: 14px;
  --radius-lg: 22px;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --label: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; }
::selection { background: rgba(207, 174, 98, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--gold); color: #000; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--gold-grad);
  color: #17130a;
  box-shadow: 0 0 0 1px rgba(240, 216, 150, .35) inset, 0 10px 30px -10px rgba(207, 174, 98, .55);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(240, 216, 150, .5) inset, 0 16px 40px -12px rgba(207, 174, 98, .75); }
.btn--gold svg { transition: transform .25s var(--ease); }
.btn--gold:hover svg { transform: translateX(3px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(207, 174, 98, .6); background: var(--gold-soft); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(8, 8, 10, .78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-color: var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }

.brand { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.brand__pi {
  font-family: var(--serif); font-weight: 900; font-size: 1.85rem; line-height: 1;
  letter-spacing: -.02em; color: #fff;
}
.brand__word {
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-2);
  transform: translateY(-4px);
}

.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { position: relative; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang button { height: 28px; padding: 0 10px; border-radius: 999px; font: 500 .72rem/1 var(--mono); letter-spacing: .06em; color: var(--muted); transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }

.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--line); height: calc(100svh - var(--nav-h)); overflow-y: auto; }
.mobile-menu__links { display: flex; flex-direction: column; padding-block: 24px 40px; }
.mobile-menu__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.mobile-menu__links .btn { margin-top: 28px; }

/* ---------- Shared section styles ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head h2, .dealers__head h2, .contact__info h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04;
}
.section__lead { margin-top: 20px; max-width: 600px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.65; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker span:first-child { color: var(--gold); }
.kicker span:first-child::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 55% at 74% 42%, rgba(207, 174, 98, .17), transparent 70%),
    radial-gradient(35% 40% at 8% 10%, rgba(255, 255, 255, .045), transparent 70%);
}
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(65% 65% at 62% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(65% 65% at 62% 45%, #000 15%, transparent 75%);
  opacity: .55;
}
.hero__bg::after { content: ''; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .025);
  font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__title { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.hero__lead { margin-top: 26px; max-width: 540px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.quick-verify { margin-top: 44px; max-width: 460px; }
.quick-verify__label { display: block; margin-bottom: 10px; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.quick-verify__field {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.quick-verify__field:focus-within { border-color: rgba(207, 174, 98, .6); background: rgba(207, 174, 98, .05); }
.quick-verify__field svg { color: var(--dim); flex: none; }
.quick-verify__field input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-family: var(--mono); font-size: .95rem; letter-spacing: .08em; }
.quick-verify__field input::placeholder { color: var(--dim); letter-spacing: .02em; font-family: var(--font); }
.quick-verify__field button { height: 40px; padding: 0 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: .85rem; font-weight: 600; transition: background-color .2s; }
.quick-verify__field button:hover { background: rgba(255, 255, 255, .14); }

/* Facts row */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 88px); margin-bottom: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.fact { padding: 22px 20px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact dt { font: 500 1.35rem/1 var(--mono); letter-spacing: -.02em; color: var(--gold); }
.fact dd { margin-top: 8px; font-size: .875rem; color: var(--muted); }

/* ---------- Slab ---------- */
.hero__visual { position: relative; }
.slab-stage { position: relative; display: grid; place-items: center; perspective: 1500px; padding-block: 24px; }

.slab {
  --rx: 5deg; --ry: -16deg; --mx: 35%; --my: 25%;
  position: relative; width: min(350px, 76vw); aspect-ratio: 350 / 584;
  display: flex; flex-direction: column; gap: 12px; padding: 15px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .035) 38%, rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .1));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    inset 0 0 0 7px rgba(255, 255, 255, .03),
    inset 0 0 0 8px rgba(255, 255, 255, .12),
    inset 0 1px 0 9px rgba(255, 255, 255, .04),
    0 60px 120px -30px rgba(0, 0, 0, .95),
    0 40px 80px -40px rgba(207, 174, 98, .35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  animation: float 9s ease-in-out infinite;
}
.slab.is-tilting { transition: transform .12s linear; animation-play-state: paused; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.slab__label { flex: none; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.slab__window {
  flex: 1; min-height: 0; display: grid; place-items: center; padding: 11px;
  border-radius: 12px; background: rgba(0, 0, 0, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 10px 30px rgba(0, 0, 0, .5);
}
.slab__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(55% 35% at var(--mx) var(--my), rgba(255, 255, 255, .2), transparent 65%),
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .07) 44%, transparent 56%);
  mix-blend-mode: screen;
}

/* ---------- Mock card (placeholder until hi-res photos) ---------- */
.mock-card {
  position: relative; height: 100%; max-width: 100%; aspect-ratio: 63 / 88;
  padding: 3.3%; border-radius: 4.2% / 3%; overflow: hidden;
  background: linear-gradient(145deg, #eceef1 0%, #a7abb2 30%, #f3f4f6 52%, #9a9fa7 78%, #dfe1e4 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.mock-card__inner {
  position: relative; height: 100%; display: flex; flex-direction: column; gap: 3.2%;
  padding: 5% 5.5% 4%; border-radius: 2.6% / 1.9%;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(255, 255, 255, .25), transparent 60%),
    linear-gradient(172deg, #c3e05a 0%, #94c43e 45%, #6aa52e 100%);
}
.mock-card__head { display: flex; align-items: center; justify-content: space-between; height: 6%; }
.mock-card__head i { width: 50%; height: 62%; border-radius: 3px; background: rgba(17, 40, 6, .82); }
.mock-card__head b { width: 20%; height: 72%; border-radius: 999px; background: rgba(17, 40, 6, .82); }
.mock-card__art {
  position: relative; height: 41%; overflow: hidden;
  border: 3px solid #d7dade; border-radius: 2px;
  background:
    radial-gradient(40% 55% at 58% 62%, #b9d653 0%, rgba(185, 214, 83, 0) 70%),
    radial-gradient(28% 34% at 46% 46%, #e2c95b 0%, rgba(226, 201, 91, 0) 75%),
    radial-gradient(60% 50% at 20% 20%, rgba(255, 255, 255, .4), transparent 60%),
    linear-gradient(180deg, #7fae58 0%, #4f7d33 55%, #3c5f27 100%);
}
.mock-card__art::before { /* light rays */
  content: ''; position: absolute; inset: -20%;
  background: repeating-linear-gradient(105deg, rgba(255, 255, 255, .0) 0 18px, rgba(255, 255, 255, .12) 18px 26px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.mock-card__art i { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(40, 60, 20, .6)); }
.mock-card__ability, .mock-card__attack { display: flex; flex-direction: column; gap: 7%; }
.mock-card__ability i { width: 58%; height: 9px; border-radius: 3px; background: rgba(150, 30, 30, .75); }
.mock-card__ability b, .mock-card__attack b { height: 5px; border-radius: 3px; background: rgba(17, 40, 6, .5); }
.mock-card__ability b:last-child { width: 82%; }
.mock-card__attack { margin-top: 2%; }
.mock-card__attack i { width: 44%; height: 8px; border-radius: 3px; background: rgba(17, 40, 6, .82); }
.mock-card__attack s { width: 70%; height: 5px; border-radius: 3px; background: rgba(17, 40, 6, .4); }
.mock-card__foot { margin-top: auto; display: flex; gap: 6%; }
.mock-card__foot b { flex: 1; height: 5px; border-radius: 3px; background: rgba(17, 40, 6, .35); }
.mock-card__foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .38;
  background:
    linear-gradient(115deg, transparent calc(var(--mx, 35%) - 25%), rgba(255, 255, 255, .55) var(--mx, 35%), transparent calc(var(--mx, 35%) + 25%)),
    conic-gradient(from 200deg at var(--mx, 35%) var(--my, 25%), #ff9ad5, #9ad8ff, #b4ff9a, #fff59a, #ff9ad5);
  background-blend-mode: normal, soft-light;
}

/* ---------- Floating callouts ---------- */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 10, 12, .72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  animation: float 7s ease-in-out infinite;
}
.callout i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(207, 174, 98, .2); }
.callout--corners { top: 12%; left: 2%; animation-delay: -1s; }
.callout--edges { top: 40%; right: 0; animation-delay: -3s; }
.callout--surface { top: 62%; left: -2%; animation-delay: -5s; }
.callout--centering { bottom: 8%; right: 6%; animation-delay: -2s; }

/* ==========================================================================
   PI LABEL (replica of the physical slab label)
   ========================================================================== */
.pi-label {
  position: relative; width: 100%; aspect-ratio: 3.1 / 1; overflow: hidden;
  container-type: inline-size;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='9'%3E%3Ctext x='0' y='7' font-family='Arial' font-size='6.5' letter-spacing='.6' fill='%23ffffff' fill-opacity='.045'%3EPI GRADING PI GRADING PI GRADING%3C/text%3E%3C/svg%3E"),
    linear-gradient(180deg, #121214, #070708);
  color: #ececee; font-family: var(--label); font-weight: 600; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.pi-label > * { position: absolute; }
.pi-label__frame { inset: 6.5% 2.1%; border: max(1px, .32cqw) solid rgba(255, 255, 255, .78); border-radius: 1.6cqw; }
.pi-label__wm {
  right: 13cqw; top: -10cqw; font: 900 38cqw/1 var(--serif); text-transform: none;
  color: rgba(255, 255, 255, .055); letter-spacing: -.04em; pointer-events: none;
}
.pi-label__grade { left: 47%; top: 3.2cqw; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.pi-label__grade b { font-size: 4.6cqw; font-weight: 500; letter-spacing: .02em; }
.pi-label__grade span { margin-top: .8cqw; font-size: 2.2cqw; letter-spacing: .08em; }
.pi-label__logo { right: 4.6cqw; top: 2.6cqw; display: flex; flex-direction: column; align-items: center; text-transform: none; }
.pi-label__logo b { font: 900 8.2cqw/.9 var(--serif); letter-spacing: -.03em; }
.pi-label__logo span { margin-top: -1.1cqw; font: 600 1.45cqw/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.pi-label__lines { left: 5.2cqw; bottom: 3.1cqw; display: flex; flex-direction: column; font-size: 3.05cqw; line-height: 1.28; letter-spacing: .005em; }
.pi-label__lines > span { white-space: nowrap; }
.pi-label__serial { right: 5cqw; bottom: 3.1cqw; font-size: 3.05cqw; line-height: 1.28; letter-spacing: .04em; }

/* annotated variant */
.pi-label--annotated [data-mark]::after {
  content: attr(data-mark);
  display: inline-grid; place-items: center; vertical-align: .15em;
  width: 2.7cqw; height: 2.7cqw; margin-left: 1.1cqw; border-radius: 50%;
  background: var(--gold); color: #141006;
  font: 600 1.7cqw/1 var(--mono); letter-spacing: 0;
}
.pi-label--annotated .pi-label__grade [data-mark]::after { position: absolute; margin: 0; right: -4cqw; top: -.4cqw; }
.pi-label--annotated .pi-label__grade span { position: relative; }
.pi-label--annotated .pi-label__serial[data-mark]::after { position: absolute; left: 50%; top: -3.6cqw; margin: 0; transform: translateX(-50%); }

/* ==========================================================================
   GAMES MARQUEE
   ========================================================================== */
.games { padding-block: 34px 38px; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.games__label { text-align: center; margin-bottom: 22px; padding-inline: var(--gutter); font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.marquee {
  display: flex; width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track { display: flex; flex: none; animation: marquee 48s linear infinite; }
.marquee__track li {
  display: flex; align-items: center; padding-inline: 28px;
  font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; color: #c6c6cc; white-space: nowrap;
}
.marquee__track li::after { content: ''; width: 5px; height: 5px; margin-left: 56px; border-radius: 50%; background: var(--gold-3); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   CRITERIA
   ========================================================================== */
.crit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.crit__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.crit__item {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 8px;
  padding: 26px 8px 26px 0; text-align: left; border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.crit__item::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.crit__item[aria-selected="true"]::before { transform: scaleX(1); }
.crit__no { font: 500 .8rem/1.9 var(--mono); color: var(--dim); transition: color .3s; }
.crit__item[aria-selected="true"] .crit__no { color: var(--gold); }
.crit__name { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.025em; color: var(--muted); transition: color .3s; }
.crit__name em { font: normal 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.crit__item[aria-selected="true"] .crit__name, .crit__item:hover .crit__name { color: var(--text); }
.crit__desc {
  display: block; max-height: 0; overflow: hidden; opacity: 0;
  color: var(--muted); font-size: .95rem; line-height: 1.6;
  transition: max-height .5s var(--ease), opacity .45s var(--ease), margin .45s var(--ease);
}
.crit__item[aria-selected="true"] .crit__desc { max-height: 12em; opacity: 1; margin-top: 10px; }

.crit__viz {
  position: relative; display: flex; flex-direction: column;
  padding: 20px; border-radius: var(--radius-lg);
  background: radial-gradient(80% 60% at 50% 40%, rgba(207, 174, 98, .07), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.crit__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }
.crit__readout { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

.diagram { flex: 1; width: 100%; max-height: 520px; margin-top: 12px; overflow: visible; }
.diagram .d-card { fill: #1c1c22; stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.diagram .d-print { fill: #24242b; stroke: rgba(255, 255, 255, .06); }
.diagram .d-ink { fill: rgba(255, 255, 255, .18); }
.diagram .d-ink--soft { fill: rgba(255, 255, 255, .09); }
.diagram .d-art { fill: #2e2e36; stroke: rgba(255, 255, 255, .12); }
.diagram .d-art-line { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; }
.diagram .d-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; }
.diagram .d-ring--2 { stroke: rgba(207, 174, 98, .25); }
.diagram .d-mono { font: 900 44px var(--serif); fill: rgba(255, 255, 255, .14); }

.diagram .d-front, .diagram .d-back, .diagram .d-front-only, .diagram .d-back-only { transition: opacity .4s var(--ease); }
.diagram[data-side="front"] .d-back, .diagram[data-side="front"] .d-back-only { opacity: 0; }
.diagram[data-side="back"] .d-front, .diagram[data-side="back"] .d-front-only { opacity: 0; }

.diagram .hl { opacity: 0; transition: opacity .45s var(--ease); }
.diagram[data-active="centering"] .hl--centering,
.diagram[data-active="corners"] .hl--corners,
.diagram[data-active="edges"] .hl--edges,
.diagram[data-active="surface"] .hl--surface { opacity: 1; }

.diagram .dim { stroke: var(--gold); stroke-width: 1.5; marker-start: none; }
.diagram .dim-box { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 3 4; }
.diagram .dim-t { font: 500 11px var(--mono); fill: var(--gold); }
.diagram .dim-v { font: 500 11px var(--mono); fill: var(--gold-2); letter-spacing: .06em; }
.diagram .hl-stroke { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.diagram .hl-stroke--dash { stroke-dasharray: 2 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.diagram .hl-ring { fill: rgba(207, 174, 98, .1); stroke: rgba(207, 174, 98, .45); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0%, 100% { transform: scale(.85); opacity: .9; } 50% { transform: scale(1.08); opacity: .5; } }
.diagram .sweep { animation: sweep 3.2s var(--ease) infinite; }
@keyframes sweep { from { transform: translateX(-120px); } to { transform: translateX(240px); } }
.diagram .loupe { fill: rgba(207, 174, 98, .06); stroke: var(--gold); stroke-width: 2; }
.diagram .loupe-h { stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }
.diagram .scratch { stroke: #fff; stroke-opacity: .7; stroke-width: 1.2; stroke-linecap: round; }

/* Matrix */
.matrix {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.matrix__grid { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 10px 12px; align-items: center; }
.matrix__col { font: 500 .7rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.matrix__row { font-size: .85rem; color: var(--muted); padding-right: 8px; }
.matrix__grid i { height: 34px; border-radius: 8px; border: 1px solid rgba(207, 174, 98, .25); background: linear-gradient(180deg, rgba(207, 174, 98, .14), rgba(207, 174, 98, .04)); position: relative; }
.matrix__grid i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.matrix__arrow { color: var(--gold); }
.matrix__result { display: flex; flex-direction: column; align-items: flex-start; padding-left: clamp(0px, 2vw, 24px); }
.matrix__result-k { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.matrix__result-v { margin-top: 8px; font: 600 2.6rem/1 var(--font); letter-spacing: -.04em; }
.matrix__result-s { margin-top: 8px; font-size: .8rem; color: var(--dim); }

/* ==========================================================================
   GRADE SCALE
   ========================================================================== */
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.scale__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.scale__item {
  --c: var(--gold);
  display: grid; grid-template-columns: 44px 1fr 120px; align-items: center; gap: 16px;
  padding: 14px 4px; text-align: left; border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.scale__item:hover { background: rgba(255, 255, 255, .02); }
.scale__item-num { font: 500 1.05rem/1 var(--mono); color: var(--dim); transition: color .25s; }
.scale__item-name { font-size: 1rem; font-weight: 500; color: var(--muted); transition: color .25s; }
.scale__item-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.scale__item-bar span { display: block; height: 100%; border-radius: inherit; background: var(--c); opacity: .5; transition: opacity .25s; }
.scale__item[aria-selected="true"] .scale__item-num { color: var(--c); }
.scale__item[aria-selected="true"] .scale__item-name { color: var(--text); }
.scale__item[aria-selected="true"] .scale__item-bar span { opacity: 1; }
.scale__item[aria-selected="true"] { background: rgba(255, 255, 255, .03); }

.scale__detail {
  --c: var(--gold);
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: start;
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius-lg);
  background: radial-gradient(70% 70% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--line);
  min-height: 300px;
}
.scale__big span {
  display: block; font: 600 clamp(5rem, 10vw, 8rem)/.85 var(--font); letter-spacing: -.06em; color: var(--c);
  font-variant-numeric: tabular-nums;
}
.scale__tag { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scale__name { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; }
.scale__desc { margin-top: 14px; color: var(--muted); line-height: 1.7; }
.scale__meter { margin-top: 24px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.scale__meter span { display: block; height: 100%; width: 100%; background: var(--c); border-radius: inherit; transition: width .6s var(--ease), background-color .3s; }
.scale__detail.is-swapping .scale__big span, .scale__detail.is-swapping .scale__text { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   VERIFY
   ========================================================================== */
.verify { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.verify__form { display: flex; gap: 10px; }
.verify__form input {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; outline: 0;
  font: 500 1.25rem/1 var(--mono); letter-spacing: .18em;
  transition: border-color .2s, box-shadow .2s;
}
.verify__form input::placeholder { color: #3a3a42; }
.verify__form input:focus { border-color: rgba(207, 174, 98, .7); box-shadow: 0 0 0 4px rgba(207, 174, 98, .12); }
.verify__form .btn { --h: 56px; border-radius: 14px; }
.verify__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--dim); }
.chip-link { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 .78rem/1.2 var(--mono); letter-spacing: .06em; color: var(--muted); transition: border-color .2s, color .2s; }
.chip-link:hover { border-color: var(--gold); color: var(--gold); }

.verify__result { margin-top: 28px; }
.verify__empty, .verify__error {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); font-size: .95rem;
}
.verify__empty svg { flex: none; color: var(--dim); }
.verify__error { border-style: solid; border-color: rgba(230, 110, 90, .35); background: rgba(230, 110, 90, .06); color: #e8b2a6; }
.verify__error svg { flex: none; color: #e6806a; }

.cert { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; animation: swap .5s var(--ease); }
.cert__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cert__ok { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9fd7a6; }
.cert__ok::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6fcf7d; box-shadow: 0 0 0 4px rgba(111, 207, 125, .15); }
.cert__no { font: 500 .85rem/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.cert__body { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 22px; align-items: start; }
.cert__grade { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 18px; background: var(--gold-soft); border: 1px solid rgba(207, 174, 98, .35); }
.cert__grade b { font: 600 2.8rem/1 var(--font); letter-spacing: -.04em; color: var(--gold-2); }
.cert__grade span { margin-top: 6px; font: 500 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cert__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.cert__dl dt { font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cert__dl dd { margin-top: 5px; font-size: .95rem; }

.verify__label-card {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding: clamp(18px, 2.5vw, 28px); border-radius: var(--radius-lg);
  background: radial-gradient(70% 60% at 50% 0%, rgba(207, 174, 98, .08), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.verify__label-head { margin-bottom: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.status.is-verified { color: #9fd7a6; }
.status.is-verified::before { background: #6fcf7d; }
.verify__label-card .pi-label { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-top: 22px; counter-reset: lg; }
.legend li { counter-increment: lg; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.legend li::before {
  content: counter(lg); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #141006; font: 600 .68rem/1 var(--mono);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.step:hover { border-color: rgba(207, 174, 98, .35); transform: translateY(-3px); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}
.step__no { position: absolute; top: 26px; right: 24px; font: 500 .8rem/1 var(--mono); color: var(--dim); }
.step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(207, 174, 98, .25); color: var(--gold); }
.step h3 { margin-top: 26px; font-size: 1.15rem; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.steps__note { margin-top: 28px; font-size: .9rem; color: var(--dim); }

/* ==========================================================================
   DEALERS
   ========================================================================== */
.dealers { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.dealers__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.dealers__head .btn { margin-top: 32px; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.benefit:hover { border-color: rgba(207, 174, 98, .35); }
.benefit__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); color: var(--gold); }
.benefit h3 { margin-top: 22px; font-size: 1.1rem; letter-spacing: -.02em; }
.benefit p { margin-top: 8px; font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem); font-weight: 500; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .3s; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--text); }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] summary i { border-color: var(--gold); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { padding: 0 48px 26px 0; color: var(--muted); line-height: 1.7; }
.faq__item p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__facts { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__facts dt { font: 500 .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact__facts dd { color: var(--text); }
.contact__facts a { transition: color .2s; }
.contact__facts a:hover { color: var(--gold); }

.contact__card { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; min-width: 0; }
.field > label, .field legend { font-size: .82rem; font-weight: 500; color: var(--muted); }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; outline: 0;
  font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9aa4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(207, 174, 98, .7); box-shadow: 0 0 0 4px rgba(207, 174, 98, .1); }
.form.was-validated :is(input, select, textarea):invalid { border-color: rgba(230, 110, 90, .6); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); transition: all .2s; }
.chip:hover span { border-color: rgba(255, 255, 255, .3); color: var(--text); }
.chip input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-2); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--gold); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0; }
.form-done svg { color: var(--gold); }
.form-done h3 { margin-top: 6px; font-size: 1.6rem; letter-spacing: -.03em; }
.form-done p { color: var(--muted); max-width: 46ch; }
.form-done__alt a { color: var(--gold); }
.form-done .btn { margin-top: 10px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-block: 72px 32px; border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 300px; color: var(--muted); font-size: .92rem; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { margin-bottom: 6px; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer__col a { font-size: .92rem; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }
.footer__tm { max-width: 640px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 20px; }
  .nav__links a { font-size: .85rem; }
}

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: block; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__visual { margin-top: 8px; }
  .slab { width: min(300px, 70vw); }
  .callouts { display: none; }

  .crit, .scale, .verify, .dealers, .faq, .contact { grid-template-columns: 1fr; }
  .scale__detail, .verify__label-card, .dealers__head { position: static; }
  .scale__detail { order: -1; min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .matrix { grid-template-columns: 1fr; }
  .matrix__arrow { transform: rotate(90deg); justify-self: center; }
  .matrix__result { align-items: center; text-align: center; padding-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .brand__pi { font-size: 1.6rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .04em; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .quick-verify { max-width: none; }

  .crit__item { grid-template-columns: 40px 1fr; padding-block: 20px; }
  .crit__name { flex-wrap: wrap; gap: 4px 10px; }
  .diagram { max-height: 380px; }
  .matrix__grid { grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 8px; }
  .matrix__col { font-size: .58rem; letter-spacing: .04em; }
  .matrix__row { font-size: .75rem; }
  .matrix__grid i { height: 28px; }

  .scale__item { grid-template-columns: 36px 1fr 64px; gap: 12px; }
  .scale__detail { grid-template-columns: 1fr; }

  .verify__form { flex-direction: column; }
  .verify__form .btn { width: 100%; }
  .cert__body { grid-template-columns: 1fr; }
  .cert__dl { grid-template-columns: 1fr 1fr; }
  .legend { grid-template-columns: 1fr; }

  .steps, .benefits { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__facts > div { grid-template-columns: 1fr; gap: 4px; }
  .faq__item p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 380px) {
  .lang button { padding: 0 8px; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .fact:nth-child(n+3) { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}

/* ==========================================================================
   PACKAGES (private customers)
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.plan--featured {
  background: radial-gradient(90% 60% at 100% 0%, rgba(207, 174, 98, .14), transparent 70%), var(--surface);
  border-color: rgba(207, 174, 98, .45);
  box-shadow: 0 30px 80px -40px rgba(207, 174, 98, .35);
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan__name { font-size: 1.5rem; letter-spacing: -.03em; }
.plan__tag {
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.plan--featured .plan__tag { border-color: rgba(207, 174, 98, .5); color: var(--gold-2); background: var(--gold-soft); }
.plan__price { display: flex; align-items: baseline; gap: 10px; }
.plan__amount { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.plan--featured .plan__amount { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__unit { color: var(--muted); font-size: .95rem; }
.plan__desc { color: var(--muted); line-height: 1.6; }
.plan__list { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.5; }
.plan__list svg { margin-top: 3px; color: var(--gold); }
.plan__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.btn--soon { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--dim); cursor: not-allowed; }
.btn--soon:hover { transform: none; }
.plan__soon { display: flex; align-items: center; justify-content: center; gap: 8px; font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(207, 174, 98, .2); }

.order-preview { max-width: 980px; margin-top: 24px; padding: 22px 26px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); }
.order-preview__title { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.order-preview__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: os; }
.order-preview__steps li { counter-increment: os; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-content: start; }
.order-preview__steps li::before {
  content: counter(os); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(207, 174, 98, .45); color: var(--gold); font: 500 .8rem/1 var(--mono);
}
.order-preview__steps b { font-weight: 600; }
.order-preview__steps span { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* Dealer teaser on the home page */
.dealer-band { padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); background:
  radial-gradient(60% 120% at 100% 50%, rgba(207, 174, 98, .1), transparent 70%), var(--bg); }
.dealer-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.dealer-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; }
.dealer-band .section__lead { margin-top: 12px; }
.dealer-band .kicker { margin-bottom: 16px; }

/* Sub-page header (/haendler/) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(56px, 8vw, 100px);
}
.page-hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.page-hero .hero__lead { max-width: 620px; }

/* Subgrades in the online certificate (Premium) */
.cert__subs { padding: 0 22px 22px; }
.cert__subs-title { margin-bottom: 10px; padding-top: 18px; border-top: 1px solid var(--line); font: 500 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cert__subs table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cert__subs th, .cert__subs td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9rem; }
.cert__subs thead th { font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cert__subs td { text-align: center; font-weight: 600; color: var(--gold-2); }
.cert__subs thead th:not(:first-child) { text-align: center; }
.cert__subs tbody th { font-weight: 400; color: var(--muted); }
.cert__subs td.is-low { color: var(--text); }
.cert__subs tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 1080px) {
  .dealer-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .plans, .order-preview__steps { grid-template-columns: 1fr; }
}
