:root {
  --cream: #f7f1e7;
  --off-white: #fffaf3;
  --card: #e8d8c3;
  --cta: #8f9b82;
  --accent: #4f5a43;
  --charcoal: #2e2a27;
  --muted: #6f6a63;
  --sage: var(--cta);
  --sage-soft: #dfe5d8;
  --terracotta: var(--accent);
  --terracotta-soft: #e8d8c3;
  --line: rgba(46, 42, 39, 0.14);
  --shadow: 0 18px 40px rgba(46, 42, 39, 0.08);
  color-scheme: light;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.5;
  overflow-x: hidden;
}

main,
section,
article,
.hero,
.hero__copy,
.method-strip,
.method-list,
.method-list div,
.disclosure-band {
  min-width: 0;
}

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(76px, 8vw, 96px);
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  background: var(--sage-soft);
  color: var(--charcoal);
}

.hero {
  display: block;
  padding: 42px 0 18px;
}

.hero__copy {
  max-width: 830px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  width: 100%;
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 5.2rem;
  line-height: 0.96;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 2.7rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero p,
.page-intro p,
.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.small-note,
.product-note,
.muted,
.guide-meta,
.guide-card p,
.shortcut-card small,
.category-card p,
.category-card small,
.site-footer p,
.content-page p,
.guide-notes p,
.guide-notes li {
  color: var(--muted);
}

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

.method-strip {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 4px 0 34px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(143, 155, 130, 0.16), rgba(232, 216, 195, 0.35)),
    var(--off-white);
  box-shadow: var(--shadow);
}

.method-strip__heading {
  display: grid;
  gap: 6px;
  align-content: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.method-strip__heading small {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.method-list div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(251, 248, 242, 0.82);
}

.method-list span {
  min-width: 0;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.method-list strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--cta);
  color: var(--charcoal);
  font-size: 0.88rem;
}

.section,
.page-intro,
.content-page,
.guide-notes {
  padding: 42px 0;
}

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

.section--tight {
  padding-top: 12px;
}

.section-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 22px;
}

.section-heading--split {
  grid-template-columns: minmax(0, 0.68fr) minmax(220px, 0.32fr);
  align-items: end;
  gap: 20px;
}

.section-heading--split p:last-child {
  justify-self: end;
  max-width: 320px;
  margin-bottom: 4px;
  font-size: 0.94rem;
}

.product-grid,
.guide-grid,
.shortcut-grid,
.category-grid,
.guide-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.product-card,
.guide-card,
.shortcut-card,
.category-card,
.featured-guide,
.content-page article,
.guide-notes article,
.disclosure-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.product-card {
  display: grid;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(46, 42, 39, 0.05);
}

.product-card__body,
.guide-card,
.content-page article,
.guide-notes article {
  padding: 18px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--cta);
  color: var(--charcoal);
  font-weight: 800;
  text-decoration: none;
}

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

.button--secondary {
  border: 1px solid var(--line);
  background: var(--off-white);
  color: var(--accent);
}

.product-card .button {
  width: 100%;
  margin-top: 4px;
}

.product-note {
  margin: 16px 0 0;
  font-size: 0.94rem;
}

.featured-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  padding: 22px;
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.featured-guide h3 {
  max-width: 760px;
  font-size: 2rem;
}

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

.guide-meta {
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 800;
}

.shortcut-card {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  gap: 18px;
  padding: 18px;
  text-decoration: none;
}

.category-card {
  display: grid;
  min-height: 148px;
  align-content: start;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.shortcut-card:hover,
.guide-card:hover,
.category-card:hover {
  border-color: rgba(105, 118, 94, 0.55);
}

.shortcut-card span,
.category-card span {
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.category-card small {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.disclosure-band {
  display: grid;
  gap: 8px;
  margin: 18px 0 48px;
  padding: 20px;
  background: var(--card);
}

.disclosure-band p {
  margin-bottom: 0;
}

.page-intro {
  max-width: 780px;
}

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

.content-page {
  display: grid;
  gap: 16px;
  padding-top: 0;
}

.guide-notes {
  padding-top: 12px;
}

.guide-notes ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px 0 42px;
}

.footer-logo {
  display: block;
  width: 88px;
  height: auto;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
}

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

  nav {
    justify-content: flex-start;
  }

  .method-strip,
  .method-list,
  .product-grid,
  .guide-grid,
  .shortcut-grid,
  .category-grid,
  .section-heading--split,
  .featured-guide,
  .content-page,
  .guide-notes {
    grid-template-columns: 1fr;
  }

  .section-heading--split p:last-child {
    justify-self: start;
    max-width: 680px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero__copy {
    max-width: none;
  }

  .section,
  .page-intro,
  .content-page,
  .guide-notes {
    padding: 30px 0;
  }

  h1 {
    font-size: 3.6rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.25rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  main {
    width: calc(100% - 48px);
  }

  nav a {
    padding: 7px 8px;
    font-size: 0.86rem;
  }

  .brand-logo {
    width: 76px;
  }

  .method-strip,
  .disclosure-band {
    padding: 16px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.92rem;
  }
}
