/* Frenamies website — brand tokens mirror src/constants/theme.ts in the app. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-400-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #120b1c;
  --bg-2: #160f23;
  --surface: #211630;
  --surface-2: #2b1e3e;
  --border: rgba(237, 233, 254, 0.09);
  --border-strong: rgba(237, 233, 254, 0.16);
  --text: #f5f3ff;
  --muted: #b3aacb;
  --subtle: #8a80a3;
  --primary: #7c3aed;
  --primary-soft: #a78bfa;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-ink: #1a1205;
  --pink: #ec4899;
  --blue: #3b82f6;
  --orange: #f97316;
  --green: #22c55e;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  --container: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: #c4b5fd;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 11, 28, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 38px;
  height: auto;
}
.brand:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 26px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg {
  margin: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--primary-soft);
  color: var(--text);
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.store-badge img {
  height: 56px;
  width: auto;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.soon-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

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

.hero {
  position: relative;
  padding: 72px 0 96px;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(124, 58, 237, 0.38), transparent 70%),
    radial-gradient(420px 300px at 92% 70%, rgba(236, 72, 153, 0.22), transparent 70%),
    radial-gradient(520px 320px at 8% 10%, rgba(245, 158, 11, 0.12), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.age-badge {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 3.6vw + 1.2rem, 4.4rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--pink) 55%, var(--primary-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 34px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.93rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust svg {
  color: var(--green);
  flex: none;
}

/* Phone mockup */

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.phone {
  position: relative;
  width: min(330px, 82vw);
  aspect-ratio: 9 / 19;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, #3a2c52, #1b1228);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(3deg);
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(240px 200px at 50% 0%, rgba(124, 58, 237, 0.45), transparent 75%),
    var(--bg-2);
  padding: 46px 18px 22px;
  display: flex;
  flex-direction: column;
}
.screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 24px;
  margin-left: -46px;
  border-radius: 999px;
  background: #000;
}
.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.screen-top .mode {
  color: var(--text);
  font-family: var(--font-head);
}
.stack {
  position: relative;
  flex: 1;
}
.game-card {
  position: absolute;
  inset: 0 0 34px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.game-card.back-2 {
  transform: translateY(26px) scale(0.88);
  opacity: 0.45;
}
.game-card.back-1 {
  transform: translateY(13px) scale(0.94);
  opacity: 0.75;
}
.game-card.front {
  background: linear-gradient(170deg, #34245a, #241834 60%);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
}
.chip {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.16);
  color: #f9a8d4;
}
.chip.rule {
  background: rgba(234, 179, 8, 0.16);
  color: #fde047;
}
.game-card .card-text {
  margin: auto 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.dots {
  display: inline-flex;
  gap: 4px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.dots i.on {
  background: var(--accent);
}
.swipe-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--subtle);
}
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(33, 22, 48, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
}
.float-tag img {
  width: 34px;
  height: 34px;
}
/* Parked over the empty bands of the card (above and below its text). */
.float-tag.one {
  left: -28px;
  top: 28%;
}
.float-tag.two {
  right: -28px;
  bottom: 27%;
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}
.section.alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li {
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}
.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mode-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.mode-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.mode-card img {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
}
.mode-card h3 {
  font-size: 1.45rem;
}
.mode-card p {
  color: var(--muted);
}
.sample {
  margin: auto 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
  font-style: normal;
}
.sample::before {
  content: 'Sample card';
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 6px;
}
.mix-note {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split h2 {
  font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem);
  font-weight: 800;
}
.split p {
  color: var(--muted);
}

.levels {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.levels li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.levels .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--accent-ink);
}
.levels li:nth-child(1) .num { background: #86efac; }
.levels li:nth-child(2) .num { background: #fde047; }
.levels li:nth-child(3) .num { background: var(--accent); }
.levels li:nth-child(4) .num { background: var(--orange); }
.levels li:nth-child(5) .num { background: var(--pink); color: #fff; }
.levels strong {
  display: block;
  font-family: var(--font-head);
}
.levels span {
  color: var(--muted);
  font-size: 0.93rem;
}

.games {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.games li {
  padding: 24px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.games img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.games strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 4px;
}
.games span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--primary), var(--pink));
  font-family: var(--font-head);
  font-weight: 800;
}
.steps h3 {
  font-size: 1.25rem;
}
.steps p {
  color: var(--muted);
  margin: 0;
}

.responsible {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 48px;
  border-radius: 28px;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(34, 197, 94, 0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
}
.responsible h2 {
  font-size: clamp(1.8rem, 1.6vw + 1rem, 2.4rem);
  font-weight: 800;
}
.responsible > div > p {
  color: var(--muted);
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}
.checklist svg {
  color: var(--green);
  margin-top: 3px;
}
.checklist strong {
  display: block;
}
.checklist span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 22px;
}
.plan {
  position: relative;
  padding: 34px 30px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.plan.featured {
  border: 2px solid var(--accent);
  background:
    radial-gradient(360px 200px at 50% 0%, rgba(245, 158, 11, 0.12), transparent 75%),
    var(--surface);
}
.plan .tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.plan h3 {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}
.price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}
.plan .per {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.plan ul {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.97rem;
}
.plan li svg {
  color: var(--green);
  flex: none;
  margin-top: 4px;
}
.fine {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--subtle);
  font-size: 0.88rem;
}

/* FAQ */

.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.faq .answer {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq .answer p:last-child {
  margin: 0;
}

.cta-band {
  text-align: center;
  padding: 64px 32px;
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(236, 72, 153, 0.25), transparent 75%),
    linear-gradient(135deg, #3b1161, #1f1233);
  border: 1px solid var(--border-strong);
}
.cta-band img {
  width: 92px;
  margin: 0 auto 18px;
}
.cta-band h2 {
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  font-weight: 800;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 28px;
}
.cta-band .cta-row {
  justify-content: center;
}

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

.site-footer {
  margin-top: 96px;
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid p {
  color: var(--muted);
  max-width: 30em;
}
.footer-grid h3 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 14px;
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--subtle);
  font-size: 0.85rem;
}
.footer-legal p {
  margin: 0;
}

/* ---------- Legal + support pages ---------- */

.page-hero {
  padding: 64px 0 24px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 2.6vw + 1rem, 3.2rem);
  font-weight: 800;
}
.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 44em;
}
.updated {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.85rem;
}

