:root {
  --paper: #F7F8F6;
  --ink: #1B2432;
  --muted: #5B6775;
  --steel: #4E6E81;
  --verdigris: #1F7A6D;
  --guide: #C9DAD7;
  --panel: #E9EFEE;
  --font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--verdigris); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--verdigris);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Page frame: one vertical guide the content hangs from. */
.frame {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.wordmark {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

main {
  border-left: 2px solid var(--guide);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  margin: 2rem 0 5rem;
}

section, .page-head { padding: 3rem 0; position: relative; }
section + section { border-top: 0; }

/* Tick on the guide where each section starts. */
section::before, .page-head::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1rem, 4vw, 2.5rem) - 2px);
  top: 3.2rem;
  width: 0.9rem;
  height: 2px;
  background: var(--verdigris);
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 700; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; }

p, li { max-width: var(--measure); }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); max-width: 40ch; line-height: 1.4; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

.services { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 1.5rem; }
.services h3 { margin-top: 0; }
.services p { margin: 0; }

.product-line { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 1.25rem; }
.product-line img { width: 44px; height: 44px; }
.product-line strong { font-size: 1.25rem; font-weight: 600; }

.notice {
  background: var(--panel);
  border-left: 4px solid var(--verdigris);
  padding: 1rem 1.25rem;
  max-width: var(--measure);
  margin: 1.5rem 0;
}
.notice p { margin: 0; }
.notice p + p { margin-top: 0.5rem; }

.hero-logo { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.hero-logo img { width: clamp(56px, 9vw, 88px); height: auto; }
.hero-logo h1 { margin: 0; }

dl.facts { max-width: var(--measure); margin: 1rem 0 0; }
dl.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--guide); }
dl.facts dt { color: var(--muted); font-weight: 500; }
dl.facts dd { margin: 0; }
@media (max-width: 30rem) { dl.facts div { grid-template-columns: 1fr; gap: 0.15rem; } }

.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.legal .meta { color: var(--muted); margin-bottom: 2rem; }

.site-footer {
  color: var(--muted);
  font-size: 0.9375rem;
  padding: 2rem 0 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease; }
}
