/* ============================================================
   China Sourcing Brief — BASE STRUCTURE LAYER
   Layout, spacing, grids, component structure, responsive.
   No colour / typography decisions here — those come from
   the theme files in themes/.  Swap themes without touching this.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--weight-display, 700); line-height: 1.14; margin: 0 0 0.55em; letter-spacing: var(--track-display, -0.01em); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.14rem; }
h4 { font-size: 0.95rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 860px; }

.section { padding: 86px 0; border-top: var(--border-w) solid var(--line); }
.section-paper { background: var(--paper-2); color: var(--fg-strong); }
.section-title { max-width: 22ch; }
.section-lede { max-width: 74ch; color: var(--fg-muted); font-size: 1.06rem; }
.section-paper .section-lede { color: var(--fg-muted-strong); }

.eyebrow {
  margin: 0 0 12px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text);
}
.section-paper .eyebrow { color: var(--accent-strong); }

.minihead {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted-strong);
  margin-bottom: 12px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; padding: 13px 22px; font-family: var(--font-mono);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em;
  border: var(--border-w) solid transparent; cursor: pointer;
  border-radius: var(--radius);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-sm { padding: 9px 15px; font-size: 0.8rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-amber { background: var(--accent); color: var(--accent-fg); }
.btn-amber:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-line { border-color: var(--line-strong); color: var(--fg); }
.btn-line:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translateY(-2px); }
.btn:disabled { background: var(--disabled-bg); color: var(--fg-muted); border-color: var(--line); cursor: not-allowed; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }

/* ---------------- Theme switcher ---------------- */
.theme-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  background: var(--bg-2); border: var(--border-w) solid var(--line-strong);
  border-radius: var(--radius); padding: 9px 11px;
  box-shadow: var(--shadow); max-width: calc(100vw - 36px);
}
.ts-label { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; color: var(--fg-muted); margin-right: 2px; }
.ts-btn {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  background: transparent; color: var(--fg-muted); border: var(--border-w) solid var(--line);
  border-radius: var(--radius); padding: 6px 10px; cursor: pointer; transition: all .15s ease;
}
.ts-btn:hover { color: var(--fg); border-color: var(--fg-muted); }
.ts-btn.is-active { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

/* ---------------- Nav ---------------- */
.nav { position: sticky; top: 0; z-index: 60; background: var(--nav-bg); backdrop-filter: blur(10px); border-bottom: var(--border-w) solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  background: var(--accent); color: var(--accent-fg); padding: 5px 8px; border-radius: var(--radius);
}
.brand-text { font-family: var(--font-display); font-size: 1.04rem; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-family: var(--font-mono); font-size: 0.84rem; color: var(--fg-muted); }
.nav-links a:hover { color: var(--accent-text); }
.nav .btn { margin-left: 6px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 94px 0 86px; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-bg, none);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: start; }
.sysline {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--fg-muted);
  border: var(--border-w) solid var(--line-strong); padding: 7px 12px; border-radius: var(--radius);
}
.dot { width: 7px; height: 7px; background: var(--data); border-radius: 50%; box-shadow: 0 0 0 3px var(--data-halo); }
.hero h1 em { color: var(--accent-text); }
.lede { max-width: 56ch; font-size: 1.13rem; color: var(--fg-muted); margin-bottom: 6px; }
.lede em { color: var(--fg); }
.coverage {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  font-size: 0.86rem; color: var(--fg-muted); margin: 18px 0 0;
  border-top: var(--border-w) solid var(--line); padding-top: 16px;
}
.coverage span { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; color: var(--accent-text); }
.coverage i { font-style: normal; color: var(--accent-text); font-size: 0.76rem; }

/* hero terminal card */
.hero-terminal { background: var(--bg-2); border: var(--border-w) solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.term-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-bottom: var(--border-w) solid var(--line);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--fg-muted);
}
.term-dots { display: inline-flex; gap: 5px; }
.term-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.term-dots i:first-child { background: var(--rust); }
.term-body { margin: 0; padding: 6px 16px 12px; }
.term-body > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.term-body > div:last-child { border-bottom: 0; }
.term-body dt { font-size: 0.86rem; color: var(--fg-muted); }
.td-sub { display: block; font-size: 0.68rem; color: var(--fg-muted); opacity: .75; }
.term-body dd { margin: 0; font-family: var(--font-mono); font-size: 0.95rem; font-weight: 700; color: var(--fg); }
.term-body .accent { color: var(--data); }
.term-body .rust { color: var(--rust); }
.term-foot { padding: 11px 16px; border-top: var(--border-w) solid var(--line); font-family: var(--font-mono); font-size: 0.68rem; color: var(--fg-muted); opacity: .75; }

