/**
 * Future Proof · Profiler — site compositions
 * Header, hero, section bands, footer. Primitives live in theme.css.
 */

/* ================= Header ====================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__in { display: flex; align-items: center; gap: var(--space-8); min-height: 72px; }

.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand img { width: 42px; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: var(--tracking-display);
}
.brand__by {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.site-nav { margin-left: auto; display: flex; gap: var(--space-6); align-items: center; }
.site-nav a:not(.btn) {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}
.site-nav a:not(.btn):hover { color: var(--text-primary); }
.site-nav a[aria-current="page"] { color: var(--text-primary); }
.btn--nav { padding: 10px 18px; font-size: var(--text-sm); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 9px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--gutter) var(--space-6);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); }
  .site-nav .btn { margin-top: var(--space-4); justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ================= Hero ======================================== */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--teal-400);
  opacity: .12;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 { font-size: var(--text-6xl); max-width: 14ch; }
.hero .lead { max-width: 48ch; margin-bottom: var(--space-8); }
.hero .lead b { color: var(--text-inverse); }
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: var(--space-12);
  padding-top: var(--space-6);
}
.hero__stats .stat__label { color: var(--teal-200); opacity: .85; }
.hero__stats .stat__value { font-size: var(--text-3xl); }

/* ================= Report mock (illustrative product UI) ======= */
.report-mock {
  background: var(--bg-canvas);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.rm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-subtle); }
.rm-head b { font-family: var(--font-display); font-size: var(--text-lg); color: var(--text-primary); display: block; }
.rm-head span:not(.badge) { font-size: var(--text-xs); color: var(--text-muted); }
.rm-body { display: flex; gap: var(--space-6); align-items: center; padding-block: var(--space-6); }
.rm-facets { flex: 1; display: grid; gap: var(--space-3); }
.facet { display: grid; gap: 5px; }
.facet__row { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--text-secondary); }
.facet__row b { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.facet__track { height: 6px; border-radius: var(--radius-full); background: var(--neutral-100); overflow: hidden; }
.facet__fill { height: 100%; border-radius: var(--radius-full); background: var(--brand); }
.rm-foot {
  font-family: var(--font-mono);
  font-size: var(--text-xs); /* a11y floor: disclaimers must stay readable */
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-3);
}

/* Small ring (report mock + stats) */
.ring { position: relative; width: 108px; height: 108px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__txt b {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-numeral);
  color: var(--text-primary);
  line-height: 1;
}
.ring__txt span { font-size: 11px; color: var(--text-muted); }

/* ================= Section rhythm ============================== */
.section-head { max-width: var(--container-narrow); margin-bottom: clamp(40px, 5vw, 56px); }
.section-head h2 { font-size: var(--text-4xl); text-wrap: balance; margin-bottom: var(--space-3); }
.section-head p { margin: 0; font-size: var(--text-lg); }
.section-cta { margin-top: var(--space-8); }

/* Others ask / we answer */
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.contrast { border-radius: var(--radius-xl); padding: var(--space-8); }
.contrast--old { background: var(--bg-surface); }
.contrast--new { background: var(--bg-tint); }
.contrast .eyebrow { color: var(--text-muted); }
.contrast--new .eyebrow { color: var(--text-brand); }
.contrast blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.2;
  letter-spacing: var(--tracking-display);
  color: var(--text-primary);
}
.contrast p { margin: var(--space-4) 0 0; font-size: var(--text-sm); }

/* Steps — a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; }
.step-card { position: relative; padding-top: var(--space-6); border-top: 2px solid var(--border-subtle); }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-brand);
  display: block;
  margin-bottom: var(--space-3);
}
.step-card h3 { margin-bottom: var(--space-2); }
.step-card p { margin: 0; font-size: var(--text-sm); }

/* Capability cards */
.cap-card h3 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.cap-card p { margin: 0; font-size: var(--text-sm); }

/* Evidence split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split .section-head { margin-bottom: var(--space-6); }
.checklist { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-base); }
.checklist .icon { color: var(--positive); margin-top: 2px; }
.checklist b { color: var(--text-primary); }

/* Security grid */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.trust-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust-item .icon-chip { flex: none; } /* radius comes from the bloom-system rule below */
.trust-item h4 { margin: 0 0 2px; font-size: var(--text-base); }
.trust-item p { margin: 0; font-size: var(--text-sm); }

