@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171b1b;
  --muted: #626968;
  --line: #dce0dc;
  --paper: #fafaf8;
  --card: #f0f2ee;
  --accent: #42695f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.62;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}

.shell {
  width: min(100% - 52px, 1010px);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 39px 0 23px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.micro {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 52px;
  align-items: start;
  padding: 88px 0 105px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.045em;
  font-weight: 650;
}

.hero h1 {
  font-size: clamp(35px, 5.4vw, 66px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.068em;
  max-width: 820px;
  margin: 0 0 26px;
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
  color: #444c49;
  letter-spacing: -0.021em;
}

.portrait {
  width: 136px;
  height: 168px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  background: #e4e8e3;
  border: 1px solid #e2e5e0;
  filter: grayscale(1);
  margin-top: 122px;
}

.section {
  border-top: 1px solid var(--line);
  padding: 36px 0 66px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.section h2 {
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  font-weight: 590;
  margin: 0;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.tile {
  background: var(--card);
  padding: 28px 27px 30px;
  min-height: 162px;
}

.tile h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin: 0 0 13px;
  font-weight: 630;
}

.tile p {
  font-size: 14px;
  line-height: 1.65;
  color: #555c57;
  margin: 0;
  max-width: 360px;
}

.statement {
  font-size: clamp(17px, 2vw, 21px);
  color: #444c49;
  max-width: 750px;
  margin: 24px 0 0;
  line-height: 1.75;
  letter-spacing: -0.018em;
}

.connect {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid #cbd1cd;
  min-width: 158px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 560;
  transition: background 0.15s;
}

.pill:hover { background: #e8ede8; }
.arrow { color: var(--accent); font-size: 17px; }

.foot {
  border-top: 1px solid var(--line);
  padding: 30px 0 55px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.foot-links { display: flex; gap: 21px; }

.legal {
  max-width: 760px;
  padding: 69px 0 110px;
}

.legal h1 {
  font-size: 44px;
  letter-spacing: -0.06em;
  line-height: 1.15;
  margin: 0 0 31px;
}

.legal h2 {
  font-size: 19px;
  letter-spacing: -0.025em;
  margin-top: 40px;
  margin-bottom: 8px;
}

.legal p, .legal li { color: #414846; }
.legal p, .legal ul { max-width: 720px; }

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover { color: var(--accent); }

::selection { background: #d7e4d7; }

/* Mobile */
@media (max-width: 650px) {
  .shell {
    width: min(100% - 36px, 1010px);
  }

  .masthead {
    padding: 24px 0 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 17px;
    padding: 65px 0 78px;
  }

  .portrait {
    width: 104px;
    height: 130px;
    margin-top: 58px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 49px);
  }

  .lede { font-size: 16px; }

  .section { padding: 28px 0 48px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 22px; min-height: auto; }
  .section h2 { font-size: 23px; }

  .pill {
    flex: 1;
    min-width: 125px;
    gap: 12px;
  }

  .legal { padding: 50px 0 80px; }
  .legal h1 { font-size: 37px; }
}

/* Small mobile screens */
@media (max-width: 380px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .portrait {
    grid-row: 1;
    width: 80px;
    height: 94px;
    margin-top: 0;
    justify-self: end;
  }

  .hero h1 { font-size: 36px; }
}