/* ============================================================
   RADAR — sportscardradar.com
   Palette: black leather + gold foil + bone + grade green
   Type: Big Shoulders Display (display) / Archivo (body) / Martian Mono (data)
   ============================================================ */

:root {
  --ink: #0a0a0b;          /* leather black */
  --coal: #141416;         /* raised surface */
  --coal-2: #1c1c1f;       /* card surface */
  --line: rgba(237, 232, 221, 0.09);
  --bone: #ede8dd;         /* warm off-white */
  --bone-dim: rgba(237, 232, 221, 0.62);
  --bone-faint: rgba(237, 232, 221, 0.38);
  --gold: #d4a843;
  --gold-deep: #8a6420;
  --gold-hi: #f4e2a4;
  --grade: #34d97b;        /* AI grade green */
  --foil: linear-gradient(105deg, #8a6420 0%, #d8b25a 28%, #f7e7ab 50%, #c89a3e 72%, #8a6420 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "Martian Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* leather grain over everything, very quiet */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.93 0 0 0 0 0.91 0 0 0 0 0.87 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 18px 0 14px;
}

.section-sub {
  color: var(--bone-dim);
  max-width: 560px;
  font-size: 17px;
}

.foil-text {
  background: var(--foil);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilshift 7s var(--ease-in-out) infinite;
}
@keyframes foilshift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--bone-dim);
  transition: color 0.18s;
}
.nav-links a:not(.btn):hover { color: var(--bone); }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s;
  cursor: pointer;
}
.btn-gold {
  background: var(--foil);
  background-size: 200% 100%;
  color: #171204;
  box-shadow: 0 2px 18px rgba(212, 168, 67, 0.25);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(212, 168, 67, 0.4);
  animation: foilshift 1.6s var(--ease-in-out) infinite;
}
.btn-gold:active { transform: translateY(0); }

/* ---------- store badges ---------- */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  border: 1px solid rgba(237, 232, 221, 0.28);
  border-radius: 12px;
  padding: 9px 18px 9px 14px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.18s var(--ease-out), background 0.2s;
}
.store-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: #0d0d0e;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { line-height: 1.15; }
.store-badge .sb-small {
  display: block;
  font-size: 10.5px;
  color: var(--bone-faint);
  letter-spacing: 0.02em;
}
.store-badge .sb-big {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: 0.01em;
}

/* ---------- hero ---------- */

.hero {
  min-height: clamp(620px, 100svh, 960px);
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
/* stadium glow behind card */
.hero::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -12%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.13) 0%, rgba(212, 168, 67, 0.04) 42%, transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 8.2vw, 108px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 20px 0 22px;
}
.hero-sub {
  font-size: 18px;
  color: var(--bone-dim);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-trust {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--bone-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: "◆"; font-size: 7px; color: var(--gold); }

@media (max-width: 920px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-card-zone { order: -1; }
}

/* ---------- the holo card (signature) ---------- */

.hero-card-zone {
  display: flex;
  justify-content: center;
  perspective: 1100px;
}
.holo-card {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 2.5 / 3.5;
  border-radius: 18px;
  background:
    linear-gradient(160deg, #17130a 0%, #0c0b08 55%, #131007 100%);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.65),
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 168, 67, 0.12);
  transform-style: preserve-3d;
  will-change: transform;
  user-select: none;
}
/* foil frame */
.holo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 3px;
  background: var(--foil);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: foilshift 6s var(--ease-in-out) infinite;
  pointer-events: none;
}
.holo-inner {
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 168, 67, 0.35);
}
.holo-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 14px 8px;
}
.holo-head .hc-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1;
}
.holo-head .hc-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.holo-art {
  position: relative;
  margin: 0 14px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 67, 0.4);
  flex: 1;
  background: #0c0b08;
}
/* blurred echo of the art behind the full logo */
.holo-art::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: url("/img/icon-512.webp") center / cover no-repeat;
  filter: blur(16px) brightness(0.55) saturate(1.1);
}
.holo-art img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.holo-foot {
  padding: 10px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.holo-foot .hc-set {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
}
.holo-foot .hc-num {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
/* prizm sheen — follows pointer via --mx/--my */
.holo-sheen {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.0;
  transition: opacity 0.4s;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 40%),
      rgba(255, 255, 255, 0.22) 0%, transparent 34%),
    conic-gradient(from calc(var(--ang, 0) * 1deg) at var(--mx, 50%) var(--my, 40%),
      rgba(255, 90, 90, 0.14),
      rgba(255, 214, 90, 0.14),
      rgba(110, 255, 140, 0.14),
      rgba(90, 200, 255, 0.14),
      rgba(190, 110, 255, 0.14),
      rgba(255, 90, 90, 0.14));
  mix-blend-mode: screen;
}
.holo-card:hover .holo-sheen,
.holo-card.animating .holo-sheen { opacity: 1; }

