/* Salti ATR study pages. Same LiQrank world as the S/D Zones page:
   single dark ink ground, brand gold, hairlines not boxes. */
:root {
  --ink: #0a0c10;
  --ink-2: #10131a;
  --ink-3: #161a22;
  --line: rgba(232, 226, 212, 0.08);
  --line-2: rgba(232, 226, 212, 0.16);
  --ivory: #e8e4da;
  --muted: #8f8c85;
  --faint: #5d5b57;
  --gold: #b9a780;
  --gold-soft: #d9ccab;
  --lvl1: #FFEB3B;     /* indicator default: 1.5x level */
  --lvl2: #FF9800;     /* indicator default: 3x level */
  --alert: #F23645;    /* indicator red for over-max rows and warnings */
  --tl: #253cff;
  --tl-hover: #4357ff;
  --tl-soft: #bea9fe;
  --tl-ink: #ffffff;

  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(185, 167, 128, 0.28); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(16px, var(--gutter), env(safe-area-inset-right, 0px));
}

/* Type */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.display { font-family: var(--display); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.display em { font-style: italic; color: var(--gold-soft); }
.h1 { font-size: clamp(44px, 7vw, 92px); }
.h2 { font-size: clamp(34px, 4.4vw, 54px); }
.h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0; text-wrap: balance; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 56ch; margin: 0; }
.small { font-size: 13px; color: var(--muted); }
p { margin: 0; }
.path { font-family: var(--mono); font-size: 12.5px; color: var(--gold-soft); }
.nowrap { white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { font-family: var(--display); font-size: 24px; font-weight: 500; white-space: nowrap; }
.brand b { font-weight: 500; color: var(--gold); font-style: italic; }
.back-link { font-size: 13px; color: var(--gold); white-space: nowrap; }
.back-link:hover { color: var(--gold-soft); }
.nav-links { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); padding-block: 6px; position: relative; transition: color .25s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.btn-gold { background: var(--gold); color: #14120d; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line-2); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.arrow { display: inline-block; transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap;
}
.pill-gold { border-color: rgba(185, 167, 128, 0.45); color: var(--gold-soft); }

section.block { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .display { margin-top: 14px; }

/* Hero */
.hero { position: relative; padding-block: clamp(64px, 10vw, 128px) clamp(32px, 5vw, 56px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(185,167,128,0.10), rgba(185,167,128,0) 70%); pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 26px; max-width: 900px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-risk { font-size: 12.5px; color: var(--faint); max-width: 70ch; line-height: 1.65; border-left: 1px solid var(--line-2); padding-left: 14px; }
.mini-risk a { color: var(--gold); white-space: nowrap; }
.tl-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ivory); padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid rgba(190, 169, 254, 0.35); background: rgba(37, 60, 255, 0.12);
  transition: border-color .2s ease, background .2s ease;
}
.tl-pill:hover { border-color: var(--tl-soft); background: rgba(37, 60, 255, 0.2); }
.tl-pill-new { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-ink); background: var(--tl); border-radius: 999px; padding: 3px 9px; }
.tl-pill-code { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--tl-soft); }

/* Illustrations: drawn to match the study's own output, not screenshots */
.figure { margin: clamp(40px, 6vw, 64px) 0 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); padding-block: 18px 10px; }
.figure svg { display: block; width: 100%; height: auto; background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; }
.figure svg text { font-family: var(--mono); }
.fig-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.key i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }

/* Mock Hyperprop pane with label rows */
.pane-demo { background: #131722; border: 1px solid var(--line-2); border-radius: 4px; padding: 14px; display: grid; gap: 6px; justify-items: end; overflow-x: auto; }
.pane-demo .row { font-family: var(--mono); font-size: 12.5px; line-height: 1.3; padding: 5px 9px; border-radius: 3px; white-space: nowrap; }
.pane-demo .hdr { background: rgba(120, 123, 134, 0.25); color: #fff; }
.pane-demo .l1 { background: rgba(255, 235, 59, 0.2); color: var(--lvl1); }
.pane-demo .l2 { background: rgba(255, 152, 0, 0.2); color: var(--lvl2); }
.pane-demo .bad { background: rgba(242, 54, 69, 0.75); color: #fff; }
.pane-demo .warn { background: rgba(242, 54, 69, 0.85); color: #fff; }
.pane-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); justify-self: start; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--body); font-size: 12.5px; color: var(--muted); background: transparent;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: all .2s ease;
}
.chip:hover { color: var(--ivory); border-color: var(--faint); }
.chip[aria-pressed="true"] { color: #14120d; background: var(--gold); border-color: var(--gold); }
.demo-wrap { display: grid; gap: 16px; }
.demo-note { font-size: 13.5px; color: var(--muted); max-width: 70ch; }

/* Two-column explainer */
.forms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 6vw, 96px); align-items: start; }
.forms .text { display: grid; gap: 16px; padding-top: 8px; }
.forms p { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 58ch; }
.forms strong { color: var(--ivory); font-weight: 600; }
.forms .thesis { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--ivory); font-weight: 300; max-width: 40ch; border-left: 1px solid var(--gold); padding-left: 22px; }
.formula { font-family: var(--mono); font-size: 13px; color: var(--gold-soft); background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; line-height: 1.7; overflow-x: auto; white-space: nowrap; }
@media (max-width: 860px) { .forms { grid-template-columns: 1fr; } }

