@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --fg: #111c2e;
  --fg-soft: #24344b;
  --muted: #5a6b80;
  --border: #e3e9f2;
  --border-strong: #cbd6e5;
  --brand: #08509d;
  --brand-deep: #063b75;
  --brand-ink: #04264a;
  --brand-soft: #eaf2fa;
  --accent: #ff4c00;
  --accent-hover: #e84300;
  --accent-ink: #b93a00;
  --accent-soft: #fff1ea;
  --ok: #0e7c5a;
  --ink-on-accent: #1a0b03;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(9, 30, 66, 0.04), 0 10px 24px -18px rgba(9, 30, 66, 0.35);
  --shadow-float: 0 14px 40px -14px rgba(4, 38, 74, 0.4);
  --wrap: 1200px;
  --header-h: 72px;
  --step: clamp(18px, 2.4vw, 26px);
}

*,
*::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.65;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

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

::selection { background: #cfe3f7; color: var(--brand-ink); }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--brand-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn--accent { background: var(--accent); color: var(--ink-on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: #120800; }
.btn--accent:focus-visible { outline-color: var(--brand-ink); }

.btn--blue { background: var(--brand); color: #fff; }
.btn--blue:hover { background: var(--brand-deep); color: #fff; }

.btn--ghost {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-color: var(--brand);
}

.btn--onblue {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--onblue:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
}
.btn--onblue:focus-visible { outline-color: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; padding: 16px 26px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; flex: none; }
.brand__plate {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  border-radius: 9px;
  padding: 10px 13px;
}
.brand__plate img { display: block; width: 122px; height: 24px; }
.brand:hover .brand__plate { background: var(--brand-deep); }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--fg-soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 44px;
  margin-left: auto;
  padding: 11px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--brand-ink);
  border-radius: 2px;
}

/* ---------- hero ---------- */
.hero { padding: 26px 0 6px; }

.hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background-color: var(--brand);
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: clamp(26px, 4.4vw, 52px);
  color: #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #ffd2c0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 3.7vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__lead {
  max-width: 46ch;
  margin-bottom: 24px;
  color: #dbe7f5;
  font-size: 17px;
  line-height: 1.62;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}
.hero__stats dt {
  color: #b9cde4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__stats dd {
  margin: 4px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__shot {
  display: block;
  width: min(100%, 280px);
  padding: 9px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 24px 48px -18px rgba(2, 18, 40, 0.65);
  text-decoration: none;
}
.hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.hero__shot:hover { transform: translateY(-2px); }
.hero__shot:focus-visible { outline-color: #fff; }
.hero__note {
  margin: 0;
  color: #c9d9ec;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

/* ---------- layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: clamp(28px, 3.4vw, 46px);
  align-items: start;
  padding-block: clamp(28px, 3.4vw, 44px) 8px;
}

.article { min-width: 0; }

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

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.side-card--brand { border-top: 3px solid var(--accent); }

.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.side-card__eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.side-card__title {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.side-card__sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 4px 8px;
  background: var(--accent-soft);
  border-radius: 6px;
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.rating span { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; }

.stars {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.14em;
  line-height: 1;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.fact-list span { color: var(--muted); font-weight: 600; }
.fact-list strong { font-weight: 800; font-size: 13.5px; text-align: right; }

.side-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.side-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--fg-soft);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}
.side-links a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.side-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.side-links a.is-active { color: var(--brand); background: var(--brand-soft); }
.side-links a.is-active::before { background: var(--accent); }

.chip-set { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--fg-soft);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.side-card__foot {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.safety {
  display: flex;
  align-items: center;
  gap: 12px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 2px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.safety p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* ---------- table of contents ---------- */
.toc {
  margin: 24px 0 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.toc > details > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--brand-ink);
}
.toc > details > summary::-webkit-details-marker { display: none; }
.toc > details > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.toc > details[open] > summary::before { content: "–"; }
.toc__hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  margin: 0;
  padding: 4px 14px 16px;
  list-style: none;
}
.toc__list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--fg-soft);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.toc__list a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.toc__list .toc__emoji { font-size: 15px; line-height: 1; }

