/* ─── Reset & globals ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

/* Smooth color transitions when switching themes */
html, body, .topnav, .product-buy, .insight, .final-cta,
.faq-item, .footer, .pdf-page, .placeholder-stripes,
.btn-primary, .badge, .t-card, .cred, .pdf-row {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

/* ─── Layout primitives ───────────────────────────────────── */
:root { --pad-x: clamp(20px, 6vw, 96px); }
section, footer.footer, header.topnav { padding-left: var(--pad-x); padding-right: var(--pad-x); }
section { padding-top: clamp(72px, 11vw, 160px); padding-bottom: clamp(72px, 11vw, 160px); border-top: 1px solid var(--rule); }
.hero { padding-top: 24px; border-top: 0; }

/* ─── Typography ──────────────────────────────────────────── */
.display-h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: var(--display-tracking);
  margin: 0 0 0.6em 0;
  text-wrap: pretty;
  max-width: 22ch;
  color: var(--fg);
}
.display-h2-deep { color: var(--fg-on-deep); }
.lead {
  font-size: clamp(18px, 1.45vw, 22px);
  color: var(--fg-muted);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0 0 64px 0;
}
.eyebrow, .section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.section-label { margin-bottom: 36px; }

/* ─── Top nav ─────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.topnav-left { display: flex; align-items: center; gap: 14px; }
.topnav-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--fg);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg);
}
.topnav-name { font-weight: 500; letter-spacing: -0.01em; }
.topnav-rule { width: 24px; height: 1px; background: var(--rule); }
.topnav-meta {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}
.topnav-link {
  font-size: 14px; padding: 8px 16px;
  border: 1px solid var(--fg);
  transition: background 0.2s, color 0.2s;
}
.topnav-link:hover { background: var(--fg); color: var(--bg); }

/* ─── Scroll progress ─────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
  z-index: 60; transition: transform 0.06s linear;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding-bottom: clamp(80px, 9vw, 128px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(32px, 5vw, 96px);
  align-items: end;
  margin-top: clamp(72px, 12vw, 140px);
  margin-bottom: clamp(56px, 8vw, 112px);
}
.hero-left .eyebrow { margin-bottom: 32px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 9.5vw, 168px);
  line-height: 0.94;
  letter-spacing: var(--display-tracking);
  margin: 0;
  color: var(--fg);
  text-wrap: balance;
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: heroIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-line-0 > span { animation-delay: 0.05s; }
.hero-line-1 > span { animation-delay: 0.18s; }
.hero-line-2 > span { animation-delay: 0.31s; }
.hero-line-3 > span { animation-delay: 0.44s; color: var(--accent); font-style: var(--display-italic); }
@keyframes heroIn { to { transform: translateY(0); } }

.hero-right { align-self: end; }
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  overflow: hidden;
}
.hero-photo-caption {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}

.hero-foot {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.hero-sub {
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.5; max-width: 48ch; margin: 0;
  color: var(--fg-muted);
}
.hero-sub::first-letter { color: var(--fg); }
.hero-cta-stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-cta-sub {
  margin: 0; font-size: 13px; line-height: 1.5;
  color: var(--fg-muted); max-width: 42ch;
  font-family: var(--font-mono);
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}
.badge-dot { color: var(--accent); font-size: 8px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  background: var(--fg); color: var(--bg);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid var(--fg);
  position: relative; overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: #fff; border-color: var(--accent); }
.btn-arrow { transition: transform 0.3s ease; display: inline-block; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-primary-deep {
  background: var(--accent-on-deep); color: var(--bg-deep);
  border-color: var(--accent-on-deep);
}
.btn-primary-deep::before { background: var(--fg-on-deep); }
.btn-primary-deep:hover { color: var(--bg-deep); border-color: var(--fg-on-deep); }

/* ─── Placeholder visuals ─────────────────────────────────── */
.placeholder-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    color-mix(in oklab, var(--fg-muted) 22%, transparent) 0 1px,
    transparent 1px 14px
  );
}
.placeholder-label {
  position: absolute; inset: auto 0 12px 12px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}
.placeholder-label > span:first-child {
  display: inline-block; padding: 4px 8px;
  background: var(--fg); color: var(--bg);
  width: fit-content; letter-spacing: 0.18em;
}

