/* Happy Couple — shared styles
   Warm, single-theme identity taken from the app: cream ground, teal + coral
   from the budget-ring icon, warm ink for text. */

:root {
  --cream:      #F4ECE1;
  --cream-deep: #ECE1D1;
  --card:       #FFFFFF;
  --teal:       #3E9B9B;
  --teal-deep:  #2E7A7A;
  --coral:      #EE7A57;
  --coral-deep: #DD6042;
  --ink:        #37312B;
  --muted:      #8B8177;
  --line:       #E7DBCA;
  --shadow:     0 18px 40px -24px rgba(55, 49, 43, 0.35);

  --wrap: 1040px;
  --read: 720px;

  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

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

/* ---- Top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 236, 225, 0.85);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 8px -3px rgba(55,49,43,.4); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--teal-deep); text-decoration: none; }
@media (max-width: 560px) {
  .nav { gap: 18px; }
  .nav a.hide-sm { display: none; }
}

/* ---- Hero ---- */
.hero { padding: 76px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 820px) {
  .hero { padding: 52px 0 44px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-art { order: -1; }
}

.pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(62, 155, 155, 0.12);
  border: 1px solid rgba(62, 155, 155, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--coral-deep); }
.hero .lede { font-size: 1.18rem; color: var(--muted); margin: 0 0 30px; max-width: 30ch; }
@media (max-width: 820px) { .hero .lede { margin-left: auto; margin-right: auto; } }

.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(320px, 78%);
  border-radius: 30%;
  box-shadow: var(--shadow);
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 820px) { .cta-row { justify-content: center; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -12px var(--coral-deep); }
.btn-primary:hover { background: var(--coral-deep); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); text-decoration: none; }

/* ---- Section scaffolding ---- */
section { padding: 56px 0; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--teal-deep); margin: 0 0 10px;
}
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.015em; margin: 0 0 12px; text-wrap: balance; }
.section-intro { color: var(--muted); max-width: 56ch; margin: 0 0 40px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---- Feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 10px 28px -22px rgba(55,49,43,.4);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; font-size: 22px;
  margin-bottom: 16px;
  background: rgba(62,155,155,0.12);
}
.card:nth-child(even) .ic { background: rgba(238,122,87,0.14); }
.card h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 4px; }
.step .num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 17px;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---- Band (privacy highlight) ---- */
.band { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 780px) { .band .inner { grid-template-columns: 1fr; } }
.band ul { margin: 0; padding-left: 20px; color: var(--muted); }
.band li { margin-bottom: 8px; }
.band li strong { color: var(--ink); font-weight: 600; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--cream); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand { font-size: 16px; }
.footer .flinks { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .flinks a { color: var(--muted); font-size: 14px; }
.footer .flinks a:hover { color: var(--teal-deep); }
.footer .copy { color: var(--muted); font-size: 13px; width: 100%; }

/* ---- Legal (privacy / terms) ---- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: var(--read); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 0.95rem; margin: 0 0 8px; }
.legal .intro { color: var(--ink); font-size: 1.05rem; margin: 20px 0 8px; }
.legal h2 {
  font-size: 1.28rem; font-weight: 700; letter-spacing: -0.01em;
  margin: 40px 0 12px; padding-top: 12px;
}
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: #4a433c; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { font-weight: 500; }
.legal .callout {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; color: #4a433c;
}
.legal .toc {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; margin: 28px 0 8px;
}
.legal .toc strong { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }
.legal .toc li { margin-bottom: 6px; }
.back-home { display: inline-block; margin-bottom: 24px; font-weight: 500; font-size: 14px; }
