/* =====================================================================
   Mobile Gaming Suite — Foundation & Design System (Prompt 0)
   Tokens, reset, type scale, and reusable components that every
   later section (Prompts 1–14) inherits.
   ===================================================================== */

/* ---------- DESIGN TOKENS ----------
   Default look: dark, glassy, neon-gaming.
   Electric blue primary + neon-green / cyan accents, frosted-glass cards.
   Light theme is available via the manual toggle ([data-theme="light"]).
   ==================================================================== */
:root {
  /* surfaces & ink — deep near-black page, frosted-glass cards */
  --paper:#0A0C12; --surface:rgba(255,255,255,.055); --surface-2:rgba(255,255,255,.10);
  --surface-solid:#12151D;
  --ink:#FFFFFF; --ink-soft:rgba(255,255,255,.72); --ink-faint:rgba(255,255,255,.50);
  --line:rgba(255,255,255,.12); --line-strong:rgba(255,255,255,.24);

  /* brand accents — electric blue + neon */
  --accent:#3B82F6; --accent-ink:#8AB6FF; --accent-soft:rgba(59,130,246,.16);
  --pop:#0763E6; --pop-ink:#4C93FF; --amber:#FFC53D;
  --neon:#21FF57; --cyan:#00E5FF;

  /* semantic (comparison / checklists / safety) */
  --good:#21FF57; --good-bg:rgba(33,255,87,.12);
  --bad:#FF6B60;  --bad-bg:rgba(255,107,96,.12);

  /* dark "ground" panel used for hero + legal headers */
  --ground:#090B11; --ground-ink:#FFFFFF; --ground-soft:rgba(255,255,255,.72);
  --ground-line:rgba(255,255,255,.14);

  --glass-blur:blur(16px) saturate(1.35);

  /* type — DM Sans throughout, ultra-bold headlines */
  --font-display:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-sans:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font-mono:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  /* type scale (fluid) */
  --fs-eyebrow:.74rem;
  --fs-body:1.02rem;
  --fs-lead:1.12rem;
  --fs-h3:clamp(1.15rem,1.8vw,1.4rem);
  --fs-h2:clamp(1.7rem,3.8vw,2.6rem);
  --fs-h1:clamp(2.2rem,5.8vw,3.9rem);

  /* layout */
  --maxw:1120px;
  --gutter:24px;
  --r:18px;
  --r-sm:14px;
  --header-h:66px;

  --shadow-card:0 2px 8px rgba(0,0,0,.35), 0 24px 60px -34px rgba(0,0,0,.85);
  --shadow-pop:0 12px 34px -10px rgba(7,99,230,.6);
}

