/* ============================================================
   sugar4.me · Homepage — "QUIET LUXE"
   Elegant editorial. Brand rose + champagne gold on warm ivory.
   Type: Montserrat (light display + headings) · Open Sans (body).
   Rectangular, hairline-fine, generous air. No build step.
   ============================================================ */

:root {
  --pink:      #d2447b;   /* refined brand rose */
  --pink-deep: #a81e57;   /* deep rose for ink-on-light accents */
  --pink-soft: #f4dde7;   /* pale rose wash */
  --gold:      #b8995f;   /* champagne — luxe hairlines & accents */
  --gold-deep: #9c7d44;
  --gold-soft: rgba(184,153,95,0.42);
  --ink:       #1a1417;   /* deep warm near-black */
  --ink-2:     #2a2228;
  --paper:     #fbf8f3;   /* warm ivory */
  --paper-2:   #f4ece0;   /* soft champagne-sand */
  --text:      #2c2429;
  --muted:     #8c8189;
  --line:      rgba(26, 20, 23, 0.11);
  --line-soft: rgba(26, 20, 23, 0.055);

  --font: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Montserrat", "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --btn-dark: #1a1417;

  --shell: 1240px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
/* 17px rem base — the rem/clamp type scale below grows with it proportionally,
   matching the logged-in app so the whole product reads at one comfortable size. */
/* App-feel mobile lock: no double-tap zoom, no horizontal pan/overscroll shift
   (pinch-zoom blocked by the viewport meta + the gesturestart handler in home.js,
   since iOS Safari ignores user-scalable=no). */
html { font-size: 106.25%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }

body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: clamp(1rem, 0.5vw + 0.92rem, 1.06rem);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* clip (not hidden) blocks horizontal pan without making body a scroll
     container — hidden forced overflow-y:auto and broke vertical scroll on mobile. */
  overflow-x: clip; overscroll-behavior-x: none; max-width: 100%;
}

.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 2; }

