:root {
  --bg: #f7f7f4;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-soft: #f0f1ea;
  --surface-strong: #e6e8df;
  --text: #1e1f1c;
  --muted: #6b6e67;
  --muted-soft: #868981;
  --border: #e3e5de;
  --accent: #516255;
  --accent-strong: #39463c;
  --gold: #c6a76a;
  --gold-soft: #f2e6cf;
  --shadow: 0 24px 60px rgba(44, 55, 44, 0.08);
  --shadow-soft: 0 16px 36px rgba(44, 55, 44, 0.06);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1220px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(81, 98, 85, 0.1), transparent 28%),
    linear-gradient(180deg, #fafaf7 0%, var(--bg) 36%, #f2f3ed 100%);
}

body[data-page="store"],
body[data-page="category"],
body[data-page="product"] {
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.24), transparent 30%),
    radial-gradient(circle at top right, rgba(126, 104, 74, 0.12), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f5f0e5 38%, #efe8da 100%);
}

body[data-page="magazine"],
body[data-page="hub"],
body[data-page="article"] {
  background:
    radial-gradient(circle at top left, rgba(140, 120, 92, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(49, 63, 72, 0.08), transparent 22%),
    linear-gradient(180deg, #faf9f5 0%, #f4f1e8 34%, #ece8de 100%);
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(81, 98, 85, 0.3);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0 0;
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(250, 250, 247, 0.82);
  box-shadow: 0 18px 40px rgba(44, 55, 44, 0.08);
}

body[data-page="store"] .nav,
body[data-page="category"] .nav,
body[data-page="product"] .nav {
  background: rgba(255, 250, 244, 0.86);
  border-color: rgba(233, 221, 200, 0.9);
}

body[data-page="magazine"] .nav,
body[data-page="hub"] .nav,
body[data-page="article"] .nav {
  background: rgba(250, 248, 242, 0.9);
  border-color: rgba(225, 219, 207, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--text);
  background: rgba(81, 98, 85, 0.08);
}

.nav-links .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 32px rgba(81, 98, 85, 0.22);
}

main {
  padding: 28px 0 52px;
}

.section {
  padding: 26px 0;
}

.panel,
.hero-card,
.editorial-card,
.category-card,
.product-card,
.comparison-card,
.faq-card,
.callout-card,
.footer-shell,
.list-card,
.article-card,
.hub-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 243, 0.94));
}

body[data-page="store"] .hero-card,
body[data-page="category"] .hero-card,
body[data-page="product"] .hero-card {
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(250, 244, 235, 0.96));
}

body[data-page="magazine"] .hero-card,
body[data-page="hub"] .hero-card,
body[data-page="article"] .hero-card {
  background:
    radial-gradient(circle at top left, rgba(140, 120, 92, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.98), rgba(248, 245, 238, 0.96));
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.hero-copy,
.stack {
  display: grid;
  gap: 16px;
}

body[data-page="product"] .hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 11.5ch;
}

.eyebrow,
.pill,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.eyebrow {
  background: rgba(81, 98, 85, 0.1);
  border-color: rgba(81, 98, 85, 0.14);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.3rem);
  max-width: 10.5ch;
}

h2 {
  font-size: clamp(2rem, 4.1vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p,
.section-header p,
.intro-copy p,
.footer-intro p {
  max-width: 62ch;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-actions,
.inline-actions,
.card-actions,
.footer-links,
.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 36px rgba(81, 98, 85, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border);
  color: var(--text);
}

.btn-soft {
  background: rgba(81, 98, 85, 0.08);
  border-color: rgba(81, 98, 85, 0.12);
  color: var(--accent-strong);
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.trust-grid,
.featured-grid,
.need-grid,
.category-grid,
.comparison-grid,
.faq-grid,
.article-grid,
.hub-grid,
.product-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.editorial-card,
.category-card,
.comparison-card,
.faq-card,
.callout-card,
.list-card,
.article-card,
.hub-card,
.product-card {
  padding: 22px;
}

.metric-strong,
.comparison-card strong,
.hub-card strong {
  display: inline-block;
  font-size: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--accent);
}

.featured-card,
.product-card {
  overflow: hidden;
}

.visual-block {
  min-height: 220px;
  padding: 24px;
  border-radius: 20px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.22), transparent),
    var(--visual-bg, #e7ece8);
  color: var(--visual-fg, var(--accent));
}

.visual-block img,
.product-card img,
.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa, #f4eee4);
  padding: 16px;
}

.visual-block strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-family: "Playfair Display", Georgia, serif;
}

.panel-note {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.product-card {
  display: grid;
  gap: 16px;
  background: rgba(255, 251, 245, 0.92);
}

.product-card .product-copy,
.category-card .product-copy {
  display: grid;
  gap: 12px;
}

.article-card .article-copy {
  display: grid;
  gap: 12px;
}

.category-card,
.editorial-card {
  background: rgba(255, 251, 245, 0.92);
}

.category-thumb,
.featured-thumb,
.product-stage {
  border-radius: 20px;
  border: 1px solid rgba(222, 213, 196, 0.9);
  background: linear-gradient(180deg, #fffdfa, #f3ebde);
  overflow: hidden;
}

.category-thumb img,
.featured-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
}

.product-stage {
  padding: 22px;
}

.product-stage img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6eee2);
  padding: 22px;
}