/* Manual light theme (opt-in via toggle) */
:root[data-theme="light"] {
  --paper:#F6F8FC; --surface:#FFFFFF; --surface-2:#EDF1F8;
  --surface-solid:#FFFFFF;
  --ink:#0B1220; --ink-soft:#485266; --ink-faint:#7A8498;
  --line:rgba(11,18,32,.12); --line-strong:rgba(11,18,32,.22);
  --accent:#0763E6; --accent-ink:#0552C0; --accent-soft:rgba(7,99,230,.10);
  --pop:#0763E6; --pop-ink:#0552C0; --amber:#E8A400;
  --neon:#0FB53F; --cyan:#0091A6;
  --good:#15A34A; --good-bg:rgba(21,163,74,.10);
  --bad:#C0342B;  --bad-bg:rgba(192,52,43,.09);
  --shadow-card:0 1px 2px rgba(15,30,60,.05), 0 12px 30px -20px rgba(15,30,60,.4);
  --shadow-pop:0 12px 30px -12px rgba(7,99,230,.4);
}
/* Explicit dark selection mirrors the default */
:root[data-theme="dark"] {
  --paper:#0A0C12; --surface:rgba(255,255,255,.055); --surface-2:rgba(255,255,255,.10);
  --surface-solid:#12151D;
  --ink:#FFFFFF; --ink-soft:rgba(255,255,255,.72); --ink-faint:rgba(255,255,255,.50);
  --line:rgba(255,255,255,.12); --line-strong:rgba(255,255,255,.24);
  --accent:#3B82F6; --accent-ink:#8AB6FF; --accent-soft:rgba(59,130,246,.16);
  --pop:#0763E6; --pop-ink:#4C93FF; --amber:#FFC53D;
  --neon:#21FF57; --cyan:#00E5FF;
  --good:#21FF57; --good-bg:rgba(33,255,87,.12);
  --bad:#FF6B60;  --bad-bg:rgba(255,107,96,.12);
  --shadow-card:0 2px 8px rgba(0,0,0,.35), 0 24px 60px -34px rgba(0,0,0,.85);
  --shadow-pop:0 12px 34px -10px rgba(7,99,230,.6);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background:
    radial-gradient(58% 46% at 10% -4%, rgba(7,99,230,.24), transparent 60%),
    radial-gradient(46% 40% at 102% 12%, rgba(0,229,255,.14), transparent 60%),
    radial-gradient(55% 45% at 88% 104%, rgba(33,255,87,.10), transparent 60%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* never allow horizontal scroll */
}
/* the light theme keeps a clean, near-solid background */
:root[data-theme="light"] body {
  background:
    radial-gradient(50% 40% at 8% -4%, rgba(7,99,230,.06), transparent 60%),
    var(--paper);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.01em; }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 62ch;
}

/* eyebrow / section label — monospace arcade-scoreboard feel */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
}

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(48px, 7vw, 84px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--pop); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; transition: top .18s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Visible keyboard focus everywhere */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =====================================================================
   REUSABLE COMPONENTS
   ===================================================================== */

/* ---------- Frosted-glass card treatment (dark theme) ----------
   Translucent surfaces + backdrop blur so the neon page glow shows through. */
.tier, .step, .safety-item, .testimonial, .review-stats, .booking-form,
.how-reassure, .service-cta, .games-cta, .games-more, .compare-col, .nudge,
.tabpanel, .map-slot, .legal-contact, .lead-note, .booking-urgency, .console-chip {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 13px; --btn-px: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 800; font-size: .96rem; line-height: 1; letter-spacing: -.01em;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { --btn-py: 9px; --btn-px: 17px; font-size: .88rem; }
.btn-lg { --btn-py: 16px; --btn-px: 30px; font-size: 1.05rem; }

.btn-primary { background: var(--pop); color: #fff; box-shadow: 0 8px 22px -12px rgba(7,99,230,.7); }
.btn-primary:hover { box-shadow: var(--shadow-pop); transform: translateY(-1px); }

.btn-secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-ink); }

.btn-accent { background: var(--neon); color: #06210F; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--neon) 70%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: none; }
}

/* ---------- Trust badge row ---------- */
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft);
}
.trust-row .badge {
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-row .badge svg, .trust-row .badge .star { color: var(--amber); flex: none; }
.trust-row .badge b { color: var(--ink); font-weight: 700; }

/* ---------- Pricing tier card ---------- */
.tier {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.tier.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-card); }
.tier .tier-badge {
  position: absolute; top: -12px; left: 22px;
  background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.tier .tier-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.tier .tier-dur { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); }
.tier .tier-price { font-family: var(--font-display); font-size: 2rem; font-weight: 900; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tier .tier-price span { font-size: .8rem; font-weight: 600; color: var(--ink-faint); }
.tier .tier-features { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.tier .tier-features li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-soft); }
.tier .tier-features li::before { content: "▸"; position: absolute; left: 2px; color: var(--accent); }
.tier .btn { margin-top: auto; }
.tier .tier-features + .btn { margin-top: 18px; }

