/* ──────────────────────────────────────────────────────────────
   MUNIKIT MARKETING — styles.css
   Plain CSS, no build step. Open any .html file directly.
   ────────────────────────────────────────────────────────────── */

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* ─── Design tokens ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:      #09090b;
  --bg-surface:   #18181b;
  --bg-surface-2: #27272a;
  --bg-light:     #ffffff;
  --bg-light-alt: #fafafa;

  /* Accent */
  --accent:       #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, 0.12);
  --accent-ring:  rgba(59, 130, 246, 0.25);

  /* Text on dark */
  --text-head:  #fafafa;
  --text-body:  #a1a1aa;
  --text-muted: #96969d; /* meets WCAG AA 4.5:1 on the dark base and surface-2 */

  /* Text on light */
  --text-dark-head: #18181b;
  --text-dark-body: #52525b;
  --text-dark-muted: #6b7280; /* meets WCAG AA 4.5:1 on white/off-white */

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-med:   rgba(255, 255, 255, 0.12);
  --border-light: #e4e4e7;

  /* Shape */
  --radius-sm: 0.375rem;
  --radius:    0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Typography */
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", ui-monospace, monospace;

  /* Shadows */
  --shadow:    0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);

  /* Status colours */
  --green:  #4ade80;
  --amber:  #fbbf24;
  --red:    #f87171;
  --blue-l: #60a5fa;
}

/* ─── Base ───────────────────────────────────────────────────── */
html {
  font-family: var(--font);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-base);
  color: var(--text-body);
  min-height: 100vh;
}

/* ─── Screen-reader only ─────────────────────────────────────── */
.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;
}

/* ─── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5.5rem;
}

.section--light {
  background: var(--bg-light);
  color: var(--text-dark-body);
}

.section--alt {
  background: var(--bg-light-alt);
  color: var(--text-dark-body);
}

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 3.75rem;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-head);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-inline-start: auto;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-head);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a[aria-current="page"] {
  color: var(--text-head);
}

.nav-links .btn-nav {
  background: var(--accent-hover); /* #2563eb — white text meets WCAG AA 4.5:1 */
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 1rem;
  margin-inline-start: 0.375rem;
}

.nav-links .btn-nav:hover {
  background: #1d4ed8;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-head);
  padding: 0.5rem;
  margin-inline-start: auto;
  line-height: 1;
  font-size: 1.25rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent-hover); /* #2563eb — white text meets WCAG AA 4.5:1 */
  color: #fff;
  border-color: var(--accent-hover);
}

.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn--ghost {
  background: transparent;
  color: var(--text-body);
  border-color: var(--border-med);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-head);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-ring);
}

.btn--outline:hover {
  background: var(--accent-muted);
}

.btn--outline-light {
  background: transparent;
  color: var(--text-dark-head);
  border-color: var(--border-light);
}

.btn--outline-light:hover {
  background: var(--bg-light-alt);
}

.btn--lg {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding-block: 6.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 50% at 50% -5%,
    rgba(59, 130, 246, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.875rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-head);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.7rem;
}

.trust-badge .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ─── Admin mockup ───────────────────────────────────────────── */
.hero-visual {
  position: relative;
}

.mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.mockup-bar {
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.mockup-dot--r { background: #ef4444; }
.mockup-dot--y { background: #f59e0b; }
.mockup-dot--g { background: #22c55e; }

.mockup-url {
  margin-inline-start: 0.625rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-body {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  min-height: 272px;
}

.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mockup-nav-item {
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  margin-inline: 0.375rem;
  cursor: default;
  transition: background 0.1s;
}

.mockup-nav-item--active {
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 600;
}

.mockup-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-head);
  padding-bottom: 0.625rem;
  margin-bottom: 0.375rem;
  border-bottom: 1px solid var(--border);
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-row:last-child {
  border-bottom: none;
}

.mockup-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.mockup-badge--green  { background: rgba(34, 197, 94, 0.15);  color: #4ade80; }
.mockup-badge--amber  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.mockup-badge--blue   { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.mockup-badge--red    { background: rgba(239, 68, 68, 0.15);  color: #f87171; }

.mockup-row-text {
  font-size: 0.73rem;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Section headings ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-head);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--text-dark-head);
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 52ch;
}

.section-sub--light {
  color: var(--text-dark-body);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin-inline: auto;
}

/* ─── Pain cards ─────────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.pain-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.pain-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-head);
  margin-bottom: 0.5rem;
}

.pain-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Feature highlights (light section) ────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #eff6ff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-head);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-dark-body);
  line-height: 1.65;
}

/* ─── Comparison table ───────────────────────────────────────── */
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 520px;
}

.comparison-table thead tr {
  background: var(--bg-surface-2);
}

.comparison-table thead th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th:first-child {
  width: 40%;
  color: var(--text-body);
}

.comparison-table thead th.col-munikit {
  color: var(--accent);
}

.comparison-table tbody td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: middle;
  background: var(--bg-surface);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: var(--bg-surface-2);
}

.comparison-table td:first-child {
  color: var(--text-head);
  font-weight: 500;
}

.comparison-table td.col-munikit {
  color: var(--text-head);
  font-weight: 500;
}

.check { color: var(--green); font-weight: 700; }
.cross { color: var(--red); }

/* ─── How it works ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  counter-increment: step;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--accent-muted);
  border: 1px solid var(--accent-ring);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.step-num::before {
  content: counter(step);
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-head);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Contact form ───────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-copy h1,
.contact-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-head);
  margin-bottom: 0.875rem;
}

.contact-copy p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.contact-detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-head);
}

.form-group .form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  background: var(--bg-base);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  color: var(--text-head);
  padding: 0.6rem 0.875rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
}

/* ─── CTA band ───────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding-block: 5.5rem;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-head);
  margin-bottom: 0.875rem;
}

.cta-band p {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ─── Features page — alternating sections ───────────────────── */
.feature-section {
  padding-block: 4rem;
  border-bottom: 1px solid var(--border-light);
}

.feature-section:last-child {
  border-bottom: none;
}

.feature-section-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.feature-section-inner.reverse {
  flex-direction: row-reverse;
}

.feature-section-copy {
  flex: 1 1 0;
}

.feature-section-visual {
  flex: 1 1 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 220px;
  justify-content: center;
}

.feature-icon-lg {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark-head);
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.feature-section p {
  font-size: 0.9rem;
  color: var(--text-dark-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.feature-list li {
  font-size: 0.875rem;
  color: var(--text-dark-body);
  padding-inline-start: 1.375rem;
  position: relative;
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.visual-stat {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.visual-stat-icon { font-size: 1.2rem; flex-shrink: 0; }
.visual-stat-label { font-size: 0.72rem; color: var(--text-muted); }
.visual-stat-value { font-size: 0.875rem; font-weight: 600; color: var(--text-head); }

/* ─── Pricing page ───────────────────────────────────────────── */
.pricing-hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-head);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pricing-hero-stat sup {
  font-size: 2rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 0.75rem;
  color: var(--accent);
}

.pricing-hero-note {
  font-size: 0.9rem;
  color: var(--text-body);
}

.pricing-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-block: 3rem;
}

.pricing-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.pricing-item-icon { font-size: 1.25rem; flex-shrink: 0; }

.pricing-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark-head);
  margin-bottom: 0.2rem;
}

.pricing-item span {
  font-size: 0.8rem;
  color: var(--text-dark-body);
}

.hosting-note {
  background: var(--bg-surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-block: 2rem;
}

.hosting-note-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.hosting-note h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-head);
  margin-bottom: 0.375rem;
}

.hosting-note p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Pricing — three-component model ───────────────────── */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.model-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.model-card--highlight {
  border-color: var(--accent-ring);
  background: var(--bg-surface-2);
}

.model-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.model-badge--onetime {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.model-badge--annual {
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--accent-ring);
}

.model-badge--asneeded {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.model-icon { font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1; }

.model-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0.5rem;
}

.model-price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-head);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.model-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.model-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 1.25rem;
}

.model-list { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }

.model-list li {
  font-size: 0.825rem;
  color: var(--text-body);
  padding-inline-start: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.model-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Pricing — TCO table ────────────────────────────────── */
.tco-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.tco-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 480px;
}

.tco-table thead tr { background: #f4f4f5; }

.tco-table thead th {
  padding: 0.875rem 1.375rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-light);
}

.tco-table thead th.col-ours { color: var(--accent); }

.tco-table tbody td {
  padding: 0.875rem 1.375rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark-body);
  vertical-align: middle;
  background: #fff;
}

