/* plaingraph placeholder site — sits on the design system tokens.
   Iterate here; tokens stay in design-system/colors_and_type.css. */
@import url("colors_and_type.css");

html, body { margin: 0; padding: 0; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.grow { flex: 1; }
code { color: var(--fg-strong); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg-canvas) 92%, transparent);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--container-wide); margin: 0 auto;
  height: 60px; padding: 0 var(--space-6);
  display: flex; align-items: center; gap: var(--space-6);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* Supplied brand wordmark (design-system asset), never a composed mark +
   wordmark. One file serves every surface: the SVG's letterforms inherit
   currentColor and the accent dot reads --mark-accent. This marketing
   site is light-only, so the <img> renders ink-on-light as shipped. */
.brand .logo { display: block; height: 30px; width: auto; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--space-4); }
.status {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--fg-muted);
}
.status .dot {
  width: 6px; height: 6px; border-radius: var(--radius-full);
  background: var(--match-500);
}

/* ---------- Buttons ---------- */
.btn {
  font: var(--weight-medium) 13px/1 var(--font-sans);
  padding: 9px 15px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.btn.primary { background: var(--accent-600); color: var(--fg-on-accent); }
.btn.primary:hover { background: var(--accent-700); }
.btn.secondary { background: var(--bg-surface); color: var(--fg-strong); border-color: var(--border-default); }
.btn.secondary:hover { background: var(--bg-hover); }

/* ---------- Hero ---------- */
.hero {
  position: relative; flex: 1;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--ink-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-100) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 18%, #000 30%, transparent 80%);
  opacity: 0.55; pointer-events: none;
}
.hero-grid {
  position: relative; max-width: var(--container-wide);
  margin: 0 auto; padding: 0 var(--space-6);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.eyebrow {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--fg-muted); margin: 0;
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: var(--radius-xs); background: var(--accent-500);
  vertical-align: 1px; margin-right: var(--space-2);
}
.hero h1 {
  margin: 14px 0 18px; font-size: 52px; line-height: 1.05;
  letter-spacing: -0.035em; color: var(--fg-strong);
  font-weight: var(--weight-semibold);
}
.lead {
  font-size: var(--text-lg); line-height: var(--leading-loose);
  color: var(--fg-muted); max-width: 560px; margin: 0 0 16px;
}
.lead code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-sunken); border: 1px solid var(--border-subtle);
  padding: 1px 5px; border-radius: var(--radius-xs);
}
.note {
  font-size: var(--text-sm); line-height: var(--leading-normal);
  color: var(--fg-subtle); max-width: 540px; margin: 0 0 24px;
}
.ctas { display: flex; gap: var(--space-3); align-items: center; }
.meta {
  margin: 28px 0 0; font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--fg-subtle);
}

