:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;

  /* Orange Vision — dégradé exact du visuel : #FF9701 (haut) → #FF5E01 (bas) */
  --or1: #ff9701;
  --or2: #ff5e01;
  --grad: linear-gradient(180deg, #ff9701 0%, #ff5e01 100%);
  --on-or: #1d0e00;

  --bg: #0c0c0e;
  --surface: #151518;
  --ink: #ffffff;
  --text: #cfcfd6;
  --muted: #94949e;
  --line: #26262c;
  --line-strong: #3b3b44;
  --a-ink: #ff8a1f;
  --a-soft: rgba(255,79,154, .11);

  --ban-fg: #ffa0a0;  --ban-bg: #3b1618;
  --must-fg: #a3c2ff; --must-bg: #15254a;
  --cond-fg: #ffe07a; --cond-bg: #3a300b;
  --info-fg: #cbcbd3; --info-bg: #28282e;

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f6; --surface: #ffffff; --ink: #141416; --text: #3a3a42; --muted: #666672;
  --line: #e0e0e5; --line-strong: #c4c4cc; --a-ink: #c2185b; --a-soft: rgba(255, 94, 1, .09);
  --ban-fg: #a61b1b;  --ban-bg: #fde8e8;
  --must-fg: #1d4ed8; --must-bg: #e6eeff;
  --cond-fg: #7a5200; --cond-bg: #fff1c2;
  --info-fg: #4b5563; --info-bg: #eaecef;
}

*, *::before, *::after { box-sizing: inherit; }
html { background: var(--bg); scroll-padding-top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--or1); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); margin: 0; }
svg.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Titre "GRAS + léger", comme le visuel Vision */
.duo b { font-weight: 800; }
.duo span { font-weight: 300; }

/* ——— Barre du haut ——— */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(12,12,14,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
:root[data-theme="light"] .bar { background: rgba(245,245,246,.94); }
.bar-in { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; color: var(--ink); }
.brand img { height: 34px; width: auto; display: block; }
:root[data-theme="light"] .brand img { filter: brightness(.3); }
.tabs { display: flex; gap: 8px; margin-left: auto; }
.tab { padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line-strong); font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.tab:hover { border-color: var(--or1); }
.tab[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.theme { position: relative; flex: none; width: 68px; height: 36px; padding: 0; border-radius: 999px; border: 1px solid var(--line-strong); background: #2a2a31; transition: background .3s, border-color .3s; }
.theme:hover { border-color: var(--or1); }
.theme .tic { position: absolute; top: 50%; margin-top: -7.5px; font-size: 15px; color: #fff; opacity: .55; }
.theme .tic-moon { left: 10px; }
.theme .tic-sun { right: 10px; }
.theme .knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); display: grid; place-items: center; transition: transform .38s cubic-bezier(.4, .1, .2, 1.15); }
.theme .knob svg { grid-area: 1 / 1; font-size: 16px; transition: opacity .2s, transform .38s; }
.theme .k-moon { color: #1d0e00; }
.theme .k-sun { color: #ff4f9a; }
.theme[data-dark="true"] .k-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme[data-dark="false"] { background: var(--grad); border-color: transparent; }
.theme[data-dark="false"] .knob { transform: translateX(32px); }
.theme[data-dark="false"] .k-moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.tabs[hidden] + .theme { margin-left: auto; }

/* ——— Bandeaux orange ——— */
.hero, .band { background: var(--grad); color: var(--on-or); position: relative; overflow: hidden; }
.hero h1, .band h1 { color: #fff; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; }
.hero p, .band p { color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(120,20,70,.4); }
.hero h1, .band h1 { text-shadow: 0 2px 14px rgba(120,20,70,.22); }
.hero { text-align: center; }
.hero .wrap { padding-top: 56px; padding-bottom: 60px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: clamp(84px, 14vw, 132px); width: auto; margin-bottom: 22px; transform-origin: center; filter: drop-shadow(0 8px 20px rgba(120,20,70,.28)); animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes breathe-w { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .hero-logo, .band-logo { animation: none !important; } }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 4.2rem); }
.hero p { margin: 18px 0 0; max-width: 34rem; font-size: 1.1rem; line-height: 1.6; }

.band .wrap { padding-top: 46px; padding-bottom: 42px; position: relative; z-index: 1; }
.band h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); }
.band p { margin: 14px 0 0; max-width: 36rem; font-size: 1.05rem; line-height: 1.6; }
.band-logo { position: absolute; right: max(4%, calc(50% - 540px)); top: 50%; transform: translateY(-50%); height: 200%; opacity: .16; pointer-events: none; animation: breathe-w 6s ease-in-out infinite; }

/* ——— Accueil : choix de faction ——— */
.home { padding-top: 52px; padding-bottom: 64px; }
.home h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; letter-spacing: -.01em; }
.home .lead { margin: 10px 0 0; max-width: 38rem; color: var(--text); }
.picks { margin-top: 30px; border-bottom: 1px solid var(--line-strong); }
.pick { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; align-items: center; gap: 6px 32px; padding: 30px 26px 30px 36px; border-top: 1px solid var(--line-strong); transition: background-color .15s, color .15s; }
.pick::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--grad); }
.pick-name { font-weight: 800; font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.pick-desc { font-size: 1rem; line-height: 1.55; }
.pick-desc b { color: var(--ink); font-weight: 700; }
.pick svg.i { font-size: 1.7rem; color: var(--or1); transition: transform .15s; }
.pick:hover, .pick:focus-visible { background: var(--grad); color: var(--on-or); outline-offset: -3px; }
.pick:hover .pick-name, .pick:hover .pick-desc b, .pick:hover svg.i,
.pick:focus-visible .pick-name, .pick:focus-visible .pick-desc b, .pick:focus-visible svg.i { color: var(--on-or); }
.pick:hover::before { background: var(--on-or); }
.pick:hover svg.i { transform: translateX(4px); }
.all-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 4px; font-weight: 700; color: var(--ink); }
.all-link span { font-weight: 400; color: var(--muted); }
.all-link:hover { color: var(--or1); }
.accept { margin: 20px 0 0; color: var(--muted); font-size: .95rem; max-width: 40rem; }