.tco-table tbody tr:last-child td { border-bottom: none; }
.tco-table tbody tr:hover td { background: #fafafa; }

.tco-table td:first-child { color: var(--text-dark-head); font-weight: 500; }
.tco-table td.col-ours { color: var(--text-dark-head); font-weight: 600; }

.tco-table tr.tco-total td {
  background: #f4f4f5;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark-head);
  border-top: 2px solid var(--border-light);
}

.tco-table tr.tco-total td.col-ours { color: var(--accent); }

/* ─── Pricing — cancel split ─────────────────────────────── */
.cancel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cancel-box { border-radius: var(--radius-xl); padding: 2rem; }

.cancel-box--bad {
  background: var(--bg-surface);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.cancel-box--good {
  background: var(--bg-surface);
  border: 1px solid var(--accent-ring);
}

.cancel-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.cancel-box--bad .cancel-box-label {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.cancel-box--good .cancel-box-label {
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--accent-ring);
}

.cancel-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0.875rem;
}

.cancel-list { display: flex; flex-direction: column; gap: 0.5rem; }

.cancel-list li {
  font-size: 0.875rem;
  color: var(--text-body);
  padding-inline-start: 1.375rem;
  position: relative;
  line-height: 1.5;
}

.cancel-box--bad .cancel-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 700;
}

.cancel-box--good .cancel-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 680px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-block: 1.5rem;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-head);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-dark-body);
  line-height: 1.65;
}

/* ─── Docs page ──────────────────────────────────────────────── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.doc-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.375rem;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
  color: inherit;
}

.doc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.07);
}

.doc-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.doc-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-head);
  margin-bottom: 0.3rem;
}

.doc-card p {
  font-size: 0.8rem;
  color: var(--text-dark-body);
  line-height: 1.5;
}

.qs-steps {
  counter-reset: qs;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.qs-step {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.375rem 1.125rem 4rem;
  position: relative;
  counter-increment: qs;
}

.qs-step::before {
  content: counter(qs);
  position: absolute;
  left: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.qs-step h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-head);
  margin-bottom: 0.2rem;
}

.qs-step p {
  font-size: 0.82rem;
  color: var(--text-dark-body);
  line-height: 1.5;
}

.qs-step code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: #f4f4f5;
  color: #18181b;
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.stack-badge {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-head);
  letter-spacing: -0.025em;
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.825rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-head); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-section-inner,
  .feature-section-inner.reverse { flex-direction: column; }
  .pricing-includes { grid-template-columns: 1fr; }
  .hosting-note { flex-direction: column; text-align: center; gap: 1rem; }
  .model-grid { grid-template-columns: 1fr; }
  .cancel-split { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 3.75rem;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
    z-index: 99;
    gap: 0.125rem;
  }

  .nav-links.nav-open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.75rem;
  }

  .nav-links .btn-nav {
    margin-inline-start: 0;
    margin-top: 0.375rem;
    text-align: center;
  }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding-block: 3.5rem; }
  .hero { padding-block: 4rem 3rem; }

  .form-row { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }

  .comparison-table { font-size: 0.8rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.75rem 0.875rem; }
}

/* ══════════════════════════════════════════════════════════════
   EXTENDED COMPONENTS — added for the full multi-page site
   ══════════════════════════════════════════════════════════════ */

/* ─── Generic helpers ────────────────────────────────────────── */
.text-center { text-align: center; }
.measure { max-width: 720px; margin-inline: auto; }
.measure-wide { max-width: 880px; margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.lead-dark { color: var(--text-dark-body); }

.section-title--xl {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Eyebrow used on light sections */
.section-label--accent { color: var(--accent); }

/* ─── Hero: secondary / page heroes ──────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 5.5rem 3.5rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%,
    rgba(59, 130, 246, 0.13), transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; }

/* ─── Inline links in body copy ──────────────────────────────── */
.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}
.link:hover { color: var(--accent-hover); }

.link-light {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Trust / logo bar ───────────────────────────────────────── */
.trustbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1.75rem;
}

.trustbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.trustbar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trustbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.trustbar-item svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--accent); }

