/* =============================================================
   Theme Canvas — styles.css
   White canvas · one confident indigo accent · hairlines everywhere
   Display: Plus Jakarta Sans · Body/UI: Inter (loaded per page)
   ============================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fb;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink-canvas: #0e1024;
  --text-1: #12142b;
  --text-2: #454a63;
  --text-3: #6b7091; /* spec value #7a7f99 darkened slightly for AA at small sizes */
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-ring: rgba(79, 70, 229, 0.25);
  --border: #e6e8f0;
  --border-strong: #d5d8e4;
  --success: #059669;
  --shadow-card: 0 1px 2px rgba(18, 20, 43, 0.05), 0 8px 24px rgba(18, 20, 43, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(18, 20, 43, 0.06), 0 16px 40px rgba(18, 20, 43, 0.10);
  --radius-card: 14px;
  --radius-btn: 8px;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --space-section: 88px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 47.99rem) {
  :root { --space-section: 56px; }
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-1);
}

h1 {
  font-size: clamp(2.5rem, 2rem + 3.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 160ms ease-out;
}
a:hover { color: var(--accent-hover); }

strong { color: var(--text-1); font-weight: 600; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--accent-soft);
  color: var(--text-1);
  padding: 0.1em 0.4em;
  border-radius: 5px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--accent-ring);
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--text-1); }

/* ---------- Layout primitives ---------- */

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 29.99rem) {
  .container, .container-narrow { padding-inline: 16px; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -4rem;
  background: var(--accent); color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--radius-btn) var(--radius-btn);
  font-weight: 600; font-size: 0.9375rem;
  z-index: 300;
  transition: top 160ms ease-out;
}
.skip-link:focus { top: 0; color: #fff; }

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

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.eyebrow-pill {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.lede {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-2);
}

.meta { font-size: 0.875rem; color: var(--text-3); }

.grad {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease-out;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}
@media (max-width: 47.99rem) {
  .header-inner { height: 60px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark { width: 28px; height: 28px; flex: none; display: block; }
.brand-mark .mark-frame { stroke: var(--accent); }
.brand-mark .mark-fill { fill: var(--accent); }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-1);
  white-space: nowrap;
}
.brand-word .brand-accent { color: var(--accent); }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.site-nav a {
  display: block;
  position: relative;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 160ms ease-out;
}
.site-nav a:hover { color: var(--text-1); }
.site-nav a[aria-current="page"] { color: var(--text-1); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.55rem 0.6rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle .bar {
  display: block;
  width: 1.25rem; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-toggle .bar + .bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 61.99rem) {
  .btn.header-cta, .header-cta { display: none; }
}

@media (max-width: 47.99rem) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin-left: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav a { padding: 0.8rem 0.75rem; border-radius: var(--radius-btn); font-size: 1rem; }
  .site-nav a:hover { background: var(--bg-alt); }
  .site-nav a[aria-current="page"]::after {
    left: 0.75rem; right: auto;
    width: 1.5rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: background-color 180ms ease-out, color 180ms ease-out,
              border-color 180ms ease-out, transform 180ms ease-out,
              box-shadow 180ms ease-out;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--accent-ring);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-secondary {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text-1);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-invert { background: #fff; color: var(--accent); }
.btn-invert:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-lg { height: 50px; padding: 0 26px; font-size: 1rem; }
.btn-nav { height: 40px; padding: 0 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 24px 64px;
  text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(79, 70, 229, 0.08), transparent 70%);
}
@media (max-width: 47.99rem) {
  .hero { padding: 56px 16px 40px; }
}

.hero-copy { max-width: 780px; margin-inline: auto; }
.hero h1 { max-width: 720px; margin-inline: auto; }
.hero .lede { max-width: 560px; margin: 20px auto 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Browser-frame product mosaic */

.hero-visual { margin-top: 64px; }

.hero-mosaic {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1080px;
  margin-inline: auto;
}

.browser-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
}
.browser-frame .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.browser-frame .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
  opacity: 0.6;
}
.browser-frame .dot-r { background: #f87171; }
.browser-frame .dot-y { background: #fbbf24; }
.browser-frame .dot-g { background: #34d399; }
.browser-frame .url-pill {
  flex: 1;
  max-width: 200px;
  margin-left: 8px;
  height: 16px;
  border-radius: 999px;
  background: #f1f2f6;
  font-size: 9px;
  line-height: 16px;
  color: var(--text-3);
  text-align: center;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.browser-frame .shot { display: block; width: 100%; height: auto; }

.hero-mosaic .browser-frame { flex: none; }
.hero-mosaic .frame-center { position: relative; z-index: 2; width: 42%; }
.hero-mosaic .frame-side {
  z-index: 1;
  width: 36%;
  transform: scale(0.85) translateY(24px);
  box-shadow: var(--shadow-card);
}
.hero-mosaic .frame-left { transform-origin: right top; margin-right: -7%; }
.hero-mosaic .frame-right { transform-origin: left top; margin-left: -7%; }

@media (max-width: 47.99rem) {
  .hero-visual { margin-top: 40px; }
  .hero-mosaic .frame-side { display: none; }
  .hero-mosaic .frame-center { width: 100%; max-width: 480px; }
}

/* "Works with" credibility strip */

.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 56px;
}
.works-with .works-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.works-with .works-item {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity 180ms ease-out;
}
.works-with .works-item:hover { opacity: 1; }

/* ---------- Section rhythm ---------- */

.section { padding-block: var(--space-section); }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .intro { max-width: 560px; margin-bottom: 0; }
.section-head.center { text-align: center; }
.section-head.center .intro { margin-inline: auto; }

/* Dark band */

.section-dark {
  background: var(--ink-canvas);
  color: rgba(255, 255, 255, 0.78);
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #a5b4fc; }
.section-dark .intro { color: rgba(255, 255, 255, 0.72); }
.section-dark a { color: #a5b4fc; }
.section-dark a:hover { color: #c7d2fe; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  line-height: 1.1;
  color: #fff;
}
.stat .stat-number .stat-unit { color: #a5b4fc; }
.stat .stat-value { font-feature-settings: "tnum"; }
.stat .stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.66);
}
@media (max-width: 47.99rem) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
              border-color 200ms var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9375rem; }
.card .card-cta { margin-top: auto; padding-top: 12px; }
.card .card-link {
  font-weight: 600;
  font-size: 0.9375rem;
}
.card .card-link .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-out);
}
.card:hover .card-link .arrow { transform: translateX(3px); }

/* Product cards: framed thumbnail on top */

.product-card { padding: 12px; }
.product-card .thumb {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 4px;
}
.product-card .thumb .shot { display: block; width: 100%; height: auto; }
.product-card .card-body {
  padding: 16px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .card-body h3 { margin-bottom: 6px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-type { background: var(--accent-soft); color: var(--accent); }
.badge-dev {
  background: var(--bg-alt);
  color: var(--text-3);
  border: 1px solid var(--border);
}

/* Icon chips */

.card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex: none;
}
.card-icon svg { width: 24px; height: 24px; display: block; }

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 16px; height: 16px;
  background-color: var(--success);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.step-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.step-list > li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 24px 76px;
  position: relative;
}
.step-list > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px; top: 26px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum";
  border-radius: 10px;
}
.step-list h3 { margin-bottom: 6px; }
.step-list p { font-size: 0.9375rem; margin-bottom: 0; }

/* ---------- Notice / info boxes ---------- */

.notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9375rem;
}
.notice p { margin: 0; font-size: 0.9375rem; }

