/* TrailMap by Sasquatch Creative — marketing site stylesheet.
   Echoes the product's design tokens: accent #1d76bb (Sasquatch Creative TX
   blue), neutral grays, system-ui stack, 8px spacing scale, borders (not
   shadows) carry hierarchy. Self-contained: no external fonts, CDNs, scripts. */

:root {
  /* Sasquatch Creative TX palette. */
  --sc-blue-base: #1d76bb;
  --sc-blue-light: #4fa1dd;
  --sc-blue-dark: #135581;
  --sc-blue-tint: #d8ecf8;
  --sc-green-base: #259c58;
  --sc-green-light: #41b972;
  --sc-green-dark: #197341;
  --sc-green-tint: #d5f1e1;

  /* accent/identity: nav active, links, focus rings, brand marks — blue
     family (base default, light hover, dark active). */
  --accent: var(--sc-blue-base);
  --accent-hover: var(--sc-blue-light);
  --accent-active: var(--sc-blue-dark);
  --accent-soft: var(--sc-blue-tint);

  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* status palette. Green aligned to the sc-green family — semantics
     unchanged, hue matched. */
  --green-text: var(--sc-green-dark);
  --green-bg: var(--sc-green-tint);
  --green-border: #a9e0c1;
  --amber-text: #b45309;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;

  /* 8px spacing scale */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;

  --radius: 6px;
  --radius-lg: 10px;
  --measure: 70ch;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* offset in-page anchors so the sticky header doesn't cover them */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: var(--sp-10) 0;
}
.section-tight {
  padding: var(--sp-8) 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin: 0 0 var(--sp-6);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--sp-1);
}
.section-head h2 {
  font-size: 30px;
  font-weight: 700;
}
.section-head p {
  margin: var(--sp-2) 0 0;
  font-size: 18px;
  color: var(--text-secondary);
}
.section-head.center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* --------------------------------------------------------------- site header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.brand svg {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 550;
  color: var(--text-secondary);
}
.site-nav a:hover {
  color: var(--text);
  background: var(--surface-alt);
  text-decoration: none;
}
/* "Sign in" is a primary action per the locked mapping — green action spec,
   same interaction feel as .btn-primary. */
.site-nav a.nav-cta {
  color: #fff;
  background: var(--sc-green-base);
  border: 1px solid var(--sc-green-base);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.site-nav a.nav-cta:hover {
  background: var(--sc-green-light);
  border-color: var(--sc-green-light);
  transform: translateY(-2px);
}
.site-nav a.nav-cta:active {
  background: var(--sc-green-dark);
  border-color: var(--sc-green-dark);
  transform: translateY(1px);
}

/* ---- mobile nav: pure-CSS disclosure via a hidden checkbox ---- */
.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:hover {
  background: var(--surface-alt);
  text-decoration: none;
}
/* Primary action / CTA buttons — green action spec: green-base bg + white
   text, hover green-light with a -2px lift, active green-dark with a 1px
   press. */
.btn-primary {
  background: var(--sc-green-base);
  border-color: var(--sc-green-base);
  color: #fff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background: var(--sc-green-light);
  border-color: var(--sc-green-light);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary:active {
  background: var(--sc-green-dark);
  border-color: var(--sc-green-dark);
  color: #fff;
  transform: translateY(1px);
}
.btn-lg {
  font-size: 16px;
  padding: 15px 26px;
}
.btn-ghost-on-accent {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-ghost-on-accent:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}
.btn-white:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* --------------------------------------------------------------- hero */

.hero {
  padding: var(--sp-10) 0 var(--sp-8);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #bfe0f5;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: var(--sp-3);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.hero .lede {
  margin: var(--sp-3) 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
}
.hero .btn-row {
  margin-top: var(--sp-4);
}
.hero-note {
  margin: var(--sp-2) 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-figure {
  margin-top: var(--sp-8);
}
.figure-frame {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -12px rgba(15, 23, 42, 0.18);
}
.figure-frame img {
  width: 100%;
}
.figure-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

/* tall full-page report screenshot shown as a centered, capped "preview"
   that fades out its lower edge rather than running the full 1600px height */
.report-preview {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.report-preview .figure-frame {
  max-height: 460px;
  overflow: hidden;
  position: relative;
}
.report-preview .figure-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface));
  pointer-events: none;
}

/* --------------------------------------------------------------- logos strip */

.trustline {
  border-top: 1px solid var(--border);
  padding: var(--sp-4) 0;
  text-align: center;
}
.trustline .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.platform-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1) var(--sp-3);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}
.platform-line span {
  white-space: nowrap;
}
.platform-line .sep {
  color: var(--border-strong);
  font-weight: 400;
}

/* --------------------------------------------------------------- cards / grids */

.grid {
  display: grid;
  gap: var(--sp-3);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
}
.card h3 {
  font-size: 18px;
  font-weight: 650;
}
.card p {
  margin: var(--sp-1) 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* step cards */
.step {
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-2);
}
.step h3 {
  font-size: 17px;
}
.step-shot {
  margin-top: var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
}