/* ─── Stat band ──────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }

.stat {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-head);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

.stat--light { background: var(--bg-light); border-color: var(--border-light); }
.stat--light .stat-num { color: var(--text-dark-head); }
.stat--light .stat-label { color: var(--text-dark-body); }

/* ─── Value / bento cards (icon + heading + copy) ────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-grid--2 { grid-template-columns: repeat(2, 1fr); }

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.value-card.on-light {
  background: var(--bg-light);
  border-color: var(--border-light);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.value-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.value-card.on-light .value-card-icon { background: #eff6ff; }

.value-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.value-card.on-light h3 { color: var(--text-dark-head); }

.value-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

.value-card.on-light p { color: var(--text-dark-body); }

/* ─── Callout / note boxes ───────────────────────────────────── */
.callout {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.callout-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

.callout p { font-size: 0.9rem; line-height: 1.65; margin: 0; }
.callout strong { color: inherit; font-weight: 700; }

.callout--info {
  background: var(--accent-muted);
  border: 1px solid var(--accent-ring);
  color: var(--text-body);
}
.callout--info strong { color: var(--text-head); }

.callout--warn {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: var(--text-body);
}
.callout--warn strong { color: #fcd34d; }

.callout--light {
  background: #f4f7ff;
  border: 1px solid #dbe6fe;
  color: var(--text-dark-body);
}
.callout--light strong { color: var(--text-dark-head); }

/* ─── Vertical timeline (deadlines, process) ─────────────────── */
.timeline {
  position: relative;
  margin-inline: auto;
  max-width: 760px;
  padding-left: 2.25rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--border-med);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.25rem;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--accent);
}

.timeline-item--done::before {
  background: var(--accent);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-head);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ─── Numbered process (vertical, on light) ──────────────────── */
.process {
  counter-reset: proc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.process-step {
  counter-increment: proc;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.process-step::before {
  content: counter(proc);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-head);
  margin-bottom: 0.35rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-dark-body);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.process-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── Quote / testimonial (and placeholder) ──────────────────── */
.quote-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.quote-card blockquote {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-body);
}

.quote-card cite strong { color: var(--text-head); display: block; font-weight: 600; }

.placeholder {
  border-style: dashed !important;
  border-color: var(--border-med) !important;
  background: transparent;
}

.placeholder-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

/* ─── FAQ accordion (native details/summary) ─────────────────── */
.accordion {
  max-width: 760px;
  margin-inline: auto;
}

.accordion details {
  border-bottom: 1px solid var(--border-light);
}

.accordion details[data-dark] { border-bottom-color: var(--border); }

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark-head);
  transition: color 0.15s;
}

.accordion details[data-dark] summary { color: var(--text-head); }

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
  line-height: 1;
}

.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.accordion summary:hover { color: var(--accent); }

.accordion summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.accordion-body {
  padding: 0 2.5rem 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dark-body);
}

.accordion details[data-dark] .accordion-body { color: var(--text-body); }

.accordion-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Checklist (on dark or light) ───────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 0.65rem; }

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-body);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.checklist--light li { color: var(--text-dark-body); }

/* ─── Split / two-column prose ───────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-head);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.split.on-light h2 { color: var(--text-dark-head); }

.split p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.split.on-light p { color: var(--text-dark-body); }

/* ─── Source citations ───────────────────────────────────────── */
.sources {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-inline: auto;
}

.sources--light { color: var(--text-dark-muted); }
.sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sources a:hover { color: var(--accent); }

/* ─── Persona cards ──────────────────────────────────────────── */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.persona-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.persona-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.persona-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark-head);
  margin-bottom: 0.6rem;
}

.persona-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dark-body);
}

/* ─── Big CTA band (accent) ──────────────────────────────────── */
.cta-accent {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-accent h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.875rem;
}

.cta-accent p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.btn--white {
  background: #fff;
  color: #1e3a8a;
  border-color: #fff;
  font-weight: 600;
}
.btn--white:hover { background: #f0f4ff; border-color: #f0f4ff; }

/* Secondary button for use on the accent (blue) CTA band — transparent with a white outline. */
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Real-admin screenshot grid (features.html "the actual admin" proof section). */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  text-align: center;
}
@media (max-width: 880px) {
  .shot-grid { grid-template-columns: 1fr; }
  .shot img { height: auto; }
}