/* radar scan sweep */
.holo-scanline {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 3px;
  border-radius: 2px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, var(--gold-hi) 30%, #fff 50%, var(--gold-hi) 70%, transparent);
  box-shadow: 0 0 16px 3px rgba(212, 168, 67, 0.55);
  opacity: 0;
  pointer-events: none;
}
/* value chip that pops after scan */
.holo-value {
  position: absolute;
  left: 50%;
  bottom: 18%;
  z-index: 5;
  transform: translateX(-50%) scale(0);
  background: var(--foil);
  color: #171204;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 9px 22px;
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.45);
  pointer-events: none;
}
/* grade chip */
.holo-grade {
  position: absolute;
  top: 14%;
  right: -7%;
  z-index: 5;
  transform: rotate(6deg);
  background: rgba(10, 14, 11, 0.92);
  border: 1px solid var(--grade);
  color: var(--grade);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 8px;
  padding: 7px 11px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
.holo-grade b { font-size: 15px; display: block; letter-spacing: 0; }

/* ---------- ticker ---------- */

.ticker-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 20, 22, 0.6);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ticker-label {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 20px 0 24px;
  background: linear-gradient(90deg, var(--ink) 55%, transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
}
.ticker {
  display: flex;
  width: max-content;
  animation: tick 46s linear infinite;
}
.ticker-band:hover .ticker { animation-play-state: paused; }
.ticker span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone-dim);
  white-space: nowrap;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}
.ticker b { color: var(--gold); font-weight: 600; }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

section { padding: 110px 0; }
section.tight { padding: 80px 0; }

/* how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 64px;
}
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
}
.step { position: relative; }
.step-shot {
  position: relative;
  border-radius: 28px;
  transition: transform 0.4s var(--ease-out);
  display: flex;
  justify-content: center;
}
.step-shot img {
  width: 100%;
  max-width: 270px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}
.step:hover .step-shot { transform: translateY(-8px); }
.step-meta { padding: 26px 6px 0; }
.step-k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 8px 0 10px;
}
.step p { color: var(--bone-dim); font-size: 15.5px; }
.step .grade-hint { color: var(--grade); }

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 64px;
}
@media (max-width: 920px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--coal);
  padding: 34px 30px 38px;
  transition: background 0.25s;
}
.feature:hover { background: var(--coal-2); }
.feature .f-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.28);
  margin-bottom: 20px;
}
.feature .f-ic svg { width: 21px; height: 21px; stroke: var(--gold); }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feature p { color: var(--bone-dim); font-size: 14.5px; }

/* app collage under features */
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 80px;
  align-items: center;
}
@media (max-width: 800px) { .collage { grid-template-columns: 1fr; } }
.collage-shots {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.collage-shots img {
  width: min(42%, 195px);
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
}
.collage-shots img:first-child { transform: rotate(-4deg) translateY(12px); }
.collage-shots img:last-child { transform: rotate(3deg); }
.collage-copy h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 46px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.collage-copy p { color: var(--bone-dim); margin-bottom: 14px; }

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 30px;
  margin-top: 64px;
}
@media (max-width: 800px) { .pricing-grid { grid-template-columns: minmax(0, 420px); } }
.plan {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: linear-gradient(170deg, #1d1809 0%, #141210 60%);
  border: 1px solid rgba(212, 168, 67, 0.5);
  box-shadow: 0 20px 70px rgba(212, 168, 67, 0.1);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 34px;
  background: var(--foil);
  color: #171204;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 38px;
  margin: 18px 0 4px;
}
.plan-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--bone-faint);
}
.plan-per {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.plan ul {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--bone-dim);
  display: flex;
  gap: 11px;
  align-items: baseline;
}
.plan li::before { content: "◆"; font-size: 8px; color: var(--gold); }
.plan li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 56px; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 17px;
  transition: color 0.18s;
}
.faq-item summary:hover { color: var(--gold-hi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold);
  flex: none;
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 4px 24px;
  color: var(--bone-dim);
  max-width: 640px;
  font-size: 15.5px;
}