/* Final CTA */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-5xl); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 0 auto var(--space-8); }
.cta-band .hero__cta { justify-content: center; }

/* ================= Footer ====================================== */
.site-footer { background: var(--gradient-hero); color: var(--teal-100); padding-block: var(--space-16) var(--space-8); }
.site-footer a { color: var(--teal-100); text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-12); padding-bottom: var(--space-12); }
.footer-brand img { width: 56px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); max-width: 30ch; margin: 0; color: var(--teal-200); }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--teal-300);
}

/* ================= Ambient three.js field ====================== */
[data-fp-three] { position: relative; overflow: hidden; }
[data-fp-three] > .container { position: relative; z-index: 1; }
.fp-three-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero.has-three::after { display: none; } /* circle motif yields to the field */

/* ================= Inner pages ================================= */
.page-hero { border-bottom: 1px solid var(--border-subtle); }
.page-hero--ink { border-bottom: 0; }
.page-hero h1 { font-size: var(--text-5xl); max-width: 16ch; text-wrap: balance; }
.page-hero .lead { max-width: 52ch; margin: 0; }
.page-hero__cta { margin-top: var(--space-8); display: flex; gap: var(--space-3); flex-wrap: wrap; }

.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* Alternating feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; padding-block: var(--space-12); }
.feature-row + .feature-row { border-top: 1px solid var(--border-subtle); }
.feature-row:nth-child(even) > .feature-row__media { order: -1; }
.feature-row h3 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.feature-row > div > p { font-size: var(--text-base); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); align-items: start; }
.price-card { position: relative; }
.price-card--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: calc(-1 * var(--space-3)); right: var(--space-6); }
.price-card h3 { margin-bottom: var(--space-1); }
.price-card__for { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 var(--space-6); }
.price-card .checklist { margin-bottom: var(--space-6); }
.price-card .checklist li { font-size: var(--text-sm); }
.price-card .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq { max-width: var(--container-narrow); display: grid; gap: var(--space-3); }
.faq details { background: var(--bg-canvas); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: var(--space-4) var(--space-6); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); cursor: pointer; list-style: none; font-weight: 700; color: var(--text-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: var(--text-xl); color: var(--text-brand); line-height: 1; transition: transform var(--dur-base) var(--ease-standard); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--space-3) 0 0; font-size: var(--text-sm); }

/* 3 → 5 → 1 engine pipeline */
.pipe-grid { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: var(--space-4); align-items: start; }
.pipe-col { background: var(--bg-canvas); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-xs); }
.pipe-col__label { display: block; margin-bottom: var(--space-4); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--text-brand); }
.pipe-col__label b { display: block; font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; letter-spacing: var(--tracking-numeral); line-height: 1; color: var(--text-primary); margin-bottom: var(--space-1); }
.pipe-arrow { display: grid; place-items: center; color: var(--neutral-300); }
.pipe-item { padding-block: var(--space-3); border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--text-secondary); }
.pipe-item b { display: block; color: var(--text-primary); }
.pipe-fit { display: flex; align-items: center; gap: var(--space-2); padding-block: var(--space-2); border-top: 1px solid var(--border-subtle); font-weight: 700; font-size: var(--text-sm); color: var(--text-primary); }
.pipe-fit .icon { width: 15px; height: 15px; color: var(--positive); flex: none; }
.pipe-verdict { display: grid; justify-items: center; text-align: center; gap: var(--space-3); padding-top: var(--space-2); }
.trust-bar { margin-top: var(--space-8); display: flex; gap: var(--space-4) var(--space-8); flex-wrap: wrap; justify-content: center; }
.trust-bar span { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.trust-bar .icon { width: 16px; height: 16px; color: var(--brand-strong); flex: none; }
.trust-bar b { color: var(--text-primary); }
@media (max-width: 980px) {
  .pipe-grid { grid-template-columns: 1fr; }
  .pipe-arrow { transform: rotate(90deg); min-height: 28px; }
}

/* Checklist on ink bands */
.checklist--inverse li { color: var(--teal-100); }
.checklist--inverse li b { color: #fff; }
.checklist--inverse .icon { color: var(--teal-300); }

/* Hero-scale art scenes */
.hero-art { width: 100%; max-width: 640px; height: auto; display: block; }
.hero .hero-art { justify-self: end; }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-12); align-items: center; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__grid .hero-art { max-width: 480px; }
}