.btn--on-accent {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--on-accent:hover { background: rgba(255,255,255,0.1); }

/* ─── Expanded multi-column footer ───────────────────────────── */
.footer-cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .footer-logo { font-size: 1.15rem; margin-bottom: 0.4rem; }

.footer-built {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.6rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-block: 0.3rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text-head); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-legal { font-size: 0.74rem; color: var(--text-muted); }

/* ─── Mini comparison rows (vs page) ─────────────────────────── */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.versus-col {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.versus-col--them {
  background: var(--bg-surface);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.versus-col--us {
  background: var(--bg-surface);
  border: 1px solid var(--accent-ring);
  box-shadow: 0 0 0 1px var(--accent-ring), 0 16px 40px rgba(37, 99, 235, 0.12);
}

.versus-head {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--text-head);
}

.versus-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.versus-list { display: flex; flex-direction: column; gap: 0.9rem; }

.versus-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-body);
}

.versus-col--them .versus-list li::before {
  content: '✗';
  position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 700;
}

.versus-col--us .versus-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

/* ─── Responsive — extended components ───────────────────────── */
@media (max-width: 900px) {
  .stat-grid, .stat-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .value-grid--2 { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .versus { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .stat-grid, .stat-grid--3 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-accent { padding: 2.5rem 1.5rem; }
  .quote-card { padding: 1.75rem 1.5rem; }
  .process-step { padding: 1.25rem; gap: 1rem; grid-template-columns: 2.5rem 1fr; }
}

/* ─── Savings calculator ──────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; align-items: start; }
.calc-inputs { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; }
.calc-field { margin-bottom: 1.1rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-head); margin-bottom: 0.4rem; }
.calc-field .hint { font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }
.calc-inputwrap { position: relative; }
.calc-inputwrap .pre, .calc-inputwrap .post { position: absolute; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.9rem; pointer-events: none; }
.calc-inputwrap .pre { left: 0.85rem; }
.calc-inputwrap .post { right: 0.85rem; }
.calc-field input[type="number"] {
  width: 100%; background: var(--bg-base); border: 1px solid var(--border-med); border-radius: var(--radius);
  color: var(--text-head); padding: 0.6rem 0.85rem 0.6rem 1.6rem; outline: none; font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s; -moz-appearance: textfield;
}
.calc-field input.no-pre { padding-left: 0.85rem; }
.calc-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-muted); }
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc-results { display: flex; flex-direction: column; gap: 1rem; }
.calc-headline { background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: var(--radius-xl); padding: 1.75rem; text-align: center; }
.calc-headline .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.calc-headline .big { font-size: clamp(2.25rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1.05; margin: 0.35rem 0 0.15rem; }
.calc-headline .sub { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.calc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-col { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; background: var(--bg-surface); }
.calc-col.ours { border-color: var(--accent-ring); }
.calc-col .ctitle { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.5rem; }
.calc-col.ours .ctitle { color: var(--accent); }
.calc-col .cval { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-head); line-height: 1; }
.calc-col .cnote { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.45; }
.calc-bar { height: 0.55rem; border-radius: var(--radius-full); background: var(--bg-surface-2); overflow: hidden; margin-top: 0.7rem; }
.calc-bar > span { display: block; height: 100%; border-radius: var(--radius-full); }
.calc-bar.them > span { background: #f87171; }
.calc-bar.ours > span { background: var(--accent); }
.calc-own { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-body); background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.9rem 1.1rem; }
.calc-own .yes { color: var(--green); font-weight: 700; }
.calc-own .no { color: var(--red); font-weight: 700; }

@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-compare { grid-template-columns: 1fr; } }

/* ─── Accessibility fixes (axe / WCAG 2.1 AA) ─────────────────── */
/* Accent eyebrow labels on light sections: #3b82f6 fails 4.5:1 on white → darken */
.section--light .section-label,
.section--alt .section-label,
.section-label--accent { color: #1d4ed8; }
/* "Software license" badge: dim accent on a faint tint → brighten on dark */
.model-badge--annual { color: #93c5fd; }
/* Accent metadata text that sits on white cards → darken */
.section--light .timeline-date,
.section--alt .timeline-date,
.process-meta { color: #1d4ed8; }
/* Comparison/TCO table accent headers */
.comparison-table thead th.col-munikit { color: #93c5fd; }   /* on dark thead */
.tco-table thead th.col-ours { color: #1d4ed8; }             /* on light thead */
/* Timeline reused on light sections (accessibility page) */
.section--light .timeline-item h3, .section--alt .timeline-item h3 { color: var(--text-dark-head); }
.section--light .timeline-item p, .section--alt .timeline-item p { color: var(--text-dark-body); }
/* Placeholder tag on light cards */
.value-card.on-light .placeholder-tag,
.section--light .placeholder-tag,
.section--alt .placeholder-tag { color: var(--text-dark-muted); }
/* Inline .link on light sections + TCO total accent cell */
.section--light .link, .section--alt .link { color: #1d4ed8; }
.tco-table tr.tco-total td.col-ours { color: #1d4ed8; }
/* Visual-stat icons: explicit colour so emoji text-fallback stays readable on dark cards */
.visual-stat-icon { color: var(--text-head); }
/* Blue cancel-box label: dim accent on tint over dark → brighten */
.cancel-box--good .cancel-box-label { color: #93c5fd; }

/* ═══════════════════════════════════════════════════════════════
   RESOURCES / ARTICLES
   Long-form editorial pages under /resources/. The component library
   above is built from cards and bands; nothing in it styles a body of
   running prose, so this block adds the article shell, the reading
   measure, and the editorial furniture (breadcrumbs, callouts, key
   takeaways, source notes, data tables).
   Articles render on the light surface — long reading on the dark base
   is punishing, and these pages are meant to be read, not skimmed.
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumbs ─────────────────────────────────────────── */
.crumbs {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
}
.crumbs li::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--border-light);
}
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--text-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-hover); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text-dark-head); font-weight: 600; }

/* ── Article shell ───────────────────────────────────────── */
.article {
  background: var(--bg-light);
  padding: 3.5rem 0 4.5rem;
}
.article-inner {
  max-width: 44rem;   /* ~75ch — the readable measure */
  margin-inline: auto;
}
.article-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-muted);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.article h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark-head);
  margin: 0 0 1rem;
}
.article-standfirst {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-dark-body);
  margin: 0 0 1.75rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  padding-bottom: 1.75rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-light);
}
.article-meta .dot-sep { color: var(--border-light); }