/* Type — light, airy, refined */
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; }
.display { font-family: var(--font-display); font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; }
h1.display { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.hl { color: var(--pink); font-weight: 400; }                 /* rose accent on the highlight */
.hl-gold { color: #fff; font-style: italic; font-weight: 400; }
.sec-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.15rem, 4.8vw, 3.9rem); line-height: 1.08; letter-spacing: -0.02em; }
a { color: var(--pink-deep); text-decoration: none; }
::selection { background: var(--pink); color: #fff; }
img { max-width: 100%; display: block; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kicker { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin: 0 0 1.1rem; }
.kicker-gold { color: var(--gold); }

/* Buttons — rectangular, refined, wide-tracked */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; padding: 1.1rem 2.5rem;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .35s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap; }
.btn-sm { padding: 0.72rem 1.6rem; font-size: 0.72rem; }
.btn-lg { padding: 1.25rem 3.2rem; font-size: 0.86rem; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--pink); color: #fff; border-color: var(--pink); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(168,30,87,0.6); }
.btn-outline { background: transparent; color: var(--btn-dark); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-onpink { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-onpink:hover { background: #fff; color: var(--pink-deep); }
.btn-ondark { background: transparent; color: #fff; border-color: var(--gold); }
.btn-ondark:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-glass { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-glass:hover { background: #fff; color: var(--pink-deep); transform: translateY(-2px); }

/* Issue bar — anthracite ribbon, gold-lettered (was hot pink) */
.issuebar { background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 500; font-size: 0.64rem;
  letter-spacing: 0.34em; text-transform: uppercase; display: flex; flex-wrap: nowrap; gap: 1rem; justify-content: center; align-items: center;
  padding: 0.5rem 1rem; position: relative; z-index: 3; white-space: nowrap; overflow: hidden; }
.issuebar span { white-space: nowrap; }
.issuebar .dot { color: var(--gold); }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px) saturate(120%); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; gap: 1.75rem; min-height: clamp(90px, 9vw, 120px); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: clamp(200px, 24vw, 300px); height: auto; }  /* logo untouched */
.nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.menu-extra { display: none; }  /* shown only inside the mobile menu */
.nav-menu a { font-family: var(--font-head); color: var(--text); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; position: relative; padding-block: 0.4rem; transition: color .3s var(--ease); }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after { width: 100%; }
.masthead-actions { display: flex; align-items: center; gap: 1.6rem; }
.login-link { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 600; color: var(--text); transition: color .3s var(--ease); }
.login-link:hover { color: var(--pink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; -webkit-tap-highlight-color: transparent; }
.bar, .bar::before, .bar::after { content: ""; position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink); transition: .3s; }
.bar { top: 21px; } .bar::before { top: -7px; } .bar::after { top: 7px; }

/* HERO — couple photo as the editorial cover (full-bleed, gradient masks text side) */
.hero { position: relative; overflow: hidden; min-height: clamp(520px, 66vh, 720px); display: flex; align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; opacity: 1; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Magazine-cover scrim: opaque paper over the left text column, fades to
     transparent so the photo carries the right half. */
  background: linear-gradient(96deg,
    var(--paper) 0%,
    var(--paper) 36%,
    color-mix(in srgb, var(--paper) 70%, transparent) 56%,
    transparent 82%);
}
.hero-inner { position: relative; z-index: 2; max-width: 38rem; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; width: 100%; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 0.34em; font-size: 0.7rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 1.6rem; }
.eyebrow .tick { color: var(--gold); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.25rem); color: var(--text); max-width: 44ch; margin: 1.7rem 0 0; line-height: 1.75; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.2rem; }

/* Hero audience-choice tiles */
.hero-choices { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.4rem; max-width: 560px; }
.choice { flex: 1 1 0; min-width: 215px; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center; gap: 0.25rem;
  padding: 1.3rem 1.6rem; min-height: 104px; border: 1px solid var(--ink); border-radius: 20px; color: #fff; text-decoration: none;
  background-repeat: no-repeat; background-position: left center; background-size: 0% 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-size .55s var(--ease); }
.choice-over { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.6rem; font-weight: 600; opacity: 0.72; }
.choice-main { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: 0.02em; line-height: 1; }
.choice-arrow { position: absolute; top: 0.85rem; right: 1.1rem; font-size: 1.1rem; color: var(--gold); transition: transform .35s var(--ease); }
.choice:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(26,20,23,0.55); z-index: 1; background-size: 100% 100%; }
.choice:hover .choice-arrow { transform: translateX(6px); color: #fff; }
.choice-daddy { background-color: var(--ink); border-color: var(--ink); border-top: 2px solid var(--gold); background-image: linear-gradient(var(--ink-2), var(--ink-2)); }
.choice-baby { background-color: var(--pink); border-color: var(--pink); border-top: 2px solid var(--gold); background-image: linear-gradient(var(--pink-deep), var(--pink-deep)); }

/* Verified profiles */
.hero-proof { display: flex; align-items: center; gap: 0.85rem; margin-top: 2.4rem; flex-wrap: wrap; }
.avatars { display: inline-flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -14px; box-shadow: 0 2px 10px -2px rgba(26,20,23,0.35), 0 0 0 1px var(--line); }
.avatars img:first-child { margin-left: 0; }
.vstack-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; font-weight: 600; color: var(--ink); }
.vstack-label b { color: var(--gold-deep); }
.proof-dot { color: var(--gold); font-weight: 700; }

/* MARQUEE — refined ink ribbon with gold separators (was hot pink) */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 1px solid var(--gold-soft); }
.marquee-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: scroll 42s linear infinite;
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase; font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  letter-spacing: 0.28em; padding: 0.85rem 0; }
.marquee-track span { padding-right: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Social-proof stats band — light champagne, editorial numbers */
.stats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
  padding-block: clamp(2.1rem, 4vw, 3.1rem); text-align: center; }
.stat { position: relative; padding-inline: 0.5rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56%; background: var(--line); }
.stat-n { display: block; font-family: var(--font-display); font-weight: 300; line-height: 1;
  font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; color: var(--pink-deep); }
.stat-star { color: var(--gold); font-size: 0.6em; vertical-align: 0.18em; margin-left: 0.06em; }
.stat-l { display: block; margin-top: 0.6rem; font-family: var(--font-head); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.7rem; }
  .stat:nth-child(odd)::before { display: none; }   /* no divider at row start */
}