/* ---------- Hero code panel ---------- */
.hero-code {
  background: #0F141B; border: 1px solid #1B2230;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -24px rgba(15, 20, 27, 0.25);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  color: #E2E6EC; overflow: hidden;
}
.hero-code header {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 10px 14px; border-bottom: 1px solid #1B2230; background: #11161E;
}
.hero-code .lights { display: flex; gap: 5px; }
.hero-code .lights span { width: 9px; height: 9px; border-radius: 50%; background: #232B3B; }
.hero-code .file { font-size: 11px; color: #93A0B0; }
.hero-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; white-space: pre-wrap; }
.hero-code .s { color: #34C77A; }
.hero-code .n { color: #E7A53A; }
.hero-code .p { color: #93A0B0; }
.hero-code .key { color: #93A6FA; }
.hero-code .response {
  border-top: 1px solid #1B2230; padding: 14px 18px; background: #0B0F15;
}
.hero-code .rh {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: 11px; color: #6E7B8C; margin-bottom: 8px;
}
.hero-code .rh .badge {
  font-size: 10px; padding: 1px 6px; border-radius: 3px;
  background: rgba(31, 164, 91, 0.16); color: #34C77A;
}

/* ---------- Promise strip ---------- */
.promise { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.promise-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 56px var(--space-6);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5);
}
.promise .item {
  padding: 22px 22px; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); background: var(--bg-surface);
}
.promise .item h3 {
  margin: 0 0 6px; font-size: var(--text-lg);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
.promise .item p {
  margin: 0; font-size: var(--text-sm);
  color: var(--fg-muted); line-height: var(--leading-loose);
}
.promise-roadmap {
  max-width: var(--container-wide);
  margin: 0 auto; padding: 0 var(--space-6) 56px;
  text-align: center;
}

/* ---------- "See it live" showcase strip (D2 funnel link) ----------
 * Curated ~8-company demo set (plans/portal-commercial-launch-plan.md
 * workstream D5) — real financials/valuation/events, no card required.
 * Mirrors .promise's card grid so the section reads as part of the same
 * page, but the cards are links (not static articles). */
.showcase { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.showcase-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 56px var(--space-6);
}
.showcase-inner > h2 {
  margin: 0 0 6px; font-size: var(--text-xl);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
.showcase-inner > p.lead {
  margin: 0 0 24px; max-width: 640px;
  font-size: var(--text-sm); color: var(--fg-muted);
}
/* "Browse by market" nav line: tuck it under the lead (part of the intro), then
   give it clear air before the company cards — the generic .meta has a 28px TOP
   and 0 BOTTOM margin, which left it flush against the grid. */
.showcase-inner > p.lead:has(+ p.meta) { margin-bottom: 8px; }
.showcase-inner > p.meta { margin: 0 0 28px; }
.showcase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-5);
}
.showcase-grid a.item {
  display: block; padding: 20px 22px; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); background: var(--bg-surface);
  text-decoration: none; transition: border-color var(--dur-fast) var(--ease-out);
}
.showcase-grid a.item:hover { border-color: var(--accent-500); }
.showcase-grid a.item h3 {
  margin: 0 0 6px; font-size: var(--text-md);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
.showcase-grid a.item p {
  margin: 0; font-size: var(--text-sm);
  color: var(--fg-muted); line-height: var(--leading-loose);
}
/* Region tag on a showcase card (UK / EE / ESEF) — small, muted, aligned
   to the trailing edge of the company name. */
.showcase-grid a.item h3 .badge {
  font-size: 10px; font-weight: var(--weight-semibold); letter-spacing: 0.04em;
  padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle;
  background: var(--bg-canvas); border: 1px solid var(--border-subtle);
  color: var(--fg-muted);
}

/* ---------- FAQ (also feeds FAQPage structured data) ---------- */
.faq { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.faq-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 56px var(--space-6);
}
.faq-inner > h2 {
  margin: 0 0 var(--space-5); font-size: var(--text-xl);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
.faq-item { margin: 0 0 var(--space-5); max-width: 720px; }
.faq-item h3 {
  margin: 0 0 6px; font-size: var(--text-md);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
.faq-item p {
  margin: 0; font-size: var(--text-sm);
  color: var(--fg-muted); line-height: var(--leading-loose);
}
.faq-item code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-sunken); border: 1px solid var(--border-subtle);
  padding: 1px 5px; border-radius: var(--radius-xs);
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-canvas); }
.footer-inner .brand .logo { height: 26px; }
.footer-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 28px var(--space-6); display: flex; align-items: center;
  gap: var(--space-5); font-size: var(--text-sm); color: var(--fg-muted);
  flex-wrap: wrap;
}
.footer-inner .link {
  color: var(--fg-link); text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--fg-link) 30%, transparent);
  text-underline-offset: 2px;
}
.footer-inner .link:hover { text-decoration-color: var(--fg-link); }

.footer-legal {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 14px var(--space-6) 28px;
  display: flex; align-items: center; gap: var(--space-4);
  font-size: var(--text-xs); color: var(--fg-subtle);
  flex-wrap: wrap;
}
.footer-legal .link {
  color: var(--fg-muted); text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--fg-muted) 30%, transparent);
  text-underline-offset: 2px;
}
.footer-legal .link:hover { text-decoration-color: var(--fg-muted); }
.footer-legal .link-button {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
}

