/* Spidrweb — infrastructure-grade, minimal CSS */

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-accent: #1d4ed8;
  --color-accent-hover: #1e40af;
  --color-progress: #1d4ed8;
  --btn-gradient-start: oklch(0.653 0.304 325.4);
  --btn-gradient-mid: oklch(0.537 0.285 300.9);
  --btn-gradient-end: oklch(0.448 0.294 264.5);
  --btn-gradient-hover-start: oklch(0.68 0.32 325.4);
  --btn-gradient-hover-mid: oklch(0.57 0.30 300.9);
  --btn-gradient-hover-end: oklch(0.48 0.31 264.5);
  --btn-gradient: linear-gradient(
    135deg,
    var(--btn-gradient-start) 0%,
    var(--btn-gradient-mid) 51%,
    var(--btn-gradient-end) 100%
  );
  --btn-gradient-hover: linear-gradient(
    135deg,
    var(--btn-gradient-hover-start) 0%,
    var(--btn-gradient-hover-mid) 51%,
    var(--btn-gradient-hover-end) 100%
  );
  --btn-border: oklch(0.653 0.304 325.4 / 0.35);
  --btn-border-hover: oklch(0.68 0.32 325.4 / 0.45);
  --btn-glow: oklch(0.537 0.285 300.9 / 0.35);
  --btn-glow-hover: oklch(0.537 0.285 300.9 / 0.45);
  --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-heading: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max-width: 68rem;
  --radius: 0.25rem;
  --grid-size: 40px;
  --grid-line: rgba(0, 0, 0, 0.055);
  --grid-angle: 7deg;
  --icon-xs: 0.875rem;
  --icon-sm: 1rem;
  --icon-md: 1.25rem;
  --icon-lg: 1.5rem;
  --icon-xl: 2rem;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --btn-gradient-start: color(display-p3 1 0 1);
      --btn-gradient-mid: color(display-p3 0.78 0 1);
      --btn-gradient-end: color(display-p3 0 0.12 1);
      --btn-gradient-hover-start: color(display-p3 1 0.06 1);
      --btn-gradient-hover-mid: color(display-p3 0.84 0.04 1);
      --btn-gradient-hover-end: color(display-p3 0.04 0.18 1);
      --btn-border: color(display-p3 1 0 1 / 0.35);
      --btn-border-hover: color(display-p3 1 0.06 1 / 0.45);
      --btn-glow: color(display-p3 0.78 0 1 / 0.4);
      --btn-glow-hover: color(display-p3 0.78 0 1 / 0.55);
      --grid-line: color(display-p3 0 0 0 / 0.06);
    }

    html.dark {
      --grid-line: color(display-p3 1 1 1 / 0.075);
    }
  }
}

