/* ============================================================
   LippyLipo — Base
   Reset, body, typography, utility helpers, buttons, chips
   ============================================================ */

/* ---------- Reset & body ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--text);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }
body.lock { overflow: hidden; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; }

.headline { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(34px, 6.5vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
.headline-xl { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(40px, 8vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.headline-sm { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }

.h-hero { font-size: clamp(44px, 9vw, 96px); line-height: 0.98; letter-spacing: -0.02em; }
.h-1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; }
.h-2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.h-3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }

.lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--mute); max-width: 60ch; }
.lede.light { color: rgba(31,24,21,0.7); }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
}
.eyebrow.rose { background: var(--rose-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.rg-text {
  background: var(--rose-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}
.rg-text.shine {
  background: var(--rose-gold-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: rgShine 8s ease-in-out infinite;
}
@keyframes rgShine {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}

.hl { position: relative; display: inline-block; }
.hl::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 4px;
  height: 38%;
  background: linear-gradient(90deg, rgba(245,212,193,0.35), rgba(183,110,121,0.35));
  z-index: -1;
  border-radius: 4px;
}

.hairline { height: 1px; background: var(--line); width: 100%; }
.hairline-rg { height: 1px; background: var(--rose-gold); }

.star { color: #e6b8a0; font-size: 13px; letter-spacing: 1px; }

/* ---------- Layout containers ---------- */
.funnel { max-width: var(--funnel); margin: 0 auto; padding: 0 20px; }
.funnel-wide { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
@media (min-width: 768px) { .container { padding: 0 36px; } }

section { position: relative; }
.section-pad { padding: 88px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

/* ---------- Flex / Grid utilities ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.between { display: flex; align-items: center; justify-content: space-between; }
.center { display: flex; align-items: center; justify-content: center; }
.col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 26px;
  border-radius: var(--r-pill);
  font-weight: 500; font-size: 15px;
  letter-spacing: 0.01em; line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose-gold); color: #fff; box-shadow: var(--shadow-rose); font-weight: 600; }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 22px 60px -18px rgba(183,110,121,0.7); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--rg-3); color: var(--rg-1); }
.btn-light { background: var(--bone); color: var(--text); }
.btn-light:hover { background: #fff; }
.btn-sm { padding: 12px 18px; font-size: 13px; }
.btn-lg { padding: 19px 32px; font-size: 16px; }

@keyframes pulseRose {
  0%, 100% { box-shadow: 0 18px 50px -20px rgba(183, 110, 121, 0.55), 0 0 0 0 rgba(245,212,193,0.5); }
  50% { box-shadow: 0 18px 50px -20px rgba(183, 110, 121, 0.7), 0 0 0 14px rgba(245,212,193,0); }
}
.btn-pulse { animation: pulseRose 2.4s ease-in-out infinite; }

.cta-block { text-align: center; padding: 40px 0; }
.cta-block .btn { font-size: 17px; padding: 20px 36px; }

/* ---------- Chip / Card / Icon ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--line-strong);
  background: rgba(245, 212, 193, 0.04);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-gold); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }

.ico {
  width: 22px; height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp 0.8s ease forwards; }
