/* ════════════════════════════════════════════
   designer-dupe.com — Shared Stylesheet v1.0
   Glossier-inspired editorial palette
   Last updated: 2026-05-19
   ════════════════════════════════════════════ */

:root {
  --cream: #FAF7F2;
  --cream-2: #F2EBE0;
  --cream-3: #E8DFD3;
  --ink: #2C2420;
  --ink-soft: #4A3F38;
  --gray: #6B5D54;
  --gray-soft: #A89B91;
  --caramel: #B8956A;
  --caramel-deep: #8B6F4E;
  --rose: #C9A48B;
  --white: #FFFFFF;
  --line: rgba(44, 36, 32, 0.08);
  --line-strong: rgba(44, 36, 32, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--caramel-deep); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--ink); }

/* ─── Affiliate disclosure ─── */
.disclosure {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.disclosure a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

/* ─── Navigation ─── */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.25s var(--ease);
}
.logo span { font-style: normal; font-weight: 700; }
.logo:hover { color: var(--caramel-deep); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.nav-links a.active { color: var(--caramel-deep); }

/* ─── Page hero (smaller than homepage) ─── */
.page-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 32px 48px;
  text-align: left;
}
.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--caramel);
}
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--caramel-deep);
}
.page-hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 680px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--gray-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--ink); }

/* ─── Sections ─── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.section-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--caramel);
}
h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 800px;
}
h2 em { font-style: italic; color: var(--caramel-deep); font-weight: 400; }
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 40px;
}
p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; max-width: 720px; }

/* ─── Quick Answer (§60 ①) ─── */
.quick-answer {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--caramel);
  padding: 28px 32px;
  margin: 0 auto 60px;
  max-width: 860px;
}
.quick-answer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 12px;
  display: block;
}
.quick-answer p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  max-width: 100%;
  margin: 0;
}

/* ─── Article grid (for category pages) ─── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.article-card {
  background: var(--cream);
  padding: 32px 36px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease), padding-left 0.3s var(--ease);
  display: block;
}
.article-card:hover {
  background: var(--white);
  padding-left: 44px;
  color: inherit;
}
.article-card.flagship { background: var(--cream-2); }
.article-card.flagship:hover { background: var(--white); }
.article-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-meta .flagship-tag {
  background: var(--ink);
  color: var(--cream);
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.article-meta span:not(.flagship-tag):not(:first-child)::before {
  content: '·';
  margin-right: 10px;
  color: var(--gray-soft);
}
.article-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.25s var(--ease);
}
.article-card:hover h3 { color: var(--caramel-deep); }
.article-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 16px;
  max-width: 100%;
}
.article-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-read::after { content: ' →'; }

@media (max-width: 860px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* ─── Comparison table (§60 ③) ─── */
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 24px 0 40px;
}
table.compare-table caption {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  font-style: italic;
  color: var(--gray);
  text-align: left;
  padding-bottom: 12px;
  caption-side: top;
}
table.compare-table thead th {
  background: var(--cream-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-strong);
}
table.compare-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
table.compare-table tbody tr:last-child td { border-bottom: none; }
table.compare-table tbody tr.highlight td {
  background: rgba(184, 149, 106, 0.06);
  border-left: 3px solid var(--caramel);
}
table.compare-table tbody tr.highlight td:first-child {
  font-weight: 700;
  color: var(--ink);
}

/* ─── Verdict block (§60 ⑤) ─── */
.verdict {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 56px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.verdict::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 40px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 280px;
  color: var(--caramel);
  opacity: 0.22;
  line-height: 1;
  transform: rotate(-3deg);
  pointer-events: none;
}
.verdict-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 16px;
  display: block;
}
.verdict p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  max-width: 760px;
  margin: 0;
}
.verdict p strong {
  font-weight: 600;
  font-style: normal;
  color: var(--rose);
}

/* ─── FAQ (§60 ⑦) ─── */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  transition: background 0.2s var(--ease);
}
.faq details:hover { background: rgba(184, 149, 106, 0.03); }
.faq summary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s var(--ease);
}
.faq summary:hover { color: var(--caramel-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--caramel-deep);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 720px;
}

/* ─── Related Questions (§60 ⑧) ─── */
.related-q {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 32px;
}
.related-q-inner { max-width: 1180px; margin: 0 auto; }
.related-q h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}
.related-q-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.related-q a {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 18px 22px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.related-q a:hover {
  background: var(--white);
  border-color: var(--caramel);
  color: var(--ink);
  transform: translateY(-2px);
}
.related-q a::after {
  content: '→';
  font-style: normal;
  color: var(--caramel-deep);
  flex-shrink: 0;
}

/* ─── EEAT block (§60 ⑥) ─── */
.eeat {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}
.eeat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.eeat-item .eeat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-bottom: 12px;
  display: block;
}
.eeat-item h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.eeat-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 100%;
  margin: 0;
}
@media (max-width: 860px) {
  .eeat-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

/* ─── Footer ─── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 32px 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
  display: block;
}
.footer-tag {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-soft);
  max-width: 360px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--cream); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-soft);
}
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Hero entrance animation ─── */
@media (prefers-reduced-motion: no-preference) {
  .page-hero-eyebrow { animation: heroIn 0.7s var(--ease) 0.1s both; }
  .page-hero h1 { animation: heroIn 0.7s var(--ease) 0.25s both; }
  .page-hero-lead { animation: heroIn 0.7s var(--ease) 0.4s both; }
  
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