/* ---------- Testimonial card ---------- */
.testimonial {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.testimonial .stars { color: var(--amber); font-size: .95rem; letter-spacing: 2px; }
.testimonial .quote { color: var(--ink); font-size: 1rem; line-height: 1.55; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  overflow: hidden;
}
.testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial .who-meta .name { font-weight: 700; font-size: .92rem; }
.testimonial .who-meta .meta { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-faint); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none; transition: transform .2s ease; color: var(--accent);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 4px 20px; color: var(--ink-soft); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq-item summary .chev { transition: none; } }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px;
}
.brand-mark img {
  width: 38px; height: 38px; display: block; border-radius: 9px;
}
.brand-name { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.site-nav a {
  color: var(--ink-soft); font-weight: 600; font-size: .92rem;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.phone-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px;
  font-family: var(--font-mono); font-weight: 700; font-size: .84rem;
  color: var(--ink); padding: 8px 10px; border-radius: 8px;
}
.site-header .phone-link { min-width: 44px; }
/* footer phone link shouldn't force 44px min-height in the stacked contact list */
.footer-contact .phone-link { min-height: 0; justify-content: flex-start; }
.phone-link:hover { color: var(--accent-ink); text-decoration: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  transition: background-color .16s ease, border-color .16s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--accent); }

/* theme toggle icon swap — dark is the default, so show the moon by default;
   only the manual light theme shows the sun. */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* mobile-only CTA block inside the nav drawer */
.nav-mobile-actions { display: none; }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Responsive header / mobile nav ---------- */
@media (max-width: 940px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px;
    box-shadow: 0 24px 40px -30px rgba(0,0,0,.6);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .site-nav > a { padding: 12px 12px; font-size: 1rem; border-radius: 10px; }
  .nav-toggle { display: inline-grid; }
  .nav-mobile-actions {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line);
  }
  .nav-mobile-actions .btn { width: 100%; }
  @media (prefers-reduced-motion: reduce) { .site-nav { transition: none; } }
}

@media (max-width: 620px) {
  .site-nav .phone-text { }
  .btn-cta { display: none; } /* CTA still reachable via sticky mobile bar / nav */
  .brand-name { font-size: .95rem; }
}
@media (max-width: 400px) {
  .phone-link .phone-text { display: none; } /* keep click-to-call icon only on tiny screens */
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 8vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-block: clamp(40px, 6vw, 64px);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-tag { color: var(--ink-soft); font-size: .92rem; max-width: 34ch; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft);
  transition: color .16s ease, border-color .16s ease;
}
.social:hover { color: var(--accent-ink); border-color: var(--accent); }

