:root {
  color-scheme: light;
  --ink: #173333;
  --muted: #49635d;
  --teal: #146c60;
  --line: #d5e2da;
  --paper: #f7f8f4;
  font: 16px/1.6 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #986021; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.top, .footer, nav, .actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top, .footer { justify-content: space-between; padding-block: 22px; }
.top { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); }
nav { font-size: .9rem; font-weight: 650; }
nav a, .brand, .button { text-decoration: none; }
nav a:hover, [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.brand { font-size: 1.55rem; font-weight: 800; letter-spacing: -.06em; }
.brand span, em { color: var(--teal); }
.button {
  display: inline-block;
  padding: 10px 18px;
  background: #174c3c;
  color: white;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
}
.button:hover { background: #103a2e; }
.hero, .section { padding-block: clamp(42px, 7vw, 90px); }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5rem); margin: 0 0 24px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); margin: 0 0 14px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
em { font-family: Georgia, serif; font-weight: 400; }
p { color: var(--muted); max-width: 62ch; margin: 0 0 24px; }
.lead { font-size: 1.13rem; }
.preview {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e0eee5;
}
.preview img { display: block; width: 100%; height: auto; border-radius: 7px; }
.preview figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 32px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.card p { margin: 0; }
@media (max-width: 760px) {
  .hero, .cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .top, nav, .actions { gap: 12px; }
}