/* ——— Lecture ——— */
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: 36px; padding-bottom: 80px; }
.toc { position: sticky; top: calc(var(--bar-h, 68px) + env(safe-area-inset-top, 0px) + 24px); align-self: start; max-height: calc(100vh - var(--bar-h, 68px) - 48px); overflow: auto; }
.toc h2 { font-size: .95rem; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 3px solid var(--line); font-size: .92rem; line-height: 1.4; color: var(--text); }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.toc a.on { border-left-color: var(--or1); color: var(--ink); font-weight: 700; }
.main { max-width: 44rem; min-width: 0; }
.jump { display: none; width: 100%; margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line-strong); background: var(--surface); }

.tools { margin-bottom: 8px; }
.search { position: relative; }
.search svg.i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--muted); }
.search input { width: 100%; height: 52px; padding: 0 16px 0 48px; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface); font-size: 1rem; }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline-offset: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 9px; border-radius: 999px; font: 700 .8rem/1.6 var(--font); background: var(--c-bg); color: var(--c-fg); white-space: nowrap; border: 0; }
.chip svg.i { font-size: 1rem; }
.t-ban  { --c-fg: var(--ban-fg);  --c-bg: var(--ban-bg); }
.t-must { --c-fg: var(--must-fg); --c-bg: var(--must-bg); }
.t-cond { --c-fg: var(--cond-fg); --c-bg: var(--cond-bg); }
.t-info { --c-fg: var(--info-fg); --c-bg: var(--info-bg); }
.t-all  { --c-fg: var(--ink);     --c-bg: var(--line); }
button.chip { padding: 8px 14px 8px 12px; font-size: .88rem; box-shadow: inset 0 0 0 2px transparent; }
button.chip:hover, button.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c-fg); }
.count { margin: 14px 0 0; font-size: .95rem; color: var(--muted); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.count button { background: none; border: 0; padding: 0; color: var(--a-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.section-title { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; margin: 44px 0 10px; text-transform: uppercase; letter-spacing: .02em; }
.section-title .l { font-weight: 300; }
.notice { margin: 0 0 6px; }
.focus { margin: 20px 0 8px; padding: 20px 22px; background: var(--a-soft); border-left: 5px solid var(--or1); border-radius: 0 12px 12px 0; }
.focus h3 { font-size: 1.05rem; margin-bottom: 6px; }
.focus ul { list-style: none; margin: 0; padding: 0; }
.focus li + li { border-top: 1px solid rgba(255,95,168,.28); }
.focus a { display: block; padding: 12px 0; font-size: .98rem; }
.focus a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.focus strong { color: var(--ink); }
.focus .n { color: var(--a-ink); font-weight: 800; margin-right: 6px; }

/* ——— Alerte (noms de gangs réels interdits) ——— */
.alert { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--ban-fg); background: var(--ban-bg); color: var(--ink); font-size: .98rem; line-height: 1.6; }
.alert svg { flex: none; margin-top: 3px; font-size: 1.4rem; color: var(--ban-fg); }
.alert strong { color: var(--ban-fg); }
.alert a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.home .alert { margin: 0 0 36px; }

.chapter { margin-top: 52px; }
.chapter > h2 { display: flex; gap: 14px; align-items: baseline; font-weight: 800; font-size: clamp(1.4rem, 3.6vw, 1.85rem); line-height: 1.2; padding-bottom: 14px; position: relative; }
.chapter > h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--grad); }
.chapter > h2 .cn { color: var(--a-ink); }
.rule { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.rule-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rule-h h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; flex: 1 1 12rem; min-width: 0; }
.rule-n { background: var(--a-soft); color: var(--a-ink); border: 0; border-radius: 8px; padding: 2px 9px; font: 800 .9rem/1.7 var(--font); min-width: 2.6em; text-align: center; }
.rule-n:hover { background: var(--grad); color: var(--on-or); }
.rule-b { margin-top: 8px; }
.rule-b > :first-child { margin-top: 0; }
.rule-b > :last-child { margin-bottom: 0; }
.rule-b p { margin: 0 0 12px; }
.rule-b ul { margin: 12px 0 0; padding-left: 1.3rem; }
.rule-b li { margin-bottom: 8px; }
.rule.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: var(--a-soft); box-shadow: 0 0 0 14px var(--a-soft); } to { background: transparent; box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { .rule.flash { animation: none; background: var(--a-soft); } }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .98rem; }
th { text-align: left; color: var(--muted); font-weight: 700; padding: 8px 12px 8px 0; border-bottom: 2px solid var(--line-strong); }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { color: var(--ink); font-weight: 700; }

.foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: .88rem; }
.foot p { margin: 0 0 6px; max-width: 46rem; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--grad); color: var(--on-or); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 40; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 40px 20px; max-width: 40rem; margin: 0 auto; }

/* ——— Mobile ——— */
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .jump { display: block; }
}
@media (max-width: 720px) {
  .brand img { height: 30px; }
  .tabs { order: 3; width: 100%; margin-left: 0; }
  .tab { flex: 1; text-align: center; padding: 9px 2px; font-size: .82rem; }
  .pick { grid-template-columns: minmax(0, 1fr) auto; padding: 24px 16px 24px 26px; }
  .pick-desc { grid-column: 1 / 2; grid-row: 2; }
  .pick svg.i { grid-column: 2; grid-row: 1 / 3; }
  .hero .wrap { padding-top: 40px; padding-bottom: 44px; }
  .home { padding-top: 36px; }
  .band .wrap { padding-top: 34px; padding-bottom: 32px; }
  .band-logo { height: 150%; right: -8%; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.stack td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 16px; }
  table.stack td:first-child { font-size: 1.02rem; padding-bottom: 4px; }
  table.stack td[data-l]::before { content: attr(data-l); color: var(--muted); font-weight: 400; }
  table.stack td:first-child::before { content: none; }
}

/* ——— Navigation principale : Mentalité / Règlement ——— */
.brand-t { white-space: nowrap; }
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); }
.switch .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--grad); box-shadow: 0 4px 16px rgba(255,79,154,.38); opacity: 0; transition: transform .38s cubic-bezier(.4, .1, .2, 1.15), opacity .2s; }
.switch[data-active="mentalite"] .ind { opacity: 1; }
.switch[data-active="reglement"] .ind { opacity: 1; transform: translateX(100%); }
.switch a { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--text); white-space: nowrap; transition: color .25s; }
.switch a:hover { color: var(--ink); }
.switch a[aria-current="page"] { color: var(--on-or); }
.switch svg { width: 1.2em; height: 1.2em; }
@media (prefers-reduced-motion: reduce) { .switch .ind, .theme, .theme .knob, .theme .knob svg { transition: none; } }
@media (max-width: 1020px) {
  .tabs { order: 3; width: 100%; margin-left: 0; }
  .tabs .tab { flex: 1; text-align: center; }
  .theme { margin-left: auto; }
}

/* ——— Accueil : deux étapes ——— */
.home-block + .home-block { margin-top: 56px; }
.step-h { display: flex; align-items: center; gap: 14px; }
.step-h .num { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: var(--on-or); display: grid; place-items: center; font-weight: 800; flex: none; }
.home .step-h + .lead { margin-top: 10px; }
.pick-desc .meta { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 600; opacity: .8; }