.footer-head {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--ink); }
.footer-contact .phone-link { padding: 0; }
.footer-email { font-family: var(--font-mono); font-size: .84rem; }
.footer-hours { color: var(--ink-faint); font-size: .84rem; margin-top: 4px; }
.footer-contact .btn { margin-top: 10px; align-self: flex-start; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center;
  padding-block: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .76rem; color: var(--ink-faint);
}
.footer-legal a { color: var(--ink-faint); display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.footer-legal a:hover { color: var(--ink-soft); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* =====================================================================
   HERO (Prompt 1)
   ===================================================================== */
.hero {
  position: relative;
  background: var(--ground);
  color: var(--ground-ink);
  padding: 0;
  overflow: hidden;
}
/* arcade grid texture — subtle, masked so headline stays legible */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ground-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ground-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(130% 92% at 85% 0%, #000 32%, transparent 74%);
  mask-image: radial-gradient(130% 92% at 85% 0%, #000 32%, transparent 74%);
  opacity: .7; pointer-events: none;
}
/* electric-blue + cyan glow */
.hero::after {
  content: "";
  position: absolute; top: -180px; right: -140px; width: 600px; height: 600px;
  background:
    radial-gradient(circle at 60% 40%, rgba(7,99,230,.5), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(0,229,255,.28), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(48px, 7vw, 88px);
}

.hero-eyebrow { color: var(--ground-soft); }
.hero h1 {
  color: var(--ground-ink);
  font-size: var(--fs-h1);
  letter-spacing: -.03em;
  max-width: 15ch;
  /* animated neon sheen sweeping across the headline */
  background-image: linear-gradient(
    100deg,
    #FFFFFF 0%, #FFFFFF 30%,
    #8AB6FF 42%, #00E5FF 52%, #21FF57 62%,
    #FFFFFF 74%, #FFFFFF 100%
  );
  background-size: 250% auto;
  background-position: 0% center;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-sheen 7s linear infinite;
}
@keyframes hero-sheen { to { background-position: -250% center; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}
.hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  font-size: var(--fs-lead);
  color: var(--ground-soft);
}
.hero-sub b { color: var(--ground-ink); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* light ghost button for use on the dark hero */
.btn-ghost-light {
  background: rgba(255,255,255,.06); color: var(--ground-ink);
  border-color: var(--ground-line);
  font-weight: 800; letter-spacing: -.01em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { border-color: var(--ground-ink); background: rgba(255,255,255,.12); }

/* hero media slot */
.hero-media { position: relative; }
.hero-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid var(--ground-line);
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(7,99,230,.4), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(33,255,87,.22), transparent 55%),
    radial-gradient(90% 90% at 60% 50%, rgba(0,229,255,.16), transparent 60%),
    linear-gradient(160deg, #0f1826, #0a0e16);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-figure img, .hero-figure video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-figure-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ground-soft);
  border: 1px dashed var(--ground-line); border-radius: 999px;
  padding: 9px 16px;
}

/* hero image slider (crossfade) */
.hero-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid var(--ground-line);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  background: linear-gradient(160deg, #0f1826, #0a0e16);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* subtle scrim so the dots stay legible over bright frames */
.hero-slider::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 78px;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
  pointer-events: none; z-index: 1;
}
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
  border-radius: 999px; background: rgba(255,255,255,.5);
  transition: background-color .2s ease, width .2s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.8); }
.hero-dot.is-active { background: #fff; width: 24px; }
.hero-dot:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* slim trust bar */
.hero-trust {
  position: relative; z-index: 1;
  border-top: 1px solid var(--ground-line);
  padding-block: 16px;
}
.hero-trust .trust-row { color: var(--ground-soft); justify-content: flex-start; }
.hero-trust .trust-row b { color: var(--ground-ink); }
.hero-trust .badge svg { color: var(--ground-ink); }
.hero-trust .star { color: var(--amber); }
.trust-sep { color: var(--ground-line); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { max-width: 20ch; }
  .hero-media { order: -1; } /* image above copy on narrow screens */
  .hero-figure { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .trust-sep { display: none; }
  .hero-trust .trust-row { gap: 8px 16px; }
}

/* =====================================================================
   Shared section header
   ===================================================================== */
.section-head { max-width: 60ch; }
.section-head h2 { margin-top: 4px; }
.section-head .lead { margin-top: 14px; }

/* =====================================================================
   HOW IT WORKS (Prompt 2)
   ===================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  counter-reset: none;
  list-style: none;
}
.step {
  position: relative;
  display: flex; flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-card);
}
.step-num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 2.4rem; line-height: 1; letter-spacing: -.04em;
  color: var(--accent-soft);
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}
.step-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* connecting line between steps on desktop */
.step + .step::before {
  content: "";
  position: absolute; top: 44px; left: -20px; width: 20px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

.how-reassure {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 24px;
  margin-top: 30px;
  padding: 22px 26px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.how-reassure-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem); letter-spacing: -.01em;
  color: var(--ink-soft);
}
.how-reassure-line b { color: var(--ink); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 24px 22px; }
  .step + .step::before { display: none; }
}
@media (max-width: 560px) {
  .how-reassure { flex-direction: column; align-items: flex-start; }
  .how-reassure .btn { width: 100%; }
}

/* =====================================================================
   PRICING (Prompt 3)
   ===================================================================== */
.pricing { background: var(--surface-2); }

/* weekend / weekday toggle */
.price-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.price-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.pt-btn {
  font-family: var(--font-sans); font-weight: 800; font-size: .9rem;
  color: var(--ink-soft); background: transparent; border: none;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.pt-btn:hover { color: var(--ink); }
.pt-btn.is-active { background: var(--pop); color: #fff; box-shadow: 0 6px 16px -8px rgba(7,99,230,.7); }
.price-toggle-note { font-size: .9rem; color: var(--ink-soft); }
.price-toggle-note b { color: var(--neon); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}
.price-grid .tier { height: 100%; }
.price-grid .tier .btn { width: 100%; }
/* lift the featured tier on desktop */
.price-grid .tier.is-featured { transform: translateY(-8px); }
/* animate the price when the rate toggles */
.tier-price { transition: color .18s ease; }
.price-grid.is-swapping .tier-price { color: var(--pop-ink); }

.price-addons {
  margin-top: 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: .94rem;
}
.price-addons b { color: var(--ink); }

.price-disclosure {
  margin-top: 10px; text-align: center;
  font-size: .82rem; color: var(--ink-faint);
}
.price-disclosure a { color: var(--accent-ink); font-weight: 600; }
@media (max-width: 820px) { .price-disclosure { text-align: left; } }

@media (max-width: 820px) {
  .price-grid { grid-template-columns: 1fr; gap: 16px; max-width: 460px; margin-inline: auto; }
  /* show the featured "Most booked" tier first on mobile */
  .price-grid .tier.is-featured { order: -1; transform: none; margin-top: 12px; }
  .price-addons { text-align: left; }
}

/* =====================================================================
   SAFETY (Prompt 4)
   ===================================================================== */
.safety {
  background: linear-gradient(180deg, var(--good-bg), transparent 60%), var(--paper);
}
.safety-head { display: flex; align-items: center; gap: 16px; }
.safety-shield {
  display: grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  border-radius: 14px;
  background: var(--good-bg); color: var(--good);
  border: 1px solid color-mix(in srgb, var(--good) 32%, transparent);
}
.safety-head .eyebrow { color: var(--good); margin-bottom: 6px; }
.safety-intro { margin-top: 16px; }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.safety-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.safety-check {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex: none; margin-top: 1px;
  border-radius: 50%;
  background: var(--good-bg); color: var(--good);
  border: 1px solid color-mix(in srgb, var(--good) 34%, transparent);
}
.safety-item p { color: var(--ink-soft); font-size: .96rem; }
.safety-item b { color: var(--ink); font-weight: 700; }

@media (max-width: 720px) {
  .safety-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* =====================================================================
   GAMES BY AGE (Prompt 5)
   ===================================================================== */
.games { background: var(--surface-2); }
.games-consoles {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin-top: 26px;
}
.console-chip {
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
}
.console-note { font-size: .88rem; color: var(--ink-faint); }

.games-tabs { margin-top: 26px; }
.tablist {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.tab {
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  color: var(--ink-soft);
  background: transparent; border: none;
  padding: 12px 18px; border-radius: 10px 10px 0 0;
  position: relative; top: 1px;
  border-bottom: 3px solid transparent;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.tab:hover { color: var(--ink); background: var(--surface); }
.tab[aria-selected="true"] {
  color: var(--accent-ink);
  border-bottom-color: var(--accent);
  background: var(--surface);
}
/* subtle divider separating the age tabs from the console tabs (desktop) */
@media (min-width: 621px) {
  #tab-ps { margin-left: 12px; }
  #tab-ps::before {
    content: ""; position: absolute; left: -7px; top: 22%; bottom: 22%;
    width: 1px; background: var(--line-strong);
  }
}

.tabpanel {
  background: var(--surface);
  border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--r) var(--r);
  padding: 24px;
}
.tabpanel[hidden] { display: none; }
.game-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px;
}
.game-list li {
  position: relative; padding-left: 24px;
  font-weight: 500; color: var(--ink);
}
.game-list li::before {
  content: "";
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.game-note { margin-top: 16px; color: var(--ink-soft); font-size: .92rem; }

/* console / 15+ panels have longer, sometimes wrapping titles — top-align the bullet */
.game-list-lib li { line-height: 1.35; }
.game-list-lib li::before { top: .62em; transform: none; }
/* the standalone mature-title note under the tabs */
.library-note { margin-top: 16px; }

/* full library by console */
.game-library { margin-top: 28px; }
.game-library-title { font-size: 1.15rem; margin-bottom: 16px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lib-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.lib-head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.lib-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lib-col .game-list { display: flex; flex-direction: column; gap: 9px; }
.lib-col .game-list li { padding-left: 20px; font-weight: 500; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.lib-col .game-list li::before { top: .5em; transform: none; }

.rating-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .6rem; font-weight: 700;
  color: var(--bad); background: var(--bad-bg);
  border: 1px solid color-mix(in srgb, var(--bad) 36%, transparent);
  padding: 1px 5px; border-radius: 5px; letter-spacing: .04em; vertical-align: middle;
}
.library-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 16px; color: var(--ink-faint); font-size: .84rem; line-height: 1.5;
}
.library-note .rating-tag { flex: none; margin-top: 1px; }

@media (max-width: 820px) { .library-grid { grid-template-columns: 1fr; } }

.games-family { margin-top: 20px; color: var(--ink-soft); font-size: .94rem; }
.games-family b { color: var(--ink); }

.games-more {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 14px; padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: var(--r-sm);
  color: var(--ink-soft); font-size: .95rem; line-height: 1.5;
}
.games-more svg { color: var(--accent-ink); flex: none; margin-top: 2px; }
.games-more b { color: var(--ink); }

.games-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px; margin-top: 24px;
  padding: 22px 26px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: var(--r);
}
.games-cta p { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }

@media (max-width: 620px) {
  .game-list { grid-template-columns: 1fr; }
  .games-cta { flex-direction: column; align-items: flex-start; }
  .games-cta .btn { width: 100%; }
  /* many tabs → scroll horizontally in one row rather than wrapping */
  .tablist {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .tablist::-webkit-scrollbar { height: 0; }
  .tab { flex: 0 0 auto; padding: 11px 14px; font-size: .9rem; scroll-snap-align: start; }
}

/* =====================================================================
   REVIEWS (Prompt 6)
   ===================================================================== */
.review-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
  margin-top: 26px; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-card);
}
.review-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; letter-spacing: -.03em;
  color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-star { color: var(--amber); font-size: 1.1rem; margin-left: 3px; }
.stat-label { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.review-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.review-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  padding: 8px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
}

.review-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 22px;
}
.review-track .testimonial { margin: 0; }
.review-track .quote { font-family: var(--font-sans); font-weight: 500; }

.reviews-cta { margin-top: 26px; text-align: center; }

@media (max-width: 940px) {
  .review-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .review-badges { margin-left: 0; width: 100%; }
  /* horizontal swipe carousel on mobile */
  .review-track {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 10px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .review-track .testimonial {
    flex: 0 0 84%; scroll-snap-align: start;
  }
}

/* =====================================================================
   SERVICE AREA (Prompt 7)
   ===================================================================== */
.service { background: var(--surface-2); }
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-top: 30px;
}
/* city list as a wrapping "chip cloud" — scales to a long list cleanly.
   Each chip is a link to that city's landing page. */
.city-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 0;
}
.city-list li { display: flex; }
.city-list li a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px 9px 13px;
  font-weight: 700; color: var(--ink); font-size: .92rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.city-list li a::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 0 8px var(--accent);
}
.city-list li a:hover {
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  text-decoration: none;
}
/* "See all communities" chip — a call to action, no dot */
.city-list li.city-more a {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--accent-ink); font-weight: 800;
}
.city-list li.city-more a::before { display: none; }
.city-list li.city-more a:hover { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.service-map { min-height: 340px; }
.map-slot {
  height: 100%; min-height: 260px;
  display: grid; place-items: center; align-content: center; gap: 8px;
  border-radius: var(--r);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(120% 100% at 100% 0, var(--accent-soft), transparent 60%),
    var(--surface);
  color: var(--ink-faint);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}
.map-slot svg { color: var(--accent); }
.service-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--r); display: block; }