/* ─── Product ─────────────────────────────────────────────── */
.product { background: var(--bg); }
.product-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 120px);
  margin-bottom: clamp(64px, 9vw, 120px);
  align-items: start;
}
.product-items { display: flex; flex-direction: column; }
.product-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.product-item:last-child { border-bottom: 1px solid var(--rule); }
.product-item-num {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-size: 28px; color: var(--accent);
  line-height: 1; padding-top: 6px;
}
.product-item-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.15; margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.product-item p { margin: 0; color: var(--fg-muted); max-width: 48ch; }

.product-deliverable {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 24px;
}
.product-deliverable-cap {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  display: flex; align-items: center; gap: 12px;
}
.rule-tiny { display: inline-block; width: 24px; height: 1px; background: var(--rule); }

/* ─── PDF Mockup ──────────────────────────────────────────── */
.pdf-mockup {
  position: relative;
  aspect-ratio: 1.35 / 1;
  perspective: 1400px;
}
.pdf-shadow {
  position: absolute; inset: 8% 4% -2% 4%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--fg) 30%, transparent), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}
.pdf-page {
  position: absolute;
  width: 58%; aspect-ratio: 0.74;
  background: var(--bg);
  border: 1px solid var(--rule);
  box-shadow:
    0 1px 0 var(--rule) inset,
    0 30px 60px -20px color-mix(in oklab, var(--fg) 35%, transparent),
    0 8px 20px -8px color-mix(in oklab, var(--fg) 25%, transparent);
}
.pdf-cover {
  right: 4%; top: 6%;
  z-index: 2;
  transform: rotate(2.5deg);
  padding: 22px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 90%, var(--accent) 10%), var(--bg) 60%);
}
.pdf-inner {
  left: 4%; top: 14%;
  z-index: 1;
  transform: rotate(-3deg);
  padding: 18px 20px 16px;
  display: flex; flex-direction: column;
}

.pdf-cover-eyebrow {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}
.pdf-cover-meta {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.08em; color: var(--fg-muted);
}
.pdf-cover-mark {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  margin: 18px 0;
}
.pdf-cover-mark-line { width: 60%; height: 1px; background: var(--accent); }
.pdf-cover-mark-num {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-size: clamp(48px, 7vw, 90px);
  line-height: 1; color: var(--fg);
  letter-spacing: -0.04em;
}
.pdf-cover-name {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.2; color: var(--fg);
  letter-spacing: -0.02em;
}
.pdf-cover-sub {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.06em; color: var(--fg-muted);
  margin-top: 6px;
}

.pdf-inner-eyebrow {
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
}
.pdf-inner-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.2; margin-top: 4px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.pdf-chart {
  margin-top: 12px; flex: 1;
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: 1fr 14px;
  font-family: var(--font-mono); font-size: 7px;
  color: var(--fg-muted);
  gap: 4px 6px;
}
.pdf-chart-axis {
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: flex-end; padding-bottom: 14px;
}
.pdf-chart-axis > span:first-child { color: transparent; }
.pdf-chart-area {
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.pdf-chart-area svg { width: 100%; height: 100%; }
.pdf-chart-x {
  grid-column: 2; display: flex; justify-content: space-between;
  letter-spacing: 0.06em;
}
.pdf-inner-rows { margin-top: 10px; display: flex; flex-direction: column; }
.pdf-row {
  display: flex; justify-content: space-between;
  font-size: 9px; padding: 5px 0;
  border-top: 1px dotted var(--rule);
  font-family: var(--font-mono);
  color: var(--fg);
}
.pdf-row:last-child { border-bottom: 1px dotted var(--rule); }
.pdf-row > span:first-child { color: var(--fg-muted); }
.pdf-row-alt > span:last-child { color: var(--accent); }
.pdf-inner-foot {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--font-mono); font-size: 7px;
  letter-spacing: 0.06em; color: var(--fg-muted);
}