/* SEO intro — heading left, prose right (collapses on mobile) */
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.intro-grid .sec-head { margin-bottom: 0; }
.intro-body .prose + .prose { margin-top: 1.1rem; }
.intro-body .prose a { color: var(--pink-deep); border-bottom: 1px solid var(--gold-soft); }
.intro-body .prose a:hover { color: var(--pink); border-bottom-color: var(--pink); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* WHY — trust/benefit cards (gold-hairline, editorial restraint) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 2vw, 1.4rem); }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.why-card::before { content: ""; display: block; width: 2rem; height: 2px; margin-bottom: 1.15rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.why-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* TESTIMONIALS — quiet quote cards with a champagne quote mark */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 2vw, 1.4rem); }
.quote { position: relative; margin: 0; background: var(--paper-2); border-radius: 20px; padding: clamp(1.7rem, 2.8vw, 2.3rem); }
.quote::before { content: "\201C"; position: absolute; top: 0.2rem; left: 1.1rem; font-family: var(--font-display); font-weight: 300;
  font-size: 4.5rem; line-height: 1; color: var(--gold-soft); }
.quote blockquote { position: relative; z-index: 1; margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink-2); }
.quote figcaption { margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 860px) { .quotes-grid { grid-template-columns: 1fr; } }

/* Cities link strip sits above Popular guides — a hairline keeps them distinct */
.cities-strip { border-bottom: 1px solid var(--line-soft); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(2.5rem, 4.5vw, 4rem); }