/* Warm highlight accent — sparing by decree: ticks, markers, frame dots only */
.eyebrow::before { content: ""; display: inline-block; width: 10px; height: 13px; border-radius: 50% 50% 50% 4px; background: var(--teal-300); margin-right: 9px; vertical-align: -2px; transform: rotate(45deg); }
.hl { background: linear-gradient(transparent 64%, rgba(225, 154, 31, .38) 64%, rgba(225, 154, 31, .38) 90%, transparent 90%); }
.band--ink .hl { background: linear-gradient(#F0AD4E, #F0AD4E) 0 92% / 100% 4px no-repeat; }

/* Inner ink heroes share the home/compare identity */
.page-hero--ink { border-bottom: 0; }
.page-hero--ink .hero-art { width: 100%; max-width: 440px; justify-self: end; }
.band--ink .chip { border-color: rgba(255, 255, 255, .28); color: var(--teal-100); background: transparent; }
.band--ink .chip:hover { border-color: var(--teal-300); color: #fff; }

/* Spot illustrations — composed into tinted frames, not floating */
.section-head--art { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-12); align-items: center; }
.section-head--art > :not(.art-frame) { grid-column: 1; }
.section-head--art .art-frame { grid-column: 2; grid-row: 1 / span 3; }
.art-frame { position: relative; display: inline-block; padding: 22px; background: var(--bg-tint); border-radius: var(--radius-2xl); }
.band--tint .art-frame, .band--ink .art-frame { background: rgba(255, 255, 255, .55); }
.art-frame::before { content: ""; position: absolute; right: -12px; top: -12px; width: 48px; height: 48px; border: 2px dashed var(--teal-200); border-radius: 50%; animation: frame-breathe 14s linear infinite; }
.art-frame::after { content: ""; position: absolute; right: 16px; bottom: 14px; width: 34px; height: 34px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'><g transform='translate(30 31) rotate(0)'><rect x='-4.5' y='-23' width='9' height='17' rx='4.5' fill='%230297B1'/></g><g transform='translate(30 31) rotate(72)'><rect x='-4.5' y='-23' width='9' height='17' rx='4.5' fill='%238B5CF6'/></g><g transform='translate(30 31) rotate(144)'><rect x='-4.5' y='-23' width='9' height='17' rx='4.5' fill='%232E9E63'/></g><g transform='translate(30 31) rotate(216)'><rect x='-4.5' y='-23' width='9' height='17' rx='4.5' fill='%23C0509A'/></g><g transform='translate(30 31) rotate(288)'><rect x='-4.5' y='-23' width='9' height='17' rx='4.5' fill='%23E19A1F'/></g><circle cx='30' cy='31' r='5.5' fill='%230D3B49'/></svg>") no-repeat center / contain; opacity: .9; }
.art-frame .spot-art { display: block; width: clamp(200px, 24vw, 300px); height: auto; margin: -16px 16px 4px -16px; }
@keyframes frame-breathe { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .art-frame::before { animation: none; } }
@media (max-width: 720px) {
  .section-head--art { grid-template-columns: 1fr; }
  .section-head--art .art-frame { display: none; }
}

/* Two-column checklist that collapses (grid — `columns` is ignored on grid containers) */
.checklist--cols { max-width: none; grid-template-columns: 1fr 1fr; column-gap: var(--space-12); }
@media (max-width: 860px) { .checklist--cols { grid-template-columns: 1fr; } }

/* Feature sections */
.anchor-nav { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-8); }
.anchor-nav .chip { text-decoration: none; cursor: pointer; }
.anchor-nav .chip:hover { border-color: var(--brand); color: var(--text-brand); }
.band--ink .section-head h2 { color: #fff; }
.band--ink .section-head p { color: var(--teal-100); }
.band--ink .trust-item h4 { color: #fff; }
.band--ink .trust-item p { color: var(--teal-100); opacity: .85; }
.band--ink .icon-chip { background: rgba(255, 255, 255, .08); color: var(--teal-300); }
.band--ink .section-cta .btn--ghost { background: rgba(255, 255, 255, .08); color: var(--teal-200); }
.band--ink .section-cta .btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Proctor console mock */
.cam-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.cam { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); background: var(--gradient-hero); color: #fff; display: grid; place-items: center; overflow: hidden; }
.cam > b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; opacity: .55; }
.cam__status { position: absolute; top: 7px; left: 8px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--teal-200); }
.cam__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
.cam--flag .cam__status::before { background: var(--warning); }
.cam--flag { box-shadow: inset 0 0 0 2px var(--warning); }
.event-feed { display: grid; gap: var(--space-2); padding-top: var(--space-4); }
.event { display: flex; gap: var(--space-3); align-items: baseline; font-size: var(--text-xs); color: var(--text-secondary); }
.event time { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; }
.event .badge { margin-left: auto; flex: none; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-canvas); box-shadow: var(--shadow-xs); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: var(--text-sm); }
.compare-table th, .compare-table td { padding: var(--space-4) var(--space-4); text-align: left; vertical-align: top; }
.compare-table thead th { font-family: var(--font-sans); font-weight: 800; color: var(--text-primary); border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.compare-table tbody th { font-weight: 700; color: var(--text-primary); min-width: 190px; }
.compare-table tbody tr + tr :is(th, td) { border-top: 1px solid var(--border-subtle); }
.compare-table .col-profiler { background: var(--bg-tint); }
.compare-table thead .col-profiler { border-top: 3px solid var(--brand); }
.compare-table tfoot td { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); border-top: 1px solid var(--border-strong); }
.mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; margin-right: 6px; }
.mark .icon { width: 15px; height: 15px; }
.mark--yes { color: var(--positive-text); }
.mark--part { color: var(--warning-text); }
.mark--no { color: var(--text-muted); }
.mark--na { color: var(--text-muted); font-weight: 500; font-size: var(--text-xs); white-space: normal; }
.compare-legend { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-4); font-size: var(--text-xs); color: var(--text-muted); }

