:root {
  --bg: #f5efe5;
  --bg-soft: #fffaf3;
  --panel: rgba(255, 252, 247, 0.9);
  --panel-strong: #fffdf8;
  --text: #1d1a17;
  --muted: #6f6559;
  --line: #d9cdbf;
  --brand: #165d57;
  --brand-strong: #0f4843;
  --accent: #d28f2c;
  --shadow: 0 18px 48px rgba(28, 26, 23, 0.09);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(210, 143, 44, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(22, 93, 87, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e7 0%, #f5efe5 100%);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

a {
  color: inherit;
}

p,
li {
  font-size: 17px;
  line-height: 1.7;
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
}

.site-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font: 700 14px/1 "Trebuchet MS", "Segoe UI", sans-serif;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font: 600 14px/1.4 "Trebuchet MS", "Segoe UI", sans-serif;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--brand);
}

main {
  padding: 14px 0 40px;
}

.hero,
.overview-band,
.section,
.site-footer,
.article-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font: 700 12px/1.4 "Trebuchet MS", "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 23px;
}

.lede {
  max-width: 760px;
  font-size: 20px;
}

.tool-note {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: 700 15px/1 "Trebuchet MS", "Segoe UI", sans-serif;
  text-decoration: none;
}

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

.primary-link:hover {
  background: var(--brand-strong);
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.hero-panel,
.guide-card,
.feature-list article,
.overview-band article,
.faq article,
.article-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.hero-panel {
  padding: 20px;
}

.hero-panel ul {
  margin: 0;
  padding-left: 20px;
}

.overview-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  margin-top: 20px;
}

.overview-band article,
.guide-card,
.feature-list article,
.faq article {
  padding: 18px;
}

.section {
  padding: 22px;
  margin-top: 22px;
}

.section-alt {
  background: color-mix(in srgb, var(--panel) 80%, #f8f2e9);
}

.section-head {
  margin-bottom: 18px;
}

.card-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--brand);
}

.faq {
  display: grid;
  gap: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  margin-bottom: 26px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  font: 600 14px/1.5 "Trebuchet MS", "Segoe UI", sans-serif;
}

.article-shell {
  padding: 28px;
}

.article-shell .lede {
  font-size: 19px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}

.article-layout aside {
  align-self: start;
}

.article-nav,
.article-callout {
  padding: 18px;
}

.article-nav ul {
  margin: 0;
  padding-left: 18px;
}

.article-block + .article-block {
  margin-top: 22px;
}

.article-block h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.article-block ul {
  padding-left: 20px;
}

@media (max-width: 960px) {
  .hero,
  .overview-band,
  .card-grid,
  .feature-list,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header,
  .site-footer,
  main {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 40px;
  }

  .section,
  .article-shell,
  .hero {
    padding: 18px;
  }
}