/* Setup steps */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 24px;
  padding-block: 28px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; }
.steps p { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.steps strong { color: var(--ivory); }
@media (max-width: 760px) {
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 14px; }
  .steps li p { grid-column: 2; }
}

/* Tabs */
.tabs { border-top: 1px solid var(--line-2); }
.tablist { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
  color: var(--muted); font-family: var(--body); font-size: 13.5px; letter-spacing: .02em;
  padding: 18px 18px 16px; cursor: pointer; transition: color .2s ease, border-color .2s ease; white-space: nowrap;
}
.tab:first-child { padding-left: 0; }
.tab:hover { color: var(--ivory); }
.tab[aria-selected="true"] { color: var(--gold-soft); border-bottom-color: var(--gold); }
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 40px 8px; }
.panel h3 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; margin: 0 0 18px; text-wrap: balance; }
.panel h3 em { font-style: italic; color: var(--gold-soft); }
.panel .copy p { color: var(--muted); font-size: 15.5px; line-height: 1.8; max-width: 54ch; }
.panel .copy p + p { margin-top: 14px; }
.panel .copy strong { color: var(--ivory); font-weight: 600; }
.panel ol, .panel ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 54ch; }
.panel li { margin-bottom: 6px; }
.panel li::marker { color: var(--gold); }
.settings { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.setting { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.setting .name { font-size: 13.5px; color: var(--ivory); }
.setting .val { font-family: var(--mono); font-size: 12.5px; color: var(--gold-soft); text-align: right; white-space: nowrap; }
.setting .why { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.side-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.off { color: var(--faint) !important; }
.on { color: var(--gold-soft); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }

/* Label / row glossary */
.glossary { border-top: 1px solid var(--line-2); }
.gloss { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px clamp(24px, 4vw, 56px); padding-block: 20px; border-bottom: 1px solid var(--line); align-items: start; }
.gloss code { font-family: var(--mono); font-size: 12.5px; line-height: 1.45; padding: 6px 10px; border-radius: 3px; justify-self: start; max-width: 100%; overflow-x: auto; white-space: nowrap; display: block; }
.gloss p { font-size: 14px; color: var(--muted); max-width: 56ch; }
.gloss p strong { color: var(--ivory); font-weight: 600; }
.c-hdr { background: rgba(120, 123, 134, 0.25); color: #fff; }
.c-l1 { background: rgba(255, 235, 59, 0.16); color: var(--lvl1); }
.c-l2 { background: rgba(255, 152, 0, 0.16); color: var(--lvl2); }
.c-bad { background: rgba(242, 54, 69, 0.75); color: #fff; }
@media (max-width: 860px) { .gloss { grid-template-columns: 1fr; } }

/* Notes */
.note-row { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.note { padding: 20px 20px 4px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.note + .note { padding-left: 20px; }
.note:last-child { border-right: 0; }
.note p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
  .note-row { grid-template-columns: 1fr; }
  .note, .note + .note { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Pairing card: links the two ATR studies */
.pair { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid rgba(185, 167, 128, 0.3); border-radius: 6px; background: linear-gradient(90deg, rgba(185,167,128,.07), transparent 70%), var(--ink-2); }
.pair-copy { display: grid; gap: 6px; flex: 1 1 360px; min-width: 0; }
.pair-copy p { font-size: 15px; color: var(--muted); max-width: 62ch; }
.pair-copy strong { color: var(--ivory); }

/* Support and Traders Launch */
.support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.support-item { display: grid; gap: 10px; align-content: start; padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.support-item + .support-item { padding-left: 24px; }
.support-item:last-child { border-right: 0; padding-right: 0; }
.support-item .go { color: var(--gold); margin-top: 6px; }
.support-item.pending { cursor: default; }
.support-item.pending .go { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.support-item:not(.pending):hover .h3 { color: var(--gold-soft); }
.aff { margin-top: 18px; font-size: 12px; color: var(--faint); max-width: 80ch; line-height: 1.65; }
@media (max-width: 860px) {
  .support { grid-template-columns: 1fr; }
  .support-item, .support-item + .support-item { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
.tl-band {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px);
  margin-top: 28px; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(190, 169, 254, 0.28); border-radius: 6px;
  background: linear-gradient(135deg, rgba(37, 60, 255, 0.16), rgba(37, 60, 255, 0) 60%), var(--ink-2);
}
.tl-eyebrow { color: var(--tl-soft); }
.tl-title { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 14px 0 22px; text-wrap: balance; }
.tl-title em { font-style: italic; color: var(--tl-soft); }
.tl-timer { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: #fff; }
.tl-timer::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tl-soft); box-shadow: 0 0 10px var(--tl-soft); }
.tl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tl-stat { display: grid; gap: 8px; align-content: start; padding: 16px 18px; border: 1px solid rgba(190, 169, 254, 0.4); border-radius: 6px; background: rgba(37, 60, 255, 0.16); }
.tl-stat b { font-family: var(--body); font-weight: 700; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.02; letter-spacing: -0.02em; font-variant-numeric: lining-nums; color: #fff; text-shadow: 0 0 28px rgba(190, 169, 254, 0.45); }
.tl-stat .pre { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-soft); }
.tl-sub { font-size: 15px; color: var(--muted); margin: -10px 0 20px; }
.tl-sub strong { color: var(--ivory); font-weight: 600; }
.tl-stat span { font-size: 13.5px; line-height: 1.5; color: var(--ivory); }
@media (max-width: 520px) { .tl-stats { grid-template-columns: 1fr; } }
.tl-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-bottom: 18px; }
.tl-price { display: grid; gap: 4px; padding: 14px 14px 14px 0; border-right: 1px solid var(--line); }
.tl-price + .tl-price { padding-left: 14px; }
.tl-price:last-child { border-right: 0; padding-right: 0; }
.tl-price .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-soft); }
.tl-price .now { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1; color: var(--ivory); }
.tl-price .was { font-size: 12px; color: var(--muted); }
.tl-price .was s { color: var(--faint); }
.tl-price.is-best { padding: 12px 14px; margin: -1px 0 4px; border: 1px solid rgba(190, 169, 254, 0.6); border-radius: 6px; background: rgba(37, 60, 255, 0.2); box-shadow: 0 0 28px rgba(190, 169, 254, 0.22); }
.tl-price.is-best .now { color: #fff; }
.best-tag { justify-self: start; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; color: #fff; background: var(--tl); border-radius: 4px; padding: 3px 7px; }
.tl-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tl-points li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ivory); }
.tl-points .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tl-soft); padding-top: 3px; }
.tl-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 62ch; line-height: 1.65; }
.tl-offer { display: grid; gap: 14px; align-content: center; }
.code-chip {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  background: var(--ink); color: var(--ivory); border: 1px dashed rgba(190, 169, 254, 0.55); border-radius: 6px;
  padding: 14px 16px 14px 20px; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.code-chip:hover { border-color: var(--tl-soft); background: var(--ink-3); }
.code-chip .code-text { font-family: var(--mono); font-size: 26px; letter-spacing: .18em; font-weight: 500; }
.code-chip .code-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: var(--tl-soft); border: 1px solid rgba(190, 169, 254, 0.35); margin-left: auto; }
.code-chip .code-state { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tl-soft); min-width: 7ch; text-align: right; }
.code-chip.copied { border-style: solid; border-color: var(--tl-soft); }
.code-chip.small { padding: 8px 10px 8px 14px; gap: 10px; width: auto; }
.code-chip.small .code-text { font-size: 16px; }
.code-chip.small .code-icon { width: 28px; height: 28px; }
.tl-strip-wrap { display: grid; gap: 10px; }
.tl-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 20px 24px; border: 1px solid rgba(190, 169, 254, 0.28); border-radius: 6px;
  background: linear-gradient(90deg, rgba(37, 60, 255, 0.14), rgba(37, 60, 255, 0) 70%), var(--ink-2);
}
.tl-strip-copy { display: grid; gap: 6px; min-width: 0; flex: 1 1 360px; }
.tl-strip-copy p { font-size: 15px; color: var(--muted); max-width: 62ch; }
.tl-strip-copy strong { color: var(--ivory); font-weight: 600; }
.tl-strip-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-strip-aff { margin-top: 0; }
.tl-strip-aff a { color: var(--tl-soft); }
.btn-tl { background: var(--tl); color: var(--tl-ink); justify-content: center; }
.btn-tl:hover { background: var(--tl-hover); }
@media (max-width: 860px) {
  .tl-band { grid-template-columns: 1fr; }
  .tl-points li { grid-template-columns: 1fr; gap: 4px; }
}

/* Corner pop-up */
.toast {
  position: fixed; z-index: 70;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 16px 40px 16px 18px; display: grid; gap: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  animation: toast-in .45s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes toast-in { from { transform: translateY(12px); opacity: .001; } to { transform: none; opacity: 1; } }
.toast-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 50%; }
.toast-close:hover { color: var(--ivory); background: var(--ink-3); }
.toast-text { font-size: 13.5px; color: var(--ivory); line-height: 1.55; }
.toast-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toast-timer { flex-basis: 100%; margin: 0 0 4px; }

/* Disclosures and footer */
.disclosures { border-top: 1px solid var(--line); }
.disc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); }
.disc-list { display: grid; gap: 22px; }
.disc-list h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.disc-list p { font-size: 13.5px; line-height: 1.75; color: var(--muted); max-width: 72ch; }
@media (max-width: 860px) { .disc-grid { grid-template-columns: 1fr; } }
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }

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