/* v2 — named-vendor matrix: marks centered, row labels sticky on scroll */
.compare-table--v2 td { text-align: center; vertical-align: middle; }
.compare-table--v2 tbody th, .compare-table--v2 thead th:first-child { position: sticky; left: 0; background: var(--bg-canvas); box-shadow: 1px 0 0 var(--border-subtle); z-index: 1; }
.compare-table--v2 thead th { text-align: center; }
.compare-table--v2 thead th:first-child { text-align: left; }
.compare-table--v2 .mark { margin: 0; justify-content: center; }
.cell-note { display: block; font-size: var(--text-xs); line-height: 1.45; color: var(--text-muted); font-weight: 400; margin-top: 3px; }
.row-price th, .row-price td { border-top: 2px solid var(--border-strong) !important; }
.row-price td { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); color: var(--text-primary); }
.row-price .cell-note { font-family: var(--font-sans); }
.price-quote { color: var(--text-muted); font-weight: 500; }
.compare-sources { max-width: var(--container-narrow); margin-top: var(--space-8); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.6; }
.compare-sources a { color: var(--text-brand); }

/* Stack math — them vs us */
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
.stack-card { border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); padding: var(--space-8); background: var(--bg-canvas); display: flex; flex-direction: column; }
.stack-card--us { background: var(--bg-tint); border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.stack-card h3 { margin-bottom: var(--space-2); }
.stack-card .sub { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 var(--space-4); }
.stack-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding-block: var(--space-3); border-top: 1px dashed var(--border-strong); font-size: var(--text-sm); color: var(--text-secondary); }
.stack-line b { color: var(--text-primary); font-weight: 700; }
.stack-line .val { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); text-align: right; white-space: nowrap; flex: none; }
.stack-line .val--good { color: var(--positive-text); font-weight: 700; }
.stack-total { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: auto; padding-top: var(--space-4); border-top: 2px solid var(--border-strong); font-weight: 800; color: var(--text-primary); font-size: var(--text-base); }
.stack-card--us .stack-total { border-top-color: var(--brand); }
@media (max-width: 860px) { .stack-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .stack-card { padding: var(--space-6); }
  .stack-line { flex-wrap: wrap; }
  .stack-line .val { white-space: normal; text-align: left; }
  .stack-total { flex-wrap: wrap; }
}