/* ---------- prose ---------- */
.prose h2 {
  margin: 46px 0 16px;
  padding-top: 4px;
  font-size: clamp(22px, 2.5vw, 29px);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.prose h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  background: var(--brand);
  border-radius: 2px;
}
.prose h3 {
  margin: 26px 0 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose ol { counter-reset: none; }
.prose a { font-weight: 600; }

.prose figure { margin: 22px 0 26px; }
.prose figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
.prose figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.figure--portrait { max-width: 360px; margin-inline: auto; }

.note {
  margin: 22px 0;
  padding: 16px 20px 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.6;
}
.note__label {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 24px;
}
.split__col {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.split__col h3 { margin-top: 0; font-size: 16px; }
.split__col ul { margin-bottom: 0; font-size: 15px; }

/* ---------- tables ---------- */
.table-wrap {
  margin: 20px 0 26px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  min-width: 470px;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.table-wrap caption {
  padding: 13px 18px;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--border);
  color: var(--brand-ink);
  font-size: 13.5px;
  font-weight: 800;
  text-align: left;
}
.table-wrap th, .table-wrap td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-wrap thead th {
  background: #f4f8fc;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table-wrap tbody tr:last-child th,
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { font-weight: 700; color: var(--fg); }
.table-wrap tbody tr:nth-child(even) { background: #fbfdff; }

/* ---------- page head ---------- */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0 30px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { color: var(--border-strong); }
.crumbs [aria-current="page"] { color: var(--muted); }

.page-head h1 {
  max-width: 22ch;
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.14;
  margin-bottom: 12px;
}
.page-head__lead {
  max-width: 64ch;
  margin: 0;
  color: var(--fg-soft);
  font-size: 17.5px;
  line-height: 1.6;
}
.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.page-meta li { display: flex; align-items: center; gap: 7px; }
.page-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- faq ---------- */
.faq { margin-top: 10px; }
.faq__item {
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--fg);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.faq__item[open] > summary::after { content: "–"; }
.faq__item[open] > summary { color: var(--brand-deep); }
.faq__body { padding: 0 18px 16px; color: var(--fg-soft); font-size: 15.5px; }
.faq__body p { margin-bottom: 0.7em; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- author ---------- */
.author {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  margin: 40px 0 32px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.author__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.author__label {
  margin: 0 0 2px;
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.author__name {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}
.author__bio { margin: 0 0 8px; color: var(--fg-soft); font-size: 14.5px; line-height: 1.55; }
.author__meta { margin: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 40px;
  background: var(--brand-ink);
  color: #c9d6e6;
  font-size: 14px;
  line-height: 1.6;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 32px;
  padding-block: 44px 34px;
}
.footer__logo { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 8px; }
.footer__logo img { display: block; width: 148px; height: 29px; }
.footer__text { margin: 0 0 16px; color: #b8c8dc; font-size: 13.5px; }
.footer__title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d7e3f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
}
.footer__list a:hover { color: #fff; text-decoration: underline; }


.footer__age { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.age-badge--light { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.footer__age p { margin: 0; font-size: 11.5px; color: #a9bacd; line-height: 1.45; }

.footer__bottom {
  display: flex;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb2c8;
  font-size: 12px;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #c9d6e6; text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

.footer__disclaimer {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #b8c8dc;
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- mobile cta + modal ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -18px rgba(4, 38, 74, 0.5);
}
.mobile-cta .btn { min-height: 40px; font-size: 15px; padding: 4px 12px; }

.cta-modal {
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow-float);
}
.cta-modal::backdrop { background: rgba(4, 22, 44, 0.58); }
.cta-modal__inner { position: relative; padding: 26px 24px 24px; }
.cta-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cta-modal__close:hover { background: var(--brand-soft); color: var(--brand); border-color: var(--border-strong); }
.cta-modal__logo { width: 132px; height: auto; margin-bottom: 14px; }
.cta-modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}
.cta-modal p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.cta-modal__actions { display: grid; gap: 10px; }
.cta-modal__note { margin: 14px 0 0; color: var(--muted); font-size: 11.5px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav ul { gap: 0; }
  .nav a { padding: 9px 8px; font-size: 14px; }
  .header__inner { gap: 14px; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; order: 5; margin-left: 0; }
  .header__actions { order: 3; margin-left: auto; }
  .nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 59;
    margin: 0;
    padding: 10px 16px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 32px -28px rgba(4, 38, 74, 0.5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { display: flex; align-items: center; min-height: 46px; padding: 11px 12px; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .header__actions { margin-left: auto; }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card--brand { grid-column: 1 / -1; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { margin-top: 6px; }
  .hero__shot { width: min(100%, 280px); }
  .hero__lead { max-width: 60ch; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 60px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .hero { padding-top: 14px; }
  .hero__panel { border-radius: 16px; }
  .hero h1 { font-size: clamp(25px, 7vw, 32px); }
  .hero__lead { font-size: 16px; }
  .hero__stats { gap: 12px; margin-top: 24px; }
  .hero__stats dd { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .article__intro { font-size: 17px; }
  .toc__list { grid-template-columns: minmax(0, 1fr); padding-inline: 10px; }
  .prose h2 { margin-top: 36px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding-bottom: 24px; }
  .page-head h1 { max-width: none; }
  .page-head__actions .btn { flex: 1 1 100%; }
  .author { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .author__avatar { width: 56px; height: 56px; font-size: 18px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 34px 26px; }
  .footer__brand { grid-column: auto; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .header__inner {
    min-height: 64px;
  }
  .nav {
    top: 64px;
  }
}

@media (max-width: 430px) {
  .hero__panel {
    padding-left: 15px;
    padding-right: 15px;
  }
  .brand__plate { padding: 9px 10px; }
  .brand__plate img { width: 100px; height: 20px; }
  .header__actions .btn { padding: 10px 13px; font-size: 13.5px; }
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__stats dt { font-size: 10.5px; letter-spacing: 0.04em; }
  .hero__stats dd { font-size: 14px; }
  .hero__shot { width: min(100%, 260px); }
  .btn { padding: 13px 18px; }
  .table-wrap table { min-width: 452px; }
  .table-wrap th, .table-wrap td { padding-inline: 12px; }
  .table-wrap caption { padding-inline: 12px; }

  .author {
    display: block;
  }
  .author__avatar {
    margin-bottom: 10px;
  }
}

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

.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }

/* Footer trust marks and payment methods */
.payments-wrap { margin: 30px 0 0; }
.payments-wrap h4 { color: #fff; margin: 0 0 18px; }
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 20px 0 0;
  justify-content: flex-start;
}
.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 38px;
  /* background: #fff; */
}
.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;
  margin-bottom: 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); }
.footer-icons .pay-icon:first-child { min-height: 44px; }
@media (max-width: 800px) {
  .payments-grid { gap: 12px; }
  .payment-item img { max-width: 65px; max-height: 30px; }
}