/* Product buy band */
.product-buy {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding: clamp(32px, 5vw, 56px) 0 0;
  border-top: 1px solid var(--rule);
}
.product-price {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.product-price-sub {
  margin-top: 12px; color: var(--fg-muted);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em;
}
.product-buy-right { display: flex; flex-direction: column; gap: 18px; }
.product-subtext {
  margin: 0; color: var(--fg-muted); max-width: 52ch;
  font-size: 14px; line-height: 1.55;
}

/* ─── Insight (deep section) ──────────────────────────────── */
.insight {
  background: var(--bg-deep); color: var(--fg-on-deep);
  border-top: 1px solid var(--rule-deep);
}
.insight .section-label { color: var(--fg-muted-deep); }
.insight-grid {
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.insight-body p {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6; max-width: 50ch;
  color: var(--fg-muted-deep);
  margin: 0 0 1.2em;
}
.insight-body p:first-child::first-letter,
.insight-body p:nth-child(2)::first-letter {
  color: var(--fg-on-deep);
}
.insight-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.insight-list li {
  display: grid; grid-template-columns: 36px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--rule-deep);
  color: var(--fg-on-deep);
  font-size: clamp(15px, 1.1vw, 18px);
}
.insight-list li:last-child { border-bottom: 1px solid var(--rule-deep); }
.insight-list-bullet { color: var(--accent-on-deep); font-family: var(--font-mono); }
.insight-closer {
  font-size: clamp(18px, 1.4vw, 22px) !important;
  color: var(--fg-on-deep) !important;
  max-width: 44ch !important;
  margin-top: 16px !important;
}
.insight-pull {
  position: sticky; top: 100px;
  padding: 32px;
  border: 1px solid var(--rule-deep);
  background: color-mix(in oklab, var(--bg-deep) 70%, var(--fg-on-deep) 3%);
}
.insight-pull-mark {
  font-family: var(--font-display); font-style: italic;
  font-size: 80px; line-height: 0.5;
  color: var(--accent-on-deep);
  height: 36px; margin-bottom: 16px;
}
.insight-pull p {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg-on-deep);
  margin: 0;
  text-wrap: pretty;
}

/* ─── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 0.8fr 1.1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  overflow: hidden;
}
.about-creds {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.cred {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 4px;
}
.cred:nth-child(1), .cred:nth-child(2) { border-top: 1px solid var(--rule); }
.cred:nth-child(odd) { padding-right: 16px; }
.cred:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.cred-key {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1; color: var(--fg);
  letter-spacing: -0.02em;
}
.cred-val {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--fg-muted);
}
.about-body { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.about-body p {
  margin: 0; font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6; color: var(--fg-muted);
}
.about-body p:first-child {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: var(--display-weight);
  letter-spacing: -0.01em;
  color: var(--fg); line-height: 1.35;
}

/* ─── Testimonials ────────────────────────────────────────── */
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.t-card {
  padding: 36px 32px 32px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.t-card:last-child { border-right: 0; }
.t-mark {
  font-family: var(--font-display); font-style: italic;
  font-size: 64px; line-height: 0.5; color: var(--accent);
  height: 24px;
}
.t-quote {
  margin: 0; font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.4; letter-spacing: -0.01em;
  color: var(--fg); flex: 1;
  text-wrap: pretty;
}
.t-cap {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.t-avatar {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg);
  background: var(--bg-alt);
}
.t-name { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: var(--fg); }
.t-role { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); letter-spacing: 0.04em; }

/* ─── For Who ─────────────────────────────────────────────── */
.forwho-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 7vw, 120px);
}
.forwho-list { list-style: none; padding: 0; margin: 0; }
.forwho-list li {
  display: grid; grid-template-columns: 28px 1fr;
  align-items: baseline;
  padding: 16px 0; gap: 12px;
  border-top: 1px solid var(--rule);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.45;
}
.forwho-list li:last-child { border-bottom: 1px solid var(--rule); }
.forwho-mark { color: var(--accent); font-family: var(--font-mono); font-size: 14px; }
.forwho-mark-no { color: var(--fg-muted); }
.forwho-no-title {
  font-family: var(--font-display);
  font-style: var(--display-italic);
  font-weight: var(--display-weight);
  font-size: clamp(20px, 1.6vw, 26px);
  margin: 0 0 16px;
  color: var(--fg-muted);
  letter-spacing: -0.015em;
}
.forwho-yes li { color: var(--fg); }
.forwho-no li { color: var(--fg-muted); }

