/* =========================================================
   Vyve Care — Design System
   Cream + plum/rose. Privacy-first female health brand.
   ========================================================= */

:root {
  /* Surfaces */
  --cream:        #FBF6EF;
  --cream-soft:   #FDFAF5;
  --cream-deep:   #F3E9DC;
  --card:         #FFFFFF;

  /* Ink */
  --ink:          #2A2230;
  --ink-soft:     #5C5263;
  --ink-faint:    #8A8190;

  /* Brand */
  --plum:         #6C4A73;
  --plum-deep:    #4C3253;
  --plum-tint:    #EFE6F0;
  --rose:         #DE7C76;
  --rose-soft:    #F7DCDA;
  --blush:        #F8E4E6;
  --sage:         #8FA98C;
  --sage-soft:    #E6EEE4;
  --gold:         #D6A45C;

  /* Utility */
  --line:         #E9DFD2;
  --shadow-sm:    0 1px 2px rgba(42,34,48,.05), 0 4px 14px rgba(42,34,48,.05);
  --shadow-md:    0 8px 30px rgba(76,50,83,.10);
  --shadow-lg:    0 24px 60px rgba(76,50,83,.16);

  --radius:       18px;
  --radius-lg:    28px;
  --maxw:         1140px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--plum-deep); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream-deep); color: var(--ink); }
.btn-lg { padding: 17px 32px; font-size: 17px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,239,.97);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(145deg, var(--plum), var(--rose));
  display: grid; place-items: center; color: #fff; font-size: 17px;
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--ink-soft); font-size: 19px; margin: 14px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 90px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero .lede { font-size: 21px; color: var(--ink-soft); margin: 22px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; }
.blob-1 { width: 420px; height: 420px; background: var(--blush); top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: var(--sage-soft); bottom: -140px; left: -100px; }
.hero-grid, .hero .wrap { position: relative; z-index: 1; }

/* phone mock */
.phone {
  position: relative; width: 300px; margin: 0 auto;
  background: #1c1622; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone-screen { background: var(--cream-soft); border-radius: 32px; overflow: hidden; aspect-ratio: 9/19.2; }
.ph-top { background: linear-gradient(160deg, var(--plum), var(--rose)); color: #fff; padding: 26px 22px 30px; }
.ph-top .small { font-size: 12px; opacity: .85; letter-spacing: .08em; text-transform: uppercase; }
.ph-ring { width: 150px; height: 150px; margin: 16px auto 6px; border-radius: 50%;
  background: conic-gradient(#fff 0 62%, rgba(255,255,255,.25) 62% 100%);
  display: grid; place-items: center; position: relative; }
.ph-ring::before { content:""; position:absolute; inset:14px; background: linear-gradient(160deg, var(--plum), var(--rose)); border-radius:50%; }
.ph-ring .day { position: relative; z-index:1; text-align:center; color:#fff; }
.ph-ring .day b { font-family: var(--serif); font-size: 34px; display:block; line-height:1; }
.ph-ring .day span { font-size: 11px; opacity:.9; }
.ph-body { padding: 18px 18px 22px; }
.ph-row { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:10px; }
.ph-dot { width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:15px; }
.ph-row b { font-size: 13px; display:block; }
.ph-row span { font-size: 11px; color: var(--ink-faint); }

/* ---------- Trust bar ---------- */
.trust { padding: 30px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--cream-soft); }
.trust-row { display:flex; align-items:center; justify-content:center; gap:42px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:10px; color: var(--ink-soft); font-size:14px; font-weight:500; }
.trust-item .i { color: var(--sage); font-size:18px; }

/* ---------- Features ---------- */
.feat-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.feat {
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat .ico { width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:22px;margin-bottom:16px; }
.feat h3 { font-size: 21px; margin-bottom:8px; }
.feat p { color: var(--ink-soft); font-size:16px; margin:0; }

.tint-plum { background: var(--plum-tint); color: var(--plum); }
.tint-rose { background: var(--rose-soft); color: var(--rose); }
.tint-sage { background: var(--sage-soft); color: var(--sage); }
.tint-gold { background: #F6ECD9; color: var(--gold); }

/* ---------- Privacy band ---------- */
.band { background: linear-gradient(160deg, var(--plum-deep), var(--plum)); color: #fff; border-radius: var(--radius-lg); padding: 64px; }
.band h2 { color:#fff; font-size: clamp(28px,3.6vw,40px); }
.band p { color: rgba(255,255,255,.82); font-size:18px; }
.band .pill-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.pill { background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); color:#fff; padding:9px 16px; border-radius:999px; font-size:14px; font-weight:500; }

/* ---------- Family ---------- */
.fam-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.fam { border-radius: var(--radius); padding:30px; border:1px solid var(--line); position:relative; overflow:hidden; }
.fam h3 { font-size:22px; }
.fam p { color: var(--ink-soft); font-size:15px; }
.fam .tag { font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.fam-1 { background: var(--blush); }
.fam-2 { background: var(--plum-tint); }
.fam-3 { background: var(--sage-soft); }

/* ---------- Steps ---------- */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap:30px; counter-reset: step; }
.step { text-align:left; }
.step .n { font-family: var(--serif); font-size: 15px; font-weight:600; color: var(--plum); display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.step .n::before { counter-increment: step; content: "0" counter(step); background: var(--plum-tint); color: var(--plum); width:38px;height:38px;border-radius:50%; display:grid;place-items:center; font-size:14px; }
.step h3 { font-size:20px; }
.step p { color: var(--ink-soft); font-size:16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor:pointer; list-style:none; padding: 22px 0; font-family: var(--serif); font-size: 20px; color: var(--ink); display:flex; justify-content:space-between; gap:20px; align-items:center; }
.qa summary::-webkit-details-marker { display:none; }
.qa summary::after { content:"+"; font-family: var(--sans); color: var(--plum); font-size:26px; transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--ink-soft); margin: 0 0 22px; font-size:16px; }

/* ---------- CTA ---------- */
.cta-final { text-align:center; background: var(--cream-soft); }
.cta-card { background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 64px 48px; box-shadow: var(--shadow-md); max-width: 720px; margin:0 auto; }
.cta-card h2 { font-size: clamp(30px,4vw,46px); }
.waitlist { display:flex; gap:10px; max-width:440px; margin: 28px auto 0; }
.waitlist input { flex:1; padding: 15px 18px; border-radius: 999px; border:1px solid var(--line); font-size:16px; font-family: var(--sans); background: var(--cream-soft); }
.waitlist input:focus { outline:none; border-color: var(--plum); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 36px; }
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color:#fff; }
.foot-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:30px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.12); }
.foot-grid h4 { color:#fff; font-family: var(--sans); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.foot-grid ul { list-style:none; padding:0; margin:0; }
.foot-grid li { margin-bottom:10px; font-size:15px; }
.foot-brand .brand { color:#fff; margin-bottom:14px; }
.foot-brand p { font-size:15px; max-width:280px; }
.foot-bottom { display:flex; justify-content:space-between; padding-top:24px; font-size:14px; flex-wrap:wrap; gap:12px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap:48px; }
  .hero-cta { justify-content:flex-start; }
  .feat-grid, .fam-grid, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display:none; }
  .band { padding:40px 28px; }
  section { padding: 72px 0; }
}
@media (max-width: 560px) {
  body { font-size:17px; }
  .waitlist { flex-direction:column; }
  .trust-row { gap:20px; }
  .foot-grid { grid-template-columns: 1fr; }
}
