/* Weight Loss Doctors: phase-1 design prototype. "Bone & Lime": Cabinet Grotesk display, Sentient italic accents, General Sans body. */

@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/bl/fonts/cg-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/bl/fonts/cg-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('/assets/bl/fonts/cg-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sentient'; src: url('/assets/bl/fonts/sentient-500i.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/bl/fonts/gs-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/bl/fonts/gs-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/bl/fonts/gs-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bone: #F6F3EC;
  --bone-2: #EEEADF;
  --white: #FFFFFF;
  --ink: #101B14;
  --pine: #17362A;
  --pine-deep: #0E241B;
  --lime: #D7F163;
  --lime-deep: #B8D93E;
  --text: #3D4A41;
  --muted: #66736A;
  --line: #E2DCCB;
  --line-dark: rgba(255, 255, 255, .14);
  --display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --serif-i: 'Sentient', Georgia, serif;
  --sans: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --r-card: 22px;
  --r-pill: 999px;
  --shadow-card: 0 24px 55px -30px rgba(16, 27, 20, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ---------- Display type ---------- */
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 24px;
}
h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}
h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.fx { font-family: var(--serif-i); font-style: italic; font-weight: 500; letter-spacing: -0.015em; }
h1 .fx, h2 .fx {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 86%, transparent 86%);
  padding: 0 .06em;
}
.kicker {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.kicker--lime { color: var(--lime); }
.lead { font-size: 1.14rem; line-height: 1.6; max-width: 540px; }
.lead-sm { font-size: 1.02rem; max-width: 520px; }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 26px; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.99rem;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: var(--pine); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(16, 27, 20, .55); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--ink); color: var(--lime); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(16, 27, 20, .55); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(16, 27, 20, .28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--white); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--xl { padding: 20px 42px; font-size: 1.12rem; }
.btn .arrow, .router-go .arrow, .link-go .arrow, .sticky-cta .arrow { transition: transform .16s ease; }
.btn:hover .arrow, .router-card:hover .arrow, .link-go:hover .arrow { transform: translateX(4px); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-weight: 600;
  font-size: 0.85rem;
}
.chip--lime { background: var(--lime); color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--pine-deep); color: rgba(246, 243, 236, .85); }
.topbar p { margin: 0; text-align: center; font-size: 0.86rem; font-weight: 500; padding: 9px 16px; }
.topbar strong { color: var(--lime); font-weight: 600; }
.topbar-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); margin: 0 10px; vertical-align: middle; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bone); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16, 27, 20, .5); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.foot-logo { height: 54px; width: auto; margin-bottom: 18px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.site-nav a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; text-decoration-color: var(--lime-deep); }
.site-nav .nav-cta { padding: 11px 22px; font-size: 0.92rem; color: var(--bone); }
.site-nav .nav-cta:hover { text-decoration: none; color: var(--bone); }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); padding: 10px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.cta-row { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero-proof p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); font-weight: 600; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--lime-deep); }

