/* =========================================================
   Pexo Digital: advisory editorial theme
   Logo palette: espresso #2A1A0B, burnt orange #C25215,
   light amber #F6A845. Sora headings / Figtree body
   ========================================================= */

:root {
  --ink: #2a1a0b;
  --ink-2: #3d2714;
  --ink-3: #8a3a0e;
  --text: #3b2f25;
  --muted: #6e5f52;
  --line: #eee5db;
  --line-2: #e1d3c4;
  --bg: #fbf7f2;
  --surface: #ffffff;
  --tint: #f7eee4;
  --brand: #c25215;
  --brand-2: #a9460f;
  --amber: #f6a845;
  --amber-deep: #a9460f;
  --amber-soft: #fef3e6;
  --amber-line: #f6d9b5;
  --good: #3e7b45;
  --bad: #a23a2c;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(42, 26, 11, .06), 0 2px 8px rgba(42, 26, 11, .05);
  --shadow: 0 2px 4px rgba(42, 26, 11, .04), 0 18px 40px -18px rgba(42, 26, 11, .28);
  --shadow-lg: 0 30px 70px -28px rgba(42, 26, 11, .45);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

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

html, body { overflow-x: hidden; max-width: 100%; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink-3); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}

p { margin: 0 0 1.15em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Icon system (Lucide paths, stroke-based) */
.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.top-bar .container::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(246, 168, 69, .24);
}

/* ---------- Header (static, light) ---------- */
.site-header {
  position: static;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: inline-flex; align-items: center; }
.header-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 24px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(194, 82, 21, .65);
}
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-outline,
.btn-nav-cta {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover,
.btn-nav-cta:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 24px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 70%;
  background:
    radial-gradient(900px 380px at 85% 0%, rgba(194, 82, 21, .32), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--ink) 0%, #3a2410 100%);
  z-index: -1;
}
.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-copy {
  padding: 60px 56px 52px;
  display: flex;
  flex-direction: column;
}
.hero-copy h1 {
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(246, 168, 69, .42) 62%);
}
.hero-sub {
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 34px;
}
.hero-actions .hint {
  font-size: .88rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-actions .hint .ic { width: 16px; height: 16px; color: var(--amber-deep); }
.hero-meta {
  list-style: none;
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}
.hero-meta li { display: flex; align-items: center; gap: 12px; }
.hero-meta .meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--ink-3);
  display: grid;
  place-items: center;
}
.hero-meta .meta-icon .ic { width: 18px; height: 18px; }
.meta-label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.meta-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  line-height: 1.4;
}
.hero-figure {
  position: relative;
  margin: 0;
  background: var(--amber-soft);
  min-height: 100%;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-chip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text);
}
.hero-chip strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .92rem; }
.chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex: none;
}

/* ---------- Body grid ---------- */
.body-section { padding: 64px 0 40px; }
.body-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.sidebar-sticky { position: sticky; top: 24px; display: grid; gap: 22px; }
.side-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-sm);
}
.side-card-accent { border-top-color: var(--amber); }
.side-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.toc { display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  counter-increment: toc;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .93rem;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 18px;
}
.toc a:hover { background: var(--tint); color: var(--ink); }
.toc a.is-active { background: var(--ink); color: #fff; }
.toc a.is-active::before { color: var(--amber); }
.glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.glance li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: .93rem;
  line-height: 1.5;
}
.glance .ic { width: 18px; height: 18px; color: var(--amber-deep); margin-top: 2px; }
.side-cta { text-align: center; border-top-color: var(--amber); }
.side-cta p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.side-cta .btn { width: 100%; }

/* ---------- Article ---------- */
.main-content { min-width: 0; }
.content-block { scroll-margin-top: 24px; margin-bottom: 56px; }
.content-block:last-child { margin-bottom: 0; }
.main-content h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.05rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.main-content h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.lead {
  font-size: 1.22rem;
  line-height: 1.7;
  color: var(--ink);
}
.lead { padding-left: 20px; border-left: 4px solid var(--amber); }

/* Key takeaways (in article) */
.takeaways {
  margin: 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.takeaways-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 0 14px;
}
.takeaways-title .ic { color: var(--amber-deep); }
.takeaways ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.takeaways li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  line-height: 1.55;
}
.takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--amber);
}

/* Anatomy bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 8px;
}
.bento-item {
  grid-column: span 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.bento-item:nth-child(1) { grid-column: span 4; background: var(--ink); border-color: var(--ink); color: #ecdfd1; }
.bento-item:nth-child(1) h3 { color: #fff; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:nth-child(3) { grid-column: span 2; }
.bento-item:nth-child(4) { grid-column: span 4; background: var(--amber-soft); border-color: var(--amber-line); }
.bento-item p { font-size: .95rem; line-height: 1.6; margin: 0; }
.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--ink-3);
  margin-bottom: 16px;
}
.bento-item:nth-child(1) .bento-icon { background: rgba(255, 255, 255, .1); color: var(--amber); }
.bento-item:nth-child(4) .bento-icon { background: #fff; color: var(--amber-deep); }

/* Note box */
.note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0 0;
}
.note .note-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--amber-deep);
  display: grid;
  place-items: center;
}
.note p { margin: 0; font-size: .97rem; line-height: 1.6; }
.note strong { font-family: var(--font-head); color: var(--ink); }