/* Responsive gap fixes */
@media (max-width: 1100px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .rm-body { flex-wrap: wrap; }
  .band { padding-block: var(--space-12); }
  .split { gap: var(--space-8); }
}

/* Demo form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-grid .field--full { grid-column: 1 / -1; }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; }
.form-note { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-3); }

/* Report walkthrough annotations */
.anno { counter-reset: anno; display: grid; gap: 0; }
.anno .feature-row::before {
  counter-increment: anno;
  content: "0" counter(anno);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-brand);
  grid-column: 1 / -1;
  margin-bottom: calc(-1 * var(--space-8));
}

/* ================= Responsive ================================== */
@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: var(--space-12); }
  .report-mock { justify-self: start; }
  .contrast-grid { grid-template-columns: 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .feature-row { grid-template-columns: 1fr; gap: var(--space-8); }
  .feature-row:nth-child(even) > .feature-row__media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
 * Marketing type scale — reads larger than the product-UI base.
 * (Guide's 15px base is for admin surfaces; marketing gets air.)
 * ------------------------------------------------------------- */
body { font-size: 1.0625rem; }                       /* 17px */
.lead { font-size: 1.3125rem; line-height: 1.6; }    /* 21px */
.section-head p { font-size: 1.125rem; }             /* 18px */
.checklist li { font-size: 1.0625rem; }
.site-nav a { font-size: 0.9375rem; }
.trust-item p, .step-card p, .cap-card p, .bento .card p { font-size: 0.9375rem; }  /* 15px, up from 13 */
.trust-item h4 { font-size: 1.0625rem; }
.step-card h3 { font-size: 1.375rem; }
.contrast p, .faq p, .voice-item p { font-size: 1rem; }
.footer-brand p, .footer-col a { font-size: 0.9375rem; }
.btn { font-size: 1rem; }
.btn--nav { font-size: 0.9375rem; }

/* 5Profiler identity */
.fit-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.brand__name em { font-style: normal; color: var(--brand); }

/* Bloom system v3 — petal-cornered icon chips (5Profiler grammar) */
.icon-chip { border-radius: 50% 50% 50% 10px; }
.band--ink .icon-chip { border-radius: 50% 50% 50% 10px; }

/* ================= Accessibility utilities ===================== */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -48px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-standard);
}
.skip-link:focus-visible { top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ================= Real product screenshots ==================== */
/* Browser-chrome frame — signals "this is the actual product". */
.shot-frame {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.shot-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px var(--space-4);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.shot-frame__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neutral-300);
}
.shot-frame__bar i:first-child { background: var(--teal-400); }
.shot-frame__url {
  margin-left: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: .02em;
}
.shot-frame > img { display: block; width: 100%; height: auto; }
.band--ink .shot-frame {
  border-color: rgba(99, 218, 236, .28);
  box-shadow: 0 24px 48px rgba(2, 20, 27, .5), 0 0 0 1px rgba(99, 218, 236, .12), 0 10px 60px rgba(18, 188, 216, .18);
}
.band--ink .shot-frame__bar { background: rgba(255, 255, 255, .05); border-bottom-color: rgba(255, 255, 255, .09); }
.band--ink .shot-frame__url { color: var(--teal-200); }

/* Standalone screenshot images inside content splits */
.shot-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.shot-caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--text-muted);
  margin: var(--space-3) 0 0;
}
.band--ink .shot-caption { color: var(--teal-300); }
.hero .shot-frame { max-width: 680px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .hero .shot-frame { justify-self: stretch; } }

