:root {
  --bg: #f7f5f0;
  --ink: #1c1d1f;
  --muted: #5d6066;
  --rule: #d9d5cc;
  --accent: #1f4e79;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517;
    --ink: #ecebe7;
    --muted: #a3a6ad;
    --rule: #2e3034;
    --accent: #8fb8e0;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main, footer {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main { flex: 1; padding-top: 18vh; }

.mark {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 0.55rem;
  border: 2px solid var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

h1 {
  margin: 0;
  font: 600 clamp(2rem, 6vw, 3rem)/1.1 ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.lede { margin: 0.75rem 0 0; color: var(--muted); font-size: 1.15rem; }

section { margin-top: 4rem; }

h2 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.products { list-style: none; margin: 0; padding: 0; }

.products li {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.products li:last-child { border-bottom: 1px solid var(--rule); }

.products a {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.products a:hover, .products a:focus-visible { text-decoration: underline; }

.products span { display: block; color: var(--muted); }

.contact { margin: 0; }

.contact a { color: var(--accent); font-weight: 600; text-decoration: none; }

.contact a:hover, .contact a:focus-visible { text-decoration: underline; }

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

footer {
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer p { margin: 0.15rem 0; }
