/* Lady’s Pep — shared site styles
   Premium feminine clinical. No external dependencies. */

:root {
  /* Lady's Pep palette — matched to the official square logo */
  --plum:         #3A1028;   /* deep plum — primary text + high-contrast buttons */
  --rose:         #C85F7C;   /* logo rose — primary brand fill */
  --rose-soft:    #D98299;   /* soft rose — accent */
  --blush:        #FFF7F9;   /* blush background */
  --cream:        #FFFDF9;   /* warm cream */
  --cream-hi:     #FFF1E8;   /* cream highlight */
  --rose-card:    #F7D8E1;   /* muted rose card */
  --border:       #F2C3D0;   /* border blush */
  --ink:          #27111D;   /* primary text */
  --ink-2:        #7A5A6A;   /* secondary text */
  --amber:        #F59E0B;   /* warning */
  --rose-danger:  #E11D48;   /* danger */
  --green:        #10B981;   /* success */

  /* Legacy aliases kept so existing rules don't break */
  --pink:        var(--rose);
  --pink-hot:    var(--plum);
  --pink-soft:   var(--blush);
  --pink-blush:  var(--rose-card);
  --purple:      var(--rose-soft);
  --white:       #FFFFFF;

  --shadow:      0 10px 30px rgba(58, 16, 40, 0.18);
  --shadow-soft: 0 6px 20px rgba(39, 17, 29, 0.08);
  --radius:      20px;
  --radius-sm:   14px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--ink); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
img, video, svg { max-width: 100%; height: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--plum));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: #fff;
  color: var(--plum);
  border: 1.5px solid var(--border);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
  flex: 1 1 auto;
}
.brand:hover { text-decoration: none; }
.brand-text { min-width: 0; }
.brand .logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.brand strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-icon {
  position: relative;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top: 6px; }
.site-header.nav-open .nav-toggle-icon { background: transparent; }
.site-header.nav-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.nav-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav a:hover { color: var(--rose); text-decoration: none; }

/* Hero */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rose-card);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--rose); }
.hero .lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.hero .cta-row .btn {
  justify-content: center;
}
.hero-note {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

/* Sections */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }

.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--rose-card);
  color: var(--plum);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card p  { color: var(--ink-2); margin: 0; }

/* Gradient hero card */
.hero-card {
  background: linear-gradient(135deg, var(--rose), var(--plum));
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.hero-card h2, .hero-card h1 { color: #fff; }
.hero-card p { color: rgba(255,255,255,0.95); }
.hero-card .btn-primary { background: #fff; color: var(--plum); }
.hero-card .btn-secondary { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.5); }

/* Disclaimers */
.disclaimer {
  background: #FFF1F4;
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.disclaimer .ic { color: var(--rose-danger); font-size: 1.2rem; }
.disclaimer p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.disclaimer.amber { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.4); }
.disclaimer.amber .ic { color: var(--amber); }

/* Footer */
.site-footer {
  background: var(--plum);
  color: #fff;
  padding: 40px 0 28px;
  margin-top: 40px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px) {
  .site-footer .container { grid-template-columns: 1fr; }
}
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: 3px 0; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 26px;
  padding-top: 18px;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* Legal/prose */
.legal {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.3rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal .meta { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 20px; }

/* FAQ */
.faq details {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] p { margin-top: 10px; margin-bottom: 0; color: var(--ink-2); }

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; text-align: center;
}
.contact-card .ic { font-size: 1.6rem; }
.contact-card .label { color: var(--ink-2); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-card a { font-weight: 700; word-break: break-word; }

/* ── Mobile & tablet responsive ─────────────────────────────── */
@media (max-width: 767px) {
  .container,
  .narrow {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Compact header: logo + title row, hamburger, dropdown nav */
  .site-header .container {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 0 12px;
  }
  .brand {
    flex: 1 1 auto;
    gap: 10px;
    max-width: calc(100% - 56px);
  }
  .brand .logo {
    width: 48px;
    height: 48px;
  }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a {
    display: block;
    padding: 12px 4px;
    font-size: 1rem;
    white-space: normal;
    border-bottom: 1px solid rgba(242, 195, 208, 0.45);
  }
  .nav a:last-child { border-bottom: none; }

  /* Hero */
  .hero {
    padding: 32px 0 32px;
  }
  .hero .container {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(1.65rem, 6.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .hero .lead {
    font-size: clamp(1.125rem, 4.8vw, 1.375rem);
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .hero .cta-row {
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }
  .hero .cta-row .btn {
    width: calc(100% - 48px);
    max-width: 360px;
    white-space: nowrap;
    padding: 14px 20px;
  }
  .hero-note {
    padding: 0 4px;
    line-height: 1.45;
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }
  .hero + .section {
    padding-top: 48px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head p {
    font-size: 1rem;
  }

  .hero-card {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .hero-card .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    white-space: nowrap;
  }

  /* Legal / prose pages */
  .section--content {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .legal {
    padding: 32px 24px;
    border-radius: var(--radius);
  }
  .legal h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .legal h2 {
    font-size: 1.15rem;
  }

  .site-footer {
    margin-top: 24px;
    padding: 32px 0 24px;
  }
}

@media (max-width: 389px) {
  .brand .logo {
    width: 44px;
    height: 44px;
  }
  .brand strong { font-size: 1rem; }

  .hero .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero .cta-row .btn {
    width: calc(100% - 32px);
    font-size: 0.95rem;
    padding: 13px 16px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero .lead {
    font-size: 1.0625rem;
  }

  .legal {
    padding: 28px 20px;
  }
}