.service-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px; margin-top: 24px;
  padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.service-cta p { font-weight: 600; color: var(--ink-soft); }

@media (max-width: 560px) {
  .city-list li a { font-size: .86rem; padding: 8px 13px 8px 11px; }
}
@media (max-width: 560px) {
  .service-cta { flex-direction: column; align-items: flex-start; }
  .service-cta .btn { width: 100%; }
}

/* =====================================================================
   FAQ (Prompt 8) — .faq-item component styled in the foundation
   ===================================================================== */
.faq-wrap { max-width: 820px; }
.faq-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.faq-more { margin-top: 24px; color: var(--ink-soft); }
.faq-more a { font-weight: 700; }

/* =====================================================================
   BOOKING / LEAD CAPTURE (Prompt 9)
   ===================================================================== */
.booking { background: var(--surface-2); }
.booking-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start;
}
.booking-intro .lead { margin-top: 14px; }
.booking-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.booking-contact li { display: flex; align-items: center; gap: 12px; }
.bc-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink);
}
.booking-contact a { font-family: var(--font-mono); font-weight: 700; color: var(--ink); }
.booking-contact a:hover { color: var(--accent-ink); }

.booking-urgency {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 22px; padding: 14px 16px;
  background: color-mix(in srgb, var(--pop) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--pop) 24%, transparent);
  border-radius: var(--r-sm); color: var(--ink-soft); font-size: .92rem;
}
.booking-urgency svg { color: var(--pop-ink); flex: none; margin-top: 2px; }
.booking-urgency b { color: var(--ink); }
.booking-trust { margin-top: 12px; font-size: .84rem; color: var(--ink-faint); }