.hero-panel {
  position: relative;
  background: var(--pine);
  border-radius: 28px;
  padding: 56px 44px 48px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-card);
}
.panel-chip { position: absolute; top: -16px; left: 40px; box-shadow: 0 10px 24px -10px rgba(16, 27, 20, .5); }
.app-card { background: var(--white); border-radius: 18px; padding: 20px 22px; box-shadow: 0 18px 40px -26px rgba(14, 36, 27, .65); }
.app-card--graph { background: var(--pine-deep); }
.app-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 243, 236, .6); margin: 0 0 4px; }
.app-big { font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.03em; color: #F6F3EC; margin: 0; line-height: 1; }
.app-big span { font-size: 1.2rem; font-weight: 700; color: var(--lime); }
.app-badge { flex: none; font-size: 0.78rem; font-weight: 600; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: rgba(246, 243, 236, .85); }
.app-badge--lime { background: var(--lime); color: var(--ink); }
.spark { width: 100%; height: 74px; margin-top: 16px; }
.app-axis { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 500; color: rgba(246, 243, 236, .45); margin-top: 6px; }
.app-card--msg { display: flex; gap: 14px; align-items: flex-start; }
.msg-ava { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 0.95rem; }
.msg-name { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin: 0 0 3px; }
.msg-name span { color: var(--muted); font-weight: 500; }
.msg-text { font-size: 0.94rem; color: var(--text); margin: 0; }
.app-card--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-card--row p { margin: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }

/* Hero quiz embed */
.hero-quiz .qz { max-width: 580px; margin-left: auto; }
.cta-row--hero { margin-top: 28px; gap: 12px; }

/* Phone showcase */
.phone-row { display: flex; justify-content: center; align-items: flex-end; gap: 34px; margin-bottom: 50px; }
.phone { margin: 0; width: min(280px, 100%); }
.phone img {
  border-radius: 30px;
  border: 7px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(16, 27, 20, .5);
  width: 100%;
  height: auto;
}
.phone figcaption { text-align: center; font-weight: 500; font-size: 0.9rem; color: var(--muted); margin-top: 14px; }
.phone--mid { width: min(300px, 100%); transform: translateY(-16px); }
.app-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 44px; max-width: 1060px; margin: 0 auto; }
.app-feats li { position: relative; padding: 9px 0 9px 32px; font-weight: 500; color: var(--ink); font-size: 0.97rem; }
.app-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  background-color: var(--lime-deep);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/* Weight-you-could-lose slider */
.calc-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 38px 44px;
  margin-top: 50px;
  box-shadow: var(--shadow-card);
}
.calc-left label { display: block; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc-read { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 14px; }
.calc-card input[type="range"] { width: 100%; accent-color: var(--lime-deep); height: 34px; cursor: pointer; }
.calc-right { text-align: left; border-left: 1px solid var(--line); padding-left: 40px; }
.calc-label { font-weight: 500; font-size: 0.95rem; color: var(--muted); margin: 0 0 2px; }
.calc-out { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -0.03em; color: var(--ink); margin: 0 0 18px; }
.calc-out span { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .04em; }

/* Eligibility criteria band */
.crit-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto 44px;
}
.crit-band > div { background: var(--white); border-radius: var(--r-card); padding: 28px 32px; text-align: left; }
.crit-band h3 { font-size: 1.05rem; margin-bottom: 8px; }
.crit-band p { font-size: 0.94rem; margin: 0; }
.nav-login { color: var(--muted); }

/* Quiz close section */
.quiz-close-head { margin-left: auto; margin-right: auto; }
.quiz-close-head .lead-sm { margin-left: auto; margin-right: auto; }
.quiz-close .qz { margin: 0 auto; }
.quiz-close .closer-fine { margin-top: 22px; font-size: 0.86rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { background: var(--pine-deep); overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 32s linear infinite; }
.marquee-track span { font-weight: 600; font-size: 0.92rem; color: rgba(246, 243, 236, .85); white-space: nowrap; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--bone-2); }
.section-head { max-width: 720px; margin-bottom: 54px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 34px 32px 30px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.98rem; }
.step-meta { font-weight: 600; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 16px; }

/* Router */
.router { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.router-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 34px 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.router-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.router-card h3 { margin-bottom: 10px; }
.router-card p { font-size: 0.98rem; }
.router-go { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 0.95rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }

/* Offer */
.offer-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
.offer-main {
  background: var(--pine);
  border-radius: 26px;
  padding: 48px 50px;
  color: rgba(246, 243, 236, .82);
  box-shadow: var(--shadow-card);
}
.offer-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.offer-amount { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 5vw, 4.4rem); letter-spacing: -0.03em; color: #F6F3EC; line-height: 1; }
.offer-term { font-weight: 600; font-size: 1.1rem; color: rgba(246, 243, 236, .65); }
.offer-price .chip { transform: translateY(-6px); }
.offer-list { display: grid; gap: 2px; margin-bottom: 32px; }
.offer-list li { position: relative; padding: 9px 0 9px 34px; font-size: 1rem; color: rgba(246, 243, 236, .88); }
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 17px;
  height: 17px;
  background-color: var(--lime);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}
