:root {
  color-scheme: dark;
  --ink: #09080b;
  --charcoal: #121017;
  --panel: rgba(24, 20, 29, 0.76);
  --panel-strong: rgba(33, 26, 38, 0.92);
  --border: rgba(218, 180, 99, 0.24);
  --gold: #d8ad57;
  --gold-deep: #ad7b2f;
  --plum: #5d274f;
  --plum-muted: #8a5478;
  --ivory: #f6ead2;
  --muted: #c8b9a6;
  --shadow: rgba(0, 0, 0, 0.45);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  background:
    radial-gradient(circle at 18% 10%, rgba(93, 39, 79, 0.54), transparent 30rem),
    radial-gradient(circle at 80% 4%, rgba(216, 173, 87, 0.18), transparent 24rem),
    linear-gradient(145deg, #070609 0%, #121017 42%, #09080b 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: url("assets/hero-texture.svg");
  background-size: 760px 760px;
  opacity: 0.28;
}

a {
  color: inherit;
}

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

.disclosure-bar {
  padding: 0.65rem 1rem;
  color: #f9f1df;
  background: #171017;
  border-bottom: 1px solid rgba(216, 173, 87, 0.3);
  font-size: 0.84rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 8, 11, 0.82);
  border-bottom: 1px solid rgba(216, 173, 87, 0.18);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 0.9rem 0;
}

.brand,
.footer-brand {
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 4vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.65rem, 3vw, 1.4rem);
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 5rem 1rem 4.5rem;
  border-bottom: 1px solid rgba(216, 173, 87, 0.18);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 8, 11, 0.9), rgba(9, 8, 11, 0.66), rgba(9, 8, 11, 0.92)),
    url("assets/hero-texture.svg");
  background-size: cover, 900px 900px;
  opacity: 0.95;
}

.hero-glow {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 173, 87, 0.22), rgba(93, 39, 79, 0.18), transparent 68%);
  filter: blur(3px);
}

.hero-content {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: #fff4dd;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(2.45rem, 11vw, 6.75rem);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 7vw, 3.7rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 680px;
  margin: 1.25rem auto 0;
  color: #eadcc4;
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  margin-top: 1.7rem;
  color: #1e1405;
  background: linear-gradient(180deg, #f1ce77, #d49e42);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

.button-primary:hover {
  background: linear-gradient(180deg, #f7d987, #dca74b);
}

.trust-note {
  max-width: 520px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 4rem 0;
}

:where(.hero, .section, .site-footer, #product-sections, .product-group, h2[id], h3[id], p[id]) {
  scroll-margin-top: 7rem;
}

.intro-section {
  display: grid;
  place-items: center;
}

.section-copy {
  max-width: 840px;
  padding: clamp(1.4rem, 4vw, 2.3rem);
  background: linear-gradient(135deg, rgba(24, 20, 29, 0.9), rgba(93, 39, 79, 0.22));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.section-copy p:last-child,
.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2.2rem;
}

.product-group {
  margin-top: 4.25rem;
}

.product-group:first-child {
  margin-top: 0;
}

.product-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(216, 173, 87, 0.2);
}

.product-group-heading h3 {
  color: #fff0d0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 5vw, 2.1rem);
}

.product-count {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-grid,
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-card,
.editorial-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 42px var(--shadow);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(93, 39, 79, 0.48), rgba(216, 173, 87, 0.12));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.category-label,
.paid-link {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-title {
  margin-top: 0.45rem;
}

.product-description,
.best-for {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-description {
  margin: 0.65rem 0;
}

.best-for {
  margin: 0 0 1rem;
}

.best-for strong {
  color: #f5e8ce;
}

.product-action {
  margin-top: auto;
}

.paid-link {
  display: block;
  margin-bottom: 0.45rem;
}

.amazon-button {
  width: 100%;
  color: #1b1307;
  background: linear-gradient(180deg, #edc969, #c98c34);
  border: 1px solid rgba(255, 236, 183, 0.55);
}

.amazon-button:hover {
  background: linear-gradient(180deg, #f5d57d, #d69940);
}

.look-builder {
  padding-top: 2rem;
}

.editorial-card {
  padding: 1.25rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.editorial-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid rgba(216, 173, 87, 0.24);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

@media (max-width: 420px) {
  .nav-shell {
    justify-content: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 700px) {
  .product-grid,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1000px) {
  .hero-content {
    margin-left: max(1rem, calc((100vw - var(--max-width)) / 2));
    text-align: left;
  }

  .hero-copy,
  .trust-note {
    margin-left: 0;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
