@font-face { font-family: "Titan One"; src: url("TitanOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("Nunito-Variable.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #14233a;
  --muted: #55657d;
  --line: #d9e2ee;
  --accent: #1f5fa8;
  --sun: #f2b531;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1726;
    --surface: #142238;
    --ink: #e8eef7;
    --muted: #9fb0c8;
    --line: #23344f;
    --accent: #7fb6f0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Nunito", system-ui, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: "Titan One", sans-serif; font-size: 22px; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 18px; font-weight: 700; }
nav.site a:hover { color: var(--ink); }

main { padding: 48px 0 64px; }
h1, h2 { font-family: "Titan One", sans-serif; font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; }
h1 { font-size: clamp(32px, 6vw, 48px); margin: 0 0 12px; }
h2 { font-size: 26px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 28px 0 6px; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.card {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: inherit;
}
.card img.hero { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.card .body { padding: 22px 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.card .icon { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.card h2 { margin: 2px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--sun); color: #1b1300; border-radius: 999px; padding: 2px 10px; margin-top: 12px; }

.facts { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.facts li { margin: 2px 0; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 22px; padding-bottom: 32px; }
footer.site p { margin: 4px 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .card .body { flex-direction: column; }
  nav.site a { margin: 0 14px 0 0; }
}
