:root {
  color-scheme: light;
  --ink: #171514;
  --muted: #645e59;
  --paper: #fffdf9;
  --warm: #f4eee6;
  --rose: #a83f57;
  --rose-dark: #76283b;
  --green: #245f54;
  --gold: #b9842f;
  --line: rgba(23, 21, 20, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--rose-dark);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 68px));
  overflow: hidden;
  background: #241c19;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 13, 11, 0.08) 15%, rgba(18, 13, 11, 0.84) 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 62px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 750px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  color: #fff;
}

.proof-strip div {
  padding: 26px max(18px, calc((100vw - var(--max)) / 6));
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.proof-strip strong {
  display: block;
  font-size: 20px;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.section,
.article-layout,
.breadcrumb {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section.warm {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--warm);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

.feature {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
}

.feature p,
.article-card p,
.faq p {
  color: var(--muted);
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 54px;
  align-items: center;
}

.media-split img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 6px;
}

.steps {
  margin: 24px 0 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 66px;
  padding: 0 0 24px 58px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-weight: 850;
}

.steps strong {
  display: block;
  color: var(--ink);
}

.article-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.article-card:hover {
  border-color: var(--rose);
}

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

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 46px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.breadcrumb {
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--rose-dark);
}

.article-hero {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 34px;
}

.article-hero h1 {
  font-size: 62px;
}

.article-hero .lead {
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  padding-bottom: 78px;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin-top: 50px;
  font-size: 34px;
}

.article-body h3 {
  margin-top: 32px;
}

.article-body p,
.article-body li {
  color: #4f4a46;
  font-size: 18px;
}

.article-body img {
  width: 100%;
  max-height: 650px;
  margin: 34px 0;
  object-fit: cover;
  border-radius: 6px;
}

.article-body .callout {
  margin: 34px 0;
  padding: 22px;
  background: var(--warm);
  border-left: 4px solid var(--gold);
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 38px max(18px, calc((100vw - var(--max)) / 2));
  background: #efe9e2;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-bottom: 44px;
  }

  h1,
  .article-hero h1 {
    font-size: 36px;
  }

  h2,
  .article-body h2 {
    font-size: 34px;
  }

  .proof-strip,
  .grid-3,
  .grid-2,
  .media-split,
  .article-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .media-split {
    gap: 30px;
  }

  .article-layout {
    gap: 20px;
  }

  .toc {
    position: static;
    grid-row: 1;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-inner {
    display: block;
  }
}