.section-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 106, 0.28);
  background: rgba(255, 247, 233, 0.92);
  color: #775f39;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shop-strip {
  display: grid;
  gap: 14px;
}

.shop-mini-grid {
  display: grid;
  gap: 12px;
}

.shop-mini-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(222, 213, 196, 0.9);
  background: rgba(255, 251, 245, 0.86);
}

.shop-mini-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f2eadc);
  padding: 10px;
}

.shop-mini-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.store-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.store-metric {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(222, 213, 196, 0.9);
  background: rgba(255, 251, 245, 0.88);
}

.store-metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-family: "Playfair Display", Georgia, serif;
  color: #7e684a;
}

.store-shelf {
  display: grid;
  gap: 18px;
}

.store-shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-note {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(222, 213, 196, 0.9);
  background: rgba(255, 248, 239, 0.9);
}

.store-note strong {
  display: block;
  margin-bottom: 6px;
}

.product-hero-panel {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(222, 213, 196, 0.95);
  background: rgba(255, 248, 239, 0.9);
  display: grid;
  gap: 10px;
}

.product-hero-panel strong {
  font-size: 1rem;
}

.product-hero-panel .rich-list {
  margin: 0;
}

.product-highlight h3,
.callout-card h3,
.faq-list-wrap h3 {
  margin-bottom: 8px;
}

.buy-box {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(222, 213, 196, 0.95);
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 242, 231, 0.98));
  box-shadow: 0 22px 44px rgba(126, 104, 74, 0.12);
}

.buy-box .price-hint {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(81, 98, 85, 0.08);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.magazine-card {
  background: rgba(255, 255, 251, 0.9);
}

body[data-page="magazine"] .editorial-card,
body[data-page="hub"] .editorial-card,
body[data-page="article"] .article-card,
body[data-page="magazine"] .hub-card {
  background: rgba(255, 255, 250, 0.9);
}

body[data-page="magazine"] .eyebrow,
body[data-page="hub"] .eyebrow,
body[data-page="article"] .eyebrow {
  background: rgba(107, 86, 58, 0.08);
  border-color: rgba(107, 86, 58, 0.16);
  color: #6a5436;
}

body[data-page="store"] .eyebrow,
body[data-page="category"] .eyebrow,
body[data-page="product"] .eyebrow {
  background: rgba(198, 167, 106, 0.12);
  border-color: rgba(198, 167, 106, 0.24);
  color: #7a633d;
}

body[data-page="store"] .nav-links a.is-current,
body[data-page="category"] .nav-links a.is-current,
body[data-page="product"] .nav-links a.is-current {
  background: rgba(198, 167, 106, 0.16);
}

body[data-page="magazine"] .nav-links a.is-current,
body[data-page="hub"] .nav-links a.is-current,
body[data-page="article"] .nav-links a.is-current {
  background: rgba(107, 86, 58, 0.1);
}

.product-card ul,
.faq-list,
.rich-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.product-highlight,
.comparison-table,
.faq-list-wrap,
.related-strip,
.disclosure {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
}

.comparison-table {
  display: grid;
  gap: 14px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(227, 229, 222, 0.8);
}

.comparison-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.comparison-row:first-child {
  padding-top: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-trust,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.callout-card {
  background:
    radial-gradient(circle at top left, rgba(198, 167, 106, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 245, 239, 0.94));
}

.disclosure {
  color: var(--muted);
}

.disclosure strong {
  color: var(--text);
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(227, 229, 222, 0.8);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.article-header,
.intro-copy {
  display: grid;
  gap: 16px;
}

body[data-page="article"] .article-header h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.9rem);
  max-width: 19ch;
}

body[data-page="article"] .article-header p {
  max-width: 78ch;
}

.article-subcopy {
  font-size: 1.03rem;
  color: #4f534d;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-section {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.article-section h3 {
  margin-bottom: 12px;
}

.article-section p + p {
  margin-top: 12px;
}

.article-spotlight {
  display: grid;
  gap: 12px;
}

.article-spotlight img {
  width: 100%;
  max-width: 250px;
  justify-self: center;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(222, 213, 196, 0.9);
  background: linear-gradient(180deg, #fffdfa, #f4ede1);
  padding: 14px;
}

.article-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.article-mini-list strong {
  font-size: 0.95rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px 28px;
}

.footer-intro {
  display: grid;
  gap: 12px;
  max-width: 52ch;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.84);
}

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

@media (max-width: 1040px) {
  .trust-grid,
  .featured-grid,
  .category-grid,
  .article-grid,
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .store-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .brand {
    justify-content: center;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .btn {
    width: 100%;
  }

  .hero-card,
  .editorial-card,
  .category-card,
  .product-card,
  .comparison-card,
  .faq-card,
  .callout-card,
  .list-card,
  .article-card,
  .hub-card,
  .footer-shell {
    padding: 22px;
  }

  .trust-grid,
  .featured-grid,
  .need-grid,
  .category-grid,
  .comparison-grid,
  .article-grid,
  .hub-grid,
  .product-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .shop-mini-card {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .inline-actions,
  .card-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    max-width: none;
  }
}