/* form */
.booking-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 16px;
}
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--pop-ink); }
.field .optional, .field.optional { color: var(--ink-faint); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px; font-size: .96rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 84px; }
.field.invalid input, .field.invalid select { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .8rem; font-weight: 600; }

.form-submit { width: 100%; margin-top: 4px; }
.form-success {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--good-bg); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--good) 34%, transparent);
  font-size: .92rem;
}
.form-success svg { color: var(--good); flex: none; margin-top: 1px; }
.form-success a { font-weight: 700; white-space: nowrap; }

/* waiver-specific controls */
.waiver-check {
  display: flex; gap: 11px; align-items: flex-start;
  margin-bottom: 12px; font-size: .92rem; color: var(--ink-soft); cursor: pointer;
}
.waiver-check input[type="checkbox"] {
  margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--pop);
}
.waiver-check a { font-weight: 700; }
.waiver-check.invalid { color: var(--bad); }
.signature-input {
  font-style: italic; font-weight: 600; font-size: 1.15rem; letter-spacing: .02em;
}
.field input[readonly] { opacity: .65; cursor: default; }

@media (max-width: 820px) {
  .booking-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .form-row.two { grid-template-columns: 1fr; }
  .booking-form { padding: 20px; }
}

/* =====================================================================
   STICKY MOBILE ACTION BAR (Prompt 9)
   ===================================================================== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn-secondary { background: var(--surface); }

@media (max-width: 620px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; } /* room so the bar never covers the footer */
}

