:root {
  color-scheme: dark;
  --ink: #f3f6ff;
  --muted: #a8b5ce;
  --line: rgb(174 201 255 / 18%);
  --panel: rgb(10 24 49 / 72%);
  --cyan: #71d8ff;
  --coral: #ffab9b;
  background: #061124;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 5%, rgb(54 100 184 / 25%), transparent 34rem),
    linear-gradient(145deg, #061124, #091831 55%, #070f20);
}

a { color: inherit; text-underline-offset: .25em; }

main, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

nav div { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
.wordmark { color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.hero {
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding-block: 72px;
}

.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.8rem); font-weight: 400; line-height: .96; letter-spacing: -.045em; }
.lead { max-width: 31rem; margin: 30px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.28rem); line-height: 1.65; }

figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 2px; box-shadow: 0 32px 80px rgb(0 0 0 / 38%); }
figcaption { margin-top: 14px; color: var(--muted); font-size: .78rem; }

.notes { padding-block: 100px 120px; border-top: 1px solid var(--line); }
.notes h2 { margin: 0 0 36px; font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-weight: 400; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.note-grid article { min-height: 220px; padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.note-grid span { color: var(--coral); font-size: .75rem; }
.note-grid h3 { margin: 56px 0 12px; font-size: 1rem; }
.note-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.text-page { min-height: calc(100vh - 80px); }
.text-page article { max-width: 780px; padding: clamp(70px, 12vw, 150px) 0; }
.text-page h1 { max-width: 11ch; font-size: clamp(3rem, 8vw, 6rem); }
.text-page article > p:not(.eyebrow) { max-width: 40rem; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.text-page article > h1 + p { margin-top: 42px; }
.back { color: var(--cyan); }

footer { display: flex; justify-content: space-between; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

@media (max-width: 760px) {
  main, footer { width: min(100% - 28px, 1180px); }
  nav { min-height: 72px; }
  nav div { gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 64px 88px; }
  .hero-copy { padding-right: 12px; }
  .note-grid { grid-template-columns: 1fr; }
  .note-grid article { min-height: 180px; }
  footer { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
