:root {
  --mist: #f6f1e7;
  --paper: #fffaf2;
  --ink: #1f1f18;
  --muted: #615b52;
  --forest: #163832;
  --moss: #32554c;
  --amber: #bf6b2d;
  --peach: #efd7b8;
  --line: rgba(31, 31, 24, 0.12);
  --shadow: 0 24px 60px rgba(17, 25, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(191, 107, 45, 0.15), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(22, 56, 50, 0.12), transparent 20%),
    linear-gradient(180deg, #f3ebde 0%, #fcf8f1 35%, #fffdf9 100%);
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.subpage-header {
  padding: 1.5rem 0 3rem;
}

.topbar,
.footer-layout,
.split,
.callout {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav a,
.text-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.text-link:hover {
  border-color: currentColor;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--amber);
}

.hero-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0 2rem;
  align-items: start;
}

.hero h1,
.subpage-header h1 {
  margin: 0 0 1rem;
  line-height: 1.02;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.hero-copy p,
.lead,
.article-body p,
.section-intro,
.footer-note p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-card,
.post-card,
.disclosure-box,
.feature-card,
.callout {
  background: rgba(255, 250, 242, 0.84);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card,
.post-card,
.feature-card {
  padding: 1.5rem;
}

.callout {
  padding: 1.5rem 1.75rem;
}

.card-label,
.post-meta {
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.card-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.button:hover {
  opacity: 0.94;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  padding: 2rem 0 4rem;
}

.section-heading h2 {
  margin: 0.1rem 0 0.75rem;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.post-grid,
.feature-grid,
.workflow {
  display: grid;
  gap: 1.25rem;
}

.post-grid,
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card h3,
.feature-card h3 {
  margin: 0.35rem 0 0.7rem;
}

.post-card h3 {
  font-size: 1.5rem;
}

.post-card.sponsored {
  background: linear-gradient(180deg, rgba(22, 56, 50, 0.12), rgba(255, 250, 242, 0.95));
}

.accent-section {
  background: linear-gradient(90deg, rgba(22, 56, 50, 0.96), rgba(44, 79, 72, 0.9));
  color: #f9f4eb;
}

.accent-section .eyebrow,
.accent-section .pillars p {
  color: inherit;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillars p,
.workflow div {
  margin: 0;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.workflow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--amber);
  color: white;
  font-weight: bold;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.article-page {
  padding-bottom: 4rem;
}

.article-body {
  width: min(760px, 100%);
}

.article-body h2 {
  margin-top: 2.3rem;
  font-size: 1.75rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--amber);
  background: rgba(239, 215, 184, 0.36);
  font-size: 1.15rem;
}

.disclosure-box {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(191, 107, 45, 0.1);
}

.article-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .hero,
  .post-grid,
  .feature-grid,
  .workflow,
  .pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .topbar,
  .footer-layout,
  .split,
  .callout {
    display: block;
  }

  .nav,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-card,
  .callout .button {
    margin-top: 1.5rem;
  }
}