/* ---------- final CTA ---------- */

.final {
  text-align: center;
  padding: 130px 0 120px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -320px;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 168, 67, 0.16), transparent);
  pointer-events: none;
}
.final .r-mark {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin: 0 auto 30px;
  box-shadow: 0 16px 50px rgba(212, 168, 67, 0.25);
}
.final h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.final p {
  color: var(--bone-dim);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 38px;
}
.final .stores { justify-content: center; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 54px;
  font-size: 13px;
  color: var(--bone-faint);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: center;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--bone-dim); text-decoration: none; }
.foot-links a:hover { color: var(--bone); }
.foot-note {
  margin-top: 26px;
  font-size: 11.5px;
  color: rgba(237, 232, 221, 0.28);
  max-width: 720px;
}

/* ---------- QR modal (desktop CTA) ---------- */

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 6, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s;
}
.qr-modal.open { opacity: 1; visibility: visible; }
.qr-panel {
  position: relative;
  width: min(400px, 92vw);
  background: linear-gradient(170deg, #1d1809 0%, #141210 55%);
  border: 1px solid rgba(212, 168, 67, 0.45);
  border-radius: 24px;
  padding: 40px 36px 34px;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 168, 67, 0.12);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.28s var(--ease-out);
}
.qr-modal.open .qr-panel { transform: translateY(0) scale(1); }
.qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--bone-dim);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.qr-close:hover { color: var(--bone); border-color: var(--gold); transform: rotate(90deg); }
.qr-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.qr-panel > p {
  color: var(--bone-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.qr-box {
  width: 208px;
  height: 208px;
  margin: 0 auto 24px;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 34px rgba(212, 168, 67, 0.22);
}
.qr-box img { width: 100%; height: 100%; }
.qr-panel .stores { justify-content: center; }
.qr-panel .store-badge { padding: 7px 14px 7px 11px; }
.qr-panel .store-badge .sb-big { font-size: 14.5px; }
.qr-panel .store-badge svg { width: 21px; height: 21px; }

/* ---------- document pages (privacy / terms / contact) ---------- */

.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 150px 24px 90px;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 16px 0 10px;
}
.doc-updated {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bone-faint);
  text-transform: uppercase;
  margin-bottom: 42px;
  display: block;
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 44px 0 12px;
  color: var(--gold-hi);
}
.doc p, .doc li { color: var(--bone-dim); font-size: 15.5px; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 20px; }
.doc li { margin-bottom: 8px; }
.doc a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.doc a:not(.btn):hover { color: var(--gold-hi); }
.doc .btn-gold { color: #171204; text-decoration: none; }
.doc strong { color: var(--bone); }

/* contact page cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0 10px;
}
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
.contact-card h2 { margin: 0 0 8px; font-size: 22px; }
.contact-card p { font-size: 14.5px; margin-bottom: 14px; }
.contact-card .btn { font-size: 14px; padding: 10px 20px; }

/* ---------- reveal defaults (JS toggles) ---------- */

[data-anim] { opacity: 0; }
.no-js [data-anim], .anim-done[data-anim] { opacity: 1; }

/* ---------- accessibility ---------- */

a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .ticker { animation: none; }
}