.info-box {
  background: var(--accent-soft);
  border: 1px solid #dde3fb;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p { font-size: 0.9375rem; }
.info-box p:last-child { margin-bottom: 0; }

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

.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding-block: 72px;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 16px auto 28px;
}
.cta-band .cta-sub {
  margin: 20px 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.faq-list { max-width: 720px; }
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background-color: var(--accent);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M12 5v14M5 12h14"/></svg>') center / contain no-repeat;
  transition: transform 200ms var(--ease-out);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding-bottom: 20px; }
details.faq .faq-body p { font-size: 0.9375rem; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; margin: 20px 0 28px; }
table.data {
  width: 100%;
  min-width: 34rem;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9375rem;
}
table.data th, table.data td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
table.data th {
  background: var(--bg-alt);
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.data tr:last-child td { border-bottom: none; }

/* ---------- Page heads (sub pages) ---------- */

.page-head {
  position: relative;
  padding: 72px 0 8px;
  text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(79, 70, 229, 0.07), transparent 70%);
}
.page-head h1 { font-size: clamp(2.25rem, 1.8rem + 2.4vw, 3.5rem); }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head .lede { max-width: 620px; margin-inline: auto; }
.page-head .meta { margin-top: 14px; }
@media (max-width: 47.99rem) {
  .page-head { padding-top: 48px; }
}

/* ---------- Legal / prose ---------- */

.prose { font-size: 1rem; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.prose h3 { font-size: 1.0625rem; margin-top: 28px; margin-bottom: 10px; }
.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  margin: 32px 0 8px;
}
.toc h2 {
  border: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.toc ol {
  margin: 0 0 0 1.3rem;
  columns: 2;
  column-gap: 40px;
}
.toc li { margin-bottom: 6px; font-size: 0.9375rem; break-inside: avoid; }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--accent); }
@media (max-width: 39.99rem) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-canvas);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 32px;
  font-size: 0.875rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid h3 {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid p { color: rgba(255, 255, 255, 0.66); }

.footer-brand-col { max-width: 340px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-mark .mark-frame { stroke: #fff; }
.footer-brand .brand-mark .mark-fill { fill: #fff; }
.footer-brand .brand-word,
.footer-brand .brand-word .brand-accent { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal p { color: rgba(255, 255, 255, 0.55); margin-bottom: 8px; font-size: 0.8125rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.66); }
.footer-legal a:hover { color: #fff; }

@media (max-width: 61.99rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 33.99rem) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Misc ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 49.99rem) { .split { grid-template-columns: 1fr; } }

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 24px;
}

.timeline-note { font-size: 0.8125rem; color: var(--text-3); }

hr.rule { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
