/* Corvella Studio — warm v2 design system (2026-07-07)
   Warm-cream trust palette + ink bands + coral accent.
   Imagery is illustrated in-brand (no raw screenshots except the one
   real-workspace proof shot). Motion is progressive enhancement. */

:root {
  color-scheme: light;
  --ink: #0f1419;
  --ink-2: #161c23;
  --ink-soft: #3d4653;
  --muted: #6b7280;
  --paper: #fafaf7;
  --paper-mid: #f2f1ec;
  --line: #e5e5e0;
  --line-dark: rgba(250, 250, 247, 0.14);
  --coral: #ff5c2b;
  --coral-dark: #d94318;
  --coral-tint: #fdeee7;
  --olive: #4c6b1f;
  --olive-tint: #eef2e7;
  --steel: #33517e;
  --steel-tint: #e9edf5;
  --shadow: 0 1px 2px rgba(15, 20, 25, 0.04), 0 12px 32px rgba(15, 20, 25, 0.07);
  --shadow-lift: 0 2px 4px rgba(15, 20, 25, 0.06), 0 18px 44px rgba(15, 20, 25, 0.12);
  --fd: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
  --fb: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --hand: "Caveat", cursive;
  --ease: cubic-bezier(0.25, 0, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 2px; }

/* anchor jumps land below the sticky header */
[id] { scroll-margin-top: 84px; }

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

h1, h2, h3 { font-family: var(--fd); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: 2.7rem; margin: 0.35em 0 0.4em; }
h2 { font-size: 2rem; margin: 0.45em 0 0.4em; }
h3 { font-size: 1.05rem; margin: 0.6em 0 0.3em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4em;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--coral); flex: none; }

/* reveal-on-scroll (progressive enhancement; no-js and reduced-motion safe) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* staggered cascades inside grids */
.feature-grid .reveal:nth-child(2), .inside .reveal:nth-child(2), .process-grid .reveal:nth-child(2) { transition-delay: 0.09s; }
.feature-grid .reveal:nth-child(3), .inside .reveal:nth-child(3), .process-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.product-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.product-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.product-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.product-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.stats .reveal:nth-child(2) { transition-delay: 0.09s; }
.stats .reveal:nth-child(3) { transition-delay: 0.18s; }

/* reading progress bar (injected by site.js) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--coral);
  z-index: 90;
  pointer-events: none;
}

/* section acknowledgment: the eyebrow square pops as its section enters */
@keyframes eyebrow-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.section.in .eyebrow::before,
.hero.in .eyebrow::before,
.sample-hero.in .eyebrow::before { animation: eyebrow-pop 0.5s var(--ease) both; }

/* leak diagram: drips fade in staggered, leak points pulse twice */
.leak-diagram .ld-drip { opacity: 0; transition: opacity 0.6s var(--ease); }
.leak-diagram .ld-drip:nth-of-type(2) { transition-delay: 0.18s; }
.leak-diagram .ld-drip:nth-of-type(3) { transition-delay: 0.36s; }
.leak-diagram.in .ld-drip { opacity: 1; }
.ld-leaks circle { transform-box: fill-box; transform-origin: center; }
@keyframes leak-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.45); }
}
.leak-diagram.in .ld-leaks circle { animation: leak-pulse 1.3s var(--ease) 0.45s 2; }
.leak-diagram.in .ld-leaks circle:nth-of-type(2) { animation-delay: 0.65s; }
.leak-diagram.in .ld-leaks circle:nth-of-type(3) { animation-delay: 0.85s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sc-fill { transition: none !important; }
  .leak-diagram .ld-drip { opacity: 1; transition: none; }
  * { animation: none !important; }
}

/* ============ buttons + links ============ */
.button {
  display: inline-block;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}