.offer-fine { font-size: 0.85rem; color: rgba(246, 243, 236, .55); margin-top: 18px; }
.offer-side { display: grid; gap: 22px; }
.mini-offer {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mini-offer--flag { color: rgba(246, 243, 236, .8); position: relative; z-index: 0; background: transparent; }
.mini-offer--flag::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 28px;
  z-index: -2;
  background: conic-gradient(from var(--spin, 0deg),
    rgba(215, 241, 99, 0) 0deg,
    rgba(215, 241, 99, 0) 200deg,
    rgba(215, 241, 99, .55) 275deg,
    #D7F163 315deg,
    rgba(215, 241, 99, 0) 360deg);
  filter: drop-shadow(0 0 18px rgba(215, 241, 99, .65)) drop-shadow(0 0 34px rgba(215, 241, 99, .4));
  animation: spinGlow 4.5s linear infinite;
}
.mini-offer--flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-card);
  background: var(--ink);
  z-index: -1;
}
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spinGlow { to { --spin: 360deg; } }
.mini-offer--flag h3 { color: #F6F3EC; }
.mini-flag { font-weight: 600; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--lime); color: var(--ink); border-radius: var(--r-pill); padding: 5px 12px; margin: 0 0 14px; }
.mini-price { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; color: var(--ink); margin: 8px 0 10px; }
.mini-offer--flag .mini-price { color: #F6F3EC; }
.mini-price span { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.mini-offer--flag .mini-price span { color: rgba(246, 243, 236, .6); }
.mini-offer p { font-size: 0.96rem; }
.link-go { margin-top: 14px; font-weight: 600; font-size: 0.95rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.mini-offer--flag .link-go { color: var(--lime); }

/* Results */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin: 0 0 10px; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .04em; }
.stat-cap { font-size: 0.96rem; color: var(--muted); max-width: 240px; margin: 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { margin: 0; background: var(--white); border-radius: var(--r-card); padding: 30px 30px 26px; display: flex; flex-direction: column; }
.quote-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ava {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
}
.quote-top strong { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.quote-top span { color: var(--muted); font-size: 0.9rem; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.55; color: var(--text); }
.quote-data { margin-top: auto; font-weight: 600; font-size: 0.87rem; color: var(--ink); background: var(--bone-2); border-radius: var(--r-pill); padding: 6px 13px; align-self: flex-start; }

/* Timeline */
.timeline-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.timeline-intro .btn { margin-top: 26px; }
.timeline { position: relative; display: grid; gap: 8px; }
.timeline li { position: relative; padding: 6px 0 30px 44px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-marker {
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px var(--bone);
}
.timeline h3 { font-size: 1.12rem; margin-bottom: 6px; }
.timeline h3 span { color: var(--muted); font-family: var(--sans); font-weight: 500; font-size: 0.95rem; }
.timeline p { font-size: 0.97rem; max-width: 460px; }

/* Doctors band */
.section--dark { background: var(--pine-deep); color: rgba(246, 243, 236, .78); }
.section--dark h2 { color: #F6F3EC; }
.section--dark h2 .fx { background: none; color: var(--lime); padding: 0; }
.section--dark .lead-sm { color: rgba(246, 243, 236, .7); }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 54px; }
.doc-card { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: var(--r-card); padding: 34px 32px; }
.ava--lg { width: 56px; height: 56px; font-size: 1.2rem; margin-bottom: 18px; }
.doc-card h3 { color: #F6F3EC; margin-bottom: 4px; }
.doc-card p { font-size: 0.95rem; margin: 0 0 4px; }
.doc-reg { font-size: 0.82rem; color: rgba(246, 243, 236, .5); letter-spacing: 0.04em; }
.reg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line-dark); padding-top: 36px; }
.reg-row p { font-size: 0.95rem; margin: 0; }
.reg-row strong { color: #F6F3EC; display: block; margin-bottom: 6px; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bone-2); transition: transform .2s ease, background-color .2s ease; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
details[open] .faq-x { background: var(--lime); transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 24px 2px; font-size: 0.99rem; max-width: 620px; }

/* Closer */
.closer { background: var(--bone); padding: 130px 0 140px; }
.closer h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.closer p { max-width: 480px; margin: 0 auto 1em; }
.closer .btn { margin: 16px 0 18px; }
.closer-fine { font-size: 0.86rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 243, 236, .65); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 56px; padding-top: 78px; padding-bottom: 54px; }
.brand--foot { font-size: 1.4rem; color: #F6F3EC; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; max-width: 320px; }
.foot-form { display: flex; gap: 10px; margin-top: 24px; max-width: 360px; }
.foot-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pill);
  padding: 12px 18px;
  color: #F6F3EC;
}
.foot-form input::placeholder { color: rgba(246, 243, 236, .45); }
.foot-form input:focus { outline: none; border-color: var(--lime); }
.foot-form .btn { padding: 12px 22px; font-size: 0.92rem; }
.site-footer h4 { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 243, 236, .45); margin: 6px 0 18px; }
.site-footer nav a { display: block; padding: 6px 0; font-size: 0.95rem; color: rgba(246, 243, 236, .8); }
.site-footer nav a:hover { color: var(--lime); }
.footer-fine {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 40px;
  font-size: 0.84rem;
  color: rgba(246, 243, 236, .45);
}
.footer-fine p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bone);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  box-shadow: 0 16px 36px -12px rgba(16, 27, 20, .6);
  white-space: nowrap;
}

