:root {
  --background-primary: #fdfdfd;
  --background-section: #f2f0ee;
  --background-surface: #ffffff;
  --border-default: #e5e0db;
  --brand-primary: #2e4538;
  --brand-primary-hover: #24372c;
  --text-heading: #1f241e;
  --text-body: #4d5450;
  --text-muted: #6f756f;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
  --content-max: 1200px;
  --gutter: 32px;
  --section-space: 96px;
  --font-heading: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 240, 238, 0.85), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, var(--background-primary) 100%);
  color: var(--text-body);
  font-family: var(--font-body);
}

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

.page-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 224, 219, 0.8);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 88px;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  color: var(--text-heading);
  line-height: 0.92;
}

.site-logo__wordmark {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-logo__submark {
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--brand-primary);
}

.site-search {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-muted);
  box-shadow: 0 10px 30px rgba(31, 36, 30, 0.04);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 22px 0 0;
  background:
    linear-gradient(90deg, rgba(250, 247, 242, 0.98) 0%, rgba(249, 245, 239, 0.95) 34%, rgba(249, 245, 239, 0.55) 52%, rgba(249, 245, 239, 0) 68%),
    linear-gradient(180deg, #fbf8f4 0%, #f6f2ed 100%);
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60vw, 1040px);
  background-image:
    linear-gradient(90deg, rgba(248, 244, 238, 1) 0%, rgba(248, 244, 238, 0.82) 14%, rgba(248, 244, 238, 0.22) 34%, rgba(248, 244, 238, 0) 54%),
    url("/assets/images/female-cream-hero.png");
  background-position: left center, right center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.hero__layout {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding: 58px 0 48px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 620px);
  min-height: 654px;
  padding: 48px 0 48px 8px;
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 18px;
  color: var(--brand-primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title,
.section-heading__title,
.value-pill__title,
.site-footer__brand {
  margin: 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero__title {
  max-width: 10ch;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.hero__summary {
  max-width: 32rem;
  margin: 28px 0 0;
  font-size: 1.28rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
}

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

.button--secondary {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--border-default);
  color: var(--text-heading);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.hero-trust-card,
.layout-preview-card,
.value-pill {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(229, 224, 219, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.hero-trust-card {
  padding: 18px 18px 20px;
}

.hero-trust-card__title {
  margin: 0 0 8px;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 700;
}

.hero-trust-card__copy,
.section-heading__description,
.layout-preview-card__label,
.value-pill__copy,
.site-footer__copy,
.site-footer__legal {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.homepage-section {
  padding: var(--section-space) 0 0;
}

.homepage-section--concerns {
  padding-top: 28px;
}

.homepage-section--products {
  padding-top: 72px;
}

.homepage-section--routine-guides {
  padding-top: 72px;
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading__title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-heading__description {
  margin-top: 14px;
  font-size: 1.08rem;
}

.skin-concern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.skin-concern-card {
  min-width: 0;
}

.skin-concern-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 252px;
  padding: 22px 16px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(31, 36, 30, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.skin-concern-card__link:hover,
.skin-concern-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 69, 56, 0.16);
  box-shadow: 0 18px 38px rgba(31, 36, 30, 0.08);
}

.skin-concern-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--concern-bg, rgba(226, 235, 244, 0.8));
}

.skin-concern-card__icon {
  width: 30px;
  height: 30px;
  color: var(--concern-stroke, var(--brand-primary));
}

.skin-concern-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.skin-concern-card__title {
  margin: 20px 0 0;
  color: var(--text-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.skin-concern-card__description {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.skin-concern-card--blue {
  --concern-bg: #e9f1fb;
  --concern-stroke: #6f93c9;
}

.skin-concern-card--sage {
  --concern-bg: #edf3df;
  --concern-stroke: #8aa245;
}

.skin-concern-card--lavender {
  --concern-bg: #efe8fb;
  --concern-stroke: #7b62a8;
}

.skin-concern-card--sand {
  --concern-bg: #f6e7d7;
  --concern-stroke: #b37b44;
}

.skin-concern-card--rose {
  --concern-bg: #fbe3e6;
  --concern-stroke: #da6672;
}

.skin-concern-card--blush {
  --concern-bg: #fce7ef;
  --concern-stroke: #dd718f;
}

.skin-concern-card--botanical {
  --concern-bg: #e5efdf;
  --concern-stroke: #6d8a52;
}

.skin-concern-card--olive {
  --concern-bg: #e7eedb;
  --concern-stroke: #778c50;
}

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

.product-category-card {
  min-width: 0;
}

.product-category-card__link {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 224, 219, 0.95);
  box-shadow: 0 12px 28px rgba(31, 36, 30, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-category-card__link:hover,
.product-category-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 69, 56, 0.16);
  box-shadow: 0 18px 36px rgba(31, 36, 30, 0.08);
}

.product-category-card__image-wrap {
  aspect-ratio: 1.5 / 1;
  background: #f4f1ed;
}

.product-category-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.98);
}

.product-category-card__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-category-card__arrow {
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
}

.article-contextual-modules {
  display: grid;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(229, 224, 219, 0.95);
}

.contextual-category-module {
  min-width: 0;
}

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

.article-product-modules {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.affiliate-product-module {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(46, 69, 56, 0.18);
  border-radius: 18px;
  background: #f3f7f1;
}

.affiliate-product-module__image-link {
  display: block;
  flex: 0 0 150px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.affiliate-product-module__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.affiliate-product-module__copy {
  max-width: 620px;
}

.affiliate-product-module__eyebrow,
.affiliate-product-module__note,
.affiliate-product-module__details {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.affiliate-product-module__eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliate-product-module__title {
  margin: 0 0 10px;
  color: var(--text-heading);
  font-size: 1.55rem;
}

.affiliate-product-module__description {
  margin: 0 0 16px;
}

.affiliate-product-module__cta {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text-heading);
  color: #fff;
  font-weight: 700;
}

.affiliate-product-module__note {
  margin: 12px 0 0;
}

.affiliate-product-module__details {
  display: grid;
  gap: 6px;
  text-align: right;
}

.affiliate-sidebar-module {
  background: #f3f7f1;
  border-color: rgba(46, 69, 56, 0.18);
}

.affiliate-sidebar-module .sidebar-card__title {
  margin-bottom: 14px;
}

.affiliate-sidebar-module__products {
  display: grid;
  gap: 18px;
}

.affiliate-sidebar-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}

.affiliate-sidebar-product__image-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.affiliate-sidebar-product__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.affiliate-sidebar-product__title {
  margin: 0 0 5px;
  color: var(--text-heading);
  font-size: 1rem;
  line-height: 1.2;
}

.affiliate-sidebar-product__description {
  margin: 0 0 7px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.affiliate-sidebar-product__link {
  color: var(--text-heading);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .affiliate-product-module {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-product-module__image-link {
    flex-basis: auto;
    width: 150px;
  }

  .affiliate-product-module__details {
    text-align: left;
  }
}

.routine-guide-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.routine-guide-card {
  min-width: 0;
}

.routine-guide-card__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 136px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(31, 36, 30, 0.045);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.routine-guide-card__link:hover,
.routine-guide-card__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 69, 56, 0.16);
  box-shadow: 0 18px 36px rgba(31, 36, 30, 0.08);
}

.routine-guide-card__icon {
  width: 34px;
  height: 34px;
  color: rgba(86, 92, 95, 0.7);
}

.routine-guide-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.routine-guide-card__content {
  min-width: 0;
}

.routine-guide-card__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.routine-guide-card__description {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.routine-guide-card__arrow {
  align-self: end;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
}

.article-page {
  padding: 32px 0 120px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) 320px;
  gap: 44px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-prose h2[id],
.article-prose h3[id],
#quick-answer,
#key-takeaways {
  scroll-margin-top: 116px;
}

.article-sidebar {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
}

.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  position: relative;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "\203A";
  position: absolute;
  right: -10px;
  top: 0;
  color: #9aa09a;
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--brand-primary);
}

.article-hero__badge,
.product-pick-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-hero__title,
.article-section__title {
  margin: 18px 0 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.article-hero__summary {
  max-width: 48rem;
  margin: 18px 0 0;
  color: #2f3530;
  font-size: 1.2rem;
  line-height: 1.7;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-author__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4decb, #f7f1e8);
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
}

.article-author__name,
.article-author__role,
.article-hero__details,
.sidebar-card__copy,
.mini-guide-card__meta {
  margin: 0;
}

.article-author__name {
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.article-author__role,
.article-hero__details,
.mini-guide-card__meta,
.breadcrumbs__link,
.toc-card__link,
.inline-toc__link {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.article-hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.article-hero__details span {
  position: relative;
}

.article-hero__details span:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -14px;
  color: #b7bbb5;
}

.article-feature {
  margin: 30px 0 0;
}

.article-feature__image {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(229, 224, 219, 0.85);
  box-shadow: 0 18px 36px rgba(31, 36, 30, 0.05);
}

.article-feature__source {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.article-inline-image {
  margin: 32px 0;
}

.article-inline-image__asset {
  display: block;
  width: 100%;
  border: 1px solid rgba(229, 224, 219, 0.85);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(31, 36, 30, 0.05);
}

.article-inline-image__caption {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.article-inline-image__source {
  white-space: nowrap;
}

.quick-answer-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 240, 0.92));
  box-shadow: var(--shadow-soft);
}

.quick-answer-box__icon,
.sidebar-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--brand-primary);
}

.quick-answer-box__icon svg,
.sidebar-cta__icon svg,
.criteria-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.quick-answer-box__title,
.inline-toc__title,
.sidebar-card__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.quick-answer-box__summary,
.article-section__intro,
.article-prose p,
.criteria-card__copy,
.sidebar-card__copy {
  margin: 8px 0 0;
  color: #3a403a;
  font-size: 1rem;
  line-height: 1.75;
}

.quick-answer-box__cta {
  min-width: 178px;
}

.article-prose {
  margin-top: 26px;
}

.article-prose--body h2,
.article-prose--body h3 {
  color: var(--text-heading);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.article-prose--body h2 {
  margin: 34px 0 0;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
}

.article-prose--body h3 {
  margin: 26px 0 0;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
}

.article-prose--body ul,
.article-prose--body ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: #3a403a;
}

.article-prose--body li {
  line-height: 1.7;
}

.article-prose--body ul ul,
.article-prose--body ul ol,
.article-prose--body ol ul,
.article-prose--body ol ol {
  margin-top: 8px;
}

.article-prose--body hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid rgba(229, 224, 219, 0.95);
}

.article-prose--body pre {
  margin: 24px 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid rgba(47, 91, 71, 0.18);
  border-radius: 14px;
  background: #202923;
  color: #f5f7f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}

.article-prose--body code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  background: rgba(47, 91, 71, 0.1);
  color: var(--text-heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.article-prose--body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.article-prose--body dl {
  margin: 22px 0;
}

.article-prose--body dt {
  margin-top: 16px;
  color: var(--text-heading);
  font-weight: 700;
}

.article-prose--body dt:first-child {
  margin-top: 0;
}

.article-prose--body dd {
  margin: 6px 0 0 22px;
  color: #3a403a;
  line-height: 1.7;
}

.article-prose--body blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 16px 16px 0;
  background: rgba(242, 248, 242, 0.72);
  color: var(--text-heading);
}

.article-prose--body blockquote p {
  margin: 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.article-prose--body blockquote p + p {
  margin-top: 12px;
}

.article-prose--body strong {
  color: var(--text-heading);
}

.article-prose--body a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.article-prose--body a:hover,
.article-prose--body a:focus-visible {
  color: var(--text-heading);
}

.article-table-scroll {
  margin: 22px 0 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-prose--body table {
  width: 100%;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 16px;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  overflow: hidden;
}

.article-prose--body th,
.article-prose--body td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.article-prose--body th {
  color: var(--text-heading);
  background: #f2f0ee;
  font-weight: 700;
}

.article-prose--body td {
  color: #3a403a;
  border-top: 1px solid rgba(229, 224, 219, 0.8);
}

.article-prose--body tbody tr:nth-child(even) td {
  background: rgba(247, 244, 240, 0.62);
}

.article-prose--body th:first-child,
.article-prose--body td:first-child {
  width: 28%;
}

.inline-toc {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.decision-box {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 244, 240, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.key-takeaways {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(206, 220, 207, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(242, 248, 242, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.key-takeaways__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.key-takeaways__list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.key-takeaways__item {
  color: #3a403a;
  font-size: 0.98rem;
  line-height: 1.65;
}

.decision-box__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.decision-box__list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.decision-box__item {
  color: #3a403a;
  font-size: 0.98rem;
  line-height: 1.65;
}

.inline-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inline-toc__chevron {
  color: var(--text-muted);
  font-size: 1rem;
}

.inline-toc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.inline-toc__item {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.article-section {
  margin-top: 34px;
}

.article-section__title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.criteria-card {
  padding-right: 10px;
  border-right: 1px solid rgba(229, 224, 219, 0.95);
}

.criteria-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.criteria-card__icon {
  width: 38px;
  height: 38px;
  color: var(--brand-primary);
}

.criteria-card__title {
  margin: 16px 0 0;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 700;
}

.product-pick-stack {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.product-pick-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 240, 0.94));
  box-shadow: var(--shadow-soft);
}

.product-pick-card__copy {
  padding: 26px 26px 28px;
}

.product-pick-card__title {
  margin: 14px 0 0;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.05;
}

.product-pick-card__bullets {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-pick-card__bullets li {
  position: relative;
  padding-left: 24px;
  color: #2f3530;
  font-size: 1.02rem;
  line-height: 1.6;
}

.product-pick-card__bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

.product-pick-card__media {
  min-height: 100%;
  background: #f6f1eb;
}

.product-pick-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid rgba(229, 224, 219, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(31, 36, 30, 0.04);
}

.toc-card__list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  /* Leave enough marker space for two-digit entries such as 10 and 11. */
  padding-left: 32px;
}

.toc-card__list--hidden {
  display: grid;
  grid-template-rows: 0fr;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 280ms ease, margin-top 280ms ease, opacity 180ms ease;
}

.toc-card--expanded .toc-card__list--hidden {
  max-height: 1000px;
  margin-top: 12px;
  opacity: 1;
}

.toc-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-heading);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.toc-card__toggle-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease;
}

.toc-card__toggle-icon svg,
.guide-list-card__footer-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.toc-card--expanded .toc-card__toggle-icon {
  transform: rotate(180deg);
}

.toc-card__toggle:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
}

.toc-card__item {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sidebar-cta {
  text-align: center;
}

.sidebar-cta__icon {
  margin: 0 auto 8px;
}

.sidebar-cta__button {
  margin-top: 16px;
  width: 100%;
}

.guide-list-card__items {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.mini-guide-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-guide-card__image {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.mini-guide-card__title {
  margin: 0;
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.guide-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  color: var(--text-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.guide-list-card__footer-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.layout-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.layout-preview-card {
  min-height: 220px;
  padding: 24px;
}

.layout-preview-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(135deg, rgba(46, 69, 56, 0.14), rgba(242, 240, 238, 0.85));
  border: 1px solid rgba(229, 224, 219, 0.95);
}

.layout-preview-card__label {
  margin-top: 54px;
  color: var(--text-heading);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.55;
}

.homepage-values {
  padding: var(--section-space) 0 120px;
}

.homepage-values__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border-default);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 240, 238, 0.78));
  box-shadow: var(--shadow-soft);
}

.value-pill {
  padding: 24px;
}

.value-pill__title {
  font-size: 1.8rem;
  line-height: 1.02;
}

.value-pill__copy {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid rgba(229, 224, 219, 0.88);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
}

.site-footer__brand {
  font-size: 1.9rem;
  line-height: 1;
}

.site-footer__copy {
  margin-top: 10px;
  max-width: 30rem;
}

/* Category pages */
.category-hero { position: relative; overflow: hidden; background: #f7f3ee; }
.category-hero__background, .category-hero__background-image { position: absolute; inset: 0; }
.category-hero__background-image { left: auto; width: min(58vw, 760px); background-image: linear-gradient(90deg, #f7f3ee 0%, rgba(247,243,238,.78) 17%, rgba(247,243,238,0) 46%), url("/assets/images/female-cream-hero.png"); background-position: left center, right center; background-repeat: no-repeat; background-size: cover, cover; }
.category-hero__layout { position: relative; z-index: 1; min-height: 420px; padding: 34px 0 48px; }
.category-hero .breadcrumbs { margin-bottom: 42px; }
.category-hero__content { width: min(100%, 620px); }
.category-hero__title, .category-section__heading h2, .category-cta h2 { margin: 0; color: var(--text-heading); font-family: var(--font-heading); font-weight: 600; letter-spacing: -.035em; }
.category-hero__title { color: var(--brand-primary); font-size: clamp(4rem, 6vw, 5.2rem); line-height: .95; }
.category-hero__intro { max-width: 38rem; margin: 24px 0 0; font-size: 1.1rem; line-height: 1.65; }
.category-hero__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.category-hero-point { display: flex; gap: 12px; align-items: flex-start; }
.category-hero-point__icon, .category-cta__icon { flex: 0 0 auto; color: var(--brand-primary); }
.category-hero-point__icon { width: 32px; height: 32px; }
.category-hero-point__icon svg, .category-cta__icon svg, .category-article-card__icon svg, .category-routine-row__icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; }
.category-hero-point__title, .category-article-card__title, .category-routine-row__title { margin: 0; color: var(--text-heading); font-size: .98rem; font-weight: 700; line-height: 1.25; }
.category-hero-point__copy, .category-article-card__description, .category-routine-row__description { margin: 8px 0 0; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }
.category-page { padding: 24px 0 96px; }
.category-featured-guide { display: grid; grid-template-columns: 228px 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--border-default); border-radius: 16px; background: var(--background-surface); box-shadow: var(--shadow-soft); }
.category-featured-guide__image-link { align-self: stretch; min-height: 156px; }
.category-featured-guide__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-featured-guide__body { padding: 20px 28px; }
.category-featured-guide__eyebrow, .category-product-card__badge { margin: 0; color: var(--brand-primary); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.category-featured-guide__title { max-width: 34rem; margin: 8px 0 0; color: var(--text-heading); font-family: var(--font-heading); font-size: 1.7rem; line-height: 1.05; }
.category-featured-guide__summary { max-width: 38rem; margin: 8px 0 0; font-size: .92rem; line-height: 1.5; }
.category-featured-guide__meta, .category-product-card__meta, .category-article-card__meta { display: flex; gap: 16px; align-items: center; margin-top: 12px; color: var(--text-muted); font-size: .78rem; }
.category-featured-guide__cta { min-height: auto; margin: 24px; padding: 14px 20px; white-space: nowrap; }
.category-section { margin-top: 28px; }
.category-section__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.category-section__heading h2 { font-size: 2rem; line-height: 1.05; }
.category-section__view-all { display: inline-flex; gap: 8px; align-items: center; color: var(--text-heading); font-size: .9rem; }
.category-product-grid, .category-article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.category-product-card__link, .category-article-card__link, .category-routine-row__link { display: block; border: 1px solid var(--border-default); border-radius: 12px; background: var(--background-surface); box-shadow: 0 5px 20px rgba(31,36,30,.035); transition: transform 180ms ease, box-shadow 180ms ease; }
.category-product-card__link:hover, .category-product-card__link:focus-visible, .category-article-card__link:hover, .category-article-card__link:focus-visible, .category-routine-row__link:hover, .category-routine-row__link:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,36,30,.08); }
.category-product-card__link { overflow: hidden; }
.category-product-card__image-wrap { position: relative; aspect-ratio: 1.55 / 1; background: #f4f1ed; }
.category-product-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-product-card__badge { position: absolute; left: 12px; bottom: 0; padding: 3px 6px; border-radius: 3px 3px 0 0; background: var(--brand-primary); color: #fff; font-size: .58rem; }
.category-product-card__body, .category-article-card__body { padding: 16px; }
.category-product-card__title { margin: 0; color: var(--text-heading); font-family: var(--font-heading); font-size: 1.28rem; line-height: 1.05; }
.category-product-card__description { min-height: 3.4em; margin: 10px 0 0; font-size: .86rem; line-height: 1.5; }
.category-product-card__meta, .category-article-card__meta { justify-content: space-between; }
.category-routine-list { display: grid; gap: 8px; }
.category-routine-row__link { display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 18px; padding: 8px 18px 8px 8px; }
.category-routine-row__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 54px; padding: 14px; border-radius: 10px; background: #f5e8db; color: #9a6945; }
.category-routine-row:nth-child(2) .category-routine-row__icon { background: #eee9f5; color: #76618f; }
.category-routine-row:nth-child(3) .category-routine-row__icon { background: #edf2e8; color: #627d5b; }
.category-routine-row__meta { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.category-routine-row__arrow { color: var(--text-body); font-size: 1.2rem; }
.category-article-card__link { min-height: 212px; padding-top: 18px; }
.category-article-card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 16px; padding: 11px; border-radius: 999px; background: #eaf1f7; color: #6683a0; }
.category-article-card:nth-child(2) .category-article-card__icon { background: #eaf0e4; color: #69855d; }
.category-article-card:nth-child(3) .category-article-card__icon { background: #fae7e5; color: #c26767; }
.category-article-card:nth-child(4) .category-article-card__icon { background: #eee7f4; color: #806a95; }
.category-article-card:nth-child(5) .category-article-card__icon { background: #f8e9dc; color: #ae7955; }
.category-article-card__description { min-height: 3.1em; }
.category-cta { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 22px 28px; border-radius: 14px; background: #f0f4eb; }
.category-cta__icon { width: 42px; height: 42px; }
.category-cta__copy { flex: 1; }
.category-cta h2 { font-size: 1.8rem; line-height: 1; }
.category-cta p { margin: 8px 0 0; font-size: .92rem; }
.category-cta .button { min-height: auto; padding: 14px 20px; white-space: nowrap; }

@media (max-width: 1100px) {
  :root {
    --gutter: 24px;
    --section-space: 84px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
    padding: 18px 0 22px;
  }

  .site-nav {
    justify-self: start;
    width: 100%;
  }

  .site-nav__list {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .site-search {
    min-width: min(100%, 320px);
  }

  .article-shell {
    grid-template-columns: 1fr;
  }

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

  .quick-answer-box,
  .product-pick-card {
    grid-template-columns: 1fr;
  }

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

  .criteria-card {
    padding-right: 0;
    border-right: 0;
  }

  .hero__layout {
    min-height: 680px;
  }

  .hero__content {
    width: min(100%, 560px);
    min-height: 620px;
    padding: 40px 0 40px;
  }

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

  .category-featured-guide {
    grid-template-columns: 180px 1fr;
  }

  .category-featured-guide__cta {
    grid-column: 2;
    justify-self: start;
    margin: 0 28px 24px;
  }

  .hero__trust,
  .skin-concern-grid,
  .product-category-grid,
  .routine-guide-grid,
  .layout-preview-grid,
  .homepage-values__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --section-space: 64px;
  }

  .hero {
    padding-top: 12px;
    background:
      linear-gradient(180deg, rgba(251, 248, 244, 0.98) 0%, rgba(246, 242, 237, 0.96) 56%, rgba(246, 242, 237, 0.9) 100%);
  }

  .hero__background-image {
    inset: auto 0 0 0;
    width: 100%;
    height: 48%;
    background-image:
      linear-gradient(180deg, rgba(248, 244, 238, 1) 0%, rgba(248, 244, 238, 0.48) 30%, rgba(248, 244, 238, 0.08) 52%, rgba(248, 244, 238, 0) 100%),
      url("/assets/images/female-cream-hero.png");
    background-position: center top, center center;
    background-size: cover, cover;
  }

  .category-hero__background-image {
    inset: auto 0 0;
    width: 100%;
    height: 52%;
    background-image: linear-gradient(180deg, #f7f3ee 0%, rgba(247,243,238,.48) 28%, rgba(247,243,238,0) 62%), url("/assets/images/female-cream-hero.png");
    background-position: center top, center center;
  }

  .category-hero__layout {
    min-height: 640px;
    padding-top: 24px;
  }

  .category-hero .breadcrumbs {
    margin-bottom: 36px;
  }

  .category-hero__title {
    font-size: clamp(3.4rem, 16vw, 4.5rem);
  }

  .category-hero__points {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 23rem;
  }

  .category-page {
    padding-bottom: 64px;
  }

  .category-featured-guide {
    grid-template-columns: 1fr;
  }

  .category-featured-guide__image-link {
    min-height: 190px;
  }

  .category-featured-guide__body {
    padding: 20px;
  }

  .category-featured-guide__cta {
    grid-column: auto;
    justify-self: stretch;
    margin: 0 20px 20px;
  }

  .category-product-grid,
  .category-article-grid {
    grid-template-columns: 1fr;
  }

  .category-section__heading h2 {
    font-size: 1.8rem;
  }

  .category-routine-row__link {
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    padding-right: 12px;
  }

  .category-routine-row__icon {
    width: 54px;
    height: 52px;
  }

  .category-routine-row__meta {
    display: none;
  }

  .category-cta {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 22px;
  }

  .category-cta .button {
    width: 100%;
    margin-left: 64px;
  }

  .site-logo__wordmark {
    font-size: 1.8rem;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2.9rem, 16vw, 4rem);
  }

  .hero__summary {
    font-size: 1.08rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__trust,
  .skin-concern-grid,
  .product-category-grid,
  .routine-guide-grid,
  .layout-preview-grid,
  .homepage-values__panel {
    grid-template-columns: 1fr;
  }

  .article-page {
    padding-top: 20px;
  }

  .article-sidebar,
  .inline-toc__grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .article-hero__meta {
    align-items: flex-start;
  }

  .article-hero__details {
    gap: 8px 18px;
  }

  .article-hero__title,
  .article-section__title {
    max-width: none;
  }

  .quick-answer-box {
    padding: 18px;
  }

  .quick-answer-box__cta {
    width: 100%;
  }

  .article-prose--body table {
    width: 100%;
    min-width: 560px;
  }

  .section-heading {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .section-heading__title {
    font-size: 2.4rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