.button.primary { background: var(--coral); color: #fff; }
.button.primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.button.secondary { border-color: var(--line-dark); color: var(--paper); }
.button.secondary:hover { background: var(--paper); color: var(--ink); }
.button.block { display: block; text-align: center; }

.text-link { color: var(--coral-dark); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: " →"; }
.centered-link { display: block; text-align: center; margin-top: 12px; }

.email-fallback { font-size: 0.88rem; color: var(--muted); }
.email-fallback a { color: inherit; }
.hero .email-fallback, .final-cta .email-fallback, .review-band .email-fallback { color: #9aa3af; }

/* ============ top strip + header (ink) ============ */
.top-strip {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 8px 18px;
  font-size: 0.85rem;
}
.top-strip p { margin: 0; }
.top-strip a { color: var(--coral); text-decoration: none; font-weight: 600; }

.site-header {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  padding-left: max(24px, calc((100% - 1080px) / 2));
  padding-right: max(24px, calc((100% - 1080px) / 2));
  position: sticky;
  top: 0;
  z-index: 80;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
body.scrolled .site-header { box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38); }
body.nav-hidden .site-header { transform: translateY(-110%); }
.site-header .brand { display: block; text-decoration: none; }
.logoimg { height: 19px; width: auto; display: block; }
.nav { display: flex; gap: 24px; font-size: 0.92rem; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; opacity: 0.85; position: relative; padding-bottom: 4px; }
.nav a:hover { opacity: 1; }
.nav a.active { opacity: 1; }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); }

/* compact header CTA: appears once the reader is past the hero's own CTA */
.header-cta {
  display: none;
  padding: 9px 14px;
  font-size: 0.85rem;
  white-space: nowrap;
}
body.past-hero .header-cta { display: inline-block; }

/* fallback text wordmark */
.brand-wordmark, .footer-wordmark { font-family: var(--fd); font-weight: 700; font-size: 1.1rem; }
.accent-i { color: var(--coral); }

/* ============ hero (ink) ============ */
.hero { background: var(--ink); color: var(--paper); padding: 56px 24px 0; }
.hero-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.hero-inner { max-width: 34em; }
.hero .eyebrow { color: #9aa3af; }
.hero-copy { color: #c3c9d2; font-size: 1.04rem; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; margin: 26px 0 18px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; color: #9aa3af; font-size: 0.85rem; flex-wrap: wrap; margin-bottom: 14px; }
.trust-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--coral); margin-right: 8px; vertical-align: 1px; }
.hero-products-line { font-size: 0.9rem; color: #9aa3af; }
.hero-products-line a { color: var(--paper); }

/* ---- hero art: stylized scorecard composition ---- */
.art { position: relative; min-height: 560px; }
.art-card { position: absolute; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

.thread-card {
  left: 0;
  top: 16px;
  width: 54%;
  background: var(--paper-mid);
  color: var(--ink);
  padding: 16px 16px 12px;
  z-index: 1;
}
.thread-head { font-family: var(--fd); font-weight: 700; font-size: 0.8rem; display: flex; justify-content: flex-start; align-items: center; margin: 0 0 12px; gap: 10px; }
.thread-head span { font-weight: 600; font-size: 0.66rem; color: var(--coral-dark); background: var(--coral-tint); padding: 2px 8px; border-radius: 999px; font-family: var(--fb); }
.msg { display: flex; gap: 7px; align-items: center; margin-bottom: 8px; }
.msg .av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 0.56rem;
  font-weight: 700;
}
.msg.editor .av { background: var(--ink); color: var(--paper); }
.msg.writer .av { background: var(--coral); color: #fff; }
.bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px 11px 11px 4px;
  padding: 7px 10px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--ink-soft);
  white-space: nowrap;
}
.msg.writer .bubble { background: var(--steel-tint); border-color: transparent; }
.bubble b { color: var(--ink); }
.tmeta { font-size: 0.66rem; color: var(--muted); text-align: left; margin: 4px 0 0 27px; }

