:root {
  --ink: #181816;
  --paper: #faf9f4;
  --muted: #686963;
  --line: rgba(24, 24, 22, 0.14);
  --green: #1f7a55;
  --green-soft: #e2f0e8;
  --orange: #e87845;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 6%, rgba(31, 122, 85, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(232, 120, 69, 0.08), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px 16px;
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  padding: 92px 0 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 520;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 860px;
  margin-top: 22px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
}

h1 em,
h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(24, 24, 22, 0.68);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px 0 96px;
}

.card,
.article-block {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 12px 40px rgba(24, 24, 22, 0.045);
}

.card h2,
.article-block h2 {
  font-size: clamp(29px, 3.8vw, 48px);
  line-height: 1;
}

.card p,
.article-block p,
.article-block li {
  color: rgba(24, 24, 22, 0.68);
  font-size: 17px;
  line-height: 1.56;
}

.card a {
  display: inline-flex;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.article {
  display: grid;
  gap: 16px;
  padding: 20px 0 96px;
}

.article-block ul {
  padding-left: 1.2rem;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 70px;
}

.section-links a,
.section-links button {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 12px 14px;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 62px;
  }
}
