/* smartgrowthltd.com — Smart Growth LTD
   Design tokens + components */

:root {
  --bg: #0b081a;
  --bg-deep: #2a1b54;
  --green: #00ff66;
  --green-soft: #33ff85;
  --purple: #9d00ff;
  --purple-soft: #c78cff;
  --gold: #ffd24c;
  --text: #ffffff;
  --muted: #a39bba;
  --surface: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --shell: 390px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--green); }
a:hover { color: var(--green-soft); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--bg);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Shell ---------- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  min-height: 100vh;
  /* `clip` contains overflow WITHOUT creating a scroll container —
     `hidden` here would silently break the sticky header inside. */
  overflow-x: clip;
  position: relative;
  background: radial-gradient(circle at 50% 30%, var(--bg-deep) 0%, var(--bg) 70%);
  padding-bottom: 110px;
}

.section { padding: 8px 20px 40px; }
.section--first { padding-top: 32px; }
.section--last { padding-bottom: 48px; }

.section__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 4px;
}

.section__lead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.ticker__item {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  padding-right: 48px;
}

.ticker__item a { text-decoration: none; }
.ticker__tel { color: var(--green); font-weight: 700; }
.ticker__alt { color: var(--purple); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker { white-space: normal; padding: 10px 20px; }
  .ticker__item { padding-right: 0; white-space: normal; }
  .ticker__item + .ticker__item { display: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 8, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 18px; width: auto; display: block; }

.nav-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle__icon::before { content: "\2630"; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { content: "\2715"; }

.site-nav {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line-soft);
  margin-top: -1px;
}

.site-nav[hidden] { display: none; }

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-nav__link {
  display: block;
  padding: 14px 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.site-nav__list li:last-child .site-nav__link { border-bottom: 0; }
.site-nav__link:hover { color: var(--green); }
.site-nav__link[aria-current="page"] { color: var(--green); }

/* ---------- Hero ---------- */

.hero { position: relative; }

.hero__media {
  position: absolute;
  inset: 0 0 auto;
  height: 380px;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, var(--bg) 90%);
}

.hero__body {
  position: relative;
  z-index: 1;
  padding: 220px 20px 32px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
}

.notice {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(157, 0, 255, 0.5);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.notice p { font-size: 12px; line-height: 1.6; margin: 0; }

.stats {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
}

.stat__value { display: block; font-size: 18px; font-weight: 700; }

.stat__label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat--purple {
  background: rgba(157, 0, 255, 0.1);
  border: 2px solid var(--purple);
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
}

.stat--gold {
  border-color: rgba(255, 200, 80, 0.5);
  box-shadow: 0 0 15px rgba(255, 200, 80, 0.15);
}
.stat--gold .stat__value { color: var(--gold); }

.stat--green {
  background: rgba(0, 255, 102, 0.1);
  border: 2px solid var(--green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

/* ---------- Game player ---------- */

.player {
  margin: 0 0 20px;
  background: rgba(20, 15, 40, 0.9);
  border: 2px solid var(--purple);
  box-shadow: 0 0 22px rgba(157, 0, 255, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: 84px;
}

.player[hidden] { display: none; }

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.player__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.player__btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.player__btn:hover { border-color: var(--green); color: var(--green); }

.player__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #000;
}

.player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.player__note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  padding: 10px 14px 12px;
}

.player:fullscreen .player__frame,
.player:-webkit-full-screen .player__frame { aspect-ratio: auto; height: 100%; }
.player:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.player:fullscreen .player__frame { flex: 1; }

/* ---------- Game cards ---------- */

.game-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3), inset 0 0 10px rgba(0, 255, 102, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card--purple {
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.3), inset 0 0 10px rgba(157, 0, 255, 0.1);
}

.game-card__media {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.game-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

.game-card__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }

.game-card__meta {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.tag {
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.5);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.game-card--purple .tag {
  background: rgba(157, 0, 255, 0.14);
  border-color: rgba(157, 0, 255, 0.5);
  color: var(--purple-soft);
}

.rating {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.game-card__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  flex: 1;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }

.btn--green { background: var(--green); color: var(--bg); }
.btn--green:hover { color: var(--bg); }
.btn--purple { background: var(--purple); color: var(--text); }
.btn--purple:hover { color: var(--text); }

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

.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid rgba(0, 255, 102, 0.35);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

.figure--purple {
  border-color: rgba(157, 0, 255, 0.35);
  box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

.figure img { width: 100%; height: 180px; object-fit: cover; display: block; }

.panel {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.panel p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 102, 0.4);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature--purple { border-color: rgba(157, 0, 255, 0.4); }

.feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature--purple .feature__icon {
  background: rgba(157, 0, 255, 0.12);
  border-color: var(--purple);
}

.feature__title { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.feature__text { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

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

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq__item {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.faq__icon {
  flex-shrink: 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.faq__icon::before { content: "+"; }
.faq__q[aria-expanded="true"] .faq__icon::before { content: "\2212"; }

.faq__a { padding: 0 16px 16px; }
.faq__a[hidden] { display: none; }
.faq__a p { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */

.contact-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.contact-card__name { font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.contact-card__row { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.contact-card__row a { text-decoration: none; }

.map {
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.map iframe { width: 100%; height: 180px; border: 0; display: block; }

.prose p { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.field input { min-height: 48px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(163, 155, 186, 0.7); }

.field input:focus,
.field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 1px 0 0;
}

.consent a { text-decoration: none; }

.form__status {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 20px 40px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__brand { display: flex; align-items: center; gap: 12px; }

.badge-18 {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
}

.site-footer__brand img { height: 16px; width: auto; display: block; }

.site-footer h2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 10px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer li a { font-size: 14px; text-decoration: none; }
.footer-link { color: var(--text); }
.footer-link:hover { color: var(--green); }
.footer-link--legal { color: var(--green); }
.footer-link--help { color: var(--purple); }
.footer-link--help:hover { color: var(--purple-soft); }

.site-footer p { margin: 0; }
.site-footer__disclaimer { font-size: 12px; line-height: 1.6; }
.site-footer__address { font-size: 13px; line-height: 1.6; font-style: normal; }

.site-footer__copy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ---------- Dock ---------- */

.dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 350px;
  background: rgba(20, 15, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  z-index: 60;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.dock ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock a {
  text-decoration: none;
  color: var(--muted);
  font-size: 18px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.dock a:hover { color: var(--text); }

.dock__home {
  background: var(--green);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 13px !important;
  padding: 10px 16px !important;
  gap: 6px;
}

.dock__cta {
  width: 40px;
  height: 40px;
  background: var(--purple);
  color: var(--text) !important;
  font-size: 16px !important;
  box-shadow: 0 0 12px rgba(157, 0, 255, 0.6);
}

/* ---------- Legal pages ---------- */

.legal { padding: 32px 20px 48px; }
.legal h1 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.legal h2 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; }
.legal p { font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }
.legal .legal__date { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.legal a { text-decoration: none; }
.legal address { font-style: normal; font-size: 14px; line-height: 1.7; }

/* ---------- Error page ---------- */

.error { padding: 80px 20px; text-align: center; }
.error h1 { font-size: 56px; margin: 0 0 8px; color: var(--green); }
.error p { color: var(--muted); margin: 0 0 24px; }
.error .btn { max-width: 240px; margin: 0 auto; }

/* ============================================================
   Everything above is the mobile base (< 600px).
   Below: tablet (>=600), landscape tablet (>=768),
   desktop (>=1024) and wide desktop (>=1440).
   ============================================================ */

/* ---------- Tablet portrait: 600px and up ---------- */

@media (min-width: 600px) {
  :root { --shell: 680px; }

  body { font-size: 16px; }

  .section { padding: 16px 28px 48px; }
  .section--first { padding-top: 40px; }
  .section--last { padding-bottom: 56px; }
  .section__title { font-size: 26px; }
  .section__lead { font-size: 14px; margin-bottom: 20px; }

  .site-header__inner { padding: 18px 28px; }
  .site-header__logo img { height: 20px; }
  .site-nav { padding: 0 28px 18px; }

  .hero__media,
  .hero__media img { height: 440px; }
  .hero__body { padding: 270px 28px 36px; }
  .hero__title { font-size: 38px; }
  .hero__text { font-size: 16px; }

  .notice { padding: 16px 18px; }
  .notice p { font-size: 13px; }

  .stats { gap: 14px; }
  .stat { padding: 14px 10px; }
  .stat__value { font-size: 20px; }
  .stat__label { font-size: 11px; }

  /* two games per row */
  .game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .game-card__media { height: 170px; }

  .player__frame { aspect-ratio: 4 / 3; }

  .figure img { height: 240px; }
  .panel { padding: 24px; }
  .panel p { font-size: 15px; }

  .feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .faq__q { padding: 18px; font-size: 15px; }
  .faq__a { padding: 0 18px 18px; }
  .faq__a p { font-size: 14px; }

  .map iframe { height: 220px; }

  /* footer: two columns */
  .site-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    padding: 36px 28px 44px;
  }
  .site-footer__brand,
  .site-footer > section:nth-last-of-type(1),
  .site-footer__copy { grid-column: 1 / -1; }

  .legal { padding: 40px 28px 56px; }
  .legal h1 { font-size: 26px; }
}

/* ---------- Tablet landscape: 768px and up ---------- */

@media (min-width: 768px) {
  :root { --shell: 760px; }

  .section { padding: 20px 32px 52px; }
  .section__title { font-size: 28px; }

  .site-header__inner { padding: 18px 32px; }
  .site-nav { padding: 0 32px 18px; }

  .hero__media,
  .hero__media img { height: 480px; }
  .hero__body { padding: 300px 32px 40px; }
  .hero__title { font-size: 42px; max-width: 12ch; }
  .hero__text { max-width: 58ch; }

  .figure img { height: 280px; }

  /* the contact card and the form sit side by side */
  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .contact-card { margin-bottom: 0; position: sticky; top: 96px; }

  .site-footer { padding: 40px 32px 48px; }
  .legal { padding: 44px 32px 60px; }
}

/* ---------- Desktop: 1024px and up ---------- */

@media (min-width: 1024px) {
  :root { --shell: 1100px; }

  .shell { padding-bottom: 0; }

  .section { padding: 28px 40px 64px; }
  .section--first { padding-top: 56px; }
  .section--last { padding-bottom: 72px; }
  .section__title { font-size: 32px; }
  .section__lead { font-size: 15px; margin-bottom: 24px; }

  .ticker__item { font-size: 12px; }

  /* the hamburger gives way to a real horizontal nav */
  .site-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 40px;
  }

  .site-header__inner { padding: 16px 0; flex: 0 0 auto; }

  .nav-toggle { display: none; }

  /* the nav is JS-hidden on mobile — on desktop it is always visible */
  .site-nav,
  .site-nav[hidden] {
    display: block;
    flex: 1;
    padding: 0;
    border-top: 0;
    margin-top: 0;
  }

  .site-nav__list {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
  }

  .site-nav__link {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 0;
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-nav__link:hover { background: var(--surface); }

  .site-nav__link[aria-current="page"] {
    background: rgba(0, 255, 102, 0.12);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.45);
  }

  /* the floating dock duplicates the header nav here */
  .dock { display: none; }

  .hero__media,
  .hero__media img { height: 560px; }
  .hero__body { padding: 330px 40px 48px; max-width: 700px; }
  .hero__title { font-size: 52px; max-width: none; }
  .hero__text { font-size: 17px; }

  .stats { max-width: 560px; }

  /* three games per row */
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .game-card__media { height: 180px; }
  .game-card:hover { transform: translateY(-3px); }
  .game-card { transition: transform 0.15s ease; }

  .player__frame { aspect-ratio: 16 / 9; }
  .player__title { font-size: 16px; }

  .feature-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .feature { flex-direction: column; padding: 22px; }
  .feature__title { font-size: 16px; }
  .feature__text { font-size: 14px; }

  .figure img { height: 340px; }

  /* long-form blocks stay readable instead of stretching edge to edge */
  .panel { padding: 28px; }
  .panel p { max-width: 78ch; }
  .faq { max-width: 860px; }
  .prose p { max-width: 70ch; }

  .map iframe { height: 260px; }

  /* footer: four columns, full-width brand / disclaimer / copyright */
  .site-footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 36px;
    padding: 48px 40px 52px;
  }

  .legal {
    padding: 56px 40px 72px;
    max-width: 780px;
    margin: 0 auto;
  }
  .legal h1 { font-size: 32px; }
  .legal h2 { font-size: 17px; margin-top: 28px; }
  .legal p, .legal li, .legal address { font-size: 15px; }

  .error { padding: 120px 40px; }
  .error h1 { font-size: 88px; }
}

/* ---------- Wide desktop: 1440px and up ---------- */

@media (min-width: 1440px) {
  :root { --shell: 1240px; }

  .section { padding: 32px 56px 72px; }
  .section--first { padding-top: 64px; }

  .site-header { padding: 0 56px; }

  .hero__media,
  .hero__media img { height: 620px; }
  .hero__body { padding: 370px 56px 56px; max-width: 760px; }
  .hero__title { font-size: 60px; }

  .game-card__media { height: 200px; }
  .figure img { height: 380px; }

  .site-footer { padding: 56px 56px 60px; }
  .legal { padding: 64px 56px 80px; }
}

/* ---------- Pointer-specific polish ---------- */

@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease; }
  .btn--green:hover { box-shadow: 0 0 18px rgba(0, 255, 102, 0.45); }
  .btn--purple:hover { box-shadow: 0 0 18px rgba(157, 0, 255, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .game-card:hover { transform: none; }
  .btn:hover { box-shadow: none; }
}