/* ---------------- Signals / stats ---------------- */
.signals { padding: 72px 0 80px; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: var(--border-w) solid var(--line); margin-top: 34px; }
.stat { background: var(--bg); padding: 30px 26px 26px; }
.stat-num { display: block; font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-weight: 700; color: var(--accent-text); letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { display: block; margin-top: 10px; font-size: 0.88rem; color: var(--fg-muted); max-width: 28ch; }
.stat-label em { color: var(--data); font-style: normal; }
.stats-note { margin-top: 18px; font-size: 0.84rem; color: var(--fg-muted); opacity: .85; max-width: 84ch; }

/* ---------------- Faults ---------------- */
.faults { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: var(--border-w) solid var(--line); margin-top: 36px; }
.fault { background: var(--paper-2); padding: 30px 28px; }
.fault-no { font-size: 0.8rem; font-weight: 800; color: var(--rust); letter-spacing: 0.1em; }
.fault h3 { margin: 12px 0 8px; color: var(--fg-strong); }
.fault p { margin: 0; color: var(--fg-muted-strong); font-size: 0.95rem; }

/* ---------------- Gates ---------------- */
.gates { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: var(--border-w) solid var(--line); }
.gates li { background: var(--paper-2); padding: 28px; }
.gate-no { font-size: 0.82rem; font-weight: 800; color: var(--accent-strong); letter-spacing: 0.12em; }
.gates h3 { margin: 10px 0 8px; color: var(--fg-strong); }
.gates p { margin: 0; color: var(--fg-muted-strong); font-size: 0.95rem; }

/* ---------------- Funnel ---------------- */
.funnel { margin-top: 56px; border: var(--border-w) solid var(--line); background: var(--paper); }
.funnel-title { margin: 0; padding: 16px 24px; border-bottom: var(--border-w) solid var(--line); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted-strong); }
.funnel-row { display: grid; grid-template-columns: var(--w) 1fr; align-items: center; gap: 18px; padding: 0 24px; border-bottom: var(--border-w) solid var(--line); }
.funnel-row:last-child { border-bottom: 0; }
.funnel-bar { background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 0.84rem; font-weight: 700; padding: 13px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: var(--radius); }
.funnel-final .funnel-bar { background: var(--accent); color: var(--accent-fg); }
.funnel-note { font-size: 0.8rem; color: var(--fg-muted-strong); }

/* ---------------- Cost anatomy (signature) ---------------- */
.anatomy { padding: 90px 0; background: var(--bg-2); border-top: var(--border-w) solid var(--line); }
.anatomy-block { margin-top: 38px; }
.anatomy-bar { display: flex; height: 92px; border: var(--border-w) solid var(--line-strong); overflow: hidden; border-radius: var(--radius); }
.seg { position: relative; width: var(--p); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 8px; transition: filter .15s ease; min-width: 0; }
.seg:hover { filter: brightness(1.22); }
.seg i { font-style: normal; font-size: 0.74rem; font-weight: 700; color: rgba(0,0,0,0.78); }
.seg b { font-size: 0.66rem; font-weight: 700; color: rgba(0,0,0,0.58); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; }
.anatomy-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; font-size: 0.85rem; color: var(--fg-muted); }
.anatomy-legend span { display: inline-flex; align-items: center; gap: 8px; }
.anatomy-legend b { color: var(--fg); font-weight: 700; }
.sw { width: 12px; height: 12px; display: inline-block; border-radius: calc(var(--radius) / 3); }

.anatomy-takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: var(--border-w) solid var(--line); margin-top: 40px; }
.takeaway { background: var(--bg-2); padding: 26px; }
.takeaway-num { display: block; font-size: 1.9rem; font-weight: 700; color: var(--accent-text); margin-bottom: 10px; }
.takeaway p { margin: 0; font-size: 0.92rem; color: var(--fg-muted); }
.takeaway strong { color: var(--fg); }