/* =====================================================================
   EXIT-INTENT NUDGE (Prompt 12)
   ===================================================================== */
.nudge {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  width: min(340px, calc(100vw - 48px));
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: 0 30px 70px -30px rgba(20,10,40,.6);
  padding: 22px 22px 24px;
}
.nudge[hidden] { display: none; }
.nudge.is-in { animation: nudge-in .28s ease both; }
@keyframes nudge-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nudge.is-in { animation: none; } }
.nudge .eyebrow { color: var(--pop-ink); margin-bottom: 8px; }
.nudge h3 { font-size: 1.25rem; }
.nudge-copy { margin: 8px 0 16px; color: var(--ink-soft); font-size: .94rem; }
.nudge .btn { width: 100%; }
.nudge-close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 30px; height: 30px;
  background: transparent; border: none; color: var(--ink-faint); border-radius: 8px;
}
.nudge-close:hover { background: var(--surface-2); color: var(--ink); }
/* the desktop-only nudge never competes with the mobile action bar */
@media (max-width: 620px) { .nudge { display: none !important; } }

/* =====================================================================
   COMPARISON (Prompt 14)
   ===================================================================== */
.compare-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 30px;
}
.compare-col {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 26px 26px;
  background: var(--surface);
}
.compare-typical { background: var(--surface-2); }
.compare-us {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-card);
  background:
    radial-gradient(120% 100% at 100% 0, var(--accent-soft), transparent 55%),
    var(--surface);
}
.compare-head {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.compare-us .compare-head { color: var(--accent-ink); }
.compare-col ul { display: flex; flex-direction: column; gap: 12px; }
.compare-col li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .95rem; line-height: 1.45;
}
.compare-typical li { color: var(--ink-faint); }
.compare-us li { color: var(--ink); }
.ci {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 1px;
  border-radius: 50%; font-weight: 800; font-size: .9rem;
}
.ci-x { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-faint); }
.ci-y {
  background: var(--good-bg); color: var(--good);
  border: 1px solid color-mix(in srgb, var(--good) 34%, transparent);
}
.compare-cta { margin-top: 26px; text-align: center; }

