:root {
  --bg: #ffffff;
  --fg: #0b0f14;
  --muted: rgba(11, 15, 20, 0.72);
  --border: rgba(11, 15, 20, 0.18);
  --panel: rgba(11, 15, 20, 0.03);
  --accent: #0b0f14;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1080px;
  --pad: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --fg: #f3f6fb;
    --muted: rgba(243, 246, 251, 0.74);
    --border: rgba(243, 246, 251, 0.16);
    --panel: rgba(243, 246, 251, 0.05);
    --accent: #f3f6fb;
  }
}

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

html {
  color-scheme: light dark;
  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 {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: var(--accent);
}

.brand-name {
  font-size: 16px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: currentColor;
  text-decoration: none;
}

.nav-email {
  color: var(--fg);
}

.hero {
  padding: 64px 0 24px;
}

.kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-inner h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 70ch;
}

.rule {
  height: 1px;
  background: var(--border);
  margin: 22px 0 0;
}

.pillars {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pillar {
  padding: 16px;
  background: transparent;
}

.pillar + .pillar {
  border-top: 1px solid var(--border);
}

.pillar dt {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pillar dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: 52px 0;
  border-top: 1px solid var(--border);
}

.section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.small {
  font-size: 13px;
}

.section-head p {
  margin: 8px 0 0;
  max-width: 70ch;
}

.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.panel {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.panel h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li + li {
  margin-top: 6px;
}

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.step {
  border: 0;
  padding: 18px;
  background: transparent;
}

.step + .step {
  border-top: 1px solid var(--border);
}

.step h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.prose {
  margin-top: 16px;
  max-width: 75ch;
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 12px;
}

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

.footer-inner {
  display: grid;
  gap: 12px;
}

.footer-right {
  display: grid;
  gap: 6px;
}

.email {
  text-decoration: underline;
}

@media (min-width: 720px) {
  :root {
    --pad: 24px;
  }

  .hero {
    padding: 84px 0 34px;
  }

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

  .pillar + .pillar {
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
  }

  .grid .panel:nth-child(1) {
    grid-column: 1 / span 4;
  }

  .grid .panel:nth-child(2) {
    grid-column: 5 / span 4;
  }

  .grid .panel:nth-child(3) {
    grid-column: 9 / span 4;
  }

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

  .step + .step {
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .footer-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
  }
}