/* ---------- Cookie consent banner ---------- *
 * Accept and reject are given equal visual weight — no dark patterns. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--bg-surface); border-top: 1px solid var(--border-default);
  padding: var(--space-4) var(--space-6);
}
.consent-inner {
  max-width: var(--container-wide); margin: 0 auto;
  display: flex; align-items: center; gap: var(--space-4);
  flex-wrap: wrap;
}
.consent p {
  margin: 0; flex: 1 1 320px;
  font-size: var(--text-sm); color: var(--fg-default);
}
.consent .consent-actions { display: flex; gap: var(--space-3); }
.consent .btn { font-size: var(--text-sm); }

/* ---------- Hero chat demo ---------- */
.chat-demo .cd-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 16px 18px;
}
.chat-demo .cd-msg {
  border: 1px solid #1B2230; border-radius: var(--radius-md);
  padding: 10px 12px; background: #11161E;
}
.chat-demo .cd-agent { background: #0F141B; border-left: 2px solid var(--accent-500); }
.chat-demo .cd-role {
  display: block; font-size: 10px; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: #6E7B8C; margin-bottom: 4px;
}
.chat-demo .cd-msg p {
  margin: 0; font-family: var(--font-sans); font-size: 13px;
  line-height: 1.55; color: #E2E6EC;
}
.chat-demo .cd-num { font-family: var(--font-mono); color: #E7A53A; }
.chat-demo .cd-tool {
  font-size: 11.5px; color: #93A0B0; padding: 2px 2px;
  white-space: pre-wrap; word-break: break-word;
}
.chat-demo .cd-result {
  border: 1px solid #1B2230; border-radius: var(--radius-md);
  background: #0B0F15; padding: 12px 14px;
}
.chat-demo .cd-result pre { padding: 0; margin: 6px 0 0; }
.chat-demo .band-match { color: #34C77A; }
.chat-demo .cd-typing { display: none; gap: 5px; padding: 4px 4px; }
.chat-demo .cd-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #46505E;
  animation: cd-blink 1s var(--ease-in-out) infinite;
}
.chat-demo .cd-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-demo .cd-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cd-blink {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}
/* No-JS / default: everything visible, no typing dots. */
.chat-demo .cd-step { opacity: 1; }
/* JS-driven staged reveal. */
.chat-demo.is-js .cd-step { opacity: 0; transform: translateY(4px); }
.chat-demo.is-js .cd-step.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.chat-demo.is-js .cd-typing.is-in { display: flex; }
@media (prefers-reduced-motion: reduce) {
  .chat-demo.is-js .cd-step { opacity: 1; transform: none; }
  .chat-demo .cd-typing { display: none !important; }
  .chat-demo .cd-typing span { animation: none; }
}

/* ---------- Legal pages ---------- */
.legal {
  flex: 1; max-width: var(--container-narrow);
  margin: 0 auto; padding: 56px var(--space-6) 72px;
}
.legal-draft {
  font-size: var(--text-sm); line-height: var(--leading-normal);
  color: var(--review-700); background: var(--review-50);
  border: 1px solid var(--review-200); border-radius: var(--radius-md);
  padding: 12px 14px; margin: 0 0 var(--space-8);
}
.legal h1 {
  font-size: var(--text-3xl); line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug); color: var(--fg-strong);
  font-weight: var(--weight-semibold); margin: 0 0 var(--space-2);
}
.legal .legal-updated {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--fg-subtle); margin: 0 0 var(--space-8);
}
.legal h2 {
  font-size: var(--text-xl); color: var(--fg-strong);
  font-weight: var(--weight-semibold); margin: var(--space-8) 0 var(--space-3);
}
.legal p, .legal li {
  font-size: var(--text-md); line-height: var(--leading-loose);
  color: var(--fg-default);
}
.legal-table {
  width: 100%; border-collapse: collapse; margin: var(--space-4) 0;
  font-size: var(--text-sm);
}
.legal-table th, .legal-table td {
  border: 1px solid var(--border-default);
  padding: var(--space-2) var(--space-3); text-align: left;
  vertical-align: top; color: var(--fg-default);
}
.legal-table th {
  background: var(--bg-surface); color: var(--fg-strong);
  font-weight: var(--weight-semibold);
}
.legal ul { padding-left: var(--space-5); margin: var(--space-3) 0; }
.legal li { margin: var(--space-2) 0; }
.legal .legal-entity {
  font-size: var(--text-sm); line-height: var(--leading-loose);
  color: var(--fg-muted); background: var(--bg-sunken);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: var(--space-4); margin: var(--space-6) 0;
}
.legal a { color: var(--fg-link); }
.legal .legal-back {
  display: inline-block; margin-top: var(--space-10);
  font-size: var(--text-sm);
}