/* finding-family tiles */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.family {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-2);
}
.family .name {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}
.family .desc {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.family-note {
  margin-top: var(--sp-3);
  font-size: 14px;
  color: var(--text-secondary);
  max-width: var(--measure);
}

/* --------------------------------------------------------------- platform grid */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.platform-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.platform-card .pname {
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
}
.platform-card .psub {
  font-size: 12px;
  color: var(--text-muted);
}
.access-badges {
  display: flex;
  gap: 6px;
  flex: none;
}
.access-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--green-border);
  background: var(--green-bg);
  color: var(--green-text);
  white-space: nowrap;
}

.callout-band {
  margin-top: var(--sp-4);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  border: 1px solid #bfe0f5;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
}
.callout-band .cb-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.callout-band h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.callout-band p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------- split feature */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
.split.reverse .split-media {
  order: 2;
}
.split-body h2 {
  font-size: 28px;
  font-weight: 700;
}
.split-body > p {
  margin: var(--sp-2) 0 0;
  font-size: 17px;
  color: var(--text-secondary);
}
.feature-list {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 15px;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid #bfe0f5;
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature-list li strong {
  color: var(--text);
  font-weight: 650;
}

/* --------------------------------------------------------------- trust panel */

.trust-panel {
  background: var(--text);
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.trust-panel .eyebrow {
  color: #93c5e8;
}
.trust-panel h2 {
  color: #fff;
  font-size: 28px;
  max-width: 22ch;
}
.trust-panel p {
  color: #cbd5e1;
  font-size: 16px;
  margin: var(--sp-2) 0 0;
  max-width: 62ch;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.trust-item .ti-title {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}
.trust-item p {
  margin-top: 4px;
  font-size: 14px;
  color: #94a3b8;
}
.trust-panel a {
  color: #93c5e8;
}

/* --------------------------------------------------------------- pricing cards */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.price-tier {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.tier-flag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #bfe0f5;
  border-radius: 999px;
  padding: 2px 8px;
}
.price-amount {
  margin-top: var(--sp-2);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-amount .amt {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.price-amount .per {
  font-size: 15px;
  color: var(--text-muted);
}
.price-annual {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}
.price-blurb {
  margin: var(--sp-2) 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 40px;
}
.price-feats {
  list-style: none;
  margin: var(--sp-2) 0 var(--sp-3);
  padding: var(--sp-2) 0 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-secondary);
  flex: 1;
}
.price-feats li {
  position: relative;
  padding: 5px 0 5px 24px;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--green-text);
  font-weight: 700;
}
.price-feats li .n {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--text);
}
.price-card .btn {
  width: 100%;
}
.pricing-subline {
  margin-top: var(--sp-3);
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
}
.pricing-subline strong {
  color: var(--text);
}

/* --------------------------------------------------------------- comparison table */

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 680px;
}
table.compare th,
table.compare td {
  padding: 14px var(--sp-2);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
table.compare thead th {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface-alt);
  white-space: nowrap;
}
table.compare thead th.tier {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
table.compare thead th .tier-price {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
table.compare thead th .tier-annual {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
table.compare thead th.featured {
  background: var(--accent-soft);
}
table.compare tbody th {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
table.compare tbody td {
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
table.compare td.featured {
  background: color-mix(in srgb, var(--accent-soft) 55%, #fff);
}
table.compare .yes {
  color: var(--green-text);
  font-weight: 700;
}
table.compare .dash {
  color: var(--text-muted);
}
table.compare tbody tr:last-child td,
table.compare tbody tr:last-child th {
  border-bottom: none;
}
table.compare .row-strong td,
table.compare .row-strong th {
  background: var(--surface-alt);
}
.all-platforms-cell {
  color: var(--green-text) !important;
  font-weight: 650;
}

/* --------------------------------------------------------------- FAQ */

.faq-list {
  max-width: var(--measure);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item h3 {
  font-size: 17px;
  font-weight: 650;
}
.faq-item p {
  margin: var(--sp-1) 0 0;
  color: var(--text-secondary);
  font-size: 15.5px;
}

/* --------------------------------------------------------------- CTA band */

.cta-band {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  max-width: 20ch;
  margin: 0 auto;
}
.cta-band p {
  margin: var(--sp-2) auto 0;
  max-width: 52ch;
  font-size: 17px;
  color: #f2f8fd;
}
.cta-band .btn-row {
  justify-content: center;
  margin-top: var(--sp-4);
}

/* --------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: var(--sp-8) 0 var(--sp-6);
  margin-top: var(--sp-4);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: space-between;
}
.footer-brand {
  max-width: 340px;
}
.footer-brand .brand {
  margin-bottom: var(--sp-2);
}
.footer-brand p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-fam {
  margin-top: var(--sp-2) !important;
  font-size: 13px;
  color: var(--text-muted) !important;
}
.footer-cols {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: var(--sp-1);
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------- whitepaper */

.wp-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
  padding: var(--sp-6) 0 var(--sp-10);
}
/* let grid children shrink below their content's intrinsic width so a wide
   <pre> scrolls inside .wp-figure instead of stretching the whole layout */
.wp-layout > * {
  min-width: 0;
}
.wp-toc {
  position: sticky;
  top: 76px;
  align-self: start;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--sp-2);
}
.wp-toc .toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 6px 8px;
}
.wp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.wp-toc li {
  counter-increment: toc;
}
.wp-toc a {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
}
.wp-toc a::before {
  content: counter(toc) ". ";
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.wp-toc a:hover {
  background: var(--surface-alt);
  color: var(--text);
  text-decoration: none;
}

.wp-article {
  max-width: var(--measure);
}
.wp-article .wp-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wp-article .wp-subtitle {
  margin-top: var(--sp-2);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-secondary);
}
.wp-article .wp-meta {
  margin-top: var(--sp-2);
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.wp-article h2 {
  font-size: 25px;
  font-weight: 700;
  margin-top: var(--sp-8);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}
.wp-article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.wp-article h3 {
  font-size: 19px;
  font-weight: 650;
  margin-top: var(--sp-4);
}
.wp-article p {
  margin: var(--sp-2) 0 0;
  color: var(--text);
}
.wp-article ul,
.wp-article ol {
  margin: var(--sp-2) 0 0;
  padding-left: var(--sp-3);
  color: var(--text);
}
.wp-article li {
  margin-top: 8px;
}
.wp-article li::marker {
  color: var(--text-muted);
}
.wp-article strong {
  font-weight: 650;
}
.wp-article a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wp-callout {
  margin: var(--sp-3) 0 0;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-2) var(--sp-3);
}
.wp-callout p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.wp-callout p + p {
  margin-top: var(--sp-1);
}
.wp-callout strong {
  color: var(--text);
}
.wp-figure {
  margin: var(--sp-3) 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0b1220;
  overflow-x: auto;
  max-width: 100%;
}
.wp-figure pre {
  margin: 0;
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  white-space: pre;
}
.wp-note {
  margin-top: var(--sp-8);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
}
.wp-tldr {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--sp-3);
  margin-top: var(--sp-4);
}
.wp-tldr h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

/* --------------------------------------------------------------- utilities */

.center {
  text-align: center;
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.lead-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .split.reverse .split-media {
    order: 0;
  }
  .grid-3,
  .platform-grid,
  .family-grid,
  .trust-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wp-layout {
    grid-template-columns: 1fr;
  }
  .wp-toc {
    position: static;
    max-height: none;
  }
  .hero h1 {
    font-size: 38px;
  }
  .section-head h2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .section {
    padding: var(--sp-8) 0;
  }
  .section-tight {
    padding: var(--sp-6) 0;
  }
  .hero {
    padding: var(--sp-8) 0 var(--sp-6);
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero .lede {
    font-size: 17px;
  }
  .grid-3,
  .grid-4,
  .platform-grid,
  .family-grid,
  .trust-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .cta-band,
  .trust-panel {
    padding: var(--sp-4) var(--sp-3);
  }
  .cta-band h2 {
    font-size: 24px;
  }
  .btn-row .btn {
    width: 100%;
  }
  .footer-cols {
    gap: var(--sp-4);
    width: 100%;
  }

  /* --- mobile nav collapse (CSS-only, checkbox toggle) --- */
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: transform 150ms ease, opacity 150ms ease;
  }
  .nav-toggle-label span::before {
    position: absolute;
    top: -6px;
  }
  .nav-toggle-label span::after {
    position: absolute;
    top: 6px;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: var(--sp-2);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.25);
  }
  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
  .nav-toggle:checked ~ .nav-toggle-label span {
    transform: rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(-90deg) translateX(6px);
  }
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    opacity: 0;
  }
  .site-nav a {
    padding: 12px 14px;
    font-size: 16px;
  }
  .site-nav a.nav-cta {
    text-align: center;
    justify-content: center;
  }
}

/* --------------------------------------------------------------- print */

@media print {
  .site-header,
  .cta-band,
  .site-nav,
  .nav-toggle-label,
  .btn-row {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 12px;
  }
  .figure-frame,
  .card,
  .compare-wrap {
    box-shadow: none;
    break-inside: avoid;
  }
  .section,
  .section-tight,
  .hero {
    padding: var(--sp-3) 0;
  }
  .trust-panel {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
  }
  .trust-panel h2,
  .trust-panel .ti-title {
    color: var(--text);
  }
  .trust-panel p,
  .trust-item p {
    color: var(--text-secondary);
  }
  a {
    color: var(--text);
  }
  .wp-toc {
    display: none;
  }
  .wp-layout {
    grid-template-columns: 1fr;
  }
}