/* HOW — modern step cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.9rem, 2vw, 1.3rem); }
.step { display: block; padding: clamp(1.6rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 20px 44px -30px rgba(26,20,23,0.18); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -28px rgba(168,30,87,0.26); }
.step-no { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; -webkit-text-stroke: 0; text-stroke: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; margin-bottom: 1.1rem; box-shadow: 0 14px 26px -12px rgba(168,30,87,0.5); }
.step-body h3 { font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.step-body p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* AUDIENCE — rounded split cards */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 2vw, 1.3rem); max-width: var(--shell); margin-inline: auto; margin-block: clamp(2.5rem, 6vw, 5rem); padding-inline: var(--pad); }
.aud { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.75rem, 4vw, 3.5rem); min-height: clamp(360px, 40vw, 480px); display: flex; align-items: center; }
.aud-her { background: var(--pink); color: #fff; }
.aud-him { background: var(--ink); color: #fff; }
.aud-ghost { position: absolute; right: -0.5vw; bottom: -6vw; font-family: var(--font-head); font-weight: 200; font-size: clamp(9rem, 24vw, 22rem);
  line-height: 0.7; color: rgba(255,255,255,0.08); letter-spacing: -0.04em; pointer-events: none; }
.aud-him .aud-ghost { color: rgba(184,153,95,0.16); }
.aud-inner { position: relative; z-index: 2; max-width: 34rem; }
.aud-her .kicker { color: rgba(255,255,255,0.9); }
.aud-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1rem; }
.aud p { color: rgba(255,255,255,0.82); max-width: 40ch; margin: 0 0 1.8rem; }
.aud .btn { margin-top: 0.3rem; }

/* SAFETY */
.safety-grid { display: grid; grid-template-columns: 0.5fr 1fr; gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.safety-label { display: flex; flex-direction: column; gap: 1.1rem; }
.rule-gold { height: 1px; width: 100%; background: var(--gold); }
.prose { color: var(--muted); max-width: 58ch; margin: 1.2rem 0 0; font-size: 1.08rem; line-height: 1.8; }
.prose strong { color: var(--ink); font-weight: 600; }
.link-underline { color: var(--pink-deep); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.link-underline:hover { color: var(--pink); border-color: var(--pink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.55fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq-head .sec-title { line-height: 1.02; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 0.7rem; overflow: hidden;
  box-shadow: 0 12px 30px -24px rgba(26,20,23,0.16); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: 0 20px 40px -26px rgba(168,30,87,0.22); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 3rem 1.25rem 1.3rem; position: relative; display: flex; gap: 1.1rem; align-items: baseline;
  font-family: var(--font-head); font-size: clamp(1.02rem, 1.6vw, 1.22rem); font-weight: 600; color: var(--ink); transition: color .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.q-no { font-size: 0.72rem; font-weight: 600; color: var(--gold-deep); letter-spacing: 0.12em; flex: none; }
.faq summary:hover { color: var(--pink); }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-family: var(--font); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--pink); }
.faq details p { color: var(--muted); margin: 0 1.3rem 1.4rem 2.7rem; max-width: 60ch; animation: fade .5s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }

/* CLOSER */
.closer { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--pink) 0%, var(--pink-deep) 68%, #7d1542 100%); color: #fff;
  text-align: center; padding: clamp(4.5rem, 10vw, 8.5rem) 0; border-top: 1px solid var(--gold-soft); }
.closer::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.closer-watermark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 200;
  font-size: 30vw; line-height: 1; color: rgba(255,255,255,0.07); letter-spacing: -0.04em; pointer-events: none; }
.closer-inner { position: relative; z-index: 2; }
.closer-title { font-size: clamp(2.5rem, 6.5vw, 5rem); margin: 0.5rem 0 0; }
.closer .btn { margin-top: 2.6rem; }
.closer-fine { margin-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: 500; }

/* Footer */
.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; background: var(--ink); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-tag { color: rgba(255,255,255,0.62); font-size: 0.92rem; margin: 1.1rem 0 0; max-width: 24rem; line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-h { font-family: var(--font-head); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.9rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-fine { color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.04em; margin: 0; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* Responsive */
@media (max-width: 900px) {
  /* Mobile/tablet: the photo recedes to a real backdrop. Full-bleed
     behind the text at ~45% opacity, with the lightest possible paper
     wash so the headline stays crisp. The couple is present as warmth
     and mood rather than subject — narrow viewports crop the subject
     anyway, so the photo's job here is atmosphere, not portraiture. */
  .hero {
    min-height: 0;
    padding: clamp(2.6rem, 8vw, 4.5rem) 0;
  }
  .hero-bg {
    opacity: 0.45;
    object-position: 60% 26%;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--paper) 86%, transparent) 0%,
      color-mix(in srgb, var(--paper) 64%, transparent) 38%,
      color-mix(in srgb, var(--paper) 78%, transparent) 75%,
      color-mix(in srgb, var(--paper) 92%, transparent) 100%);
  }
  .hero-inner { max-width: 100%; }
  .audience { grid-template-columns: 1fr; }
  .safety-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .issuebar { font-size: 0.54rem; gap: 0.6rem; letter-spacing: 0.22em; }
  .masthead-inner { min-height: 66px; gap: 0.75rem; }
  .brand-logo { width: clamp(150px, 46vw, 200px); }
  .nav { flex: 0; }
  .masthead-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .menu-extra { display: list-item; }
  .menu-cta a { color: var(--pink-deep); font-weight: 600; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(26,20,23,0.25); padding: 0.5rem var(--pad) 1.25rem; transform: translateY(-150%); transition: transform .45s var(--ease); visibility: hidden; }
  .nav-menu li { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-menu a { font-size: 0.95rem; display: block; letter-spacing: 0.14em; }
  .nav-menu .menu-lang { display: flex; gap: 1.6rem; }
  .nav-menu .menu-lang a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.8rem; letter-spacing: 0.14em; color: var(--muted); }
  .nav-menu .menu-lang a:hover { color: var(--pink); }
  .nav[data-open="true"] .nav-menu { transform: none; visibility: visible; }
  .hero { min-height: 0; }
  .lead { max-width: none; }
  .cta-row { flex-direction: column; gap: 0.7rem; }
  .cta-row .btn { width: 100%; }
  .hero-choices { max-width: 100%; }
  .choice { flex: 1 1 100%; }
  .step { grid-template-columns: auto 1fr; gap: 1rem; }
  .step-no { font-size: 2.6rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 430px) {
  :root { --pad: 1.1rem; }
  .issuebar { gap: 0.4rem; letter-spacing: 0.18em; }
  .issuebar .dot:nth-of-type(n+2) { display: none; }
  h1.display { font-size: clamp(2.4rem, 11vw, 3.1rem); }
  .lead { font-size: 1.02rem; }
  .btn { padding: 1rem 1.6rem; font-size: 0.74rem; letter-spacing: 0.13em; white-space: normal; text-align: center; }
  .marquee-track { font-size: 0.85rem; }
  .aud { min-height: 320px; }
  .aud-ghost { font-size: 40vw; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .closer-watermark { font-size: 46vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Blazor error UI (style.css not loaded on this lean layout) */
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 0.9rem 1.2rem; font-family: var(--font); font-size: 0.9rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3); }
#blazor-error-ui .reload { color: var(--pink); text-decoration: underline; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

/* Popular-guides internal-link strip */
.guide-strip { border-top: 1px solid var(--line); background: var(--paper-2); padding: clamp(2.5rem, 5vw, 3.5rem) 0; position: relative; z-index: 2; }
.guide-strip-kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.68rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 1.3rem; }
.guide-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.guide-strip-grid a { display: flex; align-items: center; min-height: 58px; padding: 0.85rem 1.1rem; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: 0.86rem; color: var(--ink); letter-spacing: 0.01em;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background-color .3s var(--ease), color .3s var(--ease); }
.guide-strip-grid a:hover { background: var(--ink); color: #fff; }
.guide-strip-grid a:nth-child(4n) { border-right: 0; }
.guide-strip-grid a:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 760px) {
  .guide-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-strip-grid a:nth-child(4n) { border-right: 1px solid var(--line); }
  .guide-strip-grid a:nth-child(2n) { border-right: 0; }
  .guide-strip-grid a:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .guide-strip-grid a:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 430px) {
  .guide-strip-grid { grid-template-columns: 1fr; }
  .guide-strip-grid a { border-right: 0 !important; }
  .guide-strip-grid a:last-child { border-bottom: 0; }
}

/* Language switch (press header) */
.lang-switch { display: inline-flex; align-items: center; gap: 0.2rem; font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; }
.lang-switch a { color: var(--muted); padding: 0.2rem 0.35rem; transition: color .3s var(--ease); }
.lang-switch a:hover { color: var(--pink); }

/* Instant tap acknowledgement on public pages (mirrors app.css) */
button, .btn, [role="button"], a.btn, .s4-region, .s4-join-cta, .s4-grid-cta, .cr-offer-cta {
  -webkit-tap-highlight-color: rgba(210,68,123,0.12);
  touch-action: manipulation;
}
button:active, .btn:active, a.btn:active, [role="button"]:active,
.s4-join-cta:active, .s4-grid-cta:active, .cr-offer-cta:active {
  transform: scale(0.97); transition: transform .07s ease;
}
#s4-topbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--pink, #d2447b) 0%, var(--gold, #b8995f) 100%);
  box-shadow: 0 0 10px rgba(210,68,123,0.55); z-index: 100000; opacity: 0; pointer-events: none;
  transition: width .18s ease, opacity .3s ease;
}
#s4-topbar.on { opacity: 1; }