/* ---------- Primary nav links (shared by all pages) ---------- */
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-link {
  font: var(--weight-medium) 13px/1 var(--font-sans);
  color: var(--fg-muted); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--fg-strong); }

/* ---------- Homepage: dual-path split ---------- */
.paths { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.paths-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 56px var(--space-6);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-5);
}
.path {
  padding: 28px; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); background: var(--bg-surface);
  display: flex; flex-direction: column;
}
.path .kicker {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--accent-600); margin: 0 0 var(--space-2);
}
.path h3 { margin: 0 0 var(--space-2); font-size: var(--text-xl); color: var(--fg-strong); font-weight: var(--weight-semibold); }
.path p { margin: 0 0 var(--space-4); font-size: var(--text-sm); color: var(--fg-muted); line-height: var(--leading-loose); flex: 1; }
.path .btn { align-self: flex-start; }

/* ---------- Homepage: persona proof points ---------- */
.personas { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.personas-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 56px var(--space-6);
}
.personas-inner > h2 { margin: 0 0 var(--space-5); font-size: var(--text-xl); color: var(--fg-strong); font-weight: var(--weight-semibold); }
.personas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.persona h3 { margin: 0 0 6px; font-size: var(--text-md); color: var(--fg-strong); font-weight: var(--weight-semibold); }
.persona p { margin: 0; font-size: var(--text-sm); color: var(--fg-muted); line-height: var(--leading-loose); }

/* ---------- Homepage: coverage strip ---------- */
/* Heading, a grid of labelled segment columns, then the caveats link — stacked
   vertically. The old single flex row ran the three segments together (and
   floated the link off to the right); a column-per-segment grid with one source
   per line keeps the boundaries legible. */
.cov-strip { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); }
.cov-strip-inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 40px var(--space-6);
}
.cov-strip h2 {
  margin: 0 0 20px; font-size: var(--text-md);
  color: var(--fg-strong); font-weight: var(--weight-semibold);
}
/* One labelled column per market segment (Private / Listed / Spine) — so a
   data-source format (ESEF / FCA NSM) reads as *how* we serve a segment, not as
   a peer geography to UK / Estonia. */
.cov-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-5) var(--space-6);
  align-items: start;
}
.cov-group { display: flex; flex-direction: column; gap: 12px; }
.cov-group-label {
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-subtle);
  padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle);
}
/* One source per line (was an inline flex row that ran sources together). */
.cov-strip ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.cov-strip li { font-size: var(--text-sm); color: var(--fg-muted); line-height: 1.45; }
.cov-strip li b { color: var(--fg-strong); font-weight: var(--weight-medium); }
/* Freshness as a distinct pill so it reads as metadata, not part of the source
   name it trails. */
.cov-strip .freshness {
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-subtle);
  background: var(--bg-sunken); border-radius: 5px; padding: 1px 7px;
  margin-left: 4px; white-space: nowrap;
}
.cov-strip .link {
  display: inline-block; margin-top: 24px;
  color: var(--fg-link); text-decoration: underline; text-underline-offset: 2px; font-size: var(--text-sm);
}

