:root {
  color-scheme: light;
  --ink: #1b1b1d;
  --muted: #5b5d66;
  --line: #d9d6cd;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --accent: #1b6b63;
  --accent-dark: #10443f;
  --gold: #b48a36;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent-dark);
  text-underline-offset: 0.18em;
}

.site-header,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf0 0%, #f3efe4 100%);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 46px;
  align-items: center;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.subtitle {
  margin: 22px 0 0;
  max-width: 690px;
  font-size: 20px;
  color: #32343a;
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-dark);
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  display: block;
  width: min(100%, 420px);
  margin-left: auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(22, 24, 29, 0.18);
}

.hero-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 820px;
  font-size: 19px;
  color: #30323a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.themes li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 13px;
  color: #333640;
}

.reading {
  background: #143f3a;
  color: #fff;
}

.reading .section {
  padding: 54px 0;
}

.reading h2,
.reading p,
.reading a {
  color: #fff;
}

.reading .button {
  border-color: #fff;
  background: #fff;
  color: var(--accent-dark);
}

.site-footer {
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-figure img {
    margin-left: 0;
  }

  .hero-figure figcaption {
    text-align: left;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