/* Figures */
.figure-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 0 56px;
}
.figure-duo figure:nth-child(2) { margin-top: 40px; }
figure { margin: 0; }
figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
figcaption {
  font-size: .86rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
}
.figure-wide { margin: 28px 0 0; }
.figure-wide img { aspect-ratio: 16 / 8; }

/* Split media (zigzag) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 32px;
  align-items: start;
}
.split.reverse { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.split.reverse figure { order: -1; }
.split figure img { aspect-ratio: 4 / 5; }
.split p:last-child { margin-bottom: 0; }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat { padding: 24px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num span { color: var(--amber-deep); }
.stat p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.source-line {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 22px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.source-line .ic { width: 15px; height: 15px; margin-top: 4px; }

/* Research cards */
.research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0 26px;
}
.research-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.research-card .tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-3);
  background: var(--tint);
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.research-card .tag .ic { width: 14px; height: 14px; }
.research-card h3 { font-size: 1.06rem; line-height: 1.35; }
.research-card p { font-size: .95rem; line-height: 1.6; margin: 0; }

/* Comparison table */
.table-wrap {
  margin: 24px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.compare th, .compare td { padding: 15px 18px; text-align: left; vertical-align: top; }
.compare thead th {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  background: var(--ink);
  color: #fff;
}
.compare thead th:last-child { background: var(--ink-3); }
.compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 1px solid var(--line); }
.compare tbody th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 24%; font-size: .9rem; }
.compare td .cell { display: flex; gap: 10px; align-items: flex-start; }
.compare td .ic { width: 17px; height: 17px; margin-top: 3px; }
.compare td.minus .ic { color: var(--bad); }
.compare td.plus .ic { color: var(--good); }
.compare td.plus { background: #fffaf4; }
.small-note { font-size: .84rem; color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}
.steps h3 { font-size: 1.04rem; margin: 2px 0 4px; }
.steps p { margin: 0; font-size: .96rem; line-height: 1.6; }
.steps.compact li { padding: 16px 20px; }

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 22px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1rem; line-height: 1.35; margin-bottom: 6px; }
.feature p { font-size: .92rem; line-height: 1.55; margin: 0; color: var(--muted); }

.plan-box {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--surface);
  font-size: .95rem;
  line-height: 1.65;
}
.plan-box p { margin: 0; }
.plan-box strong { color: var(--ink); font-family: var(--font-head); }

/* Inline CTA (in article) */
.inline-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 0;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(194, 82, 21, .4), transparent 70%),
    var(--ink);
  color: #e8dacb;
}
.inline-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.inline-cta p { margin: 0; font-size: .97rem; line-height: 1.55; }
.inline-cta .btn { flex: none; }

/* Sources */
.sources {
  margin-top: 56px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--tint);
}
.sources h2 { font-size: 1.1rem !important; display: flex; align-items: center; gap: 10px; margin-bottom: 12px !important; }
.sources ol { margin: 0; padding-left: 20px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.sources li + li { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-section { padding: 56px 0 72px; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}
.faq-intro { position: sticky; top: 24px; }
.faq-intro h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 700; }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--amber-soft); }
.faq-list .answer { padding: 0 22px 20px; font-size: .98rem; line-height: 1.7; }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------- Bottom CTA + disclaimer ---------- */
.cta-section { padding: 8px 0 80px; }
.cta-box {
  background: var(--surface);
  border: 3px solid var(--amber);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px;
  align-items: center;
  padding: 52px 56px 44px;
}
.cta-main h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.cta-main p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.cta-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
}
.cta-panel ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  text-align: left;
  font-size: .92rem;
  line-height: 1.45;
}
.cta-panel li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.cta-panel li .ic { width: 18px; height: 18px; color: var(--good); margin-top: 1px; }
.cta-panel .btn { width: 100%; }
.cta-panel .cta-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.cta-disclaimer {
  border-top: 1px dashed var(--line-2);
  background: #fcf8f3;
  padding: 26px 56px 30px;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--muted);
}
.cta-disclaimer p { margin: 0 0 10px; }
.cta-disclaimer p:last-child { margin: 0; }
.cta-disclaimer .affil { font-size: .76rem; }
.cta-disclaimer a { color: var(--ink-3); }