/* ——— Mentalité ——— */
.m > .chapter:first-of-type { margin-top: 40px; }
.m-lead { margin: 14px 0 8px; font-weight: 700; font-size: 1.05rem; color: var(--a-ink); }
.m p { margin: 0 0 14px; }
.topic { margin-top: 36px; scroll-margin-top: 90px; }
.topic h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }

.t-ok { --c-fg: #8fe3b0; --c-bg: #12321f; }
:root[data-theme="light"] .t-ok { --c-fg: #17663a; --c-bg: #dff5e7; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.vs > div { padding: 18px 20px; border-radius: 14px; background: var(--c-bg); color: var(--c-fg); }
.vs small { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; }
.vs strong { display: block; margin-top: 8px; font-size: 1.15rem; line-height: 1.35; color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 18px 0; }
.tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.tile i { font-style: normal; font-size: 1.4rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--a-soft); flex: none; }
.tiles.big .tile { padding: 20px; font-size: 1.15rem; justify-content: center; text-align: center; }

.pull { margin: 20px 0; padding: 18px 22px; border-left: 5px solid var(--or1); background: var(--a-soft); border-radius: 0 12px 12px 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; line-height: 1.6; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.mcard { display: block; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); transition: border-color .15s; }
.mcard:hover { border-color: var(--or1); }
.mcard small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.mcard strong { display: block; margin: 4px 0 10px; font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.mcard span { color: var(--a-ink); font-weight: 700; font-size: .92rem; }

.ladder-end { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.ladder-end::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.ladder { list-style: none; margin: 0; padding: 0; }
.ladder li { position: relative; padding: 0 0 14px 68px; }
.ladder li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 3px; background: var(--line-strong); }
.ladder li:last-child { padding-bottom: 0; }
.ladder li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--on-or); display: grid; place-items: center; font-weight: 800; }
.step { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 14px; padding: 16px 20px 18px; }
.step h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.step .role { margin: 2px 0 10px; color: var(--a-ink); font-weight: 700; font-size: .95rem; }
.step p { margin: 0 0 12px; font-size: 1rem; }
.step .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--a-ink); }
.step .go:hover { text-decoration: underline; text-underline-offset: 3px; }

.fear { margin: 20px 0; padding: 22px 24px 8px; border: 2px solid var(--or1); border-radius: 16px; background: var(--a-soft); }
.fear h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.frow { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 14px 0; border-top: 1px solid rgba(255,95,168,.3); }
.frow .chip { width: fit-content; margin-top: 2px; }
.frow p { margin: 0; color: var(--ink); }

.pairs { list-style: none; margin: 16px 0; padding: 0; }
.pairs li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pairs li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .6em; border-radius: 50%; background: var(--grad); }

.cta { margin-top: 64px; padding: 34px 30px; border-radius: 18px; background: var(--grad); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.cta p { margin: 12px 0 0; font-weight: 600; text-shadow: 0 1px 3px rgba(120,20,70,.4); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-btns a { padding: 12px 22px; border-radius: 999px; background: #fff; color: #c2185b; font-weight: 800; box-shadow: 0 4px 14px rgba(120,20,70,.25); transition: background-color .15s, transform .15s; }
.cta-btns a:hover { background: #fff0f6; transform: translateY(-1px); }
.cta-btns a.alt { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.cta-btns a.alt:hover { background: #fff; color: #c2185b; }

.toc .sub a { padding-left: 28px; font-size: .84rem; color: var(--muted); }
.toc .sub a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .brand-t { display: none; }
  .switch { flex: 1; }
  .switch a { padding: 8px 6px; gap: 6px; font-size: .88rem; }
  .theme { width: 60px; height: 32px; }
  .theme .knob { width: 24px; height: 24px; }
  .theme .knob svg { font-size: 14px; }
  .theme .tic { font-size: 13px; margin-top: -6.5px; }
  .theme[data-dark="false"] .knob { transform: translateX(28px); }
  .vs, .two { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .ladder li { padding-left: 56px; }
  .ladder li::before { left: 17px; top: 38px; }
  .step-n { width: 38px; height: 38px; font-size: .95rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 10px; gap: 8px; font-size: .9rem; }
  .tile i { width: 2.1rem; height: 2.1rem; font-size: 1.2rem; }
  .cta { padding: 26px 20px; }
}
@media (max-width: 400px) { .switch svg { display: none; } }
