:root {
  --bg: #f6f0e6;
  --bg-soft: #efe5d7;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf3;
  --ink: #1f1a16;
  --muted: #6f6357;
  --line: rgba(64, 45, 28, 0.12);
  --accent: #bd5d38;
  --accent-deep: #8d4326;
  --accent-soft: #f0d6c9;
  --sage: #617a62;
  --shadow: 0 24px 60px rgba(78, 58, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(189, 93, 56, 0.16), transparent 26%),
    radial-gradient(circle at right 20%, rgba(97, 122, 98, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #f3eadf 46%, #f8f3ec 100%);
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  width: 18rem;
  height: 18rem;
  left: -3rem;
  top: 8rem;
  background: rgba(189, 93, 56, 0.18);
}

.page-glow-right {
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: 18rem;
  background: rgba(97, 122, 98, 0.15);
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(247, 241, 232, 0.76);
  border-bottom: 1px solid rgba(64, 45, 28, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: #fff7f1;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 30px rgba(141, 67, 38, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.8);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.hero-section {
  padding: 3.25rem 0 2.5rem;
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.hero-copy,
.hero-card,
.feature-card,
.post-card,
.checklist-card,
.faq-card,
.article-shell,
.sidebar-card,
.page-card,
.author-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy,
.hero-card,
.checklist-card,
.page-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.eyebrow,
.card-label,
.post-kicker,
.meta-row,
.label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--muted);
}

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

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  margin: 0.55rem 0 1.1rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.lead,
.feature-card p,
.post-card p,
.faq-card p,
.footer-copy,
.page-card p,
.article-content p,
.article-content li,
.toc,
.sidebar-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.5rem 0 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff7f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.95);
  border: 1px solid var(--line);
}

.trust-row,
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-row li,
.checklist li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
}

.trust-row li::before,
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--sage);
}

.hero-card h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

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

.metric-grid dt {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.metric-grid dd {
  margin: 0;
  font-weight: 800;
}

.section {
  padding: 1.1rem 0 2.2rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(239, 229, 215, 0.42), rgba(247, 241, 232, 0));
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.4rem;
}

.section-heading.compact {
  max-width: 36rem;
}

.feature-grid,
.post-grid,
.faq-grid,
.product-grid {
  display: grid;
  gap: 1.1rem;
}

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

.post-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

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

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

.feature-card,
.post-card,
.faq-card,
.sidebar-card,
.author-card,
.product-card {
  padding: 1.45rem;
  border-radius: var(--radius-md);
}

.post-card-featured {
  background:
    linear-gradient(180deg, rgba(189, 93, 56, 0.08), rgba(255, 252, 247, 0.75)),
    var(--surface);
}

.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.product-card {
  background:
    linear-gradient(180deg, rgba(97, 122, 98, 0.07), rgba(255, 252, 247, 0.82)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin-bottom: 0.55rem;
}

.product-meta {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.mini-disclosure {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1rem;
}

.inline-shop-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.inline-shop-list li {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(64, 45, 28, 0.1);
  background: rgba(255, 250, 243, 0.78);
}

.inline-shop-list strong {
  display: block;
  margin-bottom: 0.3rem;
}

.checklist-card {
  align-self: stretch;
}

.checklist {
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  padding: 2.4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(64, 45, 28, 0.1);
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  justify-content: start;
}

.footer-links a {
  color: var(--muted);
}

.footer-base {
  color: var(--muted);
  border-top: 1px solid rgba(64, 45, 28, 0.08);
  padding-top: 1rem;
}

.page-main,
.article-main {
  padding: 2.2rem 0 3rem;
}

.page-card,
.article-shell {
  border-radius: var(--radius-lg);
}

.page-card {
  max-width: 860px;
}

.page-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 1.2rem;
  align-items: start;
}

.article-shell {
  overflow: hidden;
}

.article-header {
  padding: 2rem 2rem 1rem;
  background:
    linear-gradient(180deg, rgba(189, 93, 56, 0.08), rgba(255, 250, 243, 0)),
    linear-gradient(120deg, rgba(97, 122, 98, 0.08), rgba(255, 252, 247, 0));
}

.article-header h1 {
  max-width: 12ch;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-summary {
  font-size: 1.05rem;
  max-width: 58ch;
}

.article-content {
  padding: 0 2rem 2rem;
}

.article-content h2,
.article-content h3 {
  scroll-margin-top: 6rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.2rem;
}

.callout {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(97, 122, 98, 0.08);
  border: 1px solid rgba(97, 122, 98, 0.14);
  margin: 1.5rem 0;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.budget-table th,
.budget-table td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.budget-table th {
  background: rgba(189, 93, 56, 0.08);
  font-weight: 800;
}

.budget-table tr:last-child td {
  border-bottom: 0;
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 5.7rem;
}

.toc {
  display: grid;
  gap: 0.65rem;
}

.toc a {
  color: var(--muted);
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--accent-deep);
}

.small-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.small-list li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(64, 45, 28, 0.08);
}

.small-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.author-card {
  display: grid;
  gap: 0.65rem;
}

.author-card h3,
.sidebar-card h3 {
  margin-bottom: 0.4rem;
}

.note {
  font-size: 0.96rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li strong {
  display: block;
  margin-bottom: 0.2rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .article-layout,
  .feature-grid,
  .post-grid,
  .faq-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100vw - 1rem));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: calc(100% + 0.45rem);
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 250, 243, 0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-copy,
  .hero-card,
  .checklist-card,
  .page-card,
  .article-header,
  .article-content,
  .feature-card,
  .post-card,
  .faq-card,
  .sidebar-card,
  .author-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  h1 {
    max-width: none;
  }

  .trust-row,
  .hero-actions,
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
