/* BeeBaby — shared static-site styles (legal pages + future homepage). */
:root {
  --ink: #1a1a1a;
  --ink-soft: #555;
  --bg: #f8f6f3;
  --card: #ffffff;
  --line: #e6e1d8;
  --amber: #fdb517;
  --link: #1a1a1a;
  --max: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 17px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 22px 96px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  max-width: var(--max);
  margin: 0 auto;
}
header.site .logo {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--amber);
  display: grid; place-items: center;
  font-weight: 700; color: #2a2206;
}
header.site .brand { font-weight: 700; letter-spacing: .3px; }

h1 { font-size: 30px; line-height: 1.25; margin: 8px 0 4px; }
h2 { font-size: 21px; margin: 40px 0 10px; padding-top: 8px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
a { color: var(--link); text-underline-offset: 2px; }

.meta { color: var(--ink-soft); font-size: 15px; margin: 0 0 8px; }

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 24px 0;
}
.toc ol { margin: 6px 0; padding-left: 22px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); }

table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f0ece3; }

/* Visible only while this is a draft — DELETE the .draft-banner element
   (and any inline [PLACEHOLDER: …] markers) before publishing. */
.draft-banner {
  background: #fff4d6;
  border: 1px solid var(--amber);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 28px;
  font-size: 15px;
}
.draft-banner strong { display: block; margin-bottom: 4px; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 56px; padding-top: 20px;
  color: var(--ink-soft); font-size: 14px;
}
footer.site a { color: var(--ink-soft); }

/* Homepage hero (placeholder) */
.hero { text-align: center; padding: 60px 0 16px; }
.hero .mark {
  width: 92px; height: 92px; border-radius: 22px;
  background: var(--amber); display: grid; place-items: center;
  font-size: 46px; margin: 0 auto 26px;
  box-shadow: 0 6px 28px rgba(253, 181, 23, .35);
}
.hero h1 { font-size: clamp(32px, 6vw, 50px); margin: 0 0 16px; }
.hero .lead {
  font-size: 19px; color: var(--ink-soft);
  max-width: 540px; margin: 0 auto 8px; line-height: 1.6;
}
.cta-row { margin: 34px 0 8px; color: var(--ink-soft); font-size: 15px; }
.badges { margin-top: 14px; }
.badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 11px;
  padding: 10px 18px; margin: 5px; color: var(--ink-soft); background: var(--card);
  font-size: 14px;
}

/* ============================================================
   BeeBaby landing page (index.html). Scoped under body.lp so the
   legal pages (privacy/terms) are unaffected.
   ============================================================ */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces.ttf") format("truetype-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Italic.ttf") format("truetype-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

body.lp { line-height: 1.6; overflow-x: hidden; }
.lp main { display: block; }
.lp section { padding: 0 22px; }
.lp h1, .lp h2, .lp h3, .lp blockquote {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}
.lp em { font-style: italic; }
.lp .center { text-align: center; }
.lp h1, .lp h2, .lp h3, .lp p, .lp blockquote { overflow-wrap: break-word; }
.lp-hero-copy, .lp-hero-art { min-width: 0; }

.lp-eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px;
  font-weight: 700; color: var(--amber); margin: 0 0 14px;
}
.lp-eyebrow.center { text-align: center; }
.lp-eyebrow.light { color: #f3d281; }

/* --- nav --- */
.lp-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  max-width: 1120px; margin: 0 auto; padding: 16px 22px;
  background: rgba(248,246,243,.82); backdrop-filter: saturate(180%) blur(12px);
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px;
  text-decoration: none; color: var(--ink); }
.lp-brand img { border-radius: 8px; }
.lp-nav-links { display: flex; gap: 24px; margin-left: auto; }
.lp-nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.lp-nav-links a:hover { color: var(--ink); }
.lp-btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, opacity .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); opacity: .92; }
.lp-btn-sm { padding: 9px 16px; font-size: 14px; }

/* --- hero --- */
.lp-hero {
  max-width: 1120px; margin: 0 auto; padding-top: 56px; padding-bottom: 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.lp-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.08; margin: 0 0 20px; font-weight: 600; }
.lp-lead { font-size: 19px; color: var(--ink-soft); max-width: 30em; margin: 0 0 28px; }
.lp-fineprint { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; }

