/* ============================================
   GloraMD Review — Design Tokens
   Palette drawn from the product itself: warm
   ivory paper, charcoal-navy ink, and the amber
   glass + brushed-gold dropper cap of the bottle.
   ============================================ */
:root {
  --bg: #FAF6EE;
  --surface: #FFFFFF;
  --surface-alt: #FCF8F0;
  --ink: #23262E;
  --ink-muted: #5B5E68;
  --amber: #8C5A2B;
  --amber-deep: #6E4520;
  --gold: #B9922E;
  --line: #E8E0D0;
  --shadow: 0 12px 32px -16px rgba(35, 38, 46, 0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================
   Layout
   ============================================ */
.page {
  padding: clamp(20px, 4vw, 56px) clamp(16px, 5vw, 24px) 40px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

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

.col-left { padding-top: 4px; }

/* ============================================
   Left column — headline, image, primary CTA
   ============================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 14px;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.intro {
  font-size: 16.5px;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 46ch;
}

.product-image-link {
  display: block;
  width: 180px;
  margin: 0 0 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(35, 38, 46, 0.24);
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber-deep);
  color: #FFF9EF;
  box-shadow: 0 10px 22px -10px rgba(110, 69, 32, 0.55);
}

.btn-primary:hover {
  background: #5A3719;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--ink);
  color: #FBF8F1;
  margin-top: 6px;
}

.btn-secondary:hover {
  background: #343842;
  transform: translateY(-1px);
}

.microcopy {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 12px 0 20px;
}

.disclosure {
  font-size: 12.5px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  max-width: 46ch;
}

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

/* ============================================
   Right column — review cards
   ============================================ */
.col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--ink);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-muted);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Droplet marker — nods to the product's own dropper format */
.list-like li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: var(--amber);
}

.list-know li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: var(--line);
  border: 1.5px solid var(--gold);
  background: transparent;
}

.col-right > .btn-secondary {
  align-self: flex-start;
}

/* ============================================
   Mobile sticky CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(250, 246, 238, 0.98) 60%, rgba(250, 246, 238, 0));
  display: none;
  transition: bottom 0.28s ease;
  z-index: 40;
}

.sticky-cta.is-visible { bottom: 0; }

.btn-sticky {
  width: 100%;
  background: var(--amber-deep);
  color: #FFF9EF;
  box-shadow: 0 10px 24px -8px rgba(110, 69, 32, 0.5);
}

@media (max-width: 860px) {
  .sticky-cta { display: block; }
  .page { padding-bottom: 96px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px clamp(16px, 5vw, 24px) 48px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-muted);
}

.footer p { margin: 0 0 8px; max-width: 70ch; }

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy { margin-top: 12px; color: #8B8E97; }

/* ============================================
   Legal pages (privacy / terms / contact)
   ============================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 5vw, 24px) 60px;
}

.legal .eyebrow { margin-bottom: 10px; }

.legal h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 6px;
}

.legal .updated {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 28px 0 10px;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.legal ul { padding-left: 20px; }

.legal a.back {
  display: inline-block;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-deep);
  text-decoration: none;
}

.legal a.back:hover { text-decoration: underline; }