/* ---------- Interior pages ---------- */
.page-hero { padding: 84px 0 64px; }
.page-hero--slim { padding: 64px 0 30px; }
.page-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 0.99;
  letter-spacing: -0.033em;
  margin: 18px 0 22px;
  color: var(--ink);
}
.page-h1 .fx {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 86%, transparent 86%);
  padding: 0 .06em;
}
.lead--center { margin: 0 auto; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-facts li { position: relative; padding-left: 26px; font-weight: 500; font-size: 0.93rem; color: var(--ink); }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--lime-deep);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}
.quote-card .ava svg { color: var(--ink); }
.quote-card .quote-top p { margin: 0; }
.reg-row--top { border-top: 0; padding-top: 10px; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.center-fine { text-align: center; }

/* Journey grid (how it works) */
.jgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.jcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 34px 36px 28px;
}
.jcard-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.jcard-top .step-num { margin-bottom: 0; }
.jchip {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--bone-2);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}
.jcard h3 { font-size: 1.22rem; margin-bottom: 10px; }
.jcard > p { font-size: 0.99rem; }
.jfoot {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 0.89rem;
  color: var(--muted);
}
.jfoot svg { color: var(--lime-deep); flex: none; }
.check-col { display: grid; gap: 2px; }
.check-col li { position: relative; padding: 10px 0 10px 34px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1rem; }
.check-col li:last-child { border-bottom: 0; }
.check-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 17px;
  height: 17px;
  background-color: var(--lime-deep);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M4 12.5l5.2 5L20 6.5" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
}

