/* ==========================================================================
   1Win Online KG — review template
   Single stylesheet for every page. Dark utility system, left rail.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #161714;
  --bg-deep: #101110;
  --surface: oklch(23% 0.006 112);
  --surface-2: oklch(26.5% 0.007 112);
  --surface-3: oklch(31% 0.008 112);
  --fg: #f3f4ee;
  --fg-soft: #d9dbd2;
  --muted: oklch(73% 0.007 112);
  --border: oklch(34% 0.008 112);
  --border-strong: oklch(45% 0.012 112);
  --accent: #0477f9;
  --accent-strong: #0060da;
  --accent-hover: #0050b8;
  --accent-ink: #82b8ff;
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --success: #2fbf71;
  --warn: #f0b84b;

  --font-display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --font-body: "Golos Text", -apple-system, "Segoe UI", system-ui, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;

  --sidebar-w: 288px;
  --topbar-h: 62px;
  --container: 1040px;
  --gutter: clamp(18px, 2.4vw, 32px);

  --shadow-soft: 0 18px 40px -24px rgb(0 0 0 / 0.85);
  --shadow-shot: 0 30px 70px -34px rgb(0 0 0 / 0.95);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  letter-spacing: 0.001em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { height: auto; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }

button,
input,
summary { font: inherit; }

h1, h2, h3, h4 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }
li::marker { color: var(--accent-ink); }

strong { color: var(--fg); font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

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

[hidden] { display: none !important; }

.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;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--accent-strong);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip:focus { top: 12px; color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: var(--sidebar-w);
}

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

.main {
  flex: 1 0 auto;
  padding-block: clamp(22px, 2.6vw, 34px) clamp(48px, 6vw, 80px);
}

.page-body { max-width: 900px; }

/* 4. Sidebar --------------------------------------------------------------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 18px 20px;
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
  padding: 4px 2px;
}

.brand__logo {
  width: 86px;
  height: auto;
  flex: none;
}

.brand__meta {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border-strong);
  padding-left: 12px;
}

.rail-rating {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 14px 14px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}

.rail-rating__score {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.rail-rating__stars {
  align-self: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--warn);
}

.rail-rating__label {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}


.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.nav a:hover { background: var(--surface-2); color: var(--fg); }

.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--fg);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 38%, transparent);
}

.nav__dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--border-strong);
}

.nav a[aria-current="page"] .nav__dot { background: var(--accent); }

.rail-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.rail-cta__note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(6 7 6 / 0.66);
  backdrop-filter: blur(3px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

body.is-locked { overflow: hidden; }

/* 5. Topbar ---------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.topbar.is-stuck { border-bottom-color: var(--border); }

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.topbar__meta {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 10px;
  min-width: 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.topbar__meta b { color: var(--fg-soft); font-weight: 500; }

.topbar__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); flex: none; }

.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.topbar__brand { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  order: 2;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* 6. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent-strong);
  border-color: color-mix(in oklab, #fff 10%, var(--accent-strong));
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: color-mix(in oklab, #fff 14%, var(--accent-hover));
  color: #fff;
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--fg);
}

.btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--muted);
  color: var(--fg);
}

.btn--soft {
  background: var(--accent-soft);
  border-color: color-mix(in oklab, var(--accent) 45%, transparent);
  color: var(--fg);
}

.btn--soft:hover {
  background: color-mix(in oklab, var(--accent) 24%, transparent);
  border-color: var(--accent-ink);
  color: var(--fg);
}

.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn__icon {
  width: 16px;
  height: 16px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--accent-ink);
  border-bottom: 1px solid color-mix(in oklab, var(--accent-ink) 35%, transparent);
  padding-bottom: 2px;
}

.link-arrow:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* 7. Breadcrumbs ----------------------------------------------------------- */
.crumbs {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; }

.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }

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

.crumbs__sep { color: var(--border-strong); }

.crumbs [aria-current="page"] { color: var(--fg-soft); }

/* 8. Hero ------------------------------------------------------------------ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(24px, 3vw, 34px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}

.hero h1 {
  font-size: clamp(1.72rem, 1.15rem + 1.9vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.hero__lead {
  max-width: 46ch;
  color: var(--fg-soft);
  font-size: 1.02rem;
  line-height: 1.62;
}

.hero__rating {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
  font-size: 13px;
  color: var(--muted);
}

.hero__score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.hero__stars { color: var(--warn); letter-spacing: 0.16em; font-size: 13px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.hero__facts li { display: flex; align-items: center; gap: 7px; margin: 0; }

.hero__facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -14% -12% -18% -8%;
  z-index: -1;
  background: radial-gradient(60% 60% at 55% 45%, var(--accent-soft), transparent 72%);
  pointer-events: none;
}

.hero--page { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

/* Home hero: title block beside the vertical app screenshot */
.hero.hero--main {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
}

.hero.hero--main h1 { font-size: clamp(1.8rem, 1.15rem + 2vw, 2.65rem); }

.hero--main .hero__lead { max-width: 62ch; }

.hero--main .hero__facts { margin-top: 22px; }

