:root {
  color-scheme: light dark;
  --canvas: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --quiet: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #55ad68;
  --content-width: 1180px;
  --page-gutter: clamp(20px, 3.5vw, 64px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000000;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --quiet: #8e8e93;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #92ffa8;
  }
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header,
main,
footer {
  width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}
.wordmark {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 680;
  letter-spacing: -0.018em;
}

main { display: grid; align-items: center; }
.hero { padding: clamp(72px, 15vh, 180px) 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.86;
}
h1 span { color: var(--accent); }
.lead {
  max-width: 560px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.45;
}
.current-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  transition: border-color 140ms, color 140ms;
}
.current-site:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.current-site span { font-size: 0.9rem; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  :root { --page-gutter: 16px; }
  .site-header { min-height: 58px; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
}