/* Pricing page */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 34px; }
.plan-card { background: var(--white); border-radius: var(--r-card); padding: 38px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.plan-card .mini-price { margin: 10px 0 6px; }
.plan-sub { font-size: 0.93rem; color: var(--muted); margin-bottom: 16px; }
.plan-card .offer-list { margin-bottom: 28px; flex: 1; }
.plan-card .offer-list li { font-size: 0.95rem; padding: 7px 0 7px 32px; }
.offer-list--dark li { color: var(--text); }
.offer-list--dark li::before { background-color: var(--lime-deep); }
.plan-card .btn { width: 100%; }
.plan-card--featured { background: var(--pine); }
.plan-card--featured h3, .plan-card--featured .mini-price { color: #F6F3EC; }
.plan-card--featured .mini-price span, .plan-card--featured .plan-sub { color: rgba(246, 243, 236, .65); }
.plan-card--featured .offer-list li { color: rgba(246, 243, 236, .88); }
.mini-flag--soft { background: var(--bone-2); color: var(--ink); }
.spend-list { display: grid; gap: 14px; }
.spend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px 34px;
}
.spend-row h3 { font-size: 1.12rem; margin-bottom: 6px; }
.spend-row p { font-size: 0.95rem; max-width: 480px; }
.spend-amt { flex: none; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.spend-amt span { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; color: var(--muted); }

/* Prose blocks (glp-1, about) */
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prose-block { background: var(--white); border-radius: var(--r-card); padding: 42px 44px; }
.prose-h { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 10px 0 16px; }
.prose-block p { font-size: 1rem; }

/* Reassure trio (quiz page) */
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.reassure h3 { margin-bottom: 10px; }
.reassure p { font-size: 0.97rem; }

/* FAQ page */
.faq-wide { max-width: 860px; }
.faq-h { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 54px 0 10px; }
.faq-wide > .faq-h:first-child { margin-top: 0; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 34px 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.article-card h3 { margin: 12px 0 10px; }
.article-card p { font-size: 0.96rem; }
.article-card .router-go { margin-top: auto; padding-top: 18px; }

/* Legal */
.legal-prose { max-width: 760px; }
.legal-prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal-prose p { font-size: 0.99rem; }
.legal-note { background: var(--lime); color: var(--ink); font-weight: 500; font-size: 0.92rem; border-radius: 12px; padding: 14px 18px; }

/* ---------- Quiz v2 ---------- */
.quiz-stage { padding: 26px 0 40px; }
.qz {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  max-width: 660px;
  margin: 0 auto;
  padding: 34px 40px 38px;
}
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qz-kicker { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.qz-step { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin: 0; }
.qz-step span { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.qz-bar { height: 6px; background: var(--bone-2); border-radius: 3px; margin: 16px 0 8px; overflow: hidden; }
.qz-bar span { display: block; height: 100%; width: 25%; background: var(--lime-deep); border-radius: 3px; transition: width .3s ease; }
.qz-panel { display: none; padding-top: 20px; }
.qz-panel.is-on { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.qz-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.qz-title .fx {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 86%, transparent 86%);
  padding: 0 .05em;
}
.qz-help { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }
.qz-opts { display: grid; gap: 10px; margin-top: 22px; }
.qz-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 0.99rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.qz-opt:hover { border-color: var(--ink); }
.qz-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); transition: all .15s ease; position: relative; }
.qz-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--bone); }
.qz-opt[aria-pressed="true"] .qz-dot { border-color: var(--ink); background: var(--lime); }
.qz-opt[aria-pressed="true"] .qz-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--ink);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 12.5l4 4L18 8" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / 60%;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 12.5l4 4L18 8" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / 60%;
}
.qz-err { display: none; color: #A63A1B; font-size: 0.9rem; margin: 12px 0 0; }
.qz-err.is-on { display: block; }
.qz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.qz-field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 8px; }
.qz-inp { position: relative; }
.qz-inp input {
  width: 100%;
  padding: 15px 54px 15px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--bone);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.qz-inp input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.qz-inp span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.qz-bmi { display: none; align-items: baseline; gap: 10px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--bone-2); }