/* ─── Final CTA ──────────────────────────────────────────── */
.final-cta {
  background: var(--bg-deep); color: var(--fg-on-deep);
  border-top: 1px solid var(--rule-deep);
  position: relative;
}
.final-cta .section-label { color: var(--fg-muted-deep); }
.final-cta-headline { max-width: 24ch; }
.final-cta-line { display: block; overflow: hidden; }
.final-cta-line:nth-child(2) > span { color: var(--accent-on-deep); font-style: var(--display-italic); }
.final-cta-points {
  list-style: none; padding: 0;
  margin: clamp(40px, 5vw, 64px) 0;
  max-width: 60ch;
}
.final-cta-points li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 16px; padding: 18px 0;
  border-top: 1px solid var(--rule-deep);
  color: var(--fg-on-deep);
  font-size: clamp(15px, 1.15vw, 18px);
}
.final-cta-points li:last-child { border-bottom: 1px solid var(--rule-deep); }
.final-cta-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: var(--label-tracking);
  color: var(--accent-on-deep);
  padding-top: 4px;
}
.final-cta-action { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.final-cta-sub {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted-deep);
  max-width: 60ch; margin: 0;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 60px 1fr 32px;
  gap: 16px; align-items: baseline;
  padding: 28px 0;
  cursor: pointer;
  transition: padding 0.3s ease;
}
.faq-q-num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--fg-muted);
  align-self: center;
}
.faq-q-text {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.3; letter-spacing: -0.015em;
  color: var(--fg);
}
.faq-q-icon {
  position: relative; width: 14px; height: 14px;
  align-self: center; justify-self: end;
}
.faq-q-icon-h, .faq-q-icon-v {
  position: absolute; background: var(--fg);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-q-icon-h { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-q-icon-v { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq-item.is-open .faq-q-icon-v { transform: translateX(-50%) scaleY(0); }
.faq-item.is-open .faq-q-icon-h { background: var(--accent); }
.faq-item.is-open .faq-q-text { color: var(--accent); }

.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.faq-a-inner {
  overflow: hidden;
}
.faq-a {
  margin: 0; padding: 0 0 28px 76px;
  color: var(--fg-muted);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6; max-width: 64ch;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding-top: 80px; padding-bottom: 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-id .footer-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 2.4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--fg); line-height: 1.1;
}
.footer-id .footer-role {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--fg-muted);
}
.footer-id .footer-co {
  margin-top: 12px; color: var(--fg-muted);
  font-size: 14px;
}
.footer-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: var(--label-tracking); text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.footer-contact, .footer-links {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.footer-contact a, .footer-links a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  width: fit-content;
}
.footer-contact a:hover, .footer-links a:hover {
  border-bottom-color: var(--accent); color: var(--accent);
}
.footer-base {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--fg-muted);
}

/* ─── Reveal animations ──────────────────────────────────── */
html[data-reveal="on"] .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[data-reveal="on"] .reveal.is-in {
  opacity: 1; transform: none;
}
html[data-reveal="off"] .reveal { opacity: 1; transform: none; }

