/* =====================================================================
   The XAUUSD Vault: components and page sections.
   Same component language as mlpblueprint.com (base, buttons, eyebrow,
   cards, accordion, header, footer), built on tokens.css + theme.css.
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: var(--tap);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--accent-line);
  color: var(--heading);
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: var(--z-overlay);
  padding: 12px 18px;
  background: var(--heading);
  color: var(--bg);
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: var(--fw-semibold);
}

.skip-link:focus {
  top: 16px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
}

.section {
  padding-block: var(--section-y);
}

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

.section--tight-top {
  padding-top: calc(var(--section-y) * 0.5);
}

/* ---------- Typography ---------- */
.h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.h4 {
  font-size: var(--fs-h4);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
}

.accent {
  color: var(--accent);
}

.caption {
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.footnote {
  max-width: 78ch;
  margin-top: var(--s-5);
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Marks content that still needs real data before launch */
.todo {
  padding: 1px 6px;
  border: 1px dashed var(--accent-line);
  color: var(--accent-text);
  font-size: 0.85em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-std),
    border-color var(--dur-base) var(--ease-std),
    color var(--dur-base) var(--ease-std);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn--sm {
  --btn-h: 44px;
  padding: 0 18px;
  font-size: var(--fs-small);
}

.btn--lg {
  --btn-h: 58px;
  padding: 0 28px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--heading);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost:hover svg {
  transform: translate(2px, 0);
}

.btn--ghost:hover svg:has(use[href="#i-arrow-down"]) {
  transform: translate(0, 2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .btn-row--stack-sm {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row--stack-sm .btn {
    white-space: normal;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-base) var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-overlay);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--heading);
  font-size: var(--fs-small);
  transform: translate(-50%, 0);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.toast[hidden] {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
}

/* =====================================================================
   Page sections
   ===================================================================== */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  text-decoration: none;
}

.brand .mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__name {
  display: grid;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__name span {
  color: var(--accent-text);
  font-size: 0.625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.brand__name strong {
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__name strong em {
  color: var(--accent-text);
  font-style: normal;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  list-style: none;
}

.nav__links a {
  padding-block: 8px;
  white-space: nowrap;
  color: var(--text);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: color var(--dur-base);
}

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

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

.nav__toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .mobile-menu {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--bg);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu__inner {
    display: grid;
    padding-block: 8px 24px;
  }

  .mobile-menu a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--heading);
    font-size: 1.0625rem;
    text-decoration: none;
  }

  .mobile-menu .btn {
    margin-top: 20px;
  }
}

@media (max-width: 720px) {
  .nav__actions .btn--primary {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 136px) clamp(56px, 8vw, 120px);
  overflow: clip;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--s-6);
  justify-items: start;
}

.kicker {
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.hero__title {
  max-width: 13ch;
  font-size: clamp(2.75rem, 1.1rem + 6.6vw, 6.25rem);
  font-weight: var(--fw-medium);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 46ch;
}

.hero__note {
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* The vault door sits half off the page and turns with the scroll */
.dial {
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(420px, 54vw, 840px);
  height: auto;
  max-width: none;
  transform: translate(47%, -50%);
  pointer-events: none;
}

.dial [data-dial-handle],
.dial [data-dial-ring] {
  transform-box: view-box;
  transform-origin: 60px 60px;
  will-change: transform;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 148px;
  }

  .dial {
    top: 0;
    width: 300px;
    transform: translate(46%, -42%);
  }

  .hero__title {
    max-width: 11ch;
  }
}

/* ---------- Video ---------- */
.video-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  aspect-ratio: 21 / 9;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 12.5%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 6.25% 100%,
    var(--surface);
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--dur-base);
}

.video-card:hover {
  border-color: var(--accent);
}

.video-card__play {
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 80px);
  height: clamp(56px, 6vw, 80px);
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.video-card__play svg {
  width: 36%;
  height: 36%;
  margin-left: 6%;
  fill: currentColor;
}

.video-card__text {
  display: grid;
  gap: 4px;
}

.video-card__title {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.video-card__meta {
  color: var(--muted);
  font-size: var(--fs-small);
}

.video-card.is-playing {
  aspect-ratio: 16 / 9;
  cursor: default;
}

.video-card iframe,
.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 560px) {
  .video-card {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-y);
}

.section--rule {
  padding-top: 0;
}

.section--rule > .container::before {
  content: "";
  display: block;
  grid-column: 1 / -1;
  height: 1px;
  margin-bottom: var(--section-y);
  background: var(--line);
}