/* ---------- Footer (light) ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0 34px;
  font-size: .9rem;
  color: var(--muted);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--amber-deep); text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding-top: 22px;
}
.footer-identity p { margin: 0; line-height: 1.6; }
.footer-identity a { color: var(--ink-3); }
.footer-copy { margin: 0; }

/* =========================================================
   Subpages (about, contact, disclaimer, privacy, terms)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 64px 0 120px;
  color: #e8dacb;
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(194, 82, 21, .32), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--ink) 0%, #3a2410 100%);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p { font-size: 1.1rem; margin: 0; max-width: 40em; }
.page-body { padding: 0 0 80px; margin-top: -72px; position: relative; }
.page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.aside-sticky { position: sticky; top: 24px; display: grid; gap: 20px; }
.page-nav { display: grid; gap: 2px; }
.page-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .94rem;
  color: var(--text);
  text-decoration: none;
}
.page-nav a:hover { background: var(--tint); color: var(--ink); }
.page-nav a.is-current { background: var(--ink); color: #fff; }
.aside-line { margin: 0 0 6px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.aside-line:last-child { margin: 0; }
.prose {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px 52px;
}
.prose h2 {
  font-size: 1.32rem;
  font-weight: 700;
  margin: 34px 0 10px;
  scroll-margin-top: 24px;
}
.prose h2:first-child, .prose .updated + h2, .prose .updated + p + h2 { margin-top: 0; }
.prose .updated + p + h2 { margin-top: 30px; }
.prose ul { padding-left: 22px; margin: 0 0 1.15em; }
.prose li { margin-bottom: 6px; }
.prose-numbered { counter-reset: q; }
.prose-numbered h2 { display: flex; gap: 12px; align-items: baseline; }
.prose-numbered h2::before {
  counter-increment: q;
  content: counter(q, decimal-leading-zero);
  font-size: .78rem;
  font-weight: 600;
  color: var(--amber-deep);
  background: var(--amber-soft);
  border-radius: 8px;
  padding: 3px 8px;
  flex: none;
  transform: translateY(-2px);
}
.updated {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--tint);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 22px;
}
.reach-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 30px;
}
.reach-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--bg);
  font-size: .94rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.reach-item svg {
  width: 40px;
  height: 40px;
  flex: none;
  padding: 9px;
  border-radius: 11px;
  background: var(--ink);
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reach-item strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 2px; }
.reach-item a { display: block; }
.contact-form { display: grid; gap: 16px; margin: 16px 0 30px; }
.contact-form label {
  display: grid;
  gap: 7px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink-3);
  box-shadow: 0 0 0 4px rgba(138, 58, 14, .14);
  background: #fff;
}
.contact-form .btn { justify-self: start; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Focus visibility */
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .body-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
  .hero-copy { padding: 48px 40px 42px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 10; height: auto; object-position: 50% 40%; }
  .body-grid { grid-template-columns: 1fr; gap: 36px; }
  .sidebar-sticky { position: static; grid-template-columns: 1fr; }
  .toc { grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .side-cta { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .cta-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 36px 34px; }
  .cta-disclaimer { padding: 24px 36px 28px; }
  .page-grid { grid-template-columns: 1fr; }
  .aside-sticky { position: static; grid-template-columns: 1fr 1fr; }
  .page-aside { order: 2; }
}

@media (max-width: 680px) {
  body { font-size: 1.02rem; }
  .container { padding: 0 16px; }
  .header-inner { min-height: 72px; }
  .header-logo { height: 46px; max-width: 160px; }
  .btn-nav-cta { padding: 11px 16px; font-size: .88rem; }
  .hero { padding: 24px 0 8px; }
  .hero-copy { padding: 30px 22px 28px; }
  .hero-sub { font-size: 1.04rem; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 14px 22px; }
  .hero-chip { display: none; }
  .hero-figure img { aspect-ratio: 4 / 3; object-position: 50% 42%; }
  .body-section { padding-top: 40px; }
  .toc { grid-template-columns: 1fr; }
  .lead { font-size: 1.1rem; padding-left: 16px; }
  .takeaways { padding: 20px 18px; }
  .takeaways ul { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-item, .bento-item:nth-child(n) { grid-column: auto; }
  .figure-duo { grid-template-columns: 1fr; }
  .figure-duo figure:nth-child(2) { margin-top: 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 20px; }
  .split.reverse figure { order: 0; }
  .split figure img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 18px; }
  .stat:last-child { border-bottom: 0; }
  .stat-num { font-size: 1.9rem; margin: 0; }
  .research { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr + tr { border-top: 1px solid var(--line); }
  .compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 0; }
  .compare tbody th { width: 100%; padding: 16px 16px 6px; background: var(--tint); }
  .compare td { padding: 10px 16px; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-head);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .inline-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .inline-cta .btn { width: 100%; }
  .steps li { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
  .steps li::before { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
  .faq-list summary { padding: 17px 18px; font-size: .97rem; }
  .faq-list .answer { padding: 0 18px 18px; }
  .cta-section { padding-bottom: 56px; }
  .cta-main { padding: 30px 22px 26px; }
  .cta-panel { padding: 22px 18px; }
  .cta-disclaimer { padding: 22px 22px 24px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 44px 0 96px; }
  .prose { padding: 30px 22px; border-radius: var(--radius); }
  .aside-sticky { grid-template-columns: 1fr; }
  .reach-list { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature, .faq-list summary::after { transition: none; }
}