/* ================= Production-proof bar ======================== */
.proof-bar { border-bottom: 1px solid var(--border-subtle); background: var(--bg-surface); padding-block: var(--space-8); }
.proof-bar__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}
.proof-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.proof-item { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--text-secondary); }
.proof-item .icon { width: 16px; height: 16px; color: var(--brand-strong); flex: none; margin-top: 2px; }
.proof-item b { color: var(--text-primary); }
@media (max-width: 860px) { .proof-bar__grid { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ================= Audience cards (enterprise / campus) ======== */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.aud-card {
  display: block;
  text-decoration: none;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.aud-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border-brand); }
.aud-card .eyebrow { color: var(--text-brand); }
.aud-card h3 { font-size: var(--text-2xl); margin: var(--space-2) 0 var(--space-3); color: var(--text-primary); }
.aud-card p { margin: 0 0 var(--space-4); font-size: var(--text-base); color: var(--text-secondary); }
.aud-card .aud-card__link { font-weight: 700; color: var(--text-brand); display: inline-flex; align-items: center; gap: 6px; }
.aud-card .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* ================= Prose (legal & simple pages) ================ */
.entry { font-size: var(--text-base); }
.entry h2 { font-size: var(--text-2xl); margin: var(--space-8) 0 var(--space-3); }
.entry p { margin: 0 0 var(--space-4); }
.entry a { color: var(--text-brand); }
.entry em { color: var(--text-muted); }
article > h1 { font-size: var(--text-4xl); margin-bottom: var(--space-6); }

/* ================================================================
   Research — hub cards, article typography, figures, references
   ================================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-6); }
.article-card { display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; color: inherit; }
.article-card h3 { font-size: var(--text-xl); margin: 0; }
.article-card p { font-size: var(--text-base); color: var(--text-secondary); margin: 0; flex: 1; }
.article-card__meta {
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: var(--tracking-label);
}
.articles-note { margin-top: var(--space-12); font-size: var(--text-sm); color: var(--text-muted); }

.article-hero .lead { max-width: 60ch; }
.article-crumb {
  font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: var(--tracking-label); color: var(--teal-300); margin-bottom: var(--space-4);
}
.article-crumb a { color: var(--teal-300); text-decoration: none; }
.article-crumb a:hover { color: #fff; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-8);
  font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: var(--tracking-label); color: var(--teal-200);
}

/* Long-form reading */
.article { font-size: var(--text-lg); color: var(--neutral-800); }
.article > p { line-height: var(--leading-body-lg); margin: 0 0 var(--space-6); }
.article > p:first-of-type { font-size: var(--text-xl); color: var(--text-primary); }
.article h2 { font-size: var(--text-3xl); margin: var(--space-16) 0 var(--space-4); }
.article h3 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-3); }
.article a { color: var(--text-brand); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--brand-deep); }
.article b, .article strong { color: var(--text-primary); }
.article ul, .article ol { margin: 0 0 var(--space-6); padding-left: 1.3em; display: grid; gap: var(--space-2); }
.article li { line-height: var(--leading-body); }
.article blockquote {
  margin: var(--space-10, 40px) 0; padding-left: var(--space-6); border-left: 3px solid var(--brand);
  font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.35; color: var(--text-primary);
}
.article blockquote cite { display: block; margin-top: var(--space-3); font-family: var(--font-mono); font-style: normal; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--text-muted); }

/* Key-stat aside */
.pull-stat {
  display: grid; gap: var(--space-1); margin: var(--space-8) 0; padding: var(--space-6) var(--space-8);
  background: var(--bg-tint); border-left: 3px solid var(--brand); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pull-stat b {
  font-family: var(--font-display); font-size: var(--text-4xl); line-height: var(--leading-numeral);
  letter-spacing: var(--tracking-numeral); color: var(--brand-deep);
}
.pull-stat span { font-size: var(--text-base); color: var(--text-secondary); max-width: 44ch; }

/* Figures — inline SVG charts */
.article-fig {
  margin: var(--space-12) 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
  background: var(--bg-canvas); box-shadow: var(--shadow-xs); overflow: hidden;
}
.article-fig .fig-wrap { padding: var(--space-6) var(--space-6) var(--space-4); overflow-x: auto; }
.article-fig svg { display: block; width: 100%; height: auto; min-width: 560px; }
.article-fig figcaption {
  padding: var(--space-4) var(--space-6); border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface); font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5;
}
.article-fig figcaption b { color: var(--text-primary); }

/* SVG chart vocabulary (styled here so every figure matches).
   Modifier classes (--b, --dim, --accent…) set only weight/fill/stroke and MUST be
   combined with their base class (class="fig-t fig-t--b") — except .fig-line--dim,
   which is deliberately self-contained. Panel titles use .fig-title, which is
   self-contained at display size. */
