:root {
  --bg: #fafaf8;
  --text: #16171a;
  --muted: #5d6068;
  --line: #e4e3df;
  --accent: #2f5bea;
  --accent-text: #ffffff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --text: #ececea;
    --muted: #9a9ca3;
    --line: #26282d;
    --accent: #7b9bff;
    --accent-text: #0d1020;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  width: 28px;
  height: 28px;
}

.mark rect {
  fill: var(--accent);
}

.mark path {
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 3;
  stroke-linecap: round;
}

main {
  flex: 1;
}

.hero {
  padding: 18vh 0 14vh;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lede {
  margin: 28px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.2rem;
}

.lede a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.contact {
  padding: 48px 0 96px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.contact p {
  margin: 0 0 20px;
  color: var(--muted);
}

.email {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email:hover {
  filter: brightness(1.08);
}

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

.site-footer {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .site-header,
  main,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 12vh 0 10vh;
  }

  .lede {
    font-size: 1.1rem;
  }
}