/* ─── Tweaks panel — theme swatches ───────────────────────── */
.tw-themes {
  display: grid; grid-template-columns: 1fr;
  gap: 8px;
}
.theme-swatch {
  display: grid; grid-template-columns: 88px 1fr;
  gap: 12px; align-items: center;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.theme-swatch:hover { border-color: rgba(255,255,255,0.18); }
.theme-swatch.is-active {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.theme-swatch-card {
  height: 64px; padding: 10px;
  border-radius: 4px; display: flex; flex-direction: column; gap: 2px;
  position: relative;
  overflow: hidden;
}
.theme-swatch-name {
  position: absolute; right: 8px; bottom: 6px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
}
.theme-swatch-blurb {
  font-size: 11px; opacity: 0.7;
  line-height: 1.4;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { max-width: 280px; }
  .hero-foot { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-deliverable { position: static; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-pull { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .t-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .t-card:last-child { border-bottom: 0; }
  .forwho-grid { grid-template-columns: 1fr; }
  .product-buy { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topnav-meta, .topnav-rule { display: none; }
}

/* ─── PDF Stack (3 overlapping pages) ─────────────────────── */
.pdf-stack {
  position: relative;
  aspect-ratio: 1.4 / 1;
  width: 100%;
}
.pdf-stack-shadow {
  position: absolute; inset: 8% -2% -8% -2%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--fg) 30%, transparent), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}
.pdf-stack-loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 4;
}
.pdf-stack-page {
  position: absolute;
  top: 50%; left: 50%;
  width: 50%;
  aspect-ratio: 0.74;
  background: var(--bg);
  border: 1px solid var(--rule);
  box-shadow:
    0 1px 0 var(--rule) inset,
    0 30px 60px -20px color-mix(in oklab, var(--fg) 35%, transparent),
    0 8px 20px -8px color-mix(in oklab, var(--fg) 25%, transparent);
  opacity: 0;
  animation: stackIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  transform-origin: center;
  --tx: 0%;
  --ty: 0%;
  --rot: 0deg;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot));
}
.pdf-stack-back  { --tx: -28%; --ty: 6%;  --rot: -7deg; z-index: 1; }
.pdf-stack-mid   { --tx: 0%;   --ty: -4%; --rot: 2deg;  z-index: 2; width: 54%; }
.pdf-stack-front { --tx: 28%;  --ty: 4%;  --rot: -2deg; z-index: 3; }
.pdf-stack-page img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pdf-stack-page::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid color-mix(in oklab, var(--fg) 8%, transparent);
  pointer-events: none;
}
.pdf-stack-folio {
  position: absolute; right: 8px; top: 8px;
  padding: 4px 7px;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
@keyframes stackIn { to { opacity: 1; } }

/* ─── Logo ────────────────────────────────────────────────── */
.topnav-logo {
  width: 32px; height: 32px;
  object-fit: contain;
  filter: var(--logo-filter, none);
}
.footer-logo {
  width: 56px; height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: var(--logo-filter, none);
}
html[data-dark="true"] {
  --logo-filter: invert(1) brightness(1.1);
}
html[data-theme="clinico"] {
  --logo-filter: brightness(0.55) sepia(1) hue-rotate(180deg) saturate(1.6);
}
html[data-theme="sobrio"] {
  --logo-filter: none;
}

/* ─── PDF Carousel ────────────────────────────────────────── */
.pdf-carousel {
  display: flex; flex-direction: column; gap: 20px;
  outline: none;
}
.pdf-carousel-stage {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  width: 100%;
  overflow: hidden;
}
.pdf-carousel-shadow {
  position: absolute; inset: 4% -2% -4% -2%;
  background: radial-gradient(ellipse at center, color-mix(in oklab, var(--fg) 30%, transparent), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.pdf-carousel-slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateX(40px) scale(0.985);
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
.pdf-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.pdf-carousel-slide.is-prev { transform: translateX(-40px) scale(0.985); }
.pdf-carousel-slide img {
  width: 100%; height: 100%; object-fit: contain;
  box-shadow:
    0 1px 0 var(--rule) inset,
    0 30px 60px -20px color-mix(in oklab, var(--fg) 35%, transparent),
    0 8px 20px -8px color-mix(in oklab, var(--fg) 25%, transparent);
}
.pdf-carousel-loading {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 0;
}
.pdf-loading-label {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
}
.pdf-loading-spinner {
  width: 10px; height: 10px;
  border: 1px solid var(--rule);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pdf-carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding-top: 4px;
}
.pdf-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.pdf-arrow:hover:not(:disabled) {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}
.pdf-arrow:disabled { opacity: 0.25; cursor: not-allowed; }
.pdf-arrow-glyph {
  font-family: var(--font-mono); font-size: 16px;
}
.pdf-carousel-dots {
  display: flex; gap: 6px; justify-content: center;
  flex-wrap: wrap;
}
.pdf-dot {
  width: 24px; height: 2px;
  background: var(--rule);
  transition: background 0.25s, transform 0.25s;
}
.pdf-dot:hover { background: var(--fg-muted); }
.pdf-dot.is-active { background: var(--accent); transform: scaleY(2); }
.pdf-carousel-counter {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  display: flex; gap: 4px;
}
.pdf-counter-num { color: var(--fg); min-width: 2ch; text-align: right; }

/* ─── Theme-specific micro-tweaks ─────────────────────────── */
html[data-theme="clinico"] .hero-line-3 > span { color: var(--accent); font-style: normal; font-weight: 600; }
html[data-theme="clinico"] .pdf-cover-mark-num { font-style: normal; font-weight: 600; }
html[data-theme="clinico"] .t-mark, html[data-theme="clinico"] .insight-pull-mark { font-style: normal; }
html[data-theme="clinico"] .insight-pull p { font-style: normal; font-weight: 500; }
html[data-theme="ousado"] .hero-photo { background: #1F1A14; }
html[data-theme="ousado"] .about-photo { background: #1F1A14; }