.fig-title { font-family: var(--font-sans); font-size: 18px; font-weight: 700; fill: var(--ink); }
.fig-title--dim { font-weight: 400; fill: var(--neutral-500); }
.fig-t     { font-family: var(--font-sans); font-size: 13px; fill: var(--neutral-800); }
.fig-t--b  { font-weight: 700; fill: var(--ink); }
.fig-t--inv{ fill: #fff; }
.fig-ax    { font-family: var(--font-mono); font-size: 11px; fill: var(--neutral-600); }
.fig-num   { font-family: var(--font-mono); font-size: 12px; font-weight: 700; fill: var(--ink); }
.fig-num--dim { fill: var(--neutral-500); font-weight: 400; }
.fig-note  { font-family: var(--font-sans); font-size: 12px; font-style: italic; fill: var(--neutral-600); }
.fig-grid  { stroke: var(--neutral-200); stroke-width: 1; }
.fig-axis  { stroke: var(--neutral-400); stroke-width: 1.5; }
.fig-bar        { fill: var(--teal-500); }
.fig-bar--deep  { fill: var(--teal-700); }
.fig-bar--soft  { fill: var(--teal-200); }
.fig-bar--dim   { fill: var(--neutral-300); }
.fig-bar--accent{ fill: var(--fit-cognitive); }
.fig-bar--warn  { fill: var(--warning); }
.fig-bar--pos   { fill: var(--positive); }
.fig-line        { stroke: var(--teal-600); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fig-line--accent{ stroke: var(--fit-cognitive); }
.fig-line--dim   { stroke: var(--neutral-400); stroke-dasharray: 5 4; stroke-width: 2; }
.fig-area   { fill: var(--teal-100); opacity: .55; }
.fig-area--accent { fill: var(--fit-cognitive); opacity: .14; }
.fig-dot    { fill: var(--teal-600); }
.fig-dot--accent { fill: var(--fit-cognitive); }
.fig-dot--warn   { fill: var(--warning); }
.fig-chip   { fill: var(--bg-tint); stroke: var(--teal-200); }
.fig-curve-cut { stroke: var(--critical); stroke-width: 2; stroke-dasharray: 6 4; }

/* Product tie-in + references + prev/next */
.article-note {
  margin: var(--space-12) 0 0; padding: var(--space-8); background: var(--bg-tint);
  border-radius: var(--radius-xl); border: 1px solid var(--teal-100);
}
.article-note h3 { margin: 0 0 var(--space-3); font-size: var(--text-xl); }
.article-note p { font-size: var(--text-base); margin: 0 0 var(--space-4); color: var(--text-secondary); }
.article-note p:last-child { margin-bottom: 0; }

.article-refs { margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid var(--border-subtle); }
.article-refs h2 { font-size: var(--text-2xl); margin: 0 0 var(--space-4); }
.article-refs ol { margin: 0; padding-left: 1.4em; display: grid; gap: var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); }
.article-refs li { line-height: 1.55; }

.article-nav {
  display: flex; justify-content: space-between; gap: var(--space-6);
  margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--border-subtle);
}
.article-nav a { display: grid; gap: var(--space-1); text-decoration: none; max-width: 44%; }
.article-nav a span {
  font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: var(--tracking-label); color: var(--text-muted);
}
.article-nav a b { color: var(--text-primary); font-family: var(--font-display); }
.article-nav a:hover b { color: var(--brand-deep); }
.article-nav__next { text-align: right; margin-left: auto; }

@media (max-width: 700px) {
  .article { font-size: var(--text-base); }
  .article > p:first-of-type { font-size: var(--text-lg); }
  .pull-stat { padding: var(--space-4) var(--space-6); }
}

/* Rights marks — figure captions, in-SVG corner, article footer */
.fig-rights {
  display: block; margin-top: var(--space-2);
  font-family: var(--font-mono); font-size: 10px; font-style: normal;
  text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--neutral-400);
}
.fig-cr { font-family: var(--font-mono); font-size: 9px; fill: var(--neutral-300); }
.article-rights {
  margin: var(--space-12) 0 0;
  font-family: var(--font-mono); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--text-muted);
}
