/* =========================================================
   Brenna — Homepage Variant B: Family-forward
   Leads with the emotional relief of staying connected.
   Same fixed brand tokens as Variant A; warmer register,
   rounder shapes, photography-led, more generous whitespace.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Public+Sans:wght@400;500;600;700&display=swap');

:root{
  --blue:   #3956C7;
  --sky:    #8DBBE5;
  --gold:   #F1DC90;
  --mauve:  #E48DE5;

  --paper:      #FDFBF6;
  --paper-warm: #FBF3EC;
  --paper-dim:  #F5EEE1;
  --ink:        #2B2730;
  --ink-soft:   #5E5A63;
  --line:       #E7DECF;
  --mauve-strong: color-mix(in srgb, var(--mauve) 65%, black); /* only where the real mauve (2.27:1 with white text) fails AA; darkened but still derived from the true brand hue */

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --step-1: clamp(.82rem, .79rem + .12vw, .9rem);
  --step0:  1rem;
  --step1:  clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  --step2:  clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
  --step3:  clamp(1.85rem, 1.5rem + 1.4vw, 2.6rem);
  --step4:  clamp(2.3rem, 1.7rem + 2.4vw, 3.4rem);
  --step5:  clamp(2.6rem, 1.9rem + 3.1vw, 4.1rem);

  --measure: 60ch;
  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.06rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{
  font-family:var(--serif);
  font-weight:500;
  line-height:1.1;
  margin:0 0 .45em;
  letter-spacing:-.01em;
}
h1{ font-size:var(--step5); }
h2{ font-size:var(--step3); }
h3{ font-size:var(--step1); font-weight:600; }

p{ margin:0 0 1em; color:var(--ink-soft); }
.measure{ max-width:var(--measure); }
a{ color:inherit; }
img,svg{ max-width:100%; display:block; }

:focus-visible{ outline:2.5px solid var(--mauve-strong); outline-offset:3px; }

.wrap{ max-width:var(--wrap); margin-inline:auto; padding-inline:28px; }
section{ padding-block:96px; }
@media (max-width:720px){ section{ padding-block:60px; } }