.qz-bmi.is-on { display: flex; }
.qz-bmi-num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.qz-bmi-lbl { font-size: 0.86rem; color: var(--muted); }
.qz-bmi-cat { margin-left: auto; font-weight: 600; font-size: 0.82rem; background: var(--lime); color: var(--ink); border-radius: var(--r-pill); padding: 4px 12px; }
.qz-note { display: flex; gap: 9px; font-size: 0.86rem; line-height: 1.55; color: var(--muted); margin: 20px 0 0; }
.qz-foot { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.qz-foot .btn { flex: 1; }
.qz-back { background: none; border: 0; padding: 10px 8px; font-weight: 500; font-size: 0.94rem; color: var(--muted); cursor: pointer; }
.qz-back:hover { color: var(--ink); }
.qz-flag { display: inline-block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; border-radius: var(--r-pill); padding: 6px 14px; margin: 0 0 14px; }
.qz-flag--good { background: var(--lime); color: var(--ink); }
.qz-flag--stop { background: var(--bone-2); color: var(--text); }
.qz-body { font-size: 1rem; }
.qz-cta { width: 100%; margin-top: 8px; }
.qz-noscript { background: var(--lime); border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; max-width: 660px; margin: 0 auto 16px; }
.qz-noscript a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 44px -26px rgba(16, 27, 20, .4);
    padding: 12px 28px 24px;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-of-type { border-bottom: 0; }
  .site-nav .nav-cta { margin-top: 14px; padding: 14px 22px; }
  .nav-burger { display: block; }
  .hero { padding: 44px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-panel { max-width: 560px; }
  .hero-quiz .qz { margin-left: 0; }
  .phone-row { flex-wrap: wrap; align-items: flex-start; }
  .phone--mid { order: -1; transform: none; }
  .steps, .router, .quotes, .doc-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-side { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .timeline-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .reg-row { grid-template-columns: 1fr; gap: 24px; }
  .reg-row--top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prose-grid { grid-template-columns: 1fr; }
  .jgrid { grid-template-columns: 1fr; }
  .reassure { grid-template-columns: 1fr; gap: 32px; }
  .plan-grid, .article-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .topbar-loc { display: none; }
  .section { padding: 74px 0; }
  .wrap { padding: 0 20px; }
  .steps, .router, .quotes, .doc-grid, .offer-side, .stat-row { grid-template-columns: 1fr; }
  .stat-row { gap: 34px; }
  .offer-main { padding: 38px 30px; }
  .cta-row .btn { width: 100%; }
  .hero-panel { padding: 48px 22px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 58px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-fine { padding-bottom: 100px; }
  .sticky-cta { display: inline-flex; }
  .closer { padding: 96px 0 104px; }
  .reg-row--top { grid-template-columns: 1fr; }
  .jcard { padding: 28px 24px 24px; }
  .brand img { height: 44px; }
  .spend-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .qz { padding: 26px 20px 30px; }
  .qz-fields { grid-template-columns: 1fr; }
  .phone-row { gap: 24px; }
  .phone, .phone--mid { width: min(260px, 86%); }
  .app-feats { grid-template-columns: 1fr; }
  .calc-card { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
  .calc-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .crit-band { grid-template-columns: 1fr; }
  .nav-login { color: var(--ink); }
  .page-hero { padding: 56px 0 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .mini-offer--flag::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Articles ---------- */
.art-crumbs { padding: 26px 28px 0; font-size: 0.88rem; color: var(--muted); max-width: 1220px; margin: 0 auto; }
.art-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.art-crumbs a:hover { color: var(--ink); }
.art-crumbs span { margin: 0 6px; }
.art-crumbs em { font-style: normal; color: var(--ink); }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; padding-top: 26px; padding-bottom: 90px; align-items: start; }
.art-head { margin-bottom: 26px; }
.art-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.88rem; color: var(--muted); margin: 0 0 18px; }
.art-h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink);
}
.art-dates { font-size: 0.85rem; color: var(--muted); margin: 0 0 22px; }
.art-intro { font-size: 1.1rem; line-height: 1.65; color: var(--text); }
.art-intro p:last-child { margin-bottom: 0; }
.art-toc { background: var(--bone-2); border-radius: 16px; padding: 6px 22px; margin: 28px 0 8px; }
.art-toc summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); padding: 12px 0; }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc ol { list-style: none; margin: 0; padding: 2px 0 16px; counter-reset: toc; }
.art-toc li { counter-increment: toc; padding: 5px 0; }
.art-toc a { color: var(--text); font-size: 0.96rem; text-decoration: none; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 600; font-size: 0.8rem; color: var(--lime-deep); margin-right: 10px; }
.art-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.art-sec { margin-top: 40px; }
.art-sec h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 2.6vw, 1.85rem); letter-spacing: -0.015em; margin: 0 0 14px; color: var(--ink); }
.art-sec h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; margin: 24px 0 8px; color: var(--ink); }
.art-sec p, .art-sec li { font-size: 1.01rem; line-height: 1.7; color: var(--text); }
.art-sec ul, .art-sec ol { margin: 0 0 1em; padding-left: 22px; }
.art-sec ul { list-style: disc; }
.art-sec ol { list-style: decimal; }
.art-sec li { margin-bottom: 6px; }
.art-sec table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 0.95rem; }
.art-sec th { text-align: left; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--line-2); padding: 10px 14px 10px 0; }
.art-sec td { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; color: var(--text); vertical-align: top; }
.art-sec .tbl-scroll { overflow-x: auto; }
.art-sec strong { color: var(--ink); }
.art-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--pine);
  border-radius: var(--r-card);
  padding: 28px 32px;
  margin: 40px 0 8px;
}
.art-cta p { margin: 0; color: rgba(246, 243, 236, .8); font-size: 0.95rem; max-width: 480px; }
.art-cta-h { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #F6F3EC !important; margin-bottom: 4px !important; }
.art-cta .btn { flex: none; }
.art-sources { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.art-sources h2 { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.art-sources ol { list-style: decimal; padding-left: 20px; }
.art-sources li { font-size: 0.88rem; padding: 3px 0; }
.art-sources a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.art-sources a:hover { color: var(--ink); }
.art-disclaimer { margin-top: 30px; font-size: 0.85rem; color: var(--muted); background: var(--bone-2); border-radius: 12px; padding: 14px 18px; }
.art-side { position: sticky; top: 96px; display: grid; gap: 26px; }
.art-side .qz { max-width: none; padding: 24px 24px 28px; box-shadow: var(--shadow-card); }
.art-side .qz-title { font-size: 1.3rem; }
.art-side-block { background: var(--white); border-radius: var(--r-card); padding: 26px 28px; }
.art-side-block h3 { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.art-rel { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 0.94rem; color: var(--ink); }
.art-rel:last-child { border-bottom: 0; }
.art-rel:hover { color: var(--forest-700); }
.art-rel .arrow { flex: none; color: var(--lime-deep); }

/* Archive category nav */
.cat-nav { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line);
}
.cat-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cat-h { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 20px; color: var(--ink); scroll-margin-top: 100px; }
.art-grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

@media (max-width: 1020px) {
  .art-layout { grid-template-columns: 1fr; gap: 40px; }
  .art-side { position: static; }
  .art-grid-sm { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .art-cta { flex-direction: column; align-items: flex-start; }
  .art-grid-sm { grid-template-columns: 1fr; }
  .art-layout { padding-bottom: 60px; }
}
.art-reviewer { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.art-reviewer:hover { color: var(--ink); }
.art-hero-img { margin: 26px 0 40px; }
.art-hero-img img { width: 100%; height: auto; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
@media (max-width: 700px) {
  .art-hero-img { margin: 20px 0 30px; }
}
.art-fig { margin: 26px 0; }
.art-fig img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.page-media-wrap { padding: 6px 0 52px; }
.page-media { margin: 0; }
.page-media img { width: 100%; height: auto; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.col-media { margin: 26px 0 0; }
.col-media img { width: 100%; height: auto; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.card-media { margin: 18px 0 0; }
.card-media img { width: 100%; height: auto; border-radius: 14px; }
.prose-media { margin: 0; border-radius: var(--r-card); overflow: hidden; min-height: 280px; }
.prose-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
