@import url("fonts.css");

/* ==========================================================================
   WOWBet — wowbet-download-eg.com
   Single stylesheet for every page. Brand tokens: #8840fc / #2d3052 / #ffffff.
   Direction: light, fast, RTL (ar-EG).
   ========================================================================== */

:root {
  /* Brand */
  --accent: #8840fc;
  --accent-hover: oklch(0.5026 0.2569 294.12);
  --accent-active: oklch(0.4526 0.2569 294.12);
  --accent-soft: oklch(0.9450 0.0400 294.12);
  --accent-ink: oklch(0.4800 0.2000 294.12);
  --ink: #2d3052;

  /* Surfaces */
  --bg: oklch(0.9770 0.0110 294.12);
  --surface: #fff;
  --surface-2: oklch(0.9580 0.0230 294.12);
  --border: oklch(0.9000 0.0210 294.12);
  --border-strong: oklch(0.8450 0.0300 294.12);

  /* Text */
  --fg: oklch(0.3000 0.0480 278.62);
  --muted: oklch(0.5000 0.0320 278.62);

  /* Footer */
  --footer-bg: #2d3052;
  --footer-fg: oklch(0.9300 0.0140 294.12);
  --footer-muted: oklch(0.7600 0.0250 294.12);
  --footer-border: oklch(0.4300 0.0400 278.62);

  /* State */
  --success: oklch(0.6000 0.1400 150);
  --success-soft: oklch(0.9550 0.0400 150);
  --warn: oklch(0.7800 0.1500 80);
  --warn-soft: oklch(0.9650 0.0450 80);
  --danger: oklch(0.5800 0.1900 25);
  --danger-soft: oklch(0.9600 0.0350 25);

  /* Type */
  --font-display: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Space & shape */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-1: 0 1px 2px oklch(0.3 0.05 278.62 / 0.06), 0 6px 18px oklch(0.3 0.05 278.62 / 0.06);
  --shadow-2: 0 10px 34px oklch(0.3 0.05 278.62 / 0.14);
  --ring: 0 0 0 3px oklch(0.5726 0.2569 294.12 / 0.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 0.98rem + 0.6vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

img, svg { max-width: 100%; }
img { height: auto; }

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

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

/* ----------------------------------------------------------- Utilities -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-s);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0.75rem; color: #fff; text-decoration: none; }

.section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.text-center { text-align: center; }

/* --------------------------------------------------------------- Topbar -- */
.topbar {
  background: var(--ink);
  color: var(--footer-fg);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.45rem;
}
.topbar__note { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.topbar__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.35rem;
  padding-inline: 0.3rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}
.topbar__links { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.topbar__links a { color: var(--footer-fg); text-decoration: underline; text-underline-offset: 3px; }
.topbar__links a:hover { color: #fff; }

/* --------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-1); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  min-height: 72px;
  padding-block: 0.6rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }
.brand img { display: block; width: 132px; height: auto; }
.brand:hover { text-decoration: none; }

.main-nav { margin-inline-start: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.4vw, 1.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: inline-block;
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-s);
  transition: background-color 0.16s ease, color 0.16s ease;
}
.main-nav a:hover { background: var(--accent-soft); color: var(--accent-active); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent-active); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.burger:hover { background: var(--accent-soft); border-color: var(--accent); }
.burger__box { display: block; width: 20px; height: 14px; margin: 0 auto; position: relative; }
.burger__box span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  height: calc(100vh - 72px);
  overflow-y: scroll;
  padding-bottom: 150px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { margin: 0; padding: 0.5rem 0 1rem; list-style: none; }
.mobile-nav li + li { border-top: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--accent-active); text-decoration: none; }

/* -------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9688rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--primary:active { background: var(--accent-active); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: oklch(0.2600 0.0480 278.62); color: #fff; }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-active); }

.btn--onDark { background: transparent; color: #fff; border-color: oklch(0.6200 0.0300 294.12); }
.btn--onDark:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { min-height: 52px; padding: 0.85rem 1.9rem; font-size: 1.0625rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------------------------------------------------------- Breadcrumbs -- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.7rem 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "-"; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-active); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-block-start: -35%;
  inset-inline-end: -12%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, oklch(0.9450 0.0400 294.12 / 0.85), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-active);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
}
.hero h1 { margin-bottom: 0.5em; }
.hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  color: var(--muted);
  max-width: 46ch;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.hero__facts li { display: flex; align-items: baseline; gap: 0.45rem; font-size: 0.9375rem; color: var(--muted); }
.hero__facts strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

.hero__media { display: flex; justify-content: flex-end; margin: 0; }
.hero__media picture { display: block; }
.hero__media img {
  display: block;
  width: auto;
  max-height: 520px;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
}
.hero__media figcaption { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); text-align: center; }

/* -------------------------------------------------- Page hero (inner) --- */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}
.page-hero h1 { margin-bottom: 0.45em; }
.page-hero__lead { color: var(--muted); font-size: 1.0625rem; max-width: 58ch; }

/* -------------------------------------------------------- Layout split -- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.layout__aside { position: sticky; top: 6.25rem; display: grid; gap: 1rem; }

@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .layout__aside { position: static; }
}

/* ------------------------------------------------------ Table of content -- */
.toc {
  margin: 0 0 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.toc__summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary:hover { background: var(--accent-soft); }
.toc__icon {
  flex: none;
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-active);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.toc[open] .toc__icon { transform: rotate(90deg); }
.toc__hint { margin-inline-start: auto; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1.5rem;
  margin: 0;
  padding: 0.5rem 1.25rem 1.25rem;
  list-style: none;
  counter-reset: toc;
  border-top: 1px solid var(--border);
}
.toc__list li { counter-increment: toc; }
.toc__list a {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.4rem 0;
  color: var(--fg);
  font-size: 0.9375rem;
  border-bottom: 1px dashed transparent;
}
.toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-active);
}
.toc__list a:hover { color: var(--accent-active); text-decoration: none; border-bottom-color: var(--accent); }

@media (max-width: 640px) {
  .toc__list { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------- Content typography -- */
.content { min-width: 0; }
.content > section + section { margin-top: clamp(2rem, 4vw, 3rem); }

.content h2 {
  position: relative;
  padding-inline-start: 1rem;
  margin-top: 0;
}
.content h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0.22em 0.28em;
  width: 4px;
  border-radius: 4px;
  background: var(--accent);
}
.content h3 { margin-top: 1.75rem; }
.content ul, .content ol { margin: 0 0 1.25rem; padding-inline-start: 1.35rem; }
.content li { margin-bottom: 0.45rem; }
.content li::marker { color: var(--accent); }
.content ol > li::marker { font-family: var(--font-display); font-weight: 700; }
.content strong { color: var(--ink); font-weight: 600; }

/* Figures inside an H2 block */
.figure { margin: 1.5rem 0; }
.figure picture { display: block; }
.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.figure figcaption { margin-top: 0.6rem; font-size: 0.8125rem; color: var(--muted); }

.media-link { display: block; border-radius: var(--radius); transition: box-shadow 0.18s ease, transform 0.18s ease; }
.media-link:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.media-link:hover img { border-color: var(--accent); }

/* ------------------------------------------------------------- Tables ---- */
.table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.table-scroll caption {
  caption-side: top;
  padding: 0.9rem 1.1rem;
  text-align: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.table-scroll th, .table-scroll td {
  padding: 0.75rem 1.1rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.table-scroll thead th {
  background: var(--accent-soft);
  color: var(--accent-active);
  font-family: var(--font-display);
  font-size: 0.875rem;
  white-space: nowrap;
}
.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody th { font-weight: 600; color: var(--ink); width: 42%; }
.table-scroll tbody tr:nth-child(even) { background: oklch(0.9850 0.0060 294.12); }
.table-scroll--cost tbody th { width: 55%; }
.table-scroll__note { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--muted); }

/* ------------------------------------------------------------- Callouts -- */
.callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid oklch(0.8850 0.0550 294.12);
  font-size: 0.9375rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout__title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-active);
}
.callout--note { background: var(--surface-2); border-color: var(--border); }
.callout--note .callout__title { color: var(--ink); }
.callout--warn { background: var(--warn-soft); border-color: oklch(0.9000 0.0600 80); }
.callout--warn .callout__title { color: oklch(0.4800 0.1200 60); }
.callout--ok { background: var(--success-soft); border-color: oklch(0.8900 0.0600 150); }
.callout--ok .callout__title { color: oklch(0.4300 0.1100 150); }

/* ---------------------------------------------------------------- Cards -- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
}
.card__title { margin-bottom: 0.4rem; font-size: 1.0625rem; }
.card p { font-size: 0.9375rem; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0 !important; 
  list-style: none;
}
.card-grid .card { height: 100%; }

.steps {
  counter-reset: step;
  margin: 1.5rem 0;
  padding: 0 !important;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}
.steps li {
  position: relative;
  counter-increment: step;
  padding: 1rem 1.1rem 1rem 1.1rem;
  padding-inline-start: 3.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 1rem;
  top: 1rem;
  width: 1.75rem; height: 1.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}
.steps strong { display: block; color: var(--ink); }

/* ------------------------------------------------------------ CTA block -- */
.cta-block {
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: var(--footer-fg);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
/* .cta-block__text { flex: 1 1 18rem; } */
.cta-block h3 { color: #fff; margin-bottom: 0.3rem; margin-top:0; }
.cta-block p { margin: 0; color: var(--footer-muted); font-size: 0.9375rem; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.cta-card {
  background: var(--accent-soft);
  border: 1px solid oklch(0.8850 0.0550 294.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.cta-card h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.cta-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.9rem; }
.cta-card .btn + .btn { margin-top: 0.5rem; }

/* --------------------------------------------------------------- Author -- */
.author {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.author__card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(1.1rem, 3vw, 1.75rem);
}
.author__avatar {
  display: block;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.author__role {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-active);
}
.author__name { margin-bottom: 0.35rem; }
.author__bio { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.author__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ FAQ -- */
.faq { padding-block: clamp(2rem, 4vw, 3rem); }
.faq__list { display: grid; gap: 0.75rem; margin: 0; padding: 0; max-width: 60rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-1); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--accent-soft); }
.faq__q::after {
  content: "+";
  margin-inline-start: auto;
  flex: none;
  width: 1.6rem; height: 1.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-active);
  font-size: 1.05rem;
  line-height: 1;
}
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 1.15rem 1.15rem; font-size: 0.9375rem; color: var(--fg); border-top: 1px solid var(--border); }
.faq__a p { padding-top: 0.9rem; }

/* --------------------------------------------------------------- Footer -- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding-block: clamp(2rem, 4vw, 3rem) 0;
}
.site-footer a { color: var(--footer-fg); }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer__col h3 {
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 0.9rem;
}
.footer__text { font-size: 0.875rem; color: var(--footer-muted); }
.footer__logo img { display: block; width: 150px; height: auto; margin-bottom: 0.85rem; }
.footer__list { margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.footer__list li { margin-bottom: 0.5rem; }
.footer__list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer__contact { font-size: 0.9375rem; }
.footer__contact dt { font-weight: 600; color: #fff; margin-top: 0.75rem; }
.footer__contact dd { margin: 0.1rem 0 0; color: var(--footer-muted);  }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.badge-row a { text-decoration: none; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-s);
  background: oklch(0.3800 0.0450 278.62);
  color: var(--footer-fg);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.badge-row a:hover .badge { background: #fff; border-color: #fff; color: var(--ink); }

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.age-mark {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  margin-top: 1rem;
  border: 2px solid var(--footer-fg);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.footer__bottom {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--footer-border);
  padding-block: 1.1rem 5.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}
.footer__bottom p { margin: 0; }

/* --------------------------------------------------- Sticky mobile CTA -- */
.cta-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.6rem;
  padding: 0.45rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom));
  background: oklch(1 0 0 / 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px oklch(0.3 0.05 278.62 / 0.12);
}
.cta-dock .btn {
  flex: 1 1 0;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------- Modal -- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: oklch(0.2500 0.0480 278.62 / 0.55);
}
.modal.is-open { display: flex; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 27rem;
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: clamp(1.25rem, 4vw, 1.9rem);
  box-shadow: var(--shadow-2);
  text-align: center;
}
.modal__logo { width: 132px; margin: 0 auto 0.9rem; display: block; }
.modal__title { font-size: 1.25rem; margin-bottom: 0.35rem; }
.modal__text { font-size: 0.9375rem; color: var(--muted); margin-bottom: 1.25rem; }
.modal__actions { display: grid; gap: 0.6rem; }
.modal__close {
  position: absolute;
  inset-inline-end: 0.75rem;
  top: 0.75rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { background: var(--accent-soft); color: var(--accent-active); }
.modal__note { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); }

/* ------------------------------------------------------------ Responsive -- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 0.2rem; }
  .main-nav a { padding-inline: 0.4rem; font-size: 0.875rem; }
}

@media (max-width: 1024px) {
  .header-actions .btn { display: none; }
  .main-nav { display: none; }
  .burger { display: inline-grid; place-items: center; margin-inline-start: auto; }
  .header-actions {
    margin-right: auto;
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media {
    justify-content: start;
    margin-top: 10px;
  }
  .hero__media img { max-height: 420px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cta-dock { display: flex; }
  .footer__bottom { padding-bottom: 6rem; }

  .topbar__inner {display: none;}
}

@media (max-width: 640px) {
  body { font-size: 0.9688rem; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .author__card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .author__meta { justify-content: center; }
  .cta-block { flex-direction: column; align-items: stretch; }
  .cta-block__actions .btn { flex: 1 1 100%; }
  .topbar__inner { justify-content: center; text-align: center; }

  .btn-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 10px 0 20px;
  justify-content: space-between;
}
.payment-item img {
  display: block;
  box-shadow: none;
  margin: 0 !important;
  border-radius: 0;
  border: none;
  max-width: 70px;
  max-height: 30px;
}
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
}
.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}
.footer-icons .pay-icon span {
  width: 30px;
  height: 30px;
  margin-left: 5px;
  font-size: 12px;
  border-radius: 100%;
  border: 1px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icons .pay-icon img {
  filter: brightness(100);
}
.main-title {
  display: flex;
  align-items: center;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}
@media (max-width:800px) {
  .payments-grid {
    gap: 16px;
  }
  .payment-item img {
    max-width: 65px;
    max-height: 30px;
  }

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

      .main-title .__right {
    margin-left: 20px;
    flex: 0 0 220px;
  }
}
@media (max-width:639.98px) {
      .main-title {
    flex-direction: column;
  }

  .main-title .__right {
    margin-left: 0;
    flex: inherit;
  }
  .main-title .__right img {
    width: 300px !important;
  }
}