.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-top: 24px;
}
.toc {
  position: sticky;
  top: 100px;
  font-size: 0.9rem;
}
.toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}
.toc ol {
  margin: 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  color: var(--subtle);
}
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--text);
}

.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.6em;
}
.prose p,
.prose li {
  color: #ddd6f3;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose strong {
  color: var(--text);
}
.summary-box {
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  margin-bottom: 2em;
}
.summary-box h2 {
  margin-top: 0 !important;
  font-size: 1.2rem;
}
.summary-box ul {
  margin-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: #ddd6f3;
}
.prose th {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.company-card {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1.2em;
}
.company-card p {
  margin: 0;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.help-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.help-card h2 {
  font-size: 1.2rem;
}
.help-card p,
.help-card li {
  color: #ddd6f3;
}
.help-card ol,
.help-card ul {
  padding-left: 1.3em;
  margin: 0 0 0.8em;
}
.help-card li {
  margin-bottom: 0.4em;
}
.help-card p:last-child {
  margin-bottom: 0;
}
.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3b1161, #241834);
  border: 1px solid var(--border-strong);
  margin-bottom: 48px;
}
.contact-card h2 {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-size: 1.35rem;
}
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.not-found {
  text-align: center;
  padding: 120px 0 40px;
}
.not-found img {
  width: 120px;
  margin: 0 auto 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .games {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .toc {
    position: static;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
  }
}

@media (max-width: 880px) {
  .hero {
    padding: 40px 0 72px;
  }
  .hero-grid,
  .split,
  .responsible {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .responsible {
    padding: 32px 24px;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: minmax(0, 420px);
    gap: 28px;
  }
  .help-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 72px 0;
  }
  .nav-toggle {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(18, 11, 28, 0.97);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links {
    display: flex;
  }
  .nav .btn-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .games {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .float-tag {
    display: none;
  }
  .phone {
    transform: none;
  }
  .cta-row .btn,
  .cta-row .soon-pill {
    width: 100%;
  }
  .cta-band {
    padding: 48px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
