/* ============================================================
   Tower Rush Italia — "ADM check" theme.
   A second, independently-coded design: cooler/ice palette,
   editorial-cautionary tone (legality-first), built from scratch.
   ============================================================ */

:root {
  --ink: #080c10;
  --surface: #0e151b;
  --surface-raised: #161f27;
  --surface-soft: #121a20;
  --paper: #eef3f6;
  --muted: #8a99a6;
  --muted-2: #56646f;
  --line: #223039;
  --line-bright: rgba(56, 214, 255, 0.32);

  --accent: #38d6ff;
  --accent-light: #8be9ff;
  --accent-dark: #1f9fc4;
  --warn: #f5a623;
  --warn-light: #ffcf7a;
  --danger: #ff5c5c;
  --good: #33d17a;

  --chart-neutral: #2b3943;

  --radius-sm: 0.5rem;
  --radius: 0.9rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 2rem 5rem rgba(0, 0, 0, 0.55);
  --glow: 0 0 40px rgba(56, 214, 255, 0.16);

  --container: 74rem;
  --gutter: 1.25rem;

  --font-display: "Space Grotesk", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--accent);
}

section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.prose p {
  color: #cfd8de;
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.prose strong {
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(56, 214, 255, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- age gate ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 12, 16, 0.96);
  backdrop-filter: blur(10px);
}

#age-gate[hidden] {
  display: none;
}

.age-gate-card {
  width: min(28rem, 100%);
  background: var(--surface-raised);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  text-align: center;
  box-shadow: var(--glow), var(--shadow-lg);
}

.age-gate-badge {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.age-gate-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.age-gate-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}

.age-gate-actions {
  display: flex;
  gap: 0.75rem;
}

.age-gate-actions button {
  flex: 1;
}

.btn-deny {
  background: var(--surface-soft);
  color: var(--muted);
  border-color: var(--line);
}

/* ---------- cookie banner ---------- */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-raised);
  border-top: 1px solid var(--line);
}

#cookie-banner[hidden] {
  display: none;
}

#cookie-banner p {
  flex: 1 1 18rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex: none;
}

.cookie-actions button {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cookie-accept {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.cookie-reject {
  background: transparent;
  color: var(--muted);
}

/* ---------- nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
  margin-right: auto;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--paper);
  background: var(--surface-soft);
}

.nav-cta {
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem var(--gutter) 1.25rem;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.7rem 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  color: var(--paper);
  background: var(--surface-soft);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 78% 15%, rgba(56, 214, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 55% at 10% 90%, rgba(245, 166, 35, 0.06), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-copy .eyebrow {
  background: rgba(56, 214, 255, 0.1);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
}

.hero-copy .eyebrow::before {
  display: none;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero h1 .accent-text {
  color: var(--accent);
}

.hero-copy > p {
  color: #cfd8de;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-stat {
  padding: 0.85rem 0.5rem;
  text-align: center;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.hero-stat span {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1327 / 752;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.8rem;
  background: rgba(8, 12, 16, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- direct-answer box ---------- */
.answer-box {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--warn);
  border-radius: var(--radius-lg);
}

.answer-box .mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.14);
  color: var(--warn);
  font-weight: 800;
  font-size: 1.1rem;
}

.answer-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 0.35rem;
}

.answer-box p {
  color: var(--paper);
  font-size: 1rem;
}

/* ---------- trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.1rem 0;
}

.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.25rem;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.trust-strip li b {
  color: var(--paper);
}

.trust-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- spec list ---------- */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.spec-list li {
  padding: 1rem 1.1rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.spec-list b {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.spec-list span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--paper);
}

/* ---------- demo ---------- */
.demo-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.demo-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.demo-stage .live-pill {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 16, 0.75);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
}

.live-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--good);
}

.demo-stage iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

@media (min-width: 40rem) {
  .demo-stage iframe {
    aspect-ratio: 16 / 10;
  }
}

.demo-open {
  display: block;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.demo-stage-actions {
  display: flex;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.demo-stage-actions button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(56, 214, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.demo-stage-actions button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(56, 214, 255, 0.3);
}

/* ---------- demo modal (bigger, in-page) ---------- */
#demo-modal {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(4, 6, 8, 0.92);
}

#demo-modal[hidden] {
  display: none;
}

.demo-modal-inner {
  position: relative;
  width: min(72rem, 95vw);
  height: min(46rem, 90vh);
  background: var(--surface-soft);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.demo-modal-inner iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 40rem) {
  #demo-modal {
    padding: 0;
  }

  .demo-modal-inner {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: 0;
  }
}

.demo-open:hover {
  color: var(--accent);
}

.demo-aside h3 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.demo-aside ul {
  display: grid;
  gap: 0.6rem;
}

.demo-aside li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: #cfd8de;
}

.demo-aside li::before {
  content: "✓";
  color: var(--good);
  font-weight: 800;
  flex: none;
}

/* ---------- ordered steps ---------- */
.steps-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.steps-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps-list b {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(56, 214, 255, 0.14);
  color: var(--accent);
  font-weight: 800;
  font-family: var(--font-display);
}

.steps-list span {
  color: #cfd8de;
  font-size: 0.95rem;
}

/* ---------- multiplier ladder ---------- */
.ladder {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.75rem;
  max-width: 36rem;
}