@media (max-width: 680px) {
  .compare-cols { grid-template-columns: 1fr; }
  .compare-us { order: -1; } /* lead with our column on mobile */
}

/* =====================================================================
   LEGAL / POLICY PAGES (privacy, terms, rain policy)
   ===================================================================== */
.legal-hero {
  background: var(--ground); color: var(--ground-ink);
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--ground-line);
}
.legal-hero .eyebrow { color: var(--ground-soft); }
.legal-hero h1 {
  color: var(--ground-ink);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 20ch;
}
.legal-hero .legal-sub { margin-top: 16px; max-width: 60ch; color: var(--ground-soft); font-size: 1.06rem; }
.legal-updated {
  display: inline-block; margin-top: 20px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em;
  color: var(--ground-soft); border: 1px solid var(--ground-line);
  border-radius: 999px; padding: 6px 14px;
}

.legal-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
  align-items: start;
  padding-block: clamp(40px, 6vw, 68px);
}
/* sticky table of contents */
.legal-toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  align-self: start;
}
.legal-toc p {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 12px;
}
.legal-toc ul { display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: .9rem; color: var(--ink-soft); border-left: 2px solid transparent;
}
.legal-toc a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }

.legal-body { max-width: 72ch; }
.legal-body > section { padding: 0; border: none; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body > section + section { margin-top: 34px; }
.legal-body h2 {
  font-size: 1.35rem; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.legal-body h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul, .legal-body ol { margin: 12px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }
.legal-body a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong { color: var(--ink); }
.legal-body .lead-note {
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--r-sm);
  padding: 16px 18px; color: var(--ink-soft); font-size: .96rem;
}
/* callout used for the rain-policy headline promise */
.policy-callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--good-bg); border: 1px solid color-mix(in srgb, var(--good) 30%, transparent);
  border-radius: var(--r); padding: 20px 22px; margin-bottom: 6px;
}
.policy-callout .pc-icon { color: var(--good); flex: none; margin-top: 2px; }
.policy-callout p { color: var(--ink); font-size: 1.02rem; }
.policy-callout strong { color: var(--ink); }

.legal-contact {
  margin-top: 40px; padding: 24px 26px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
}
.legal-contact h2 { border: none; padding: 0; margin-bottom: 8px; font-size: 1.15rem; }
.legal-contact a { font-weight: 700; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-toc ul { flex-flow: row wrap; }
  .legal-toc a { border-left: none; border: 1px solid var(--line); }
}
