/* ============================================================
   SOP landing page
   Fonts: Playfair Display (headings/body), Play (stat numbers)
   ============================================================ */

:root {
  --cream: #fef4ea;
  --border: #fad7d4;
  --red: #e8352a;
  --navy: #141048;
  --navy-2: #43406d;
  --ink: #0a0824;
  --black: #020207;
  --gray: #8e8e93;
  --pink: #f6aeaa;
  --max: 1368px;
  --pad: 72px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  padding: 16px 24px;
  border-radius: 16px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .arrow { font-size: .9em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(232,53,42,.25); }
.btn-primary:hover { background: #d12d23; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Store badges ---------- */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  padding: 9px 16px;
  background: transparent;
  transition: background .15s ease, color .15s ease;
}
.store-badge svg { width: 22px; height: 22px; fill: var(--ink); flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.store-badge strong { font-size: 1.05rem; font-weight: 600; }
.store-badge:hover { background: var(--ink); color: #fff; }
.store-badge:hover svg { fill: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow { margin: 0; font-size: 1.5rem; color: var(--navy-2); }
.eyebrow-mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.eyebrow-mark::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  bottom: 4px;
  height: 12px;
  background: var(--pink);
  z-index: -1;
  border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.site-footer .logo img { height: 54px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--gray);
  padding: 8px 12px;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, .2);
  pointer-events: none;
}
.ring::before, .ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, .2);
}
.ring-left {
  width: 720px; height: 720px;
  left: -360px; bottom: -300px;
}
.ring-left::before { inset: 60px; }
.ring-left::after { inset: 130px; }
.ring-right {
  width: 720px; height: 720px;
  right: -360px; top: -360px;
}
.ring-right::before { inset: 60px; }
.ring-right::after { inset: 130px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-weight: 500;
  font-size: 3.75rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 18px 0 24px;
}
.lede {
  font-size: 1.4rem;
  line-height: 1.55;
  color: var(--navy-2);
  font-weight: 500;
  margin: 0 0 32px;
  max-width: 38ch;
}

.hero-copy .store-badges { margin-bottom: 44px; }

/* Stats */
.stats {
  display: flex;
  gap: 36px;
  margin: 0;
  flex-wrap: wrap;
}
.stat dt {
  font-family: 'Play', sans-serif;
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.1;
  color: var(--navy);
}
.stat dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy-2);
  max-width: 14ch;
}

/* Hero art */
.hero-art {
  position: relative;
  min-height: 560px;
}
.photo {
  position: absolute;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(20,16,72,.18);
}
.photo-man {
  width: 58%; aspect-ratio: 362/464;
  left: 8%; top: 0;
  background-color: #e98a3d;
  background-image: url("images/hero-man.jpg");
}
.photo-woman {
  width: 58%; aspect-ratio: 362/464;
  right: 0; bottom: 0;
  background-color: #e86fa0;
  background-image: url("images/hero-woman.jpg");
}

