/* lebandit7.org - editorial rebuild (2026) */
:root {
  --bg: #17171b;
  --bg-deep: #121216;
  --surface: #231820;
  --surface-2: #2d1f28;
  --wine: #3d2430;
  --gold: #c9a962;
  --gold-light: #e0c989;
  --gold-dim: #8f7344;
  --text: #f5f0e8;
  --muted: #c4b8ab;
  --muted-soft: #a89f94;
  --border: rgba(201, 169, 98, 0.22);
  --radius-sm: 2px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --max: 1320px;
  --header-h: 4rem;
  --section-pad-y: clamp(3rem, 6.5vw, 7rem);
  --section-pad-y-md: clamp(2.75rem, 5vw, 5rem);
  --section-pad-y-sm: clamp(3rem, 8vw, 4rem);
  --container-inline: 24px;
  --border-soft: rgba(201, 169, 98, 0.2);
}

@media (min-width: 640px) {
  :root {
    --container-inline: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-inline: 48px;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:visited {
  color: var(--gold-dim);
}

a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

h1,
h2,
h3,
.page-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.wrap {
  width: min(calc(100% - var(--container-inline) * 2), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
}

.site-header > .wrap {
  padding-block: 0.875rem;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  min-height: calc(var(--header-h) - 1.75rem);
  column-gap: 1.25rem;
}

.header-brand {
  justify-self: start;
  align-self: center;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.header-brand:hover {
  color: var(--gold-light);
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 2.2vw, 2.25rem);
}

.site-nav a {
  font-size: 0.875rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0 0.45rem;
  border-bottom: 2px solid transparent;
  transition: color 0.12s ease, border-color 0.12s ease;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.site-nav a[aria-current="page"] {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.header-actions {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 2.75rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(201, 169, 98, 0.38);
  background: rgba(18, 18, 22, 0.6);
  color: var(--text);
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch-btn:hover {
  border-color: var(--gold-dim);
  color: var(--gold-light);
}

.lang-switch-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  min-width: 9.5rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 3px;
  z-index: 120;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.lang-switch.is-open .lang-switch-menu {
  display: block;
}

.lang-switch-menu a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.lang-switch-menu a:hover,
.lang-switch-menu a:focus-visible {
  color: var(--gold-light);
  background: rgba(201, 169, 98, 0.08);
}

.lang-switch-menu a[aria-current="true"] {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    row-gap: 0;
  }

  .header-brand {
    grid-area: brand;
  }

  .header-actions {
    grid-area: actions;
  }

  .site-nav {
    grid-area: nav;
    justify-self: stretch;
    display: none;
    padding: 0.65rem 0 0.85rem;
    border-top: 1px solid rgba(201, 169, 98, 0.12);
    margin-top: 0.35rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.45rem 0;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.site-header-minimal .header-inner {
  display: flex;
  justify-content: center;
  grid-template-columns: unset;
}

/* Hero editorial split */
.hero-editorial {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg) 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.hero-copy h1 {
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-cta {
  margin-top: 0;
}

.hero-cta .btn-hero-play {
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.hero-cta .btn-hero-play:hover,
.hero-cta .btn-hero-play:focus-visible {
  background: var(--surface-2);
  color: var(--gold-light);
  border-color: var(--gold-light);
  outline: 2px solid rgba(201, 169, 98, 0.45);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--wine);
  color: var(--text);
  border-color: var(--gold-dim);
}

.btn-primary:hover {
  background: var(--surface-2);
  color: var(--gold-light);
}

.hero-art {
  position: relative;
  min-height: 220px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-sm);
}

.hero-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-frame img {
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .hero-art::before {
    background: linear-gradient(180deg, transparent 60%, var(--surface) 100%);
  }

  .hero-cta .btn-hero-play {
    width: 100%;
    max-width: 22rem;
  }
}

/* Quick facts */
.fact-strip {
  padding: 1.35rem 0 1.5rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.fact-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 0;
}

.fact-cell {
  text-align: center;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(35, 24, 32, 0.5);
}

.fact-cell dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.fact-cell dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .fact-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .fact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sections */
.section {
  padding: var(--section-pad-y-sm) 0;
  border-top: 1px solid rgba(201, 169, 98, 0.1);
  border-bottom: 1px solid rgba(201, 169, 98, 0.06);
}

@media (min-width: 640px) {
  .section {
    padding: var(--section-pad-y-md) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--section-pad-y) 0;
  }
}

.section-compact {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

.section-faq-tight {
  padding: var(--section-pad-y-sm) 0;
}

@media (min-width: 640px) {
  .section-faq-tight {
    padding: var(--section-pad-y-md) 0;
  }
}

@media (min-width: 1024px) {
  .section-faq-tight:not(.section-faq-home) {
    padding: clamp(4.5rem, 5.5vw, 6.5rem) 0;
  }

  .section-faq-tight.section-faq-home {
    padding-top: clamp(3rem, 4vw, 4rem);
    padding-bottom: clamp(2.75rem, 3.2vw, 3.5rem);
  }
}

.section-faq-tight .section-title {
  margin-bottom: 1.25rem;
}

.section-alt {
  background: var(--surface);
}

.section-wine {
  background: #2a1822;
}

.section-title {
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

/* Verdict module */
.verdict-panel {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(35, 24, 32, 0.45);
  border-radius: var(--radius-sm);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem);
}

.verdict-box {
  border: none;
  border-left: 3px solid var(--gold);
  padding: 0 0 0 1.25rem;
  background: transparent;
  max-width: 48rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--radius-sm);
}

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem 1.25rem;
  align-items: stretch;
}

.compare-card {
  border: 1px solid var(--border);
  padding: 1rem 1.15rem 1.1rem;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.compare-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.compare-vs {
  align-self: center;
  justify-self: center;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--muted-soft);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  padding: 0 0.15rem;
}

.compare-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.compare-footnote {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.compare-card li {
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-vs {
    text-align: center;
  }
}

/* Spec split */
.spec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.spec-table-wrap {
  min-width: 0;
}

.spec-table-wrap .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table-wrap .data-table caption {
  text-align: left;
  font-family: var(--font-serif);
  margin: 0 0 0.65rem;
  padding: 0;
  caption-side: top;
  color: var(--gold-light);
}

.spec-table-wrap .data-table tbody tr {
  display: grid;
  grid-template-columns: minmax(150px, 40%) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 28px);
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.spec-table-wrap .data-table th,
.spec-table-wrap .data-table td {
  padding: 0;
  border: none;
  text-align: left;
  vertical-align: top;
  min-width: 0;
}

.spec-table-wrap .data-table th {
  font-weight: 500;
  color: var(--muted-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-table-wrap .data-table td {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.spec-table-wrap .data-table td.spec-value-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-variant-numeric: normal;
}

.spec-table-wrap .data-table .spec-value-line {
  display: block;
  line-height: 1.45;
}

/* Legacy data-table (non-homepage) */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table.data-table th,
table.data-table td {
  padding: 0.42rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

@media (max-width: 768px) {
  .spec-split {
    grid-template-columns: 1fr;
  }

  .spec-table-wrap .data-table tbody tr {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
    padding: 13px 0;
  }
}

/* Feature cards numbered */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
}

.feature-card {
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  background: rgba(23, 23, 27, 0.6);
  border-radius: var(--radius-sm);
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.feature-card h3 {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

/* Hold & Win flow (homepage) */
.section.section-holdwin-home {
  padding-top: clamp(4rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 4vw, 4rem);
}

.section-holdwin-home .holdwin-section-inner {
  width: min(calc(100% - 48px), 1056px);
  margin-inline: auto;
  text-align: left;
}

.section-holdwin-home .holdwin-section-inner .section-title {
  margin: 0 0 1.5rem;
  max-width: none;
}

.section-holdwin-home .holdwin-section-inner .meta-line {
  margin: 0;
}

.holdwin-flows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  width: 100%;
}

.holdwin-flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.holdwin-step {
  min-height: 56px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.35;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  color: var(--text);
  min-width: 0;
}

.holdwin-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  line-height: 1;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 600;
}

.hw-flow-note {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  width: 100%;
  max-width: none;
}

.hw-flow-note p {
  margin: 0 0 1.0625rem;
  max-width: none;
  width: 100%;
  text-align: left;
}

.hw-flow-note p.hw-flow-link {
  margin-top: 1.1875rem;
  margin-bottom: 0;
}

.hw-flow-link a {
  font-weight: 500;
}

@media (max-width: 768px) {
  .section-holdwin-home .holdwin-section-inner {
    width: min(100%, calc(100% - 32px));
  }

  .holdwin-flow-row {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
    justify-items: stretch;
  }

  .holdwin-step {
    min-height: 0;
    width: 100%;
    max-width: none;
  }

  .holdwin-arrow {
    width: 100%;
    transform: rotate(90deg);
    padding: 0.15rem 0;
  }
}

/* Legacy flow (internal pages) */
.flow-map {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.flow-step {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.flow-arrow {
  color: var(--gold-dim);
  user-select: none;
}

.flow-sub {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Strengths split */
.pros-cons,
.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.editorial-col h3 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.editorial-row {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.editorial-row:last-child {
  border-bottom: none;
}

.pros-cons ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pros-cons li {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* KPI row */
.math-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(18, 18, 22, 0.5);
}

.math-block .kpi-row {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.math-block .data-table {
  margin: 0;
}

.math-block .data-table caption {
  padding: 0.85rem 0.75rem 0.65rem;
  caption-side: top;
  text-align: left;
  font-weight: 500;
  color: var(--muted);
}

.math-block .data-table tbody tr:first-child td,
.math-block .data-table tbody tr:first-child th {
  font-weight: 500;
}

.kpi-value,
.data-table .num,
.math-block .kpi-value {
  font-variant-numeric: tabular-nums;
}

.math-block .data-table th,
.math-block .data-table td {
  border-bottom-color: rgba(201, 169, 98, 0.12);
}

.math-follow {
  margin-top: 1rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.kpi {
  border: none;
  border-right: 1px solid var(--border);
  padding: 0.55rem 0.5rem 0.6rem;
  text-align: center;
  background: transparent;
  border-radius: 0;
}

.kpi:last-child {
  border-right: none;
}

.kpi-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
  margin-bottom: 0.35rem;
}

.kpi-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 1.02rem;
}

@media (max-width: 900px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .kpi:nth-child(2n) {
    border-right: none;
  }

  .kpi:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* Content hub */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.hub-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  text-decoration: none;
  background: rgba(35, 24, 32, 0.35);
  border-radius: var(--radius-sm);
  min-height: 5.25rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hub-link-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.hub-link strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.hub-arrow {
  color: var(--gold-dim);
  font-size: 1.1rem;
  line-height: 1.2;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hub-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.hub-link:hover,
.hub-link:focus-visible {
  background: rgba(45, 31, 40, 0.85);
  border-color: var(--gold-dim);
}

.hub-link:hover strong,
.hub-link:focus-visible strong {
  color: var(--gold-light);
}

.hub-link:hover .hub-arrow,
.hub-link:focus-visible .hub-arrow {
  color: var(--gold-light);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.section-faq-home .faq-section-inner {
  max-width: 880px;
  width: calc(100% - 40px);
  margin-inline: auto;
}

.section-faq-home .section-title {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.125rem;
  text-align: left;
}

.section-faq-home .faq-list-centered {
  max-width: none;
  width: 100%;
  margin: 0;
}

.faq-list {
  max-width: 40rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.section-faq-home .faq-item summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  padding: 1.125rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  list-style: none;
  transition: color 0.12s ease;
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  transition: color 0.12s ease;
}

.section-faq-home .faq-item summary:hover,
.section-faq-home .faq-item[open] summary {
  color: var(--gold-light);
}

.faq-item summary:hover {
  color: var(--gold-light);
}

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

.section-faq-home .faq-item summary::after {
  content: "+";
  grid-column: 2;
  justify-self: end;
  width: 1.35rem;
  text-align: center;
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.section-faq-home .faq-item .faq-a {
  padding: 0.25rem 1.75rem 1.125rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.math-rtp-note {
  max-width: 40rem;
  margin: 1.15rem 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.math-follow {
  margin: 0;
  font-size: 0.9375rem;
}

.faq-item .faq-a {
  padding: 0.35rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .section-faq-home .faq-section-inner {
    width: calc(100% - 32px);
  }

  .section-faq-home .faq-item summary {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .section-faq-home .faq-item .faq-a {
    padding-right: 0;
  }
}

.meta-line {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer - centered compact stack */
.site-footer {
  margin-top: 0;
  background: #0f0f12;
  border-top: 1px solid rgba(143, 115, 68, 0.28);
  padding: 30px 0 22px;
}

.site-footer-minimal {
  padding: 26px 0 22px;
}

.footer-inner {
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-age-badge {
  width: 44px;
  height: 44px;
  margin: 0 0 15px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.58);
  background: var(--wine);
  color: #f0e6d4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(61, 36, 48, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 1.35rem;
  margin: 0 0 11px;
  max-width: 100%;
}

.footer-legal-row a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #e6dfd3;
  text-decoration: none;
}

.footer-legal-row a:hover,
.footer-legal-row a:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-link-sep {
  color: rgba(201, 169, 98, 0.45);
  font-size: 0.875rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.footer-rg-line {
  margin: 0 0 8px;
  max-width: 760px;
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #c9bfb2;
}

.footer-editorial {
  margin: 0 0 19px;
  max-width: 760px;
  width: 100%;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.footer-divider {
  width: 100%;
  max-width: 760px;
  height: 1px;
  margin: 0 0 14px;
  border: 0;
  background: rgba(201, 169, 98, 0.18);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #a89f94;
}

.hub-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 26px 18px 22px;
  }

  .footer-age-badge {
    margin-bottom: 14px;
  }

  .footer-legal-row {
    gap: 10px 16px;
    margin-bottom: 10px;
  }

  .footer-link-sep {
    display: none;
  }

  .footer-rg-line,
  .footer-editorial {
    max-width: 100%;
  }

  .footer-editorial {
    margin-bottom: 18px;
  }

  .footer-divider {
    max-width: 100%;
    margin-bottom: 12px;
  }

  .footer-legal-row a {
    font-size: 14px;
  }

  .footer-rg-line,
  .footer-editorial {
    font-size: 13px;
  }
}

/* Internal page layouts */
.page-hero-compact {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 2.75rem;
  border-left: 1px solid var(--border);
  margin-left: 0.85rem;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.65rem;
  height: 1.65rem;
  line-height: 1.65rem;
  text-align: center;
  font-size: 0.8rem;
  background: var(--wine);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold-light);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ref-tile {
  border: 1px solid var(--border);
  padding: 1rem;
  background: var(--bg-deep);
  border-radius: var(--radius-sm);
}

@media (max-width: 640px) {
  .ref-grid {
    grid-template-columns: 1fr;
  }
}

.legal-page main {
  padding: 2rem 0 3rem;
}

.legal-page h1 {
  font-size: 2rem;
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 3rem 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* Root language hub */
.root-hub {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.root-hub-inner {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}

.root-subtitle {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

.root-lead {
  margin: 1rem 0 1.5rem;
  opacity: 0.9;
}

.root-lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.root-lang-list a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.root-lang-list a:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}