html.dark {
  --color-bg: #111111;
  --color-surface: #111111;
  --color-text: #f3f4f6;
  --color-muted: #9ca3af;
  --color-border: #2d2d2d;
  --color-accent: #60a5fa;
  --color-accent-hover: #93c5fd;
  --color-progress: #60a5fa;
  --grid-line: rgba(255, 255, 255, 0.075);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

::selection {
  background-color: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

/* ── Icons ─────────────────────────────────────────────── */

.icon {
  display: inline-block;
  flex-shrink: 0;
  width: var(--icon-md);
  height: var(--icon-md);
  color: currentColor;
  vertical-align: middle;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.icon-xs { width: var(--icon-xs); height: var(--icon-xs); }
.icon-sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon-md { width: var(--icon-md); height: var(--icon-md); }
.icon-lg { width: var(--icon-lg); height: var(--icon-lg); }
.icon-xl { width: var(--icon-xl); height: var(--icon-xl); }

/* Phosphor webfont icons (Regular weight fallback) */
i.ph {
  display: inline-block;
  flex-shrink: 0;
  line-height: 1;
  color: currentColor;
  vertical-align: middle;
}

i.ph.icon-xs { font-size: var(--icon-xs); }
i.ph.icon-sm { font-size: var(--icon-sm); }
i.ph.icon-md { font-size: var(--icon-md); }
i.ph.icon-lg { font-size: var(--icon-lg); }
i.ph.icon-xl { font-size: var(--icon-xl); }

/* ── Skip link ─────────────────────────────────────────── */

.skip-link {
  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:focus {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
}

/* ── Scroll progress ───────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  background: var(--color-progress);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__bar {
    transition: none;
  }
}

/* ── Header & navigation ───────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
}

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-logo:hover {
  background: var(--btn-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--color-text);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

.site-nav__icon {
  color: var(--color-muted);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 0.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.theme-toggle__icon {
  display: inline-flex;
}

.theme-toggle__icon--dark,
html.dark .theme-toggle__icon--light {
  display: none;
}

html.dark .theme-toggle__icon--dark {
  display: inline-flex;
}

/* ── Mobile nav toggle ─────────────────────────────────── */

.nav-overlay {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--color-text);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 1.125rem;
  height: 1.125rem;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(0.4375rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-0.4375rem) rotate(-45deg);
}

@media (max-width: 749px) {
  .site-header__nav {
    gap: 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .theme-toggle {
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  .site-header__nav.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__link {
    padding: 0.75rem 0.625rem;
    font-size: 1rem;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html.dark body.nav-open .nav-overlay {
    background: rgba(0, 0, 0, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar,
  .site-nav,
  .nav-overlay {
    transition: none;
  }
}

/* ── Layout ────────────────────────────────────────────── */

main {
  flex: 1;
}

.page {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 4rem 1.5rem 6rem;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: 1fr min(18rem, 36%);
    grid-template-rows: auto auto;
    gap: 2rem 3rem;
  }

  .hero .page-hero {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-dashboard {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }

  .hero__actions {
    grid-column: 1;
    grid-row: 2;
  }
}

.hero .page-hero {
  max-width: none;
  margin-bottom: 0;
}

.hero__actions {
  position: relative;
  isolation: isolate;
  margin-top: 0.5rem;
}

/* ── Subtle grid background ────────────────────────────── */

.grid-bg,
header.page-hero,
.hero__actions,
.cta-section,
.trust-bar {
  --grid-spot-x: 50%;
  --grid-spot-y: 50%;
  --grid-spot-size: 80%;
  --grid-bleed-y: 3rem;
  --grid-bleed-x: 50vw;
  --grid-mask-shape: ellipse 72% 68%;
  --grid-angle: 7deg;
  overflow: visible;
}

.grid-bg {
  position: relative;
  isolation: isolate;
}

.grid-bg--center {
  --grid-spot-x: center;
  --grid-spot-y: center;
}

.hero__actions {
  --grid-spot-x: 50%;
  --grid-spot-y: 50%;
  --grid-spot-size: 88%;
  --grid-bleed-y: 1.75rem;
  --grid-bleed-x: 3.5rem;
  --grid-mask-shape: ellipse 100% 82%;
}

.cta-section {
  --grid-spot-x: 55%;
  --grid-spot-y: 60%;
  --grid-spot-size: 78%;
}

.trust-bar {
  --grid-spot-x: center;
  --grid-spot-y: center;
  --grid-spot-size: 72%;
  --grid-bleed-y: 2.5rem;
  --grid-mask-shape: ellipse 88% 72%;
}

.grid-bg::before,
header.page-hero::before,
.hero__actions::before,
.cta-section::before,
.trust-bar::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--grid-bleed-y));
  bottom: calc(-1 * var(--grid-bleed-y));
  left: calc(50% - var(--grid-bleed-x));
  right: calc(50% - var(--grid-bleed-x));
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  transform: rotate(var(--grid-angle)) scale(1.25);
  transform-origin: var(--grid-spot-x) var(--grid-spot-y);
  mask-image: radial-gradient(
    var(--grid-mask-shape) at var(--grid-spot-x) var(--grid-spot-y),
    black 0%,
    rgb(0 0 0 / 0.5) 22%,
    rgb(0 0 0 / 0.15) 52%,
    transparent var(--grid-spot-size)
  );
  -webkit-mask-image: radial-gradient(
    var(--grid-mask-shape) at var(--grid-spot-x) var(--grid-spot-y),
    black 0%,
    rgb(0 0 0 / 0.5) 22%,
    rgb(0 0 0 / 0.15) 52%,
    transparent var(--grid-spot-size)
  );
}

.hero__actions::before {
  left: calc(-1 * var(--grid-bleed-x));
  right: calc(-1 * var(--grid-bleed-x));
}

.page-hero {
  max-width: 40rem;
  margin-bottom: 4rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.page-hero p {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.page-hero p + p {
  margin-top: 1rem;
}

.hero-lead {
  color: var(--color-text) !important;
  font-weight: 500;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero .btn-row {
  margin-top: 2rem;
}

/* ── Hero dashboard ────────────────────────────────────── */

.hero-dashboard {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.04),
    0 12px 32px oklch(0 0 0 / 0.06);
}

html.dark .hero-dashboard {
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.2),
    0 12px 32px oklch(0 0 0 / 0.25);
}

.hero-dashboard--glow {
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.04),
    0 12px 32px oklch(0 0 0 / 0.06),
    0 4px 14px var(--btn-glow);
}

html.dark .hero-dashboard--glow {
  box-shadow:
    0 1px 2px oklch(0 0 0 / 0.2),
    0 12px 32px oklch(0 0 0 / 0.25),
    0 4px 14px var(--btn-glow);
}

.hero-dashboard__value.hero-dashboard__glow {
  background: var(--btn-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px var(--btn-glow));
}

.hero-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--color-border);
}

.hero-dashboard__stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 1.125rem 1rem;
  background: var(--color-surface);
}

.hero-dashboard__stat--wide {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
}

.hero-dashboard__value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.hero-dashboard__label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-muted);
}

