:root {
  color-scheme: light;
  --ink: #24242d;
  --muted: #666572;
  --line: #dedce5;
  --surface: #f7f6fa;
  --raised: #ffffff;
  --accent: #4e4c60;
  --max: 74rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  display: block;
  width: 10rem;
  height: auto;
}

nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
nav a, footer a { text-decoration: none; font-weight: 650; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { text-decoration: underline; }

.hero {
  min-height: 38rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .75fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding: 5rem 0 7rem;
}

.hero-mark {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  box-shadow: 0 1.4rem 4rem rgba(35, 33, 45, .1);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(3.2rem, 7vw, 6.4rem); letter-spacing: -.055em; }
h2 { max-width: 18ch; margin: 0; font-size: clamp(2.25rem, 4.5vw, 4rem); letter-spacing: -.035em; }
h3 { margin-top: 0; font-size: 1.55rem; }
.lead { max-width: 42rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); }

.private-note {
  max-width: 42rem;
  margin: 2rem 0 0;
  padding-left: 1rem;
  border-left: .2rem solid var(--accent);
  color: var(--muted);
}

.section {
  padding: 7rem 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.grid article {
  min-height: 16rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.68);
}

.grid p, .feature-copy, .trust > p { color: var(--muted); }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.feature-copy { font-size: 1.1rem; }
.feature-copy p:first-child { margin-top: 0; }

.trust {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.trust h2 { margin-inline: auto; }
.trust > p { margin: 2rem auto; font-size: 1.1rem; }
.text-link { color: var(--accent); font-weight: 800; text-underline-offset: .25em; }

footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p { margin-right: auto; }
footer img { border-radius: .45rem; }

.policy {
  max-width: 52rem;
  padding: 5rem 0 8rem;
}

.policy h1 { max-width: none; font-size: clamp(2.8rem, 7vw, 5rem); }
.policy h2 { max-width: none; margin: 3.5rem 0 1rem; font-size: 2rem; }
.policy .updated { color: var(--muted); }
.policy code { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 1.4rem 0; }
  nav { width: 100%; justify-content: space-between; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 4rem 0 5rem; }
  .hero-mark { width: min(70vw, 23rem); margin-inline: auto; grid-row: 1; }
  .grid, .feature { grid-template-columns: 1fr; }
  .grid article { min-height: auto; }
  .section { padding: 5rem 0; }
  footer { align-items: flex-start; flex-wrap: wrap; padding: 2rem 0; }
  footer p { width: calc(100% - 3.5rem); margin: .35rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
