/* ==========================================================================
   Arada Bet — review site stylesheet
   One stylesheet for all pages. Tokens are documented in brand-spec.md.
   Dark canvas (#101213), navy panels (#0A152E), gold accent (#DBA73E).
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */

:root {
  /* brand, from the brief */
  --gold: oklch(75.84% 0.1332 81.48);
  --blue: oklch(56.05% 0.1638 251.17);
  --navy: oklch(29% 0.1206 265.63);
  --deep: oklch(20.16% 0.0525 264.34);
  --white: oklch(100% 0 0);
  --ink: oklch(18.04% 0.0038 229.04);

  /* derived */
  --surface: oklch(21.5% 0.0046 229.04);
  --surface-2: oklch(23.16% 0.0473 264.34);
  --muted: oklch(74% 0.012 229.04);
  --border: oklch(30% 0.018 229.04);
  --border-navy: oklch(38% 0.06 265.63);
  --link: oklch(72% 0.1015 251.17);
  --gold-hover: oklch(81.84% 0.1332 81.48);
  --blue-hover: oklch(50% 0.1638 251.17);
  --gold-soft: oklch(29% 0.04 81.48);
  --danger: oklch(64% 0.17 25);

  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow-md: 0 12px 30px oklch(0% 0 0 / 0.45);

  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;

  --container: 1200px;
  --header-h: 4.5rem;
  --gutter: clamp(1rem, 3vw, 2rem);

  --font-display: "Sora", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ----------------------------------------------------------------- base -- */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-weight: 800; font-size: clamp(1.85rem, 1.05rem + 2.9vw, 3.15rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.15rem); }
h3 { font-weight: 600; font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem); }
h4 { font-weight: 600; font-size: 1.02rem; }

p { margin: 0; }
ul, ol { margin: 0; }

a { color: var(--link); }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible,
.author :focus-visible { outline-color: var(--gold); }

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

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: var(--ink); }

/* --------------------------------------------------------------- layout -- */

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

.section { padding-block: clamp(1.9rem, 4vw, 3rem); }
.section--navy {
  background: var(--deep);
  border-block: 1px solid var(--border);
  padding-left: 15px;
  padding-right: 15px;
}
/* Anchor targets must clear the sticky header, both when the link points at a
   section and when it points at the heading inside it. */
.section,
.section > *,
[id] { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.page-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* Body copy fills the same 1200px container as the header and the footer. */
.prose { min-width: 0; }

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--deep);
  border-bottom: 1px solid var(--border-navy);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.25rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-block: 0.4rem;
}
.brand img { width: 200px; height: auto; }

.primary-nav { margin-inline-start: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.65rem;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: oklch(100% 0 0 / 0.08);
  color: var(--gold);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.primary-nav a[aria-current="page"] {
  color: var(--gold);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.primary-nav a[aria-current="page"]:hover,
.primary-nav a[aria-current="page"]:focus-visible {
  background: oklch(100% 0 0 / 0.08);
  color: var(--gold-hover);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-inline-start: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-navy);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger:hover { border-color: var(--gold); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--deep);
    border-bottom: 1px solid var(--border-navy);
    box-shadow: var(--shadow-md);
    padding: 0.25rem var(--gutter) 1rem;
  }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a {
    min-height: 48px;
    padding-inline: 0.35rem;
    width: 100%;
    border-bottom: 1px solid var(--border-navy);
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
  }
  .primary-nav li:last-child a { border-bottom: 0; }
  body.nav-open .primary-nav { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------ sticky cta bar -- */

.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--deep);
  border-top: 1px solid var(--border-navy);
  box-shadow: 0 -10px 24px oklch(0% 0 0 / 0.5);
}
.mobile-cta .btn { flex: 1 1 0; min-height: 41px; }
.mobile-cta__note {
  flex: 0 0 100%;
  margin: 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  display: none;
}

