:root {
  --bg: #faf9f4;
  --surface: #ffffff;
  --surface-soft: #f1efe7;
  --text: #14201c;
  --muted: #5c6863;
  --faint: #858e89;
  --line: #d7d3c7;
  --accent: #0e5e4e;
  --accent-2: #b98a2a;
  --accent-soft: #dbeae2;
  --max: 1120px;
  --gutter: 24px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 74px 0 56px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  font-size: 58px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 27px;
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
}

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

.button:hover {
  border-color: var(--accent);
}

.answer-band {
  padding: 34px 0;
  background: var(--accent);
  color: #fff;
}

.answer-band p {
  max-width: 930px;
  margin: 0;
  font-size: 22px;
}

.section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.section--soft {
  background: var(--surface-soft);
}

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

.tile {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tile span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.tile p {
  margin: 14px 0 0;
  color: var(--muted);
}

.content {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p {
  margin: 18px 0 0;
}

.prose ul,
.prose ol {
  margin: 20px 0 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 10px;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.links a {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
}

.links a:hover {
  border-color: var(--accent);
}

.cta {
  padding: 56px 0;
  background: var(--text);
  color: #fff;
}

.cta p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 34px 0;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 860px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

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

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    padding: 64px 0 48px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .lede,
  .answer-band p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
