:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #536059;
  --paper: #f7f9f7;
  --line: #ccd4cf;
  --green: #287a4b;
  --coral: #c65345;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 280px;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 430px;
  height: 68vh;
  max-height: 650px;
  overflow: hidden;
  background: url("/hero.png") center center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(247, 249, 247, 0.62);
}

.nav,
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid rgba(23, 32, 28, 0.26);
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 760;
  text-decoration: none;
}

.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 76px);
  padding: 44px 0 66px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 4.5rem;
  line-height: 1.02;
  font-weight: 770;
}

.lede {
  max-width: 590px;
  margin: 24px 0 0;
  color: #303b35;
  font-size: 1.14rem;
  line-height: 1.65;
}

.notes {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr);
  gap: 72px;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 78px 0 88px;
}

.section-heading h2 {
  max-width: 380px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.22;
}

.note-list {
  border-top: 1px solid var(--line);
}

.note-list article {
  display: grid;
  grid-template-columns: 112px minmax(150px, 0.75fr) minmax(220px, 1.25fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.note-list time {
  color: var(--muted);
  font-size: 0.78rem;
}

.note-list h3,
.note-list p {
  margin: 0;
}

.note-list h3 {
  font-size: 1rem;
}

.note-list p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.error-page main {
  width: min(560px, 100%);
}

.error-page h1 {
  margin: 0 0 18px;
  font-size: 3rem;
}

.error-page p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 460px;
    height: 64vh;
    max-height: 590px;
    background-position: 60% center;
  }

  .nav,
  .hero-content,
  .notes,
  footer {
    width: calc(100% - 40px);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .lede {
    max-width: 420px;
    font-size: 1rem;
  }

  .notes {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0 72px;
  }

  .note-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

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