.sc-card { right: 0; top: 0; width: 56%; background: #fff; color: var(--ink); padding: 22px 24px 20px; z-index: 2; }
.sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sc-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sc-sq { width: 10px; height: 10px; background: var(--coral); }
.sc-title { font-family: var(--fd); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.sc-row { display: grid; grid-template-columns: 9.2em 1fr 1.6em; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--ink-soft); padding: 5px 0; }
.sc-track { height: 8px; background: var(--paper-mid); border-radius: 99px; overflow: hidden; }
.sc-fill { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 99px; transition: width 1.1s var(--ease); }
.sc-row.low .sc-fill { background: var(--coral); }
.sc-val { font-weight: 600; color: var(--ink); text-align: right; }
.no-js .sc-fill { width: var(--w); }
.in .sc-fill { width: var(--w); }
.sc-issues { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.sc-issues span { font-size: 0.66rem; font-weight: 600; background: var(--coral-tint); color: var(--coral-dark); padding: 3px 9px; border-radius: 999px; }
.sc-foot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; }
.sc-pct { font-family: var(--fd); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; }
.sc-pct small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.sc-plabel { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.sc-verdict { font-family: var(--fd); font-weight: 700; font-size: 0.8rem; background: var(--coral); color: #fff; padding: 7px 12px; border-radius: 6px; }

.fixes-card {
  left: 0;
  bottom: 0;
  width: 43%;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 14px 16px;
  z-index: 3;
}
.fixes-card .fh { font-family: var(--fd); font-weight: 700; font-size: 0.8rem; margin: 0 0 8px; }
.fixes-card .fh em { font-style: normal; color: var(--coral); }
.fixes-card ul { list-style: none; margin: 0; padding: 0; font-size: 0.7rem; color: #c3c9d2; }
.fixes-card li { padding: 4px 0; border-top: 1px solid var(--line-dark); white-space: nowrap; }
.fixes-card li::before { content: "→ "; color: var(--coral); font-weight: 700; }
.fixes-card li b { color: var(--paper); }

.note { position: absolute; font-family: var(--hand); font-size: 1.35rem; line-height: 1.15; color: #ffc9b3; z-index: 4; pointer-events: none; }
.note .arr { display: inline-block; font-size: 1.5rem; transform: translate(6px, 4px); }
.note.n1 { left: 2px; top: -38px; transform: rotate(-4deg); white-space: nowrap; }
.note.n2 { right: -6px; top: -52px; max-width: 10em; transform: rotate(3deg); }
.note.n2 .arr { display: block; font-size: 1.6rem; transform: translateX(8px); }

/* hero stats */
.stats {
  max-width: 1080px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line-dark);
  padding: 34px 0 44px;
}
.stat .n { font-family: var(--fd); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.03em; }
.stat .n em { font-style: normal; color: var(--coral); padding: 0 0.14em; }
.stat .l { color: #9aa3af; font-size: 0.88rem; margin-top: 6px; max-width: 20em; }

/* ============ sections ============ */
.section { padding: 72px 0; }
.section-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section-heading.center { text-align: center; max-width: 44em; margin: 0 auto 12px; }
.section-heading.center .eyebrow { justify-content: center; }

.systems { background: var(--paper-mid); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ============ pain: leak diagram + cards ============ */
.leak-diagram { max-width: 940px; margin: 34px auto 8px; }
.leak-diagram svg { width: 100%; height: auto; display: block; }
.ld-nodes rect { fill: #fff; stroke: var(--line); }
.ld-nodes text { fill: var(--ink); font: 600 15px var(--fb); text-anchor: middle; }
.ld-arrows line { stroke: var(--muted); stroke-width: 2; }
.ld-arrows polygon { fill: var(--muted); }
.ld-leaks circle { fill: var(--coral); }
.ld-leaks text { fill: var(--coral-dark); font: 600 14px var(--fb); text-anchor: middle; }
.ld-drip { stroke: var(--coral); stroke-width: 2; stroke-dasharray: 4 5; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.feature-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.feature-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--coral-tint);
  color: var(--coral-dark);
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 8px;
}
.feature-grid p { color: var(--ink-soft); font-size: 0.92rem; margin: 0.2em 0 0; }

/* ============ systems: product ladder ============ */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.product-grid article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product-grid article.featured-product { border: 2px solid var(--coral); }
/* whole card is clickable: the text link stretches over its article */
.product-grid article { position: relative; }
.product-grid .text-link::before { content: ""; position: absolute; inset: 0; }
.product-grid article:has(.text-link:focus-visible) { outline: 2px solid var(--coral-dark); outline-offset: 2px; }
.product-label { font-family: var(--fd); font-weight: 800; color: var(--coral); font-size: 1.15rem; margin: 0; }
.product-grid h3 { font-size: 0.92rem; margin: 0; line-height: 1.35; }
.product-grid article > p:not(.product-label) { font-size: 0.8rem; color: var(--muted); margin: 0; flex: 1; }
.product-grid .text-link { font-size: 0.82rem; }

/* resources index uses the same grid at 3-up */
.resources .product-grid { grid-template-columns: repeat(3, 1fr); }

/* illustrated tracker strip */
.inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.ill {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ill:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ill .ih { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ill .ih .t { font-family: var(--fd); font-weight: 700; font-size: 0.92rem; }
.ill .ih .sq { width: 9px; height: 9px; background: var(--coral); }
.ill .rows { padding: 6px 0; }
.irow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.8rem; color: var(--ink-soft); border-bottom: 1px solid var(--paper-mid); }
.irow:last-child { border-bottom: none; }
.irow .nm { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ill .cap { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-soft); background: var(--paper); margin: 0; }
.ill .cap b { color: var(--ink); font-family: var(--fd); }

.pill { font-style: normal; font-size: 0.66rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-amber, .pill-red { background: var(--coral-tint); color: var(--coral-dark); }
.pill-green { background: var(--olive-tint); color: var(--olive); }
.pill-blue { background: var(--steel-tint); color: var(--steel); }
.pill-gray { background: var(--paper-mid); color: var(--ink-soft); }

/* real workspace proof shot */
.proof-shot { max-width: 880px; margin: 36px auto 0; }
.proof-frame { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lift); border-radius: 10px; overflow: hidden; }
.proof-frame .fbar { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.proof-frame .fname { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.proof-frame .fsq { width: 10px; height: 10px; background: var(--coral); }
/* the proof shot is shown whole and unscaled-in: it is the honesty exhibit */
.proof-crop { background: #fff; padding: 18px 22px; }
.proof-crop img { width: 100%; height: auto; display: block; }
.proof-caption { text-align: center; color: var(--ink-soft); font-size: 0.88rem; margin: 14px auto 0; max-width: 40em; }
.proof-caption b { color: var(--ink); }

/* ============ review band (ink) ============ */
.review-band { background: var(--ink); color: var(--paper); }
.review-band h2 { color: var(--paper); }
.review-band .eyebrow { color: #9aa3af; }
.review-band .section-heading p { color: #c3c9d2; }
.section-inner.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }

.operator-card { display: flex; gap: 14px; align-items: center; margin-top: 26px; }
.operator-card img { border-radius: 50%; flex: none; border: 2px solid var(--coral); }
.operator-card strong { display: block; font-family: var(--fd); }
.operator-card span { font-size: 0.85rem; color: var(--muted); }
.review-band .operator-card span { color: #9aa3af; }

.review-panel { background: var(--ink-2); border: 1px solid var(--line-dark); padding: 28px; }
.panel-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.panel-header span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa3af; }
.panel-header strong { font-family: var(--fd); font-weight: 800; font-size: 1.6rem; color: var(--coral); }
.check-list { margin: 14px 0 22px; padding: 0; list-style: none; color: #c3c9d2; font-size: 0.9rem; }
.check-list li { padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.check-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--coral); margin-right: 10px; vertical-align: 1px; }
.stacked-actions .text-link { color: var(--paper); }

/* artifact flow: two in, one out */
.flow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 52px; flex-wrap: wrap; }
.mini { background: #fff; color: var(--ink); border-radius: 8px; padding: 14px 16px; width: 190px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.mini .mt { font-family: var(--fd); font-weight: 700; font-size: 0.8rem; margin: 0 0 8px; }
.mini .ln { height: 6px; border-radius: 99px; background: var(--paper-mid); margin: 6px 0; }
.mini .ln.short { width: 62%; }
.mini .ln.red { background: var(--coral-tint); }
.mini.readout { border: 2px solid var(--coral); width: 210px; }
.mini.readout .ln.scoreln { background: var(--coral); }
.mini .vtag { display: inline-block; font-family: var(--fd); font-weight: 700; font-size: 0.68rem; background: var(--coral); color: #fff; padding: 3px 8px; border-radius: 5px; margin-top: 6px; }
.fop { font-family: var(--fd); font-weight: 800; font-size: 1.7rem; color: #9aa3af; }
.fop.eq { color: var(--coral); }
.flowcap { text-align: center; font-family: var(--hand); font-size: 1.45rem; color: #ffc9b3; margin: 18px 0 0; transform: rotate(-1.5deg); }

/* ============ process ============ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.process-grid .step { font-family: var(--fd); font-weight: 800; font-size: 3rem; color: var(--coral); line-height: 1; letter-spacing: -0.03em; display: block; }
.process-grid p { color: var(--ink-soft); font-size: 0.92rem; margin: 0.2em 0 0; }

/* ============ standards / principles ============ */
.standards { background: var(--paper-mid); border-top: 1px solid var(--line); }
.standard-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.standard-list p { display: flex; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 14px; }
.standard-list p::before { content: ""; width: 9px; height: 9px; background: var(--coral); flex: none; margin-top: 8px; }
.standard-list strong { color: var(--ink); }

/* ============ final CTA (ink) ============ */
.final-cta { background: var(--ink); color: var(--paper); text-align: center; padding: 84px 0; }
.final-cta h2 { color: var(--paper); font-size: 2.3rem; max-width: 20em; margin: 0 auto 0.4em; }
.final-cta p { color: #9aa3af; max-width: 36em; margin: 0 auto 26px; }
.final-cta .eyebrow { color: #9aa3af; justify-content: center; }
.final-actions { justify-content: center; }

/* ============ footer (ink) ============ */
.site-footer {
  background: var(--ink);
  color: #9aa3af;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 24px;
  padding-left: max(24px, calc((100% - 1080px) / 2));
  padding-right: max(24px, calc((100% - 1080px) / 2));
  font-size: 0.85rem;
}
.site-footer .footer-wordmark { color: var(--paper); }
.site-footer p { margin: 8px 0 0; max-width: 30em; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

/* ============ subpage hero (ink) ============ */
.sample-hero { background: var(--ink); color: var(--paper); padding: 48px 0; }
.sample-hero .eyebrow { color: #9aa3af; }
.sample-hero h1 { font-size: 2.4rem; max-width: 18em; }
.sample-hero .hero-copy { color: #c3c9d2; }
.sample-hero .email-fallback { color: #9aa3af; }
.credential-line { color: #9aa3af; font-size: 0.9rem; max-width: 44em; }
.sample-hero .trust-row { margin-top: 18px; margin-bottom: 0; }

/* ============ sample review report ============ */
.sample-layout { display: grid; grid-template-columns: 0.9fr 2fr; gap: 48px; align-items: start; }
.sample-sidebar {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}
.sample-sidebar h2 { font-size: 1.3rem; margin-top: 0.2em; }
.sample-sidebar ul { padding-left: 18px; color: var(--ink-soft); font-size: 0.92rem; }
.sample-sidebar li { margin-bottom: 6px; }
.sample-sidebar .operator-card { margin: 20px 0; }
.sample-sidebar .button { margin-top: 4px; }
.sample-sidebar .email-fallback { margin-top: 12px; text-align: center; }

.sample-report { min-width: 0; }
.sample-report > section { margin-bottom: 56px; }
.sample-report h2 { font-size: 1.7rem; }
.sample-report p { color: var(--ink-soft); }

.score-table { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.score-table > div { display: grid; grid-template-columns: 11em 4em 1fr; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.score-table > div:last-child { border-bottom: none; }
.score-table span[role="cell"] { font-weight: 600; font-family: var(--fd); }
.score-table strong { color: var(--coral-dark); font-family: var(--fd); font-size: 1.05rem; }
.score-table p { margin: 0; font-size: 0.9rem; }

.finding { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); padding: 24px; margin-bottom: 20px; }
.finding h3 { font-size: 1.15rem; margin: 0.4em 0 0.5em; }
.finding-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.finding-meta span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--coral-tint); color: var(--coral-dark); padding: 3px 10px; border-radius: 999px; }
.evidence-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.evidence-pair blockquote { margin: 0; background: var(--paper-mid); border-left: 3px solid var(--coral); padding: 12px 14px; font-size: 0.88rem; color: var(--ink-soft); }
.evidence-pair strong { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

pre {
  background: var(--ink);
  color: #e7eaee;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.55;
  border-radius: 8px;
}
pre code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.numbered-plan { color: var(--ink-soft); padding-left: 20px; }
.numbered-plan li { margin-bottom: 10px; }
.numbered-plan strong { color: var(--ink); }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero-layout, .section-inner.split, .sample-layout, .standard-grid { grid-template-columns: 1fr; }
  .sample-sidebar { position: static; }
  .product-grid, .resources .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .inside, .process-grid, .stats { grid-template-columns: 1fr; }
  /* stack the hero collage as offset relative cards */
  .art { min-height: 0; margin-top: 30px; padding-top: 46px; }
  .art-card { position: relative; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
  .thread-card { width: 92%; top: 0; left: 0; padding-right: 18px; }
  .sc-card { width: 94%; right: auto; top: 0; margin: -30px 4px 0 auto; }
  .fixes-card { width: 82%; bottom: auto; left: 0; margin-top: -8px; }
  .note.n1 { top: 2px; left: 2px; }
  .note.n2 { display: none; }
  .evidence-pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .product-grid, .resources .product-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  h1, .hero h1 { font-size: 2.1rem; }
  .sample-hero h1 { font-size: 1.9rem; }
  .score-table > div { grid-template-columns: 1fr 4em; }
  .score-table p { grid-column: 1 / -1; }
  .flow { gap: 12px; }
  .fop { width: 100%; text-align: center; }
  .site-footer { flex-direction: column; }
}