/* ---------------- Localization layers ---------------- */
.layer { border: var(--border-w) solid var(--line); background: var(--paper-2); margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.layer-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; padding: 16px 24px; border-bottom: var(--border-w) solid var(--line); }
.layer-tag { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-strong); }
.layer-count { font-size: 0.78rem; font-weight: 700; color: var(--fg-muted-strong); }
.layer-rule { font-size: 0.82rem; color: var(--fg-muted-strong); margin-left: auto; }
.layer-items { list-style: none; padding: 20px 24px 24px; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.layer-items li { position: relative; padding-left: 24px; font-size: 0.9rem; color: var(--fg-strong); }
.layer-items li::before { content: "▸"; position: absolute; left: 0; color: var(--accent-strong); font-family: var(--font-mono); }
.layer-hard .layer-tag { color: var(--rust); }
.layer-hard .layer-items li::before { color: var(--rust); }

/* ---------------- Matrix ---------------- */
.matrix-wrap { overflow-x: auto; margin-top: 34px; border: var(--border-w) solid var(--line-strong); border-radius: var(--radius); }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 820px; }
.matrix th { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); text-align: left; padding: 16px 14px; border-bottom: var(--border-w) solid var(--line-strong); background: var(--bg); }
.th-sub { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--fg-muted); font-size: 0.68rem; margin-top: 3px; }
.matrix td { padding: 14px; border-bottom: var(--border-w) solid var(--line); color: var(--fg-muted); }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: var(--hover-tint); }
.matrix td:first-child { color: var(--fg); font-weight: 600; }
.cell-mono { font-family: var(--font-mono); font-size: 0.82rem; }
.cell-yes { color: var(--data); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; }
.cell-no { color: var(--fg-muted); opacity: .55; font-family: var(--font-mono); font-size: 0.82rem; }
.cell-maybe { color: var(--accent-text); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; }
.matrix-note { margin-top: 18px; font-size: 0.86rem; color: var(--fg-muted); max-width: 88ch; }
.matrix-note em { color: var(--data); font-style: normal; }

/* ---------------- Deep dive ---------------- */
.deepdive { background: var(--paper-2); border: var(--border-w) solid var(--line); margin-top: 34px; border-radius: var(--radius); overflow: hidden; }
.deepdive-head { padding: 28px 30px 24px; border-bottom: var(--border-w) solid var(--line); }
.tag { display: inline-block; background: var(--ink); color: var(--paper); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; padding: 5px 10px; margin-bottom: 14px; border-radius: var(--radius); font-family: var(--font-mono); }
.deepdive-why { color: var(--fg-muted-strong); max-width: 82ch; margin: 0; }
.deepdive-why strong { color: var(--fg-strong); }
.deepdive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 30px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table td { padding: 9px 2px; border-bottom: var(--border-w) solid var(--line); color: var(--fg-strong); }
.table td.num { text-align: right; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.row-total td { border-top: var(--border-w) solid var(--line-strong); font-weight: 700; }
.row-strong td { background: var(--row-strong-bg); font-weight: 800; padding-top: 11px; padding-bottom: 11px; }
.note { font-size: 0.85rem; color: var(--fg-muted-strong); margin: 12px 0 0; }
.strips { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: var(--border-w) solid var(--line); }
.strip { background: var(--paper-2); padding: 24px 30px; }
.strip h4 { font-family: var(--font-mono); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted-strong); margin-bottom: 12px; }
.strip ul { margin: 0; padding-left: 18px; }
.strip li { margin-bottom: 8px; font-size: 0.9rem; color: var(--fg-strong); }
.strip-risk p { margin: 0; color: var(--fg-muted-strong); font-size: 0.92rem; }

/* locked cards */
.locked-heading { margin-top: 52px; color: var(--fg-muted-strong); font-size: 1.05rem; }
.locked-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.card-locked { position: relative; background: var(--paper-2); border: var(--border-w) solid var(--line); padding: 24px; overflow: hidden; border-radius: var(--radius); }
.card-locked h3 { color: var(--fg-strong); padding-right: 112px; margin-bottom: 10px; }
.lock-badge { position: absolute; top: 20px; right: 20px; background: var(--ink); color: var(--accent-text); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; padding: 4px 8px; border-radius: var(--radius); }
.redacted { filter: blur(4.5px); opacity: 0.5; user-select: none; }
.redacted p { font-size: 0.9rem; color: var(--fg-muted-strong); margin-bottom: 8px; }

/* ---------------- Archive ---------------- */
.issues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.issue-card { display: flex; flex-direction: column; gap: 8px; background: var(--paper-2); border: var(--border-w) solid var(--line); border-left: 3px solid var(--accent); padding: 22px; border-radius: var(--radius); }
.issue-card:hover { box-shadow: var(--shadow); }
.issue-locked { border-left-style: dashed; border-left-color: var(--line-strong); background: var(--paper); }
.issue-no { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-strong); }
.issue-locked .issue-no { color: var(--fg-muted-strong); opacity: .6; }
.issue-title { font-family: var(--font-display); font-weight: 700; color: var(--fg-strong); }
.issue-locked .issue-title { color: var(--fg-muted-strong); font-weight: 400; }
.issue-meta { font-size: 0.78rem; color: var(--fg-muted-strong); }

