:root {
  color-scheme: light;
  --ink: #1d2528;
  --muted: #607076;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d8ddd7;
  --green: #476c5a;
  --green-deep: #244c3d;
  --cobalt: #315c9f;
  --coral: #cc6a4d;
  --shadow: 0 22px 70px rgba(29, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(19, 26, 28, 0.72), rgba(19, 26, 28, 0));
}

.brand,
.nav-links,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 124px clamp(20px, 5vw, 72px) 82px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 26, 28, 0.82), rgba(19, 26, 28, 0.34) 58%, rgba(19, 26, 28, 0.1)),
    linear-gradient(0deg, rgba(19, 26, 28, 0.5), rgba(19, 26, 28, 0.04) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5b293;
}

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

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 760;
}

.primary-link {
  background: #fff;
  color: var(--ink);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
}

.intro-band,
.section,
.notes-band,
.site-footer {
  padding-inline: clamp(20px, 5vw, 72px);
}

.intro-band {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.intro-grid article {
  min-height: 168px;
  padding: 24px;
  background: #fff;
}

.stat {
  color: var(--cobalt);
  font-size: 0.82rem;
  font-weight: 850;
}

.intro-grid h2,
.section-heading h2,
.notes-band h2 {
  margin: 8px 0 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.article-card p,
.tool-card p,
.site-footer p {
  color: var(--muted);
}

.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading h2,
.notes-band h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-heading p:last-child {
  margin: 0;
  max-width: 620px;
}

.article-list {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.article-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(29, 37, 40, 0.06);
}

.article-date {
  color: var(--green);
  font-weight: 800;
}

.article-card h3,
.tool-card h3 {
  margin: 0;
  line-height: 1.24;
}

.article-card p,
.tool-card p {
  margin: 8px 0 0;
}

.article-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf2ed;
  color: var(--green-deep);
  font-size: 1.35rem;
}

.tools-section {
  background: #eef2ee;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.tool-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #d4ded4;
  border-radius: 8px;
  background: var(--panel);
}

.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.tool-tag {
  color: var(--cobalt);
  font-size: 0.85rem;
  font-weight: 820;
}

.tool-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
}

.notes-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(260px, 0.62fr);
  gap: 42px;
  padding-top: 76px;
  padding-bottom: 76px;
  background: var(--green-deep);
  color: #fff;
}

.notes-band .eyebrow {
  color: #f5b293;
}

.now-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: #182022;
  color: #fff;
}

.footer-title {
  margin: 0;
  color: #fff;
  font-weight: 850;
}

.site-footer p:last-child {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 148px;
  }

  h1 {
    max-width: 11ch;
  }

  .intro-grid,
  .tool-grid,
  .section-heading,
  .notes-band {
    grid-template-columns: 1fr;
  }

  .article-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .article-arrow {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-bottom: 58px;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}
