/* ── alcoia — components ───────────────────────────────────────────────── */

/* ── buttons — flat, no shadow, ever (§6.4) ─────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--alc-ui);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), opacity 160ms var(--ease);
  box-shadow: none;
}

.btn:disabled, .btn.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn:disabled:hover, .btn.btn-disabled:hover {
  background-color: inherit;
  border-color: inherit;
  color: inherit;
}

/* primary — the once-per-page lilac accent (§6.1)
 * Contrast note: the 2026-08 palette revision deepened --lilac from
 * #B8A9C9 to #7E60AE, which flips §6.3's rule. Ink-on-#B8A9C9 was the
 * compliant pairing under the old, lighter lilac; ink-on-#7E60AE measures
 * ~2.5:1 and fails AA outright. --paper-on-#7E60AE measures ~4.7:1 (AA
 * pass, normal text) and ~7.3:1 on the --lilac-deep hover state. Paper
 * text is therefore correct now, not ink. Re-verify if the hex changes again. */
.btn-primary {
  background: var(--lilac);
  color: var(--paper);
}
.btn-primary:hover { background: var(--lilac-deep); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-inverse {
  background: var(--paper);
  color: var(--ink);
}
.btn-inverse:hover { background: var(--lilac); color: var(--paper); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }

/* ── cards ───────────────────────────────────────────────────────────── */

.card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.card-sunk {
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.card-floating {
  box-shadow: var(--shadow-panel);
  border-radius: var(--radius-lg);
}

/* ── badges / pills ──────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--alc-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--paper-sunk);
  color: var(--ink-muted);
  border: 1px solid var(--rule);
}

.pill-sage { background: var(--sage-wash); color: var(--sage-deep); border-color: transparent; }
.pill-lilac { background: var(--lilac-wash); color: var(--lilac-deep); border-color: transparent; }
.pill-clay { background: var(--clay-wash); color: var(--clay-deep); border-color: transparent; }

/* ── state vocabulary tags (§2.3) ───────────────────────────────────── */

.state-tag {
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--paper-raised);
  white-space: nowrap;
}

/* ── the question card mockup (§13) ─────────────────────────────────── */

.qcard {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 30rem;
}

.qcard__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qcard__badge {
  font-family: var(--alc-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  background: var(--sage-wash);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
  border: 1px solid var(--sage);
}

.qcard__label {
  font-family: var(--alc-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.qcard__context {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.qcard__quote {
  border-left: 3px solid var(--sage);
  padding-left: 1rem;
  font-family: var(--alc-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-block: 1rem;
  font-weight: 500;
}

.qcard__question {
  font-family: var(--alc-serif);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qcard__choices {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
}

.qcard__choice {
  text-align: left;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--alc-serif);
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
  transition: all 180ms var(--ease);
}
.qcard__choice:hover:not(:disabled) {
  border-color: var(--lilac-deep);
  background: var(--lilac-wash);
}

/* answered state: right ends it (sage), wrong shows what was right (clay
   for the miss, sage for the actual answer) — same vocabulary as the rest
   of the system (§6.2, §13.1), not a generic quiz-app green/red */
.qcard__choice:disabled { cursor: default; }
.qcard__choice:disabled:not(.is-correct):not(.is-wrong) { opacity: 0.5; }
.qcard__choice.is-correct {
  border-color: var(--sage-deep);
  background: var(--sage-wash);
  color: var(--sage-deep);
  font-weight: 600;
}
.qcard__choice.is-wrong {
  border-color: var(--clay);
  background: var(--clay-wash);
  color: var(--clay-deep);
  font-weight: 500;
}

.qcard__feedback {
  margin-top: 1rem;
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qcard__explain {
  margin-top: 1.25rem;
  background: var(--sage-wash);
  border-radius: var(--radius);
  border: 1px solid var(--sage);
  padding: 1rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  position: relative;
  display: none;
}
.qcard__explain.is-visible { display: block; }

.qcard__stats {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--alc-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* return-mark icon: circular arrow, "come back to this" (§13.2) */
.icon-return {
  width: 1rem; height: 1rem;
  flex: none;
  stroke: var(--sage-deep);
  stroke-width: 1.5;
  fill: none;
  vertical-align: -2px;
  margin-right: 0.35rem;
}

.icon-spark {
  width: 0.85rem; height: 0.85rem;
  flex: none;
  stroke: var(--sage);
  stroke-width: 1.4;
  fill: none;
  vertical-align: -1px;
  margin-right: 0.35rem;
  display: inline-block;
}

/* ── inversion sections (§6.1) — at most twice per page ─────────────── */

.inverse {
  background: var(--ink);
  color: var(--paper);
}
.inverse .eyebrow, .inverse .caption { color: rgba(249, 247, 242, 0.6); }
/* Contrast note: base --lilac (#7E60AE) against the --ink ground measures
   ~2.5:1 — fails both the 4.5:1 text minimum and the 3:1 non-text/UI-boundary
   minimum (WCAG 1.4.11). It cannot be used as text or a thin stroke directly
   on --ink. Links stay --paper (underlined for affordance, ~11.8:1); the
   "one lilac accent" per inverted section (§6.1) has to be a filled shape —
   a lilac button or .inverse-accent pill — whose own text is checked against
   its own fill, not against --ink. */
.inverse a:not(.btn) {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(249, 247, 242, 0.45);
}
.inverse a:not(.btn):hover { text-decoration-color: var(--paper); }
.inverse .rule, .inverse hr { border-color: rgba(249, 247, 242, 0.18); }

/* the one permitted lilac accent inside an inverted section: a small
   filled pill, never bare text or a hairline against --ink directly */
.inverse-accent {
  display: inline-flex;
  align-items: center;
  background: var(--lilac);
  color: var(--paper);
  font-family: var(--alc-ui);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
}

/* focus rings on a dark ground: --lilac-deep (~1.6:1 on --ink) is close to
   invisible, so inverted sections get a light ring instead */
.inverse :focus-visible {
  outline-color: var(--lilac-wash);
}

/* code/kbd chips keep a light fill regardless of section — without this,
   the chip's own light background would carry inherited light text from
   .inverse and disappear */
.inverse code, .inverse kbd { color: var(--ink); }

/* ── billing toggle (/pricing) — CSS-only, works with JS disabled ──────
 * Two visually-hidden radios (siblings, in document order before both
 * .toggle-group and the two .tiers-* grids) drive which price grid shows
 * via the general sibling combinator. No JS required; §7 mandates the
 * site stay fully readable and operable with JavaScript off. */
.toggle-group {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  background: var(--paper-raised);
}
.toggle-option {
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-muted);
}
#bill-annual:checked ~ .toggle-group label[for="bill-annual"],
#bill-monthly:checked ~ .toggle-group label[for="bill-monthly"] {
  background: var(--lilac);
  color: var(--paper);
}
#bill-annual:focus-visible ~ .toggle-group label[for="bill-annual"],
#bill-monthly:focus-visible ~ .toggle-group label[for="bill-monthly"] {
  outline: 2px solid var(--lilac-deep);
  outline-offset: 2px;
}
/* 3-2 pricing layout: top row 3 cards, bottom row 2 cards centered */
.tiers-annual, .tiers-monthly {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* All 6 tier cards stretch to fill their column width */
.tiers-annual > *,
.tiers-monthly > * {
  justify-self: stretch;
}

.tiers-monthly { display: none; }
#bill-monthly:checked ~ .tiers-annual { display: none; }
#bill-monthly:checked ~ .tiers-monthly { display: grid; }

/* ── signal-hierarchy diagram (/how-it-works) ───────────────────────── */

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.authority-grid > * { background: var(--paper-raised); padding: 1.75rem; }
@media (max-width: 860px) {
  .authority-grid { grid-template-columns: 1fr; }
}

/* ── forms ───────────────────────────────────────────────────────────── */

.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  font-family: var(--alc-serif);
  font-size: 1rem;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lilac-deep);
}
.field-hint { font-size: 0.8125rem; color: var(--ink-muted); }

/* ── key caps / code ─────────────────────────────────────────────────── */

kbd {
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}

code {
  font-family: var(--alc-ui);
  font-size: 0.875em;
  background: var(--paper-sunk);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
}

pre code { background: none; padding: 0; }

/* ── tables ──────────────────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--alc-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); font-weight: 600; }

/* ── FAQ / disclosure ────────────────────────────────────────────────── */

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-family: var(--alc-serif);
  font-weight: 600;
  font-size: 1.0625rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--alc-ui);
  color: var(--ink-muted);
  flex: none;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 1.1rem; color: var(--ink-muted); }

/* ── TODO markers on legal pages ─────────────────────────────────────── */

.legal-todo {
  display: inline-block;
  font-family: var(--alc-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clay-deep);
  background: var(--clay-wash);
  border: 1px solid var(--clay);
  border-radius: var(--radius);
  padding: 0.15rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 247, 242, 0.92);
  backdrop-filter: none; /* no glassmorphism (§6.4) */
  border-bottom: 1px solid var(--rule);
  transition: border-color 300ms var(--ease);
}

/* on home page, hide border until hero scrolls out */
body.is-home .site-header {
  border-bottom-color: transparent;
}
body.is-home .site-header.is-visible {
  border-bottom-color: var(--rule);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
  /* .wrap's 78rem max-width is a reading-measure constraint for body copy;
     a horizontal nav bar doesn't need it and was losing a losing fight for
     space against it — confirmed by screenshot, not assumed. */
  max-width: 90rem;
}

.wordmark {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}

/* on home page, logo hidden until hero scrolls out, then animates in/out */
body.is-home .wordmark {
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}
body.is-home .wordmark.is-visible {
  animation: logoReveal 0.5s var(--ease) forwards;
  pointer-events: auto;
}
body.is-home .wordmark.is-hiding {
  animation: logoHide 0.5s var(--ease) forwards;
  pointer-events: none;
}

@keyframes logoReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes logoHide {
  from { clip-path: inset(0 0 0 0); }
  to { clip-path: inset(0 100% 0 0); }
}

/* aspect ratio is the source PNG's (1672x616 = ~2.714:1) — height-driven
   sizing so it sits in the header row like the old text wordmark did */
.wordmark-img {
  display: block;
  height: 1.75rem;
  width: auto;
}

/* min-width:0 is load-bearing: a flex item's default min-width is "auto",
   which for a nested flex container like this nav means it refuses to
   shrink below the summed min-content width of every link — silently
   overflowing the header past the wrap's right edge on ordinary desktop
   widths instead of letting individual links give up space. Without this,
   the CTA button gets pushed off-screen the moment the nav has one link
   too many; caught by an actual screenshot, not just a code read. */
.main-nav { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
/* :not(.btn) is load-bearing: ".main-nav a" (class+tag) outranks ".btn-primary"
   (class-only) by specificity regardless of source order, so without this
   exclusion the CTA button's text silently inherits ink-muted grey instead
   of paper — legible-looking in a code read, illegible against lilac in
   the actual render (~2:1 contrast, confirmed via computed style, not just
   eyeballed). */
.main-nav a:not(.btn) {
  font-family: var(--alc-ui);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.main-nav .btn { flex-shrink: 0; white-space: nowrap; }
.main-nav a:not(.btn):hover, .main-nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
  border-color: var(--lilac-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.5rem 0.7rem;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 60px;
    width: min(20rem, 85vw);
    height: calc(100vh - 60px);
    background: var(--paper);
    border-left: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 260ms var(--ease);
    overflow-y: auto;
  }
  .main-nav[data-open="true"] { transform: translateX(0); }
  .nav-toggle { display: inline-flex; }
}

/* ── footer ──────────────────────────────────────────────────────────── */

.site-footer { background: var(--paper-sunk); border-top: 1px solid var(--rule); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

.footer-col h4 {
  font-family: var(--alc-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}

.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a {
  font-family: var(--alc-ui);
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-meta {
  border-top: 1px solid var(--rule);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--alc-ui);
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.gh-mark {
  width: 22px; height: 22px;
  color: var(--ink-muted);
  transition: color 160ms var(--ease);
}
a:hover .gh-mark, .gh-link:hover .gh-mark { color: var(--ink); }
.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-family: var(--alc-ui);
  font-size: 0.875rem;
}
.gh-link:hover { color: var(--ink); }

/* CJ credit mark — raster logo (not currentColor-able like the GH SVG), so
   hover uses opacity instead of a color transition. Aspect ratio ~1.62:1
   (998x616), height-matched to the 22px GH glyph beside it. */
.cj-link {
  display: inline-flex;
  align-items: center;
}
.cj-mark {
  height: 22px;
  width: auto;
  opacity: 0.75;
  transition: opacity 160ms var(--ease);
}
.cj-link:hover .cj-mark { opacity: 1; }

.footer-wordmark-link { display: block; text-decoration: none; }

/* the footer wordmark — largest type on the site (§5.3) */
/* width-driven (not height/font-size) since this is now the wordmark PNG,
   aspect ratio ~2.714:1 (1672x616) — the clamp range targets roughly the
   same visual scale the old clamp(4rem,18vw,16rem) text produced */
.footer-wordmark {
  display: block;
  width: clamp(18rem, 85vw, 60rem);
  height: auto;
  margin-inline: auto;
  margin-top: 1rem;
}

/* ── IPA / pronunciation line (§5.2) ─────────────────────────────────── */

.ipa {
  font-family: var(--alc-serif);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.ipa .dot { margin: 0 0.5em; color: var(--ink-faint); }

/* ── skip-to-content already covered in base.css ─────────────────────── */
/* ── class-view heatmap ───────────────────────────────────────────────── */

.classview {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.classview__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.classview__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.classview__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--clay-wash);
  color: var(--clay);
  border: 1px solid var(--clay-wash);
}

.classview__rows {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.classview__row {
  display: grid;
  grid-template-columns: auto 1fr 3.5rem;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  background: var(--paper-sunk);
  transition: background 200ms ease;
}

.classview__row:hover {
  background: var(--paper);
}

.classview__index {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 2.5rem;
  text-align: center;
}

.classview__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}

.classview__heat {
  width: 100%;
  height: 0.375rem;
  background: var(--clay-wash);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.classview__heat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(var(--heat, 0) * 100%);
  background: var(--clay);
  border-radius: 999px;
  transition: width 250ms ease-out;
}

/* ── research pull-quote ───────────────────────────────────────────────── */

.pullquote {
  border-left: 3px solid var(--lilac);
  padding: 1.5rem;
  padding-left: 1.5rem;
  background: var(--paper-sunk);
  border-radius: var(--radius);
  transition: border-color 200ms ease, background 200ms ease;
}

.pullquote:hover {
  border-left-color: var(--lilac-deep);
  background: var(--paper);
}

.pullquote__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  font-style: italic;
  font-weight: 500;
}

.pullquote__attribution {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── data-flow diagram ───────────────────────────────────────────────── */

.dataflow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
}

.dataflow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.dataflow__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 200ms ease;
}

.dataflow__icon--browser {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  color: var(--ink);
}

.dataflow__icon--model {
  background: var(--sage-wash);
  border: 1.5px solid var(--sage);
  color: var(--sage-deep);
}

.dataflow__icon:hover {
  transform: scale(1.05);
}

.dataflow__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  max-width: 5rem;
  line-height: 1.4;
}

.dataflow__arrow {
  width: 2.5rem;
  height: 1.5px;
  background: var(--rule);
  position: relative;
  flex-shrink: 0;
}

.dataflow__arrow::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 0.45rem solid var(--rule);
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
}

.dataflow__flow-label {
  font-size: 0.6875rem;
  color: var(--ink-faint);
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── guarantee strips ───────────────────────────────────────────────── */

.guarantee-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.guarantee {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem 1.5rem;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: background 200ms ease, border-color 200ms ease;
}

.guarantee:hover {
  background: var(--paper);
  border-color: var(--lilac);
}

.guarantee__icon {
  font-size: 2rem;
  line-height: 1;
}

.guarantee__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.guarantee__text {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── reassurance pill row ───────────────────────────────────────────────── */

.reassurance-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  margin: 2.5rem 0;
}