.main-title {
  display: flex;
  align-items: center;
}

.main-title__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.main-title .__right {
  margin-left: 60px;
  flex: 0 0 240px;
}

.main-title .__right .shot { width: 100%; }

.shot {
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  max-width: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-shot);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.shot__dots { display: flex; gap: 4px; flex: none; }

.shot__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}

.shot__url {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shot img { width: 100%; height: auto; background: #000; }

.shot__link { display: block; }

.shot__link:hover img { filter: brightness(1.06); }

.shot--phone {
  border-radius: 20px;
  border-width: 2px;
  border-color: var(--surface-3);
  background: #000;
}

.shot--phone img { border-radius: 18px; }

.shot__cap {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* 9. Table of contents ----------------------------------------------------- */
.toc {
  margin: 0 0 clamp(28px, 3.6vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.toc__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.toc__summary::-webkit-details-marker { display: none; }

.toc__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.toc__hint { margin-left: auto; font-size: 12px; color: var(--muted); }

.toc__chev {
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--ease);
}

.toc[open] .toc__chev { transform: rotate(225deg) translateY(-1px); }

.toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0;
  padding: 2px 18px 16px;
  list-style: none;
}

.toc__list li { margin: 0; border-top: 1px solid var(--border); }

.toc__list a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 2px;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.toc__list a:hover { color: var(--accent-ink); }

.toc__list em { font-style: normal; font-size: 14px; line-height: 1.35; flex: none; }

/* 10. Article -------------------------------------------------------------- */
.article { max-width: 900px; }

.article h2 {
  margin: clamp(38px, 4.4vw, 54px) 0 14px;
  font-size: clamp(1.28rem, 1.02rem + 0.85vw, 1.62rem);
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}

.article h2:first-child { margin-top: 0; }

.article h3 {
  margin: 26px 0 10px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.005em;
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}

.article h2 + h3 { margin-top: 16px; }

.article p { color: var(--fg-soft); }

.article ul,
.article ol { color: var(--fg-soft); }

.article > .figure:first-of-type { margin-top: 26px; }

.figure {
  margin: 26px 0;
}

.figure__media {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
}

.figure__media img { width: 100%; height: auto; }

.figure figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 74ch;
}

.figure--wide .figure__media { border-radius: var(--r); }

.table-wrap {
  margin: 22px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.table-wrap caption {
  caption-side: top;
  padding: 13px 16px;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.table-wrap th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}

.table-wrap td { color: var(--fg-soft); }

.table-wrap td:first-child { color: var(--fg); font-weight: 500; }

.table-wrap tbody tr:last-child td { border-bottom: 0; }

.table-wrap .num { color: var(--fg); font-weight: 500; }
.table-wrap .ok { color: var(--success); }
.table-wrap .warn { color: var(--warn); }

.callout {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0;
  padding: 15px 17px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.callout p { margin: 0; color: inherit; }

.callout__icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  stroke: var(--accent-ink);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.callout strong { color: var(--fg); }

.checklist { list-style: none; padding: 0; }

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--accent-ink);
  border-bottom: 1.6px solid var(--accent-ink);
  transform: rotate(-45deg);
}

.steps { counter-reset: step; list-style: none; padding: 0; }

.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.stats li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3px;
}

.stats span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* 11. Bonus band, dock, modal --------------------------------------------- */
.bonus-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  margin: 34px 0;
  padding: 22px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--accent) 45%, transparent);
}

.bonus-band__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bonus-band p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 56ch; }

.bonus-band__actions { display: flex; flex-wrap: wrap; gap: 9px; }

.dock {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-deep) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-strong);
}

.dock__copy { min-width: 0; flex: 1 1 auto; }

.dock__copy b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock__copy span { display: block; font-size: 11px; color: var(--muted); }

.dock .btn { min-height: 44px; padding: 0 15px; font-size: 14.5px; flex: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgb(6 7 6 / 0.72);
  backdrop-filter: blur(4px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(440px, 100%);
  padding: 26px 24px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 40px 90px -40px #000;
  animation: modal-in 0.22s var(--ease);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .modal__panel { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover { background: var(--surface-3); color: var(--fg); }

.modal__title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
  padding-right: 34px;
}

.modal__text { font-size: 14.5px; line-height: 1.6; color: var(--fg-soft); }

.modal__list {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  color: var(--fg-soft);
}

.modal__list li { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.modal__list li:last-child { border-bottom: 0; }
.modal__list span { color: var(--muted); }

.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.modal__note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); text-align: center; }

/* 12. Author --------------------------------------------------------------- */
.author {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  margin: clamp(38px, 4.4vw, 52px) 0 34px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.author__avatar {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.author__eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.author__name {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.author__role { margin: 0 0 9px; font-size: 13px; color: var(--accent-ink); }

.author__bio { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: var(--fg-soft); max-width: 62ch; }

.author__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}

.author__meta li { margin: 0; }

/* 13. FAQ ------------------------------------------------------------------ */
.faq { margin-top: 8px; }

.faq h2 {
  margin-bottom: 16px;
  font-size: clamp(1.28rem, 1.02rem + 0.85vw, 1.62rem);
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 9px;
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fg);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
  color: var(--muted);
}

.faq__item[open] summary::after { content: "\2212"; color: var(--accent-ink); }

.faq__item summary:hover { background: var(--surface-2); }

.faq__body { padding: 0 17px 16px; }

.faq__body p { font-size: 14.5px; line-height: 1.65; color: var(--fg-soft); margin: 0; }

/* 14. Footer --------------------------------------------------------------- */
.footer {
  flex: none;
  padding: clamp(32px, 4vw, 48px) 0 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
  gap: 28px 28px;
}

.footer__brand img { width: 92px; height: auto; margin-bottom: 12px; }

.footer__text { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 36ch; }

.footer__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }

.footer__links li { margin: 0; }

.footer__links a {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
}

.footer__links a:hover { color: var(--fg); text-decoration: underline; }

.payments-wrap { margin: 30px 0; }

.payments-wrap .footer__title { margin-bottom: 18px; }

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
  justify-content: flex-start;
}

