:root {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --bg: #fafafa;
  --bg-tile: #ffffff;
  --bg-soft: #f0f0f0;
  --text: #1a1a1a;
  --muted: #555555;
  --faint: #8a8a8a;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --page-max: 1240px;
  --measure: 68ch;
  --pad: clamp(1rem, 3vw, 2rem);
  --space: clamp(4rem, 9vh, 6.5rem);
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--muted); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p { max-width: var(--measure); }
code, pre { font-family: var(--font-mono); }
.page { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad); }
.site-header { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.hero { border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 8vh, 5.75rem); }
.eyebrow, .section-label, .mono-label, .hero-proof, .faq-question { color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { margin-bottom: 0.875rem; }
h1, h2, h3 { color: var(--text); font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.45rem, 7vw, 4rem); line-height: 1.08; max-width: 13ch; margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.hero-sub + .hero-sub { margin-top: 1rem; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn-primary, .btn-ghost { align-items: center; display: inline-flex; justify-content: center; min-height: 2.75rem; padding: 0.625rem 1.5rem; transition: opacity 0.2s ease, transform 0.2s ease; }
.btn-primary { background: var(--text); border-radius: 3px; color: var(--bg); font-weight: 500; }
.btn-ghost { border-bottom: 1px solid var(--line-strong); color: var(--text); padding-left: 0; padding-right: 0; }
.btn-primary:hover, .btn-ghost:hover { opacity: 0.86; transform: translateY(-1px); }
.hero-proof { margin-top: 1.2rem; }
.section { border-bottom: 1px solid var(--line); padding: var(--space) 0; }
.section:last-of-type { border-bottom: none; }
.section-head { align-items: end; display: grid; gap: 3rem; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin-bottom: 2rem; }
.section-title { font-size: clamp(1.85rem, 5vw, 2.35rem); line-height: 1.15; margin-top: 0.65rem; max-width: 18ch; }
.section-copy { color: var(--muted); line-height: 1.7; }
.card-grid, .wide-grid, .faq-grid, .related-grid { background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 1px; overflow: hidden; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: 1fr; }
.card, .faq-card, .related-card { background: var(--bg-tile); min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); }
.card h3, .related-card h3 { font-size: 1.25rem; line-height: 1.25; margin: 0.55rem 0; }
.card p, .faq-card p, .related-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.related-card a, .card a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.related-card a { display: inline-block; margin-top: 0.85rem; }
.code-panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1.5rem; max-width: 50rem; overflow: hidden; }
.code-head { border-bottom: 1px solid var(--line); color: var(--faint); display: flex; font-family: var(--font-mono); font-size: 0.75rem; gap: 1rem; justify-content: space-between; padding: 0.85rem 1rem; text-transform: uppercase; }
.code-panel pre { background: var(--bg); color: var(--text); font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; padding: 1rem; white-space: pre-wrap; }
.closing { padding: var(--space) 0; }
.closing h2 { font-size: clamp(1.9rem, 5vw, 2.35rem); line-height: 1.15; margin-bottom: 1rem; max-width: 18ch; }
.site-footer { border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); padding: clamp(2.5rem, 5vh, 4rem) 0; }
.footer-name { color: var(--text); font-weight: 500; margin-bottom: 0.5rem; }
.footer-address { color: var(--faint); font-size: 0.9375rem; font-style: normal; line-height: 1.55; }
.footer-nav { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(6.5rem, 1fr)); }
.footer-heading { color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; margin-bottom: 0.65rem; text-transform: uppercase; }
.footer-group { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-group a { color: var(--muted); font-size: 0.9375rem; }
.footer-group a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; grid-column: 1 / -1; padding-top: 1.5rem; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 900px) {
  .section-head, .card-grid, .related-grid, .site-footer { grid-template-columns: 1fr; }
  .section-head { align-items: start; gap: 1rem; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn-primary, .btn-ghost { border: 1px solid var(--line-strong); border-radius: 3px; padding-left: 1rem; padding-right: 1rem; width: 100%; }
  .footer-nav { grid-template-columns: 1fr; }
}