/* ---------------- Pricing tiers ---------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; align-items: stretch; }
.tier { position: relative; background: var(--paper-2); border: var(--border-w) solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; border-radius: var(--radius); }
.tier-featured { border: var(--border-w-featured) solid var(--ink); box-shadow: var(--shadow-featured); }
.flag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-fg); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; padding: 5px 10px; border-radius: var(--radius); }
.tier h3 { color: var(--fg-strong); margin-bottom: 4px; }
.tier-price { font-size: 2.35rem; font-weight: 700; color: var(--fg-strong); margin: 4px 0 18px; letter-spacing: -0.02em; font-family: var(--font-mono); }
.tier-price .per { font-size: 0.9rem; font-weight: 400; color: var(--fg-muted-strong); }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 0.92rem; color: var(--fg-strong); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 800; }
.tier-note { font-size: 0.82rem; color: var(--fg-muted-strong); margin: 14px 0 0; text-align: center; }
.custom-offer { margin-top: 26px; background: var(--paper); border: var(--border-w) solid var(--line); padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; border-radius: var(--radius); }
.custom-offer h3 { color: var(--fg-strong); margin-bottom: 6px; }
.custom-offer p { margin: 0; color: var(--fg-muted-strong); max-width: 72ch; }

/* ---------------- Sample ---------------- */
.sample { padding: 86px 0; background: var(--bg); border-top: var(--border-w) solid var(--line); }
.sample-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.sample-copy .section-title { color: var(--fg); max-width: 20ch; }
.sample-copy p { color: var(--fg-muted); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 0.95rem; color: var(--fg); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--data); font-weight: 800; }
.sample-aside { border-left: var(--border-w) solid var(--accent); padding-left: 28px; }
.sample-aside h3 { font-size: 1rem; color: var(--fg); margin: 20px 0 8px; }
.sample-aside h3:first-child { margin-top: 0; }
.sample-aside p { font-size: 0.9rem; color: var(--fg-muted); margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-item { background: var(--paper-2); border: var(--border-w) solid var(--line); margin-bottom: 12px; border-radius: var(--radius); }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--fg-strong); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent-strong); }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: var(--border-w) solid var(--line); }
.faq-item p { padding: 16px 22px 20px; margin: 0; color: var(--fg-muted-strong); font-size: 0.95rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--bg-3); padding: 60px 0 36px; border-top: var(--border-w) solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; padding-bottom: 30px; border-bottom: var(--border-w) solid var(--line); }
.footer .brand { color: var(--fg); }
.footer-tag { font-size: 0.92rem; margin: 16px 0 0; color: var(--fg-muted); }
.footer h4 { font-size: 0.73rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.footer a { display: block; color: var(--fg-muted); font-size: 0.92rem; margin-bottom: 9px; }
.footer a:hover { color: var(--accent-text); }
.footer-note { display: block; font-size: 0.85rem; color: var(--fg-muted); opacity: .7; }
.disclaimer { font-size: 0.8rem; color: var(--fg-muted); opacity: .85; line-height: 1.7; margin: 26px 0 0; }
.disclaimer strong { color: var(--fg-muted); }
.copyright { font-size: 0.8rem; color: var(--fg-muted); opacity: .7; margin: 18px 0 0; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .layer-items { grid-template-columns: repeat(2, 1fr); }
  .sample-box { grid-template-columns: 1fr; gap: 30px; }
  .sample-aside { border-left: 0; border-top: var(--border-w) solid var(--accent); padding: 24px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .faults, .gates, .locked-grid, .deepdive-grid, .strips, .anatomy-takeaways { grid-template-columns: 1fr; }
  .tiers, .issues { grid-template-columns: 1fr; }
  .anatomy-bar { height: 116px; }
  .seg b { display: none; }
  .funnel-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 20px; }
  .funnel-bar { width: 100%; }
  .funnel-note { padding-bottom: 6px; }
}
@media (max-width: 620px) {
  .section, .signals, .anatomy, .sample { padding: 56px 0; }
  .stats, .layer-items { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .card-locked h3 { padding-right: 0; }
  .lock-badge { position: static; display: inline-block; margin-bottom: 10px; }
  .custom-offer { flex-direction: column; align-items: flex-start; }
  .theme-switch { right: 10px; bottom: 10px; padding: 7px 9px; }
}