@media (max-width: 1079px) {
  .mobile-cta { display: flex; flex-wrap: wrap; }
  body { padding-bottom: calc(3.8rem + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- modal -- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: oklch(18.04% 0.0038 229.04 / 0.72);
}
.modal[hidden] { display: none; }

.modal__panel {
  position: relative;
  width: min(30rem, 100%);
  background: var(--surface);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.modal__head {
  padding: 1.35rem 4.5rem 1.1rem 1.5rem;
  background: var(--navy);
  color: var(--white);
}
.modal__head h2 { color: var(--white); font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem); }
.modal__head p { margin-top: 0.35rem; color: var(--white); font-size: 0.94rem; line-height:1.2; }
.modal__body { padding: 1.3rem 1.5rem 1.5rem; }
.modal__body p { color: var(--white); font-size: 0.96rem; }
.modal__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.15rem;
}
@media (min-width: 480px) { .modal__actions { grid-template-columns: 1fr 1fr; } }

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid oklch(100% 0 0 / 0.4);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.modal__close:hover,
.modal__close:focus-visible { background: var(--blue-hover); border-color: var(--white); }

@media (max-width: 1079px) {
  .modal { place-items: end center; padding: 0; }
  .modal__panel { width: 100%; border-radius: var(--radius) var(--radius) 0 0; }

  .crumbs {
    padding: 6px 0 !important;
  }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-hover);
  border-color: var(--white);
  color: var(--ink);
}

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.btn-blue:hover,
.btn-blue:focus-visible {
  background: var(--blue-hover);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: oklch(100% 0 0 / 0.45);
  color: var(--white);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: oklch(100% 0 0 / 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* ------------------------------------------------------------ hero home -- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-bottom: 1px solid var(--border-navy);
  padding-block: clamp(2rem, 4.5vw, 3.6rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, oklch(75.84% 0.1332 81.48 / 0.16), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}
@media (min-width: 900px) {
  /* The hero asset is a portrait handset shot: let its column take the image
     width instead of stranding it in a half-page of empty space. */
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; }
}
.hero h1 { color: var(--white); }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: var(--pill);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__lead {
  margin-top: 1rem;
  max-width: 48ch;
  color: var(--white);
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.1rem);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero__facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero__facts li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}
.hero__figure { margin: 0; }
.hero__figure .media-link {
  display: block;
  width: fit-content;
  margin-inline: auto;
}
.hero__figure img {
  width: auto;
  max-height: 34rem;
  border: 1px solid var(--border-navy);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.hero__figure .media-link:hover img,
.hero__figure .media-link:focus-visible img {
  border-color: var(--gold);
  box-shadow: 0 18px 38px oklch(0% 0 0 / 0.55);
}
.hero__figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ------------------------------------------------------ hero inner page -- */

.page-hero {
  background: var(--deep);
  border-bottom: 1px solid var(--border-navy);
  padding-block: clamp(1.7rem, 3.4vw, 2.8rem);
}
.page-hero__grid { max-width: 62rem; }
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); }
.page-hero .page-hero__lead {
  margin-top: 0.9rem;
  max-width: 66ch;
  color: var(--white);
}
.page-hero .action-row { margin-top: 1.35rem; }
.page-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------- crumbs -- */