.lp-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-badges.center { justify-content: center; }
.lp-store {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 18px 10px 16px; border-radius: 13px;
  transition: transform .15s ease, opacity .15s ease;
}
.lp-store:hover { transform: translateY(-1px); }
.lp-store svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.lp-store span { display: flex; flex-direction: column; line-height: 1.18; font-weight: 600; font-size: 18px; }
.lp-store small { font-weight: 400; font-size: 10.5px; opacity: .8; letter-spacing: .02em; }
.lp-store.is-soon { opacity: .9; }

.lp-hero-art { position: relative; min-height: 460px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.lp-phone { position: absolute; width: 270px; height: auto; filter: drop-shadow(0 28px 50px rgba(40,28,8,.22)); }
.lp-phone-front { transform: translateX(-58px) rotate(-4deg); z-index: 2; }
.lp-phone-back  { transform: translateX(78px) translateY(-18px) rotate(5deg); width: 250px; z-index: 1; opacity: .98; }

/* --- generic section --- */
.lp-section { max-width: 1120px; margin: 0 auto; padding-top: 84px; padding-bottom: 12px; }
.lp-h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 6px 0 0; font-weight: 600; }

/* --- how it works --- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 44px; }
.lp-step { position: relative; text-align: center; }
.lp-step img { width: 210px; height: auto; display: block; margin: 0 auto 18px;
  filter: drop-shadow(0 18px 34px rgba(40,28,8,.16)); }
.lp-step-n { display: inline-block; font-family: "Fraunces", serif; font-weight: 600;
  color: var(--amber); font-size: 15px; letter-spacing: .1em; }
.lp-step h3 { font-size: 22px; margin: 4px 0 8px; font-weight: 600; }
.lp-step p { color: var(--ink-soft); font-size: 15.5px; max-width: 30em; margin: 0 auto; }

/* --- twin mood band --- */
.lp-twin {
  margin: 92px 0 0; padding: 0; background-size: cover; background-position: 28% 30%;
  position: relative;
}
.lp-twin::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,6,4,.62) 0%, rgba(8,6,4,.78) 55%, rgba(8,6,4,.9) 100%); }
.lp-twin-inner { position: relative; max-width: 1120px; margin: 0 auto;
  padding: 96px 22px; max-width: 760px; }
.lp-twin blockquote { margin: 0 0 22px; font-size: clamp(26px, 4vw, 42px); line-height: 1.2;
  font-style: italic; color: #faf6ee; font-weight: 500; }
.lp-twin-copy { color: #d8cfc0; font-size: 18px; max-width: 34em; }

/* --- why grid --- */
.lp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.lp-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px; }
.lp-card h3 { font-size: 20px; margin: 0 0 8px; font-weight: 600; }
.lp-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* --- showcase --- */
.lp-showcase { max-width: 1120px; margin: 0 auto; padding-top: 92px; text-align: center; }
.lp-showcase-row { display: flex; justify-content: center; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.lp-showcase-row img { width: 240px; height: auto; filter: drop-shadow(0 22px 40px rgba(40,28,8,.18)); }

/* --- final cta --- */
.lp-cta { max-width: 1120px; margin: 92px auto 0; text-align: center;
  background: linear-gradient(180deg, #fff7e6, #fdeccb); border-radius: 28px; padding: 64px 22px; }
.lp-cta h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 26px; font-weight: 600; }

/* --- footer --- */
.lp-footer { max-width: 1120px; margin: 64px auto 0; padding: 34px 22px 60px;
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.lp-footer-brand img { border-radius: 7px; }
.lp-footer-links { display: flex; gap: 22px; margin-left: auto; }
.lp-footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; }
.lp-footer-links a:hover { color: var(--ink); }
.lp-footer-legal { width: 100%; color: var(--ink-soft); font-size: 13px; margin: 6px 0 0; }

/* --- responsive --- */
@media (max-width: 860px) {
  .lp-nav-links { display: none; }
  .lp-hero { grid-template-columns: 1fr; padding-top: 36px; }
  .lp-hero h1 { font-size: 31px; line-height: 1.12; }
  .lp-hero-br { display: none; }
  .lp-eyebrow { letter-spacing: .1em; font-size: 11px; }
  .lp-lead { font-size: 16.5px; }
  .lp-hero-art { min-height: 360px; order: 2; }
  .lp-phone { width: 220px; }
  .lp-phone-front { transform: translateX(-42px) rotate(-4deg); }
  .lp-phone-back { width: 205px; transform: translateX(58px) translateY(-14px) rotate(5deg); }
  .lp-steps { grid-template-columns: 1fr; gap: 48px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-twin blockquote { font-size: 25px; }
  .lp-twin-inner { padding: 72px 22px; }
  .lp-footer-links { margin-left: 0; }
}