.section-heading {
  margin: 0 0 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ── Cards ─────────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

@media (min-width: 40rem) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 2rem;
  background: var(--color-surface);
}

.card__icon {
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.card h2,
.card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.card p {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.card .btn {
  margin-top: 1.25rem;
}

/* ── Feature grid ──────────────────────────────────────── */

.feature-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.feature__icon {
  padding-top: 0.125rem;
  color: var(--color-muted);
}

.feature__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feature__body p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* ── Buttons ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--btn-gradient);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.14) inset,
    0 4px 14px var(--btn-glow);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: var(--btn-gradient-hover);
  border-color: var(--btn-border-hover);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.18) inset,
    0 8px 22px var(--btn-glow-hover);
  transform: translateY(-1px);
}

.btn--secondary {
  color: var(--color-text);
  background: transparent;
  border-color: var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-text);
  background: transparent;
}

/* ── Trust bar ─────────────────────────────────────────── */

.trust-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar__item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ── Stack list ────────────────────────────────────────── */

.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list > li + li {
  margin-top: 0.375rem;
}

.stack-list--emphasis > li {
  font-weight: 500;
  color: var(--color-text);
}

/* ── Quotes ────────────────────────────────────────────── */

.quote-grid {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

@media (min-width: 40rem) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: 2rem;
  background: var(--color-surface);
}

.quote blockquote {
  margin: 0;
}

.quote p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* ── CTA section ───────────────────────────────────────── */

.cta-section {
  max-width: 40rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

header.page-hero,
.hero__actions,
.cta-section,
.trust-bar {
  position: relative;
  isolation: isolate;
}

.cta-section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cta-section p {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.cta-section p + p {
  margin-top: 1rem;
}

.cta-section .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ── Prose ─────────────────────────────────────────────── */

.prose-section {
  max-width: 40rem;
  color: var(--color-muted);
}

.prose-section > * + * {
  margin-top: 1.5rem;
}

.prose-section h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.prose-section p {
  margin: 0;
}

/* ── Footer ────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 40rem) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.site-footer a {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* ── Forms ─────────────────────────────────────────────── */

.form-group + .form-group {
  margin-top: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

/* ── Pricing table ─────────────────────────────────────── */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
  font-weight: 600;
}

/* ── Utilities ─────────────────────────────────────────── */

.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;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-3 { margin-left: 0.75rem; }

.grid { display: grid; }
.gap-12 { gap: 3rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.overflow-x-auto { overflow-x: auto; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 1.35; }
.font-semibold { font-weight: 600; }
.max-w-3xl { max-width: 40rem; }

@media (min-width: 64rem) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