/* Title left, content right. The title stays in view while its content scrolls. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.split__title {
  position: sticky;
  top: 112px;
  max-width: 16ch;
}

.split__sub {
  margin-top: var(--s-4);
  color: var(--muted);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-6);
  }

  .split__title {
    position: static;
    max-width: none;
  }
}

/* ---------- Track record ---------- */
.track-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.track-head__side {
  display: grid;
  gap: var(--s-3);
  justify-items: start;
  max-width: 58ch;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-4);
  color: var(--heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35c58a;
  animation: pulse 2.4s var(--ease-std) infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.ledger {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--line-strong);
}

.ledger > div {
  display: grid;
  gap: 10px;
  padding: 22px 20px 24px 0;
}

.ledger > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.ledger dt {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.ledger dd {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.equity {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  min-height: clamp(240px, 32vw, 400px);
  padding: 24px;
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 8.3333% 100%;
  text-align: center;
}

.equity__label {
  color: var(--heading);
  font-weight: var(--fw-medium);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  row-gap: var(--s-6);
  margin-top: clamp(48px, 6vw, 88px);
  list-style: none;
}

.proof li {
  display: grid;
  gap: 6px;
  align-content: start;
}

.proof strong {
  color: var(--heading);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.proof span {
  max-width: 26ch;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .track-head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-5);
  }

  .ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger > div,
  .ledger > div + div {
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .ledger > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }

  .ledger > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Safety band (the one drenched moment) ---------- */
.band {
  padding-block: clamp(72px, 10vw, 152px);
  background: var(--band-bg);
  color: var(--band-text);
}

.band__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: var(--s-5);
  align-items: end;
}

.band__label {
  grid-column: 1 / -1;
  color: var(--band-label);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.band__title {
  color: var(--band-heading);
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.5rem);
  font-weight: var(--fw-medium);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.band__text {
  padding-bottom: 0.4em;
  color: var(--band-text);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

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

/* ---------- Steps ---------- */
.steps {
  display: grid;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: clamp(64px, 9vw, 120px) minmax(0, 1fr);
  column-gap: var(--s-5);
  align-items: start;
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
  border-top: 0;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps__num {
  color: var(--accent);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.steps li > div {
  display: grid;
  gap: 8px;
  max-width: 52ch;
}

/* ---------- Terms (why, broker) ---------- */
.terms {
  display: grid;
  margin: 0;
}

.terms > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: var(--s-5);
  row-gap: 4px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.terms > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.terms > div:last-child {
  padding-bottom: 0;
}

.terms dt {
  color: var(--heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.terms dd {
  margin: 0;
}

.terms--tight > div {
  grid-template-columns: 124px minmax(0, 1fr);
  padding-block: 16px;
}

.terms--tight dt {
  color: var(--accent);
  font-size: var(--fs-small);
}

.terms--tight dd {
  font-size: var(--fs-small);
  line-height: 1.6;
}

@media (max-width: 560px) {
  .terms > div,
  .terms--tight > div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Profit split ---------- */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: var(--s-5);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.split-head__title {
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.5rem);
  font-weight: var(--fw-medium);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.split-head .lead {
  padding-bottom: 0.3em;
}

.split-bar {
  display: grid;
  grid-template-columns: 7fr 3fr;
  height: clamp(72px, 9vw, 120px);
}

.split-bar > div {
  display: flex;
  align-items: flex-end;
  padding: clamp(12px, 1.6vw, 20px);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.split-bar__you {
  background: var(--accent);
  color: var(--on-accent);
}

.split-bar__vault {
  border: 1px solid var(--accent-line);
  border-left: 0;
  color: var(--heading);
}

.hwm {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: var(--s-6);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}

.hwm__text {
  display: grid;
  gap: 12px;
  max-width: 44ch;
}

.hwm__table {
  display: grid;
  gap: 12px;
}

.hwm__table .footnote {
  margin-top: 0;
}

.table-scroll {
  overflow-x: auto;
  border-block: 1px solid var(--line-strong);
}

.table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.table th,
.table td {
  padding: 14px 0 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.table td,
.table thead th {
  font-variant-numeric: tabular-nums;
}

.table th:first-child {
  padding-left: 0;
  text-align: left;
}

.table thead th {
  color: var(--muted);
  font-weight: var(--fw-regular);
}

.table tbody th {
  color: var(--text);
  font-weight: var(--fw-regular);
}

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

.table .is-key th,
.table .is-key td {
  color: var(--accent);
  font-weight: var(--fw-medium);
}

@media (max-width: 860px) {
  .split-head,
  .hwm {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Results and risk ---------- */
.figures {
  display: grid;
  margin: 0;
}

.figures > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: var(--s-5);
  row-gap: 6px;
  padding-block: clamp(20px, 2.6vw, 32px);
  border-top: 1px solid var(--line);
}

.figures > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.figures dt {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: var(--fs-small);
}

.figures dd {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.6;
}

.figures dd strong {
  color: var(--heading);
}

.figures .figures__num {
  color: var(--heading);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.figures .figures__num.accent {
  color: var(--accent);
}

.levels__title {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-strong);
}

.levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s-5);
}

.levels > div {
  display: grid;
  gap: 6px;
  align-content: start;
  padding-right: var(--s-5);
}

.levels > div + div {
  padding-left: var(--s-5);
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.levels p {
  font-size: var(--fs-small);
  line-height: 1.6;
}

.levels .levels__x {
  margin-bottom: 6px;
  color: var(--heading);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

@media (max-width: 560px) {
  .figures > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .levels {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-5);
  }

  .levels > div + div {
    padding: var(--s-5) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Capital: bars grow with the account size ---------- */
.scale {
  display: grid;
  grid-template-columns: 3fr 4fr 5fr;
  align-items: end;
  column-gap: 12px;
  list-style: none;
}

.scale li {
  display: grid;
  gap: 4px;
  align-content: start;
}

.scale__bar {
  display: block;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid var(--accent-line);
  border-bottom-width: 0;
  box-shadow: inset 0 -1px 0 var(--line-strong);
}

.scale li:nth-child(2) .scale__bar {
  height: 84px;
}

.scale li.is-rec .scale__bar {
  height: 148px;
  border-color: var(--accent);
  background: var(--accent);
}

.scale__amount {
  color: var(--heading);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.scale li.is-rec .scale__amount {
  color: var(--accent);
}

.scale strong {
  color: var(--heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.scale li > span:last-child {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.why300 {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line-strong);
}

.why300 p {
  font-size: var(--fs-small);
  line-height: 1.65;
}

.why300 strong {
  color: var(--heading);
}

@media (max-width: 560px) {
  .scale {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-5);
  }

  .scale__bar,
  .scale li:nth-child(2) .scale__bar,
  .scale li.is-rec .scale__bar {
    height: 10px;
    margin-bottom: 10px;
    border-bottom-width: 1px;
    box-shadow: none;
  }

  .scale li:nth-child(1) .scale__bar {
    width: 30%;
  }

  .scale li:nth-child(2) .scale__bar {
    width: 50%;
  }
}

/* ---------- About and broker ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: var(--s-8);
  align-items: start;
}

.about::before {
  grid-column: 1 / -1;
}

.about__us {
  display: grid;
  gap: var(--s-5);
}

.about__broker {
  display: grid;
  gap: var(--s-4);
}

.about__broker-name {
  margin-bottom: var(--s-3);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  font-weight: var(--fw-medium);
  letter-spacing: -0.045em;
  line-height: 1;
}

.about__broker .footnote {
  margin-top: var(--s-2);
}

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

/* ---------- FAQ ---------- */
.accordion details {
  border-top: 1px solid var(--line);
}

.accordion details:first-child {
  border-top: 0;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  color: var(--heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  letter-spacing: -0.015em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-base);
}

.accordion details:first-child summary {
  padding-top: 0;
}

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

.accordion summary:hover {
  color: var(--accent);
}

.accordion summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform var(--dur-base) var(--ease-out);
}

.accordion details[open] summary svg {
  transform: rotate(45deg);
}

.accordion details > p {
  max-width: 60ch;
  padding-bottom: 24px;
}

/* ---------- Closing ---------- */
.closing {
  padding-block: clamp(72px, 10vw, 152px);
  border-top: 1px solid var(--line-strong);
}

.closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: var(--s-6);
  align-items: end;
}

.closing__title {
  max-width: 11ch;
  font-size: clamp(2.5rem, 1.2rem + 5.4vw, 5.5rem);
  font-weight: var(--fw-medium);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.closing__side {
  display: grid;
  gap: var(--s-5);
}

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

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-small);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: var(--fs-xs);
}

.footer__legal a {
  color: var(--text);
  text-underline-offset: 3px;
}

.footer__risk {
  max-width: 110ch;
  margin-top: 32px;
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.footer__risk strong {
  color: var(--text);
}

/* ---------- Booking bar on phones ---------- */
.book-bar {
  display: none;
}

@media (max-width: 720px) {
  .book-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--z-header);
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--bg);
    transform: translateY(110%);
    transition: transform var(--dur-base) var(--ease-out);
  }

  .book-bar.is-visible {
    transform: translateY(0);
  }

  .site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}
