/* My Better Half AI — marketing + legal site.
   Mirrors the app's V3 cream/copper theme (Fraunces + Inter). */
:root {
  --bg: #f1ead7;
  --bg-deep: #e3dac0;
  --surface-warm: #efe8d7;
  --card: #ffffff;
  --copper-1: #dcb195;
  --copper-2: #c89878;
  --copper-3: #a87555;
  --copper-grad: linear-gradient(180deg, #dcb195 0%, #c89878 52%, #a87555 100%);
  --rose: #b8825c;
  --ink: #252b1b;
  --espresso: #2b2520;
  --ink-soft: #5a604a;
  --ink-mute: #8a8d76;
  --taupe-screen: #a99c88;
  --taupe-deep: #6b5e4f;
  --line: #d5cdb9;
  --shadow: 0 24px 60px rgba(40, 46, 20, 0.18);
  --shadow-sm: 0 4px 16px rgba(40, 46, 20, 0.08);
  --copper-glow: 0 14px 30px rgba(168, 117, 85, 0.34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.serif { font-family: "Fraunces", Georgia, serif; }
.accent { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--rose); font-weight: 600; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--copper-3);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease; letter-spacing: 0.2px;
}
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: var(--copper-grad); color: #fff; box-shadow: var(--copper-glow); }
.btn-copper:hover { box-shadow: 0 18px 38px rgba(168, 117, 85, 0.42); }
.btn-ghost { background: rgba(255, 255, 255, 0.6); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---- header ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 234, 215, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(213, 205, 185, 0.6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .mark { font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; color: var(--copper-3); letter-spacing: 0.3px; }
.brand .sub { font-size: 8px; letter-spacing: 2.6px; color: var(--ink-mute); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.nav-links a.link:hover { color: var(--ink); }
.nav-cta { padding: 10px 20px; font-size: 14px; }
@media (max-width: 860px) { .nav-links .link { display: none; } }

/* ---- hero ---- */
.hero { position: relative; padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-family: "Fraunces", serif; font-weight: 600; font-size: 56px; line-height: 1.04; letter-spacing: -0.3px; margin: 16px 0 0; }
.hero .sub { font-size: 18px; color: var(--ink-soft); margin-top: 20px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .trial { font-size: 13.5px; color: var(--ink-mute); margin-top: 16px; }
.hero-media { position: relative; }
.hero-media .photo {
  width: 100%; border-radius: 28px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border: 6px solid #fff;
}
.hero-media .glow {
  position: absolute; inset: -8% -6% -6% 8%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 70% 30%, rgba(200, 152, 120, 0.5), transparent 70%);
  filter: blur(20px);
}
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-sm); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #58af6e; box-shadow: 0 0 0 4px rgba(88, 175, 110, 0.18); }
.hero-badge span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* ---- value strip ---- */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-warm); }
.values-row { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 0; justify-content: center; }
.values-row .v { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.values-row .v svg { width: 15px; height: 15px; color: var(--copper-3); flex: none; }

/* ---- sections ---- */
section.band { padding: 84px 0; }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-family: "Fraunces", serif; font-weight: 600; font-size: 40px; line-height: 1.1; margin-top: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow-sm);
}
.feature .ic {
  width: 46px; height: 46px; border-radius: 14px; background: var(--copper-grad);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--copper-glow);
}
.feature .ic svg { width: 22px; height: 22px; color: #fff; }
.feature h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 21px; margin: 18px 0 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* showcase */
.showcase { background: var(--bg-deep); }
.showcase-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.showcase-grid figure { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.showcase-grid img { width: 100%; height: 100%; object-fit: cover; }
.showcase-grid .tall { grid-row: span 2; }
.showcase-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 14px;
  background: linear-gradient(0deg, rgba(20, 12, 6, 0.66), transparent);
  color: #fff; font-size: 14px; font-weight: 500;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: left; }
.step .num { font-family: "Fraunces", serif; font-style: italic; font-size: 40px; color: var(--copper-2); line-height: 1; }
.step h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 22px; margin: 12px 0 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* companion gallery */
.gallery { background: var(--surface-warm); }
.gallery-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip img {
  width: 150px; height: 200px; flex: none; border-radius: 18px; object-fit: cover;
  box-shadow: var(--shadow-sm); border: 3px solid #fff;
}

/* phone mockups — real app screenshots in a device frame */
.phone-strip { display: flex; gap: 26px; overflow-x: auto; padding: 8px 4px 28px; scrollbar-width: none; }
.phone-strip::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .phone-strip { justify-content: center; flex-wrap: wrap; row-gap: 36px; } }
.phone-card { flex: none; width: 230px; text-align: center; }
.phone { background: #15130f; border-radius: 40px; padding: 8px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.06); position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); z-index: 2; }
.phone img { width: 100%; display: block; border-radius: 32px; }
.phone-card figcaption { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; margin-top: 14px; }

/* pricing */
.price-card {
  max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: 38px 34px; box-shadow: var(--shadow); text-align: center;
}
.price-card .tag { display: inline-block; background: var(--surface-warm); color: var(--copper-3); font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.price-card .amount { font-family: "Fraunces", serif; font-weight: 700; font-size: 60px; line-height: 1; margin: 18px 0 6px; }
.price-card .amount small { font-size: 18px; font-weight: 500; color: var(--ink-mute); font-family: "Inter", sans-serif; }
.price-card .per { color: var(--ink-soft); font-size: 14.5px; }
.price-card ul { list-style: none; text-align: left; margin: 26px 0; display: grid; gap: 13px; }
.price-card li { display: flex; gap: 11px; font-size: 15px; color: var(--ink); }
.price-card li svg { width: 19px; height: 19px; color: var(--copper-3); flex: none; margin-top: 2px; }
.price-card .btn { width: 100%; }

/* final CTA */
.cta-band { background: linear-gradient(160deg, #b89572, #6b5e4f); color: #fff; text-align: center; }
.cta-band h2 { font-family: "Fraunces", serif; font-weight: 600; font-size: 42px; line-height: 1.1; max-width: 640px; margin: 0 auto; }
.cta-band p { color: rgba(255, 255, 255, 0.82); font-size: 17px; margin: 16px auto 28px; max-width: 460px; }
.cta-band .btn-copper { background: #fff; color: var(--copper-3); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }

/* download badges */
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: #1c1a17; color: #fff;
  padding: 12px 20px; border-radius: 14px; transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.is-soon { cursor: default; opacity: 0.96; }
.store-badge.is-soon:hover { transform: none; }
.store-badge .ribbon {
  position: absolute; top: -9px; right: -9px; background: var(--copper-grad); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.6px; padding: 3px 8px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .t { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .t small { font-size: 10px; opacity: 0.8; letter-spacing: 0.4px; }
.store-badge .t b { font-size: 17px; font-weight: 600; }
.soon { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--ink-mute); }
.soon b { color: var(--copper-3); }

/* footer */
footer.foot { background: var(--espresso); color: #d9d2c4; padding: 56px 0 36px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer .mark { font-family: "Fraunces", serif; font-weight: 700; font-size: 24px; color: #e7c8a8; }
footer .tagline { max-width: 360px; margin-top: 12px; font-size: 14px; color: #aaa08f; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #8d8474; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14.5px; color: #d9d2c4; margin-bottom: 10px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px; font-size: 12.5px; color: #8d8474; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* legal pages */
.legal-hero { padding: 56px 0 24px; }
.legal-hero h1 { font-family: "Fraunces", serif; font-weight: 600; font-size: 42px; }
.legal-hero .upd { color: var(--ink-mute); font-size: 14px; margin-top: 10px; }
.legal { max-width: 760px; margin: 0 auto 80px; }
.legal .intro { font-size: 16.5px; color: var(--ink-soft); }
.legal h2 { font-family: "Fraunces", serif; font-weight: 600; font-size: 24px; margin: 38px 0 12px; color: var(--ink); }
.legal h2:first-of-type { margin-top: 26px; }
.legal p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink); }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin-bottom: 9px; font-size: 15.5px; }
.legal strong { color: var(--espresso); }
.legal .note { background: var(--surface-warm); border: 1px solid var(--line); border-left: 3px solid var(--copper-2); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-soft); margin: 8px 0 28px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--copper-3); font-weight: 600; font-size: 14px; margin-top: 30px; }

/* responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 44px 0 24px; }
  .hero h1 { font-size: 42px; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid .tall { grid-row: span 1; grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  section.band { padding: 60px 0; }
  .section-head h2, .cta-band h2 { font-size: 32px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 36px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-grid .tall { grid-column: span 1; }
}
