@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1f2933;
  --fg-secondary: #3e4c59;
  --muted: #52606d;
  --border: #e4e7eb;
  --link: #1d4ed8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --fg: #e8eaed;
    --fg-secondary: #c3c9d1;
    --muted: #9aa2ad;
    --border: #2c313a;
    --link: #8ab4f8;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* .wrap owns horizontal layout only; sections own vertical padding */
.wrap {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

p {
  margin: 0;
}

main p + p {
  margin-top: 0.75rem;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding-block: 1.25rem;
  background: color-mix(in srgb, var(--fg) 2.5%, var(--bg));
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.wordmark svg {
  display: block;
}

.brand-mark {
  color: var(--link);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-lockup {
  margin: 0 0 1.5rem;
}

.lockup-visual {
  display: inline-flex;
  flex-direction: column;
  gap: 0.9rem;
}

.brand-mark-large {
  width: 200px;
  height: auto;
  color: var(--link);
}

.labs {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.55em;
  margin-right: -0.55em;
  color: var(--muted);
  text-align: center;
}

.hero {
  --hero-fade-mid: rgba(255, 255, 255, 0.4);
  --hero-fade-end: rgba(255, 255, 255, 0);
  padding-block: 5rem 3.5rem;
  background-image:
    linear-gradient(90deg, var(--bg) 25%, var(--hero-fade-mid) 60%, var(--hero-fade-end) 90%),
    url("images/hero-light.jpg");
  background-size: cover;
  background-position: right center;
}

@media (prefers-color-scheme: dark) {
  .hero {
    --hero-fade-mid: rgba(22, 24, 29, 0.4);
    --hero-fade-end: rgba(22, 24, 29, 0);
    background-image:
      linear-gradient(90deg, var(--bg) 25%, var(--hero-fade-mid) 60%, var(--hero-fade-end) 90%),
      url("images/hero-dark.jpg");
  }
}

h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.3125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 650;
  margin: 0 0 0.75rem;
}

.lede {
  color: var(--fg-secondary);
  font-size: 1.1875rem;
  line-height: 1.55;
  text-wrap: balance;
}

main section {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}

main section:first-of-type {
  border-top: none;
}

.founders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.founders li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.headshot {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.email {
  font-size: 1.0625rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  background: color-mix(in srgb, var(--fg) 2.5%, var(--bg));
}

.site-footer p {
  margin: 0;
}