/* ── Prose ───────────────────────────────────────────────── */
.prose { color: var(--text-dark-body); font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-dark-head);
  margin-top: 2.75rem;
  margin-bottom: 0.25rem;
}
.prose h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-dark-head);
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}
.prose strong { color: var(--text-dark-head); font-weight: 650; }
.prose a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--text-dark-head); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.15rem;
  margin-left: 0;
  color: var(--text-dark-head);
  font-style: italic;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.35rem;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 2.5rem 0;
}

/* ── Editorial furniture ─────────────────────────────────── */

/* Key takeaways — the "if you read nothing else" box. */
.takeaways {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.takeaways h2 {
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin: 0 0 0.85rem !important;
}
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.takeaways li { color: var(--text-dark-body); }

/* Callout — a caution or an aside. */
.callout {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-light-alt);
}
.callout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text-dark-muted);
}
.callout p:first-of-type { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(180, 130, 10, 0.28);
}
.callout--warn .callout-label { color: #92700c; }
.callout--info {
  background: var(--accent-muted);
  border-color: var(--accent-ring);
}
.callout--info .callout-label { color: var(--accent-hover); }

/* Data table for cost/deadline figures. */
.prose-table-wrap { overflow-x: auto; margin: 2rem 0; }
.prose-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.prose-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  padding-top: 0.75rem;
}
.prose-table th, .prose-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-light);
}
.prose-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  border-bottom: 2px solid var(--border-light);
}
.prose-table tbody th { font-weight: 600; color: var(--text-dark-head); }
.prose-table tr:last-child td, .prose-table tr:last-child th { border-bottom: 0; }
.prose-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sources — we cite, and we say where the figure came from. */
.sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-dark-muted);
}
.sources h2 {
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin: 0 0 0.75rem !important;
}
.sources ol { padding-left: 1.2rem; }
.sources li + li { margin-top: 0.4rem; }
.sources a { color: var(--accent-hover); }

/* ── Resources hub ───────────────────────────────────────── */
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.res-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.res-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-ring);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.res-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 0.6rem;
}
.res-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--text-dark-head);
  margin: 0 0 0.5rem;
}
.res-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-dark-body);
  margin: 0 0 1rem;
}
.res-card-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-hover);
}

@media (max-width: 640px) {
  .article { padding: 2.5rem 0 3rem; }
  .prose { font-size: 1rem; }
  .article-standfirst { font-size: 1.08rem; }
  .takeaways, .callout { padding: 1.15rem 1.25rem; }
}