.bubble {
  position: absolute;
  font-weight: 700;
  font-family: 'Play', sans-serif;
  padding: 12px 22px;
  border-radius: 22px;
  font-size: 1.25rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.bubble-love { background: var(--red); color: #fff; }
.bubble-love span { color: #fff; }
.bubble-me { background: #ffd9d6; color: var(--red); }

.hero-art > .bubble-love { right: -2%; top: 6%; }
.hero-art > .bubble-me  { right: 18%; top: 20%; }

.lovebirds {
  position: absolute;
  left: 38%; bottom: 6%;
  font-size: 3rem;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.12));
}
.float-heart { position: absolute; color: var(--red); font-size: 1.5rem; }
.float-heart.h1 { left: 44%; top: 26%; font-size: 1.1rem; }
.float-heart.h2 { right: 26%; top: 8%; }

/* ============================================================
   HOW IT WORKS (dark)
   ============================================================ */
.how { background: #050510; color: #fff; padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head .eyebrow { color: #cfcde6; margin-bottom: 12px; }
.eyebrow-mark-pink::after { background: var(--pink); opacity: .85; }
.section-head h2 {
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.section-head-light h2 { color: #fff; }
.section-head .sub { font-size: 1.4rem; color: #9b98b8; margin: 0 auto; max-width: 36ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step { text-align: center; }
.step-icon {
  width: 160px; height: 116px;
  margin: 0 auto 28px;
  background: #0f0d28;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.step h3 { font-weight: 500; font-size: 1.6rem; color: var(--red); margin: 0 0 14px; }
.step p { color: #b6b4cc; font-size: 1.1rem; line-height: 1.6; max-width: 32ch; margin: 0 auto; }

/* ============================================================
   FOR YOU / PHONE
   ============================================================ */
.foryou { background: #fff; padding: 100px 0; }
.foryou-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.foryou-copy h2 { font-weight: 500; font-size: 2.75rem; margin: 14px 0 20px; letter-spacing: -.01em; }
.foryou-copy .lede { color: var(--navy-2); }
.trust { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; color: var(--navy-2); margin: 0 0 30px; }
.avatars { display: inline-flex; }
.avatars i {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg,#f6aeaa,#e8352a);
}
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2){ background: linear-gradient(135deg,#76b9ed,#2a7ebf); }
.avatars i:nth-child(3){ background: linear-gradient(135deg,#ffd9a0,#e98a3d); }
.avatars i:nth-child(4){ background: linear-gradient(135deg,#c5a3ff,#7a4fd1); }

.phone-wrap { display: grid; place-items: center; }
.phone {
  width: 320px;
  background: #050510;
  border-radius: 44px;
  padding: 16px;
  box-shadow: 0 30px 70px rgba(20,16,72,.3);
  position: relative;
}
.phone-notch {
  width: 130px; height: 26px;
  background: #050510;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.phone-screen {
  background: #0a0820;
  border-radius: 32px;
  padding: 40px 26px 26px;
  color: #fff;
  text-align: center;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-logo {
  font-family: 'Play', sans-serif; font-weight: 700;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 2px #fff;
  margin-bottom: 28px;
}
.phone-screen h3 { font-weight: 500; font-size: 1.8rem; margin: 0 0 10px; }
.phone-screen p { color: #9b98b8; font-size: 1rem; margin: 0 0 30px; }
.phone-bubbles { position: relative; flex: 1; width: 100%; }
.phone-bubbles .bubble-love { position: absolute; left: 18%; top: 30%; }
.phone-bubbles .bubble-me { position: absolute; right: 16%; top: 52%; }
.phone-cta { width: 100%; margin-top: auto; font-size: 1.1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--cream); padding: 100px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.testi-copy h2 { font-weight: 500; font-size: 2.6rem; line-height: 1.25; margin: 14px 0 18px; }
.testi-copy .lede { color: var(--navy-2); }
.testi-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.testi-cards { position: relative; min-height: 460px; }
.testi-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(20,16,72,.12);
}
.testi-cards .testi-card:first-child { position: relative; z-index: 3; max-width: 360px; }
.photo-testi {
  position: relative;
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px;
  background-color: #e98a3d;
  background-image: url("images/testimonial.jpg");
}
.testi-card blockquote {
  margin: 16px 0 12px;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy-2);
}
.stars { color: #ffc74f; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.name { font-weight: 600; color: var(--navy); }
.verified { color: #2a7ebf; }
.meta { font-size: .85rem; color: var(--gray); }

.testi-peek {
  position: absolute;
  top: 30px;
  width: 300px; height: 400px;
  background: #f1ece6;
  z-index: 2;
}
.testi-peek { right: 40px; }
.testi-peek-2 { right: 0; top: 50px; z-index: 1; background: #e7e1da; }

/* ============================================================
   SWIPE LEFT banner
   ============================================================ */
.swipe {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, #f3ede6 0 60px, #ece4db 60px 120px);
  overflow: hidden;
}
.swipe-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(254,244,234,.35), rgba(254,244,234,.85));
}
.swipe-text {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 7rem);
  margin: 0;
  color: var(--navy);
  letter-spacing: -.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--cream); padding: 90px 0 40px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 24px; }
.join { color: var(--navy-2); margin: 0 0 8px; }
.footer-brand h2 { font-weight: 500; font-size: 2.6rem; line-height: 1.2; margin: 0; }
.footer-cta p { font-size: 1.2rem; color: var(--navy-2); line-height: 1.6; margin: 0 0 24px; max-width: 40ch; }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; }
.socials-title { font-weight: 600; color: var(--navy); margin: 0 0 14px; }
.socials { display: flex; gap: 26px; flex-wrap: wrap; }
.socials a { color: var(--navy-2); transition: color .15s ease; }
.socials a:hover { color: var(--red); }
.copyright { margin: 26px 0 0; color: var(--gray); font-size: .9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .hero-copy h1 { font-size: 3rem; }
  .section-head h2, .foryou-copy h2, .testi-copy h2, .footer-brand h2 { font-size: 2.3rem; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; }

  .nav-links {
    position: absolute;
    top: 92px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; }
  .nav .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: 2.6rem; }
  .lede { margin-inline: auto; }
  .hero-copy .store-badges, .stats { justify-content: center; }
  .hero-art { min-height: 440px; max-width: 460px; margin: 0 auto; width: 100%; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .foryou-grid, .testi-grid, .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .foryou-copy, .testi-copy { text-align: center; }
  .foryou-copy .store-badges, .trust, .testi-actions { justify-content: center; }
  .trust { justify-content: center; }
  .testi-cards { max-width: 420px; margin: 0 auto; min-height: 480px; }
  .testi-peek, .testi-peek-2 { display: none; }
  .how, .foryou, .testimonials, .site-footer { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 2.1rem; }
  .stat dt { font-size: 2.6rem; }
  .stats { gap: 24px; }
  .section-head h2 { font-size: 1.9rem; }
  .store-badge strong { font-size: .95rem; }
}

/* ============================================================
   LEGAL PAGES (privacy, terms, deletion, sms)
   ============================================================ */
.legal-hero {
  background: #050510;
  color: #fff;
  text-align: center;
  padding: 80px 0 64px;
}
.legal-hero h1 {
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  margin: 0;
  letter-spacing: -.01em;
}
.legal-hero .accent { color: var(--red); }
.legal-hero .updated { color: #9b98b8; margin: 18px 0 0; font-size: 1rem; }

.legal { background: #fff; padding: 60px 0 90px; }
.legal .container { max-width: 860px; }
.legal .intro { font-size: 1.15rem; line-height: 1.7; color: #39364f; }
.legal h2 {
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--navy);
  margin: 46px 0 14px;
}
.legal h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal p, .legal li { font-size: 1.05rem; line-height: 1.7; color: #39364f; }
.legal ul { padding-left: 1.2rem; margin: 12px 0; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--red); text-decoration: underline; }
.legal strong { color: var(--navy); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.legal table { border-collapse: collapse; width: 100%; margin: 20px 0; }
.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  font-size: .98rem;
  line-height: 1.5;
  vertical-align: top;
}
.legal th { background: var(--cream); color: var(--navy); font-weight: 600; }

.legal .callout {
  background: #fff7f6;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}
.legal .callout p { margin: 0; }
.legal .uppercase { text-transform: uppercase; font-size: .92rem; letter-spacing: .01em; color: #55516e; }

.legal .related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.legal .related h2 { margin-top: 0; }
.legal .related-links { display: flex; flex-wrap: wrap; gap: 14px; }
.legal .related-links a {
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--navy);
  transition: background .15s ease, border-color .15s ease;
}
.legal .related-links a:hover { background: var(--cream); border-color: var(--red); }

.legal .contact-block {
  background: var(--cream);
  border-radius: 16px;
  padding: 22px 26px;
}
.legal .contact-block p { margin: 4px 0; }

/* Footer legal column */
.footer-legal { display: flex; flex-direction: column; gap: 10px; }
.footer-legal h3 { font-weight: 600; color: var(--navy); margin: 0 0 6px; font-size: 1.05rem; }
.footer-legal a { color: var(--navy-2); }
.footer-legal a:hover { color: var(--red); }

@media (max-width: 860px) {
  .legal-hero { padding: 56px 0 44px; }
  .legal { padding: 44px 0 70px; }
}

/* ============================================================
   LAUNCH STATE — SOP is live on Google Play; iOS not out yet.
   Hide only the App Store badges. Remove this rule once the
   iPhone app is live to reveal them.
   ============================================================ */
.store-badge-ios { display: none !important; }

/* Unresolved placeholder marker in legal docs — must be replaced before publishing */
.legal mark {
  background: #fff3cd;
  border: 1px dashed #d99a00;
  color: #6b4e00;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  font-size: .95rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 8px 0 36px;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.contact-card p { margin: 0 0 18px; font-size: 1rem; }
.contact-card .btn {
  font-size: 1rem;
  padding: 13px 18px;
  margin-top: auto;
  word-break: break-word;
  text-decoration: none;
}
.contact-card .fine { margin: 14px 0 0; font-size: .9rem; color: var(--gray); }
.contact-card .fine a { color: var(--navy-2); }
.contact-card-urgent { border-color: var(--red); border-width: 2px; }

/* Buttons inside .legal pages must keep their own colours
   (override the generic ".legal a { color: red }" link rule) */
.legal a.btn { text-decoration: none; }
.legal a.btn-primary { color: #fff; }
.legal a.btn-primary:hover { color: #fff; }
.legal a.btn-ghost { color: var(--navy); }
.legal a.btn-ghost:hover { color: #fff; }