.ladder-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) 5.5rem;
  align-items: center;
  gap: 0.9rem;
}

.ladder-floor {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.ladder-bar {
  height: 1.6rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  display: flex;
  align-items: center;
  padding-left: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

.ladder-row:nth-child(1) .ladder-bar { width: 22%; opacity: 0.55; }
.ladder-row:nth-child(2) .ladder-bar { width: 36%; opacity: 0.65; }
.ladder-row:nth-child(3) .ladder-bar { width: 50%; opacity: 0.75; }
.ladder-row:nth-child(4) .ladder-bar { width: 66%; opacity: 0.85; }
.ladder-row:nth-child(5) .ladder-bar { width: 84%; opacity: 0.93; }
.ladder-row:nth-child(6) .ladder-bar { width: 100%; opacity: 1; }

.ladder-total {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--paper);
  text-align: right;
}

.ladder-foot {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  max-width: 36rem;
}

/* ---------- diagram ---------- */
.diagram-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.25rem;
}

.diagram-card img {
  border-radius: var(--radius);
  background: var(--surface-soft);
}

/* ---------- bonus cards ---------- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.bonus-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  overflow: hidden;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.bonus-card.frozen::before {
  background: linear-gradient(90deg, #4fc3f7, var(--accent));
}

.bonus-card.temple::before {
  background: linear-gradient(90deg, var(--warn), var(--warn-light));
}

.bonus-card.triple::before {
  background: linear-gradient(90deg, #66bb6a, var(--good));
}

.bonus-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bonus-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.bonus-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(56, 214, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.bonus-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.bonus-visual {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- limits ---------- */
.limits-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.limits-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.limits-list b {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 92, 92, 0.12);
  color: var(--danger);
  font-weight: 800;
  font-size: 1rem;
}

.limits-list span {
  color: #cfd8de;
  font-size: 0.93rem;
  align-self: center;
}

/* ---------- trust split (game vs site) ---------- */
.trust-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.trust-split > div {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.trust-split .good-card {
  border-color: rgba(51, 209, 122, 0.4);
}

.trust-split .warn-card {
  border-color: rgba(245, 166, 35, 0.4);
}

.trust-split h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-split .good-card h3 {
  color: var(--good);
}

.trust-split .warn-card h3 {
  color: var(--warn);
}

.trust-split p {
  color: #cfd8de;
  font-size: 0.93rem;
}

/* ---------- operator check grid ---------- */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.operator-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

.operator-chip .not-found {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.operator-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ---------- risk grid ---------- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.risk-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  border: 1px solid rgba(255, 92, 92, 0.3);
}

.risk-card b {
  display: block;
  color: var(--danger);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.risk-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- table ---------- */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cmp-table th,
.cmp-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.cmp-table tr:last-child th,
.cmp-table tr:last-child td {
  border-bottom: 0;
}

.cmp-table thead th {
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.cmp-table tbody th {
  color: var(--muted);
  font-weight: 600;
  background: var(--surface-soft);
}

.cmp-table td {
  color: var(--paper);
}

.cmp-table tbody td:first-of-type {
  color: var(--accent);
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- pros/cons ---------- */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.pros-cons > div {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.pros-cons h3 {
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pros-cons ul {
  display: grid;
  gap: 0.6rem;
}

.pros-cons li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cfd8de;
}

.pros li::before {
  content: "+";
  color: var(--good);
  font-weight: 800;
}

.cons li::before {
  content: "–";
  color: var(--danger);
  font-weight: 800;
}

/* ---------- gallery + lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.gallery-grid button {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: none;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.06);
}

.gallery-grid button span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  text-align: left;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(4, 6, 8, 0.92);
}

#lightbox[hidden] {
  display: none;
}

#lightbox figure {
  max-width: min(60rem, 100%);
}

#lightbox img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

#lightbox figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

#lightbox .lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- budget list ---------- */
.budget-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.75rem;
  max-width: 44rem;
}

.budget-list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: #cfd8de;
}

.budget-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 800;
  flex: none;
}

.budget-list strong {
  color: var(--paper);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-raised);
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-list .faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* ---------- closing cta ---------- */
.closing-cta {
  text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(56, 214, 255, 0.1), transparent 70%), var(--surface);
}

.closing-cta h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 0.9rem;
}

.closing-cta p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.closing-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 24rem;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: #cfd8de;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.8;
}

.footer-legal strong {
  color: var(--muted);
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.responsible-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ---------- sticky mobile cta ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.sticky-cta.is-visible {
  display: flex;
}

/* `.reveal` kept as a hook on elements but intentionally not styled:
   an opacity-until-scrolled animation on another build of this page
   left whole sections invisible for anything that doesn't scroll first
   (preview bots, PDF export, some crawlers, full-page screenshots).
   Content here is always visible. */

/* ---------- responsive ---------- */
@media (max-width: 68rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 56rem) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-wrap {
    grid-template-columns: 1fr;
  }

  .answer-box {
    grid-template-columns: 1fr;
  }

  .answer-box .mark {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .sticky-cta.is-visible {
    display: flex;
  }

  body {
    padding-bottom: 3.6rem;
  }
}

@media (max-width: 30rem) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .ladder-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 4.5rem;
  }
}