.section--tint{ background:var(--paper-warm); }
.section--mauve{ background:var(--mauve); color:#3B1E33; }
.section--mauve h2{ color:#3B1E33; }
.section--mauve p{ color:#5C3651; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  padding:.9em 1.7em;
  border-radius:100px;
  font-family:var(--sans); font-weight:600; font-size:var(--step0);
  text-decoration:none;
  border:1.5px solid transparent;
  cursor:pointer;
}
.btn--primary{ background:var(--mauve-strong); color:#fff; }
.btn--primary:hover{ background:color-mix(in srgb, var(--mauve-strong) 85%, black); }
.btn--ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); }
.btn--on-tint{ background:#fff; color:var(--mauve-strong); }
.btn--on-tint:hover{ background:#3B1E33; color:#fff; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:2em; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:rgba(253,251,246,.9);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding-block:16px; }
.wordmark{ display:inline-flex; align-items:center; text-decoration:none; }
.wordmark img{ height:26px; width:auto; display:block; }
.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ text-decoration:none; font-size:var(--step-1); font-weight:600; color:var(--ink-soft); }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-audience-link{ font-size:var(--step-1); font-weight:600; color:var(--mauve-strong); text-decoration:none; white-space:nowrap; }
@media (max-width:880px){
  .nav-links{ display:none; }
  .nav-audience-link{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ background:linear-gradient(180deg, var(--paper-warm), var(--paper) 70%); }
.hero .wrap{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
  padding-block:72px 56px;
}
.hero h1{ max-width:13ch; }
.hero .lede{ font-size:var(--step1); max-width:44ch; color:var(--ink-soft); }
@media (max-width:940px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:340px; margin-inline:auto; }
}

/* Phone-frame notification mockup */
.phone-frame{
  background:#fff; border-radius:34px; border:1px solid var(--line);
  box-shadow:0 30px 70px -26px rgba(60,40,55,.35);
  padding:14px; max-width:320px; margin-inline:auto; position:relative;
  transform:rotate(-2deg);
}
.phone-notch{ width:70px; height:6px; background:var(--line); border-radius:10px; margin:2px auto 14px; }
.notif-card{
  background:var(--paper); border:1px solid var(--line); border-radius:16px; padding:16px; margin-bottom:12px;
}
.notif-card__top{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.notif-dot{ width:10px; height:10px; border-radius:50%; background:var(--mauve-strong); flex-shrink:0; }
.notif-card__label{ font-size:.72rem; font-weight:700; color:var(--ink-soft); }
.notif-card__title{ font-weight:700; font-size:.92rem; margin-bottom:4px; }
.notif-card__body{ font-size:.85rem; color:var(--ink-soft); margin:0; }
.notif-photo{ width:100%; height:120px; border-radius:12px; margin-top:10px; background:linear-gradient(140deg, var(--gold), var(--mauve)); }

/* ---------- Persona routing ---------- */
.routing .wrap{ display:grid; grid-template-columns:1.3fr 1fr; gap:20px; }
.route-card{
  background:#fff; border:1px solid var(--line); border-radius:18px;
  padding:30px 32px; display:flex; align-items:center; justify-content:space-between; gap:20px;
  text-decoration:none; color:var(--ink);
}
.route-card:hover{ border-color:var(--mauve-strong); }
.route-card--primary{ background:var(--mauve-strong); border-color:var(--mauve-strong); color:#fff; }
.route-card--primary:hover{ background:color-mix(in srgb, var(--mauve-strong) 85%, black); }
.route-card__label{ font-size:.78rem; font-weight:700; opacity:.75; margin-bottom:4px; }
.route-card__title{ font-family:var(--serif); font-size:1.35rem; font-weight:600; }
.route-card__arrow{ font-size:1.6rem; flex-shrink:0; }
@media (max-width:780px){ .routing .wrap{ grid-template-columns:1fr; } }

/* ---------- Warm intro ---------- */
.intro .wrap{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center; }
@media (max-width:860px){ .intro .wrap{ grid-template-columns:1fr; } }

/* ---------- How it works (cards) ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:36px; }
@media (max-width:900px){ .steps-grid{ grid-template-columns:1fr; } }
.step-card{
  background:#fff; border:1px solid var(--line); border-radius:20px; padding:26px;
  box-shadow:0 18px 40px -26px rgba(60,40,55,.3);
}
.step-card .step__num{ font-family:var(--serif); font-size:1.8rem; color:var(--mauve-strong); margin-bottom:.2em; }
.step-card .photo-slot{ height:130px; margin-top:16px; }

/* ---------- Reassurance proof ---------- */
.proof-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; margin-top:24px; }
.proof-item .num{ font-family:var(--serif); font-size:var(--step4); font-weight:600; color:var(--mauve-strong); line-height:1; }
.proof-item .lab{ font-size:var(--step-1); color:var(--ink-soft); margin-top:10px; max-width:22ch; }
@media (max-width:900px){ .proof-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .proof-grid{ grid-template-columns:1fr; } }

/* ---------- Private by design ---------- */
.privacy-block{ text-align:center; max-width:680px; margin-inline:auto; }
.dot-diagram{ display:flex; justify-content:center; align-items:center; gap:18px; margin:32px 0; }
.dot-diagram .node{
  background:#fff; border-radius:100px; padding:10px 20px; font-weight:700; font-size:.85rem; color:#3B1E33;
}
.dot-diagram .line{ width:40px; height:2px; background:#3B1E33; opacity:.35; }
.dot-motif{ display:flex; justify-content:center; gap:8px; margin-bottom:18px; }
.dot-motif .big{ width:16px; height:16px; border-radius:50%; background:#3B1E33; }
.dot-motif .small{ width:10px; height:10px; border-radius:50%; background:#3B1E33; opacity:.5; margin-top:3px; }

/* ---------- Integrations (secondary, quiet) ---------- */
.integrations-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; justify-content:center; }
.integration-chip{
  font-family:var(--sans); font-weight:600; font-size:.82rem; color:var(--ink-soft);
  border:1px solid var(--line); border-radius:100px; padding:7px 15px; background:#fff;
}

/* ---------- Closing CTA ---------- */
.cta-band{ background:linear-gradient(120deg, var(--gold), var(--mauve)); text-align:center; }
.cta-band .wrap{ max-width:760px; }
.cta-band h2{ margin-inline:auto; }
.cta-band .btn-row{ justify-content:center; }

/* ---------- Footer ---------- */
footer{ border-top:1px solid var(--line); padding-block:48px; }
footer .wrap{ display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.footer-links{ display:flex; gap:24px; flex-wrap:wrap; list-style:none; padding:0; margin:0; }
.footer-links a{ text-decoration:none; color:var(--ink-soft); font-size:.9rem; font-weight:600; }
.footer-note{ font-size:.8rem; color:var(--ink-soft); margin-top:14px; }

/* ---------- Photo slot (placeholder until real photography is supplied) --- */
.photo-slot{
  position:relative; border-radius:14px; overflow:hidden;
  background:linear-gradient(150deg, var(--mauve) 0%, var(--gold) 100%);
  min-height:220px; display:flex; align-items:flex-end; padding:16px;
}
.photo-slot__cap{ background:rgba(43,39,48,.68); color:#fff; font-size:.72rem; padding:6px 10px; border-radius:5px; }

.eyebrow{ font-size:var(--step-1); font-weight:700; color:var(--mauve-strong); margin-bottom:.6em; display:block; }