/* ---------- Homepage: developer section ---------- */
.dev { background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); scroll-margin-top: 72px; }
.dev-inner { max-width: var(--container-wide); margin: 0 auto; padding: 56px var(--space-6); }
.dev-inner > h2 { margin: 0 0 var(--space-2); font-size: var(--text-xl); color: var(--fg-strong); font-weight: var(--weight-semibold); }
.dev-inner > p { max-width: 640px; font-size: var(--text-md); color: var(--fg-muted); line-height: var(--leading-loose); margin: 0 0 var(--space-4); }
.dev pre {
  margin: 0 0 var(--space-4); padding: 14px 16px; overflow-x: auto;
  background: #0F141B; border: 1px solid #1B2230; border-radius: var(--radius-md);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #E2E6EC;
}
.dev pre .p { color: #93A0B0; }

/* ---------- Content pages (coverage, pricing) ---------- */
.doc {
  flex: 1; max-width: var(--container-wide); width: 100%;
  box-sizing: border-box; margin: 0 auto; padding: 64px var(--space-6) 72px;
}
.doc-head { max-width: 720px; margin: 0 0 var(--space-8); }
.doc-head h1 {
  font-size: var(--text-3xl); line-height: var(--leading-tight);
  letter-spacing: var(--tracking-snug); color: var(--fg-strong);
  font-weight: var(--weight-semibold); margin: 0 0 var(--space-3);
}
.doc-head p { font-size: var(--text-lg); line-height: var(--leading-loose); color: var(--fg-muted); margin: 0; }
.doc h2 { font-size: var(--text-xl); color: var(--fg-strong); font-weight: var(--weight-semibold); margin: var(--space-8) 0 var(--space-3); }
.doc h3 { font-size: var(--text-md); color: var(--fg-strong); font-weight: var(--weight-semibold); margin: var(--space-5) 0 var(--space-2); }
.doc p, .doc li { font-size: var(--text-md); line-height: var(--leading-loose); color: var(--fg-default); max-width: 760px; }
.doc ul { padding-left: var(--space-5); margin: var(--space-3) 0; }
.doc li { margin: var(--space-2) 0; }
.doc code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: var(--bg-sunken); border: 1px solid var(--border-subtle);
  padding: 1px 5px; border-radius: var(--radius-xs);
}
.doc a { color: var(--fg-link); }
.doc-back { display: inline-block; margin-top: var(--space-10); font-size: var(--text-sm); }
.doc-note { font-size: var(--text-sm); color: var(--fg-subtle); line-height: var(--leading-loose); }

.table-wrap { overflow-x: auto; margin: var(--space-4) 0 var(--space-8); }
.cov-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.cov-table th, .cov-table td {
  border: 1px solid var(--border-default);
  padding: var(--space-2) var(--space-3); text-align: left;
  vertical-align: top; color: var(--fg-default);
}
.cov-table th { background: var(--bg-surface); color: var(--fg-strong); font-weight: var(--weight-semibold); }

.source { border-top: 1px solid var(--border-subtle); padding-top: var(--space-6); margin-top: var(--space-8); }
.source:first-of-type { border-top: 0; }
.source-attr {
  font-size: var(--text-sm); color: var(--fg-muted); font-style: normal;
  background: var(--bg-sunken); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3);
  display: block; margin-top: var(--space-3); max-width: 760px;
}

/* ---------- Pricing tiers ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5); margin: var(--space-6) 0 var(--space-4);
}
.tier {
  position: relative;
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  background: var(--bg-surface); padding: var(--space-6);
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--accent-500); box-shadow: 0 0 0 1px var(--accent-500); }
/* "Most popular" pill anchored on the featured card's top border — labels the
   highlight so the accent ring reads as intentional guidance, and sits on the
   border (absolute) so card content stays aligned across tiers. */
.tier-badge {
  position: absolute; top: 0; right: var(--space-5); transform: translateY(-50%);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #fff; background: var(--accent-500);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.tier h3 { margin: 0 0 var(--space-1); font-size: var(--text-lg); color: var(--fg-strong); font-weight: var(--weight-semibold); }
.tier .price { font-size: var(--text-2xl); color: var(--fg-strong); font-weight: var(--weight-semibold); margin: var(--space-2) 0; }
.tier .price small { font-size: var(--text-sm); color: var(--fg-subtle); font-weight: var(--weight-regular); }
.tier .tagline { font-size: var(--text-sm); color: var(--fg-muted); line-height: var(--leading-normal); margin: 0 0 var(--space-4); }
.tier ul { list-style: none; padding: 0; margin: 0 0 var(--space-5); flex: 1; }
.tier li { font-size: var(--text-sm); color: var(--fg-default); line-height: var(--leading-normal); padding: var(--space-2) 0; border-top: 1px solid var(--border-subtle); }
.tier .btn { justify-content: center; width: 100%; box-sizing: border-box; }
.tier-foot { font-size: var(--text-sm); color: var(--fg-subtle); line-height: var(--leading-loose); margin: 0 0 var(--space-8); max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 40px; }
  .promise-inner { grid-template-columns: 1fr; }
  .footer-inner { gap: var(--space-3); }
  .nav-links { display: none; }
}
