:root {
  color-scheme: dark;
  --ink: #f1efea;
  --muted: #c0c5ca;
  --line: #333c45;
  --accent: #d8efac;
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #111820; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bar, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.bar { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.1rem; font-weight: 720; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); margin-right: .35rem; }
nav { display: flex; flex-wrap: wrap; gap: .7rem 1.45rem; font-size: .9rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(24px,5vw,74px); margin-block: clamp(32px,6vw,78px); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem,7vw,6.1rem); margin: 0; line-height: .97; }
h2 { font-size: clamp(2rem,4vw,3.2rem); margin: 0 0 1.3rem; }
p { color: var(--muted); line-height: 1.62; }
.hero p { max-width: 33ch; font-size: 1.12rem; margin: 1.6rem 0 1.7rem; }
.button { display: inline-flex; align-items: center; gap: .8rem; padding: .78rem 1rem; border-radius: 5px; color: #172012; background: var(--accent); font-weight: 650; text-decoration: none; }
.button:hover { background: #edffd0; }
figure { margin: 0; min-width: 0; }
img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 57%; border-radius: 7px; }
figcaption { margin-top: .65rem; color: var(--muted); font-size: .8rem; }
.section { border-top: 1px solid var(--line); padding-block: 2.3rem; scroll-margin-top: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
article { background: #171f28; border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem; }
article h3 { margin: 0 0 .7rem; font-size: 1.02rem; }
article p, .note p { margin: 0; }
.note { display: flex; justify-content: space-between; gap: 1.4rem; align-items: end; }
.note p { max-width: 57ch; }
.note a { color: var(--accent); }
footer { border-top: 1px solid var(--line); padding-block: 1.3rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 700px) {
  .bar, main, footer { width: min(calc(100% - 32px), 560px); }
  .hero, .cards { grid-template-columns: 1fr; }
  .hero { gap: 1.6rem; }
  h1 { max-width: 12ch; }
  img { aspect-ratio: 5 / 4; }
  .note { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