.crumbs { padding-block: 0.7rem; font-size: 0.88rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.crumbs li { display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before {
  content: "-";
  color: var(--muted);
}
.crumbs a { color: var(--link); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--muted); }

/* ------------------------------------------------------------------ toc -- */

.toc {
  margin-block: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.toc summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary:hover { background: oklch(100% 0 0 / 0.06); color: var(--gold); }
.toc summary::after {
  content: "";
  margin-inline-start: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.toc[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.toc[open] summary { border-bottom: 1px solid var(--border); }

.toc ol {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem 0.85rem;
  list-style: none;
  counter-reset: toc;
  list-style-type: none !important;
}
@media (min-width: 760px) { .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.toc li a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  min-height: 42px;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}
.toc li a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
}
.toc li a:hover,
.toc li a:focus-visible { background: oklch(100% 0 0 / 0.07); color: var(--gold); }

/* ---------------------------------------------------------------- prose -- */

.prose h2 {
  margin-top: clamp(1.9rem, 4vw, 2.6rem);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; color: var(--gold); }
.prose h4 { margin-top: 1.25rem; color: var(--white); }
.prose p { margin-top: 0.85rem; }
/* Full-container measure: keep the last line of every paragraph off a
   single stray word. */
.prose p,
.prose li,
.hero__lead,
.page-hero__lead { text-wrap: pretty; }
.prose strong { color: var(--white); }
.prose em { color: var(--muted); }

.prose ul,
.prose ol { margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.prose ul { padding-inline-start: 1.05rem; list-style: none; }
.prose ul > li { position: relative; padding-inline-start: 1.15rem; }
.prose ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 0.46rem;
  height: 0.46rem;
  background: var(--gold);
  border-radius: 2px;
}
.prose ol { padding-inline-start: 1.5rem; list-style: decimal; }
.prose ol > li::marker { color: var(--gold); font-weight: 700; }
.prose a:not(.btn) {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: oklch(72% 0.1015 251.17 / 0.5);
  text-underline-offset: 3px;
}
.prose a:not(.btn):hover { color: var(--gold); text-decoration-color: currentColor; }

.note {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.note strong { color: var(--gold); }

/* ------------------------------------------------------------- figures -- */

.media-link,
.media-link:hover,
.media-link:focus-visible { display: block; color: inherit; }

.shot { margin: 1.6rem 0 0; }
.shot .media-link { border-radius: var(--radius); }
.shot img {
  width: 100%;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.shot .media-link:hover img,
.shot .media-link:focus-visible img {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.shot figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.shot--portrait { max-width: 22rem; }

/* -------------------------------------------------------------- tables -- */

.table-scroll {
  margin-top: 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* The scroller is a query container so the caption can size itself to the
     visible width instead of the table width and stay readable while the
     reader scrolls the columns sideways. */
  container-type: inline-size;
  position: relative;
}
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table-scroll caption {
  caption-side: top;
  display: block;
  position: sticky;
  left: 0;
  padding: 0.85rem 1rem;
  background: var(--navy);
  border-bottom: 1px solid var(--border-navy);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: start;
  color: var(--white);
  width: 100%;
}
.table-scroll th,
.table-scroll td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: start;
  vertical-align: top;
  min-width: 200px;
}
.table-scroll thead th {
  background: var(--deep);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.table-scroll tbody th { color: var(--white); font-weight: 700;  }
.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:hover th,
.table-scroll tbody tr:hover td { background: var(--gold-soft); }
.table-scroll .num { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 700; }

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

.cards { display: grid; gap: 0.9rem; margin-top: 1.15rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3,
.card h4 { margin-bottom: 0.4rem; color: var(--white); }
.card p { font-size: 0.94rem; }
.card ul { margin-top: 0.6rem; padding-inline-start: 1rem; list-style: none; display: grid; gap: 0.35rem; }
.card ul > li { position: relative; padding-inline-start: 1.05rem; font-size: 0.93rem; }
.card ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------------------------------------------------------------- chips -- */

.chips { display: flex !important; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.1rem; padding: 0 !important; list-style: none; }
.chip {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  color: var(--white) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: max-content;
}
.chip--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ------------------------------------------------------------ author -- */

.author {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: var(--navy);
  border-radius: var(--radius);
}
.author__grid {
  display: grid;
  gap: 1.1rem;
  align-items: center;
}
@media (min-width: 720px) { .author__grid { grid-template-columns: auto minmax(0, 1fr); } }
.author__avatar {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--gold);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.author__role {
  margin: 0 !important;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.author__name {
  margin: 0.15rem 0 0 !important;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.author__meta { margin: 0.2rem 0 0 !important; color: var(--muted); font-size: 0.85rem; }
.author__bio { margin: 0.7rem 0 0 !important; max-width: 74ch; font-size: 0.95rem; color: var(--white); }

/* ----------------------------------------------------------------- faq -- */

.faq { display: grid; gap: 0.6rem; margin-top: 1.15rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  list-style: none;
  color: var(--white);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: oklch(100% 0 0 / 0.06); color: var(--gold); }
.faq summary::after {
  content: "+";
  margin-inline-start: auto;
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq__body { padding: 0.9rem 1.1rem 1.1rem; }
.faq__body p { font-size: 0.95rem; }
.faq__body p + p { margin-top: 0.6rem; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  margin-top: clamp(2.25rem, 5vw, 4rem);
  padding-top: clamp(1.9rem, 4vw, 3rem);
  background: var(--deep);
  border-top: 1px solid var(--border-navy);
  color: var(--white);
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 620px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; } }

.footer-col h3 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-brand__logo {
  display: inline-flex;
  align-items: center;
}
.footer-brand__logo img { width: auto; height: 2.25rem; }
.footer-text {
  margin-top: 0.9rem;
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.65;
}

.footer-links ul,
.footer-contact ul,
.footer-trust ul { padding: 0; list-style: none; display: grid; gap: 0.05rem; }

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); text-decoration: underline; }



.footer-block {
  margin-top: clamp(1.5rem, 3vw, 2.15rem);
  padding-top: clamp(1.35rem, 3vw, 1.9rem);
  border-top: 1px solid var(--border-navy);
}
.footer-block h3 {
  margin-bottom: 0.85rem;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom {
  margin-top: clamp(1.6rem, 3vw, 2.25rem);
  padding-block: 1.1rem;
  border-top: 1px solid var(--border-navy);
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  background: var(--white);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}
.age-badge img { width: 40px; height: 40px; flex: 0 0 auto; }
.age-badge span { max-width: 30ch; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding: 0;
  list-style: none;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--gold); text-decoration: underline; }

.copyright {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 1079px) {
  .action-row .btn { min-width: 45%; }

  .header-inner {
    min-height: 64px;
  }
}

@media (max-width: 599px) {
  .action-row .btn { width: calc(50% - 0.33rem); min-width: 0; }
  .author__avatar { width: 3.75rem; height: 3.75rem; font-size: 1.35rem; }
  .copyright { margin-inline-start: 0; }
  .hero__figure img { max-height: 26rem; }
}

@media (max-width: 420px) {
  .action-row .btn { width: 100%; }
}

@page { margin: 14mm; }

@media print {
  :root { --ink: #fff; --white: #000; --deep: #fff; --surface: #fff; --muted: #333; --border: #999; --border-navy: #999; --gold: #000; --gold-soft: #fff; }
  .site-header, .mobile-cta, .modal, .toc, .action-row { display: none !important; }
  body { background: #fff; font-size: 12pt; padding: 0; }
  .card, .table-scroll, .faq details, .author { break-inside: avoid; }
}

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


.payments-wrap {
  margin: 30px 0 30px;
}
.payments-wrap h4 {
  color: #fff;
  margin: 0 0 18px;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
  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;
  }
}