.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
}

.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__col--trust .footer-icons { margin-bottom: 18px; }

.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}

.footer-icons a.pay-icon {
  transition: transform 0.16s var(--ease);
}

.footer-icons a.pay-icon:hover { transform: translateY(-2px); }

.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); }

.footer__contact { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.footer__contact a { color: var(--fg-soft); text-decoration: none; }
.footer__contact a:hover { color: var(--accent-ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.footer__bottom p { margin: 0; }

.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.footer__bottom li { margin: 0; }
.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--fg); }

.age {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
}

/* 16. Nav list (flat nav>ul>li>a) ------------------------------------------ */
.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__label {
  margin: 14px 0 4px;
  padding-left: 10px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  list-style: none;
}

.nav__label:first-child { margin-top: 0; }

/* 17. Text-only hero ------------------------------------------------------- */
.hero--text { grid-template-columns: minmax(0, 1fr); }

.hero--text .hero__lead { max-width: 68ch; }

/* 18. Inline text trigger -------------------------------------------------- */
.link-more {
  flex: 1 1 100%;
  align-self: center;
  padding: 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12.5px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 32px;
}

.link-more:hover { color: var(--fg); }

/* 20. Text wrapping safety ------------------------------------------------- */
.article p,
.article li,
.article td,
.faq__body p,
.author__bio,
.hero__lead,
.footer__text { overflow-wrap: break-word; }

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

/* 21. Hero scale refinement ------------------------------------------------ */
.hero h1 {
  font-size: clamp(1.85rem, 1.15rem + 2.35vw, 3rem);
}

.hero--page h1 {
  font-size: clamp(1.62rem, 1.2rem + 1.25vw, 2.2rem);
  letter-spacing: -0.03em;
}

.hero--text .hero__lead { font-size: 1.04rem; }

.toc { margin-top: 0; }

@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; }

  .hero--main .main-title__copy { width: 100%; }

  .hero--main .main-title .__right {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    max-width: 300px;
  }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.68rem, 1.4rem + 1.6vw, 2.1rem); }
  .hero--page h1 { font-size: 1.55rem; }
}

/* 22. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__col--trust { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .shell { margin-left: 0; }

  .sidebar {
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.24s var(--ease), visibility 0.24s var(--ease);
    box-shadow: 24px 0 60px -30px #000;
    width: min(330px, 86vw);
  }

  .nav-open .sidebar { transform: none; visibility: visible; }

  .burger { display: block; }

  .topbar__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
  }

  .topbar__brand img { width: 62px; height: auto; }

  .topbar__meta { display: none; }
}

@media (max-width: 860px) {
  .hero,
  .hero--page { grid-template-columns: minmax(0, 1fr); gap: 26px; overflow: hidden; }

  .hero__lead { max-width: none; }

  .stats { grid-template-columns: 1fr; }

  .bonus-band { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@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: 760px) {
  body { font-size: 16px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  .main { padding-bottom: 40px; }

  .dock { display: flex; }

  .article h2 { margin-top: 36px; }

  .toc__list { grid-template-columns: 1fr; }

  .figure { margin: 22px 0; }

  .author { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .author__avatar { width: 48px; height: 48px; font-size: 15px; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .footer__bottom ul { margin-left: 0; }

  .modal { align-items: end; padding: 0; }

  .modal__panel {
    width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 24px 18px calc(18px + env(safe-area-inset-bottom));
  }

  .shot {
    margin: 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }

  .topbar__actions .btn--ghost { display: none; }

  .footer__bottom { font-size: 11px; }

  .table-wrap table { font-size: 14px; }
  .table-wrap th,
  .table-wrap td { padding: 10px 13px; }

  .dock__copy span { display: none; }
}

@media (max-width: 400px) {
  .hero__score { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}

/* 23. Drawer close button -------------------------------------------------- */
.rail-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 10px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rail-close:hover { background: var(--surface-3); color: var(--fg); }

@media (max-width: 1080px) {
  .rail-close { display: grid; }
  .sidebar { padding-top: 18px; }
}
