/* =========================================================================
   SugarBaby.com — Static Stylesheet
   Converted from the approved Figma Make design (no redesign).
   Fonts: Plus Jakarta Sans (body) + Playfair Display (editorial headings)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --rose:      #D85D83;
  --petal:     #F0A6B8;
  --blush:     #F6DCE2;
  --powder:    #FBECEF;
  --cream:     #FFF8F4;
  --cocoa:     #49383E;
  --mauve:     #806B73;
  --champagne: #E6C6A3;

  --border: rgba(216, 93, 131, 0.15);
  --bg:        #FFF8F4;
  --card:      #FFFFFF;
  --text:      #49383E;
  --muted:     #806B73;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ─── Reset / Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

h1, h2, h3, h4, p { margin: 0; }

.serif { font-family: var(--font-serif); }
.text-center { text-align: center; }
.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; }

/* ─── Layout Containers ─────────────────────────────────────────────────── */
.container      { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm    { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.container-xs    { max-width: 36rem; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Typography helpers ────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--petal); }

.section-heading {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.section-heading.light { color: #fff; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
.section-heading em { font-style: italic; color: var(--rose); }

.section-sub {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.2;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

/* default size == .btn-md; .btn-sm / .btn-lg below override */

.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn:active { transform: scale(0.95); }

.btn-sm { min-height: 2.75rem; padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-md { padding: 0.875rem 1.75rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: #c84a70; box-shadow: 0 10px 25px -5px rgba(216, 93, 131, 0.45); }

.btn-dark { background: var(--cocoa); color: #fff; }
.btn-dark:hover { opacity: 0.9; }

.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, 0.6); }

.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--rose); }

.btn-white { background: #fff; color: var(--rose); font-weight: 600; }
.btn-white:hover { box-shadow: 0 20px 40px -10px rgba(255, 255, 255, 0.3); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--powder); }

.btn-block { width: 100%; }

/* ─── Text helpers ──────────────────────────────────────────────────────── */
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.lead.light { color: rgba(255, 255, 255, 0.7); }
.muted { color: var(--muted); }
.text-rose { color: var(--rose); }
.strong { font-weight: 600; color: var(--text); }

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; min-height: 2.75rem; }
.brand-logo {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: var(--rose);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.brand-logo svg { width: 1rem; height: 1rem; fill: #fff; }
.brand-name { font-size: 1rem; font-weight: 700; color: var(--cocoa); }
.brand-name .dot { color: var(--rose); }

.nav { display: none; }
.nav-link {
  background: none; border: none;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted); padding: 0;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--rose); }

.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: none;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted); transition: color 0.15s ease;
}
.dropdown-toggle:hover, .dropdown-toggle.open { color: var(--rose); }
.dropdown-toggle svg { width: 0.875rem; height: 0.875rem; transition: transform 0.2s ease; }
.dropdown-toggle.open svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: 0.75rem;
  width: 13rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 50;
  display: none;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
  display: block; width: 100%; text-align: left;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem; color: var(--text);
  background: none; border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover { background: var(--powder); color: var(--rose); }

.header-actions { display: none; align-items: center; gap: 1rem; flex-shrink: 0; }
.login-link {
  background: none; border: none;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted); transition: color 0.15s ease;
}
.login-link:hover { color: var(--text); }

.mobile-toggle {
  background: none; border: none;
  width: 2.75rem; height: 2.75rem; padding: 0.5rem; border-radius: 0.75rem;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-toggle:hover { background: var(--powder); }
.mobile-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1.25rem;
  display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; width: 100%; text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text);
  border-radius: 0.75rem;
}
.mobile-menu a:hover { background: var(--powder); }
.mobile-menu-actions { display: flex; gap: 0.75rem; padding-top: 1rem; }

@media (min-width: 1200px) {
  .nav { display: flex; align-items: center; gap: 1.5rem; }
  .header-actions { display: flex; }
  .mobile-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--cocoa); }
.footer-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.footer-brand { grid-column: span 2; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name .dot { color: var(--petal); }
.footer-tagline { font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); max-width: 20rem; line-height: 1.6; margin-bottom: 1.5rem; }

.footer-heading {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--petal); margin-bottom: 1rem;
}
.footer-link { display: flex; align-items: center; min-height: 2.75rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); padding: 0.3125rem 0; }
.footer-link:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  max-width: 80rem; margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
}
.footer-legal { font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
.footer-mini-links { display: flex; gap: 1rem; }
.footer-mini-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
.footer-mini-links a:hover { color: rgba(255, 255, 255, 0.6); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); padding-block: 2.75rem; }
  .footer-brand { grid-column: span 4; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .footer-link { min-height: 2.25rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-brand { grid-column: span 2; }
}

/* ─── Hero (homepage) ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 66px);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .hero-bg { object-position: 78% center; }
  .hero-inner { text-align: center; }
  .hero-content { margin-inline: auto; }
  .hero-title-brand,
  .hero-title-main,
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas,
  .hero-points { justify-content: center; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(73, 56, 62, 0.88) 0%, rgba(73, 56, 62, 0.55) 55%, rgba(73, 56, 62, 0.25) 100%);
}
.hero-glow {
  position: absolute; right: 0; top: 0;
  width: 700px; height: 700px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.2;
  background: radial-gradient(circle, var(--rose), transparent);
  transform: translate(35%, -35%);
}
.hero-inner { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; padding: 4.5rem 1.5rem; width: 100%; }
.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; margin-bottom: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.hero-badge .pulse { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--rose); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero-badge span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 42rem;
}
.hero-title-brand {
  display: block;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(235, 154, 177, 0.72);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--petal);
}
.hero-title-main {
  display: block;
  max-width: 15ch;
  font-size: clamp(2rem, 8.5vw, 2.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--petal); }
@media (min-width: 768px) {
  .hero { min-height: 92vh; }
  .hero-inner { padding: 7rem 1.5rem; }
  .hero-title-main { font-size: 2.875rem; max-width: 17ch; }
  .hero-title-brand { font-size: 0.9375rem; margin-bottom: 1rem; }
}
@media (min-width: 1024px) { .hero-title-main { font-size: 3.25rem; } }

.hero-sub { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); max-width: 480px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-ctas .btn { width: 100%; max-width: 20rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-point { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
.hero-point svg { width: 1rem; height: 1rem; color: var(--petal); }

@media (min-width: 768px) {
  .hero-sub { font-size: 1.125rem; }
  .hero-ctas { margin-bottom: 3rem; }
  .hero-ctas .btn { width: auto; max-width: none; }
}

/* ─── Page Hero (inner pages) ───────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; padding: 7rem 1.5rem; background: var(--blush); }
.page-hero.dark { background: var(--cocoa); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(246, 220, 226, 0.75); }
.page-hero.dark .page-hero-overlay { background: rgba(73, 56, 62, 0.72); }
.page-hero-inner { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; text-align: center; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: 3rem; line-height: 1.15; margin-bottom: 1.5rem; color: var(--text); }
.page-hero.dark h1 { color: #fff; }
.page-hero p { font-size: 1.125rem; line-height: 1.6; max-width: 42rem; margin: 0 auto; color: var(--muted); }
.page-hero.dark p { color: rgba(255, 255, 255, 0.7); }
.page-hero .section-label { margin-bottom: 0.5rem; }
.page-hero.dark .section-label { color: var(--petal); }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }

/* ─── Split hero (left text / right image) ──────────────────────────────── */
.split-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--blush) 0%, var(--cream) 100%);
}
.split-hero.dark { background: linear-gradient(160deg, #5a4348 0%, var(--cocoa) 62%); }
.split-hero::before,
.split-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.split-hero::before { width: 520px; height: 520px; top: -180px; right: 5%; background: rgba(216, 93, 131, 0.16); }
.split-hero::after  { width: 460px; height: 460px; bottom: -180px; left: 0%; background: rgba(230, 198, 163, 0.5); }
.split-hero.dark::before { background: rgba(216, 93, 131, 0.24); }
.split-hero.dark::after  { background: rgba(240, 166, 184, 0.12); }

.split-hero-inner {
  position: relative; z-index: 1;
  max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem;
  display: grid; gap: 3.5rem; align-items: center;
}
@media (min-width: 1024px) {
  .split-hero-inner { grid-template-columns: repeat(2, 1fr); padding: 6rem 1.5rem; gap: 5rem; }
}

.split-hero-content .section-label { margin-bottom: 1.25rem; }
.split-hero.dark .section-label { color: var(--petal); }
.split-hero-content h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 2.75rem; line-height: 1.08; letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 1.5rem;
}
.split-hero-content h1 em { font-style: italic; color: var(--rose); }
.split-hero.dark h1 { color: #fff; }
.split-hero.dark h1 em { color: var(--petal); }
@media (min-width: 768px) { .split-hero-content h1 { font-size: 3.25rem; } }
@media (min-width: 1024px) { .split-hero-content h1 { font-size: 4rem; } }
.split-hero-content p {
  font-size: 1.125rem; line-height: 1.7; color: var(--muted);
  max-width: 30rem; margin-bottom: 2.25rem;
}
.split-hero.dark p { color: rgba(255, 255, 255, 0.72); }
.split-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.split-hero-media { position: relative; }
.split-hero-media::before {
  /* soft glow behind the image */
  content: ""; position: absolute; z-index: 0;
  width: 62%; height: 62%; top: -6%; right: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 93, 131, 0.3), transparent 70%);
  filter: blur(22px);
}
.split-hero-media::after {
  /* decorative ring */
  content: ""; position: absolute; z-index: 0;
  width: 82%; padding-bottom: 82%; right: -10%; top: -8%;
  border: 1px solid rgba(216, 93, 131, 0.28);
  border-radius: 50%;
}
.split-hero.dark .split-hero-media::after { border-color: rgba(240, 166, 184, 0.22); }
.split-hero-img-main {
  position: relative; z-index: 1;
  display: block; width: 84%; margin-left: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 1.75rem;
  box-shadow: 0 40px 80px -28px rgba(73, 56, 62, 0.5);
}
.split-hero-img-accent {
  position: absolute; z-index: 2;
  left: 0; bottom: -1.5rem;
  width: 44%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 1.25rem;
  border: 5px solid #fff;
  box-shadow: 0 22px 45px -16px rgba(73, 56, 62, 0.45);
}
.split-hero.dark .split-hero-img-accent { border-color: var(--cocoa); }

/* flipped layout (image column on the left) */
.split-hero-media.flip::before { left: 2%; right: auto; }
.split-hero-media.flip::after { left: -10%; right: auto; }
.split-hero-media.flip .split-hero-img-main { margin-left: 0; margin-right: auto; }
.split-hero-media.flip .split-hero-img-accent { left: auto; right: 0; }

/* ─── Section padding helpers ───────────────────────────────────────────── */
.section { padding: 4.5rem 1.5rem; }
.section-tight { padding: 3.5rem 1.5rem; }
@media (min-width: 768px) {
  .section { padding: 7rem 1.5rem; }
  .section-tight { padding: 5rem 1.5rem; }
}
.bg-blush  { background: var(--blush); }
.bg-powder { background: var(--powder); }
.bg-cream  { background: var(--cream); }
.bg-card   { background: var(--card); }

/* ─── Stats bar ─────────────────────────────────────────────────────────── */
.stats-bar { background: var(--rose); }
.stats-inner {
  max-width: 80rem; margin: 0 auto; padding: 1.75rem 1.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center;
}
.stat-value { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 0.125rem; }
.stat-label { font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }

/* ─── Generic two-column split ──────────────────────────────────────────── */
.split { max-width: 80rem; margin: 0 auto; display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .split.reverse > :first-child { order: 2; }
  .split.reverse > :last-child { order: 1; }
}

/* ─── Brand collage (home) ──────────────────────────────────────────────── */
.collage { position: relative; }
.collage-main {
  aspect-ratio: 3 / 4;
  max-width: 460px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--blush);
}
.collage-main img { width: 100%; height: 100%; object-fit: cover; }
.collage-card {
  position: absolute; bottom: 2rem; right: -1rem;
  background: #fff; border-radius: 1rem; padding: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  max-width: 190px;
}
.collage-card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--powder); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.collage-card-icon svg { width: 1.25rem; height: 1.25rem; fill: var(--rose); }
.collage-card p { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.collage-card small { font-size: 0.75rem; color: var(--muted); }
.collage-thumb {
  position: absolute; top: -1.25rem; left: -1.25rem;
  width: 6rem; height: 6rem;
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid #fff;
  background: var(--blush);
}
.collage-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Portrait feature images ───────────────────────────────────────────── */
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--mauve);
}
.portrait.center { margin: 0 auto; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-overlay { position: absolute; inset: 0; border-radius: 1.5rem; }
.float-card {
  position: absolute; top: 2rem; left: 1rem;
  max-width: calc(100% - 2rem);
  background: #fff; border-radius: 1rem; padding: 0.75rem 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}
.float-card .row { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.float-card .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rose); }
.float-card .name { min-width: 0; font-size: 0.75rem; font-weight: 600; color: var(--text); }
.float-card small { display: block; font-size: 0.75rem; color: var(--muted); }

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.5rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-dot {
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.125rem;
}
.check-dot.dark { background: var(--cocoa); }
.check-item .check-dot.dark { color: var(--petal); }
.check-dot svg { width: 0.75rem; height: 0.75rem; }
.check-item span { font-size: 0.875rem; color: var(--text); line-height: 1.6; }

/* Feature mini cards (brand section) */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card { padding: 1.25rem; border-radius: 1rem; background: var(--powder); }
.feature-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.25rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Profile cards ─────────────────────────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .profile-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
@media (max-width: 639px) {
  .profile-grid { margin-inline: -1.5rem; }
  .profile-name { font-size: 0.8125rem; }
  .profile-city span { font-size: 0.6875rem; }
  .profile-verified { padding: 0.3rem; }
  .profile-verified span { display: none; }
  .profile-body { padding: 0.875rem; }
  .profile-bio {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .profile-tags { gap: 0.35rem; }
  .profile-tag:nth-child(n + 3) { display: none; }
  .profile-tag { font-size: 0.6875rem; padding: 0.3rem 0.6rem; }
  .profile-type { top: 0.5rem; left: 0.5rem; font-size: 0.6875rem; padding: 0.3rem 0.5rem; }
  .profile-like { top: 0.5rem; right: 0.5rem; }
  .profile-info { bottom: 0.75rem; left: 0.75rem; right: 0.75rem; }
}

.profile-card {
  background: var(--card);
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.profile-card:hover { box-shadow: 0 20px 40px -15px rgba(216, 93, 131, 0.35); }
.profile-card-locked { position: relative; isolation: isolate; }
.profile-card-locked > .profile-media > img {
  filter: blur(4px) saturate(0.72);
  transform: scale(1.018);
  pointer-events: none;
  user-select: none;
}
.profile-card-locked:hover .profile-media img { transform: scale(1.018); }
.profile-lock-overlay {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 3 / 4;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(73, 56, 62, 0.12);
  cursor: pointer;
}
.profile-lock-overlay:focus-visible { outline: 3px solid var(--rose); outline-offset: -4px; }
.profile-lock-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rose);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 0.75rem 1.75rem rgba(73, 56, 62, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-lock-icon svg { width: 1.5rem; height: 1.5rem; }
.profile-lock-overlay:hover .profile-lock-icon {
  transform: scale(1.06);
  box-shadow: 0 1rem 2rem rgba(73, 56, 62, 0.36);
}
@media (max-width: 639px) {
  .profile-lock-icon { width: 3rem; height: 3rem; }
  .profile-lock-icon svg { width: 1.25rem; height: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-lock-icon { transition: none; }
}
.profile-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--blush); }
.profile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.profile-card:hover .profile-media img { transform: scale(1.05); }
.profile-media-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(73, 56, 62, 0.7) 0%, transparent 55%);
}
.profile-type {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.375rem 0.75rem; border-radius: 9999px; color: #fff;
  min-width: 2.25rem; text-align: center; letter-spacing: 0.08em;
}
.profile-type.baby { background: var(--rose); }
.profile-type.daddy { background: var(--cocoa); }
.profile-like {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}
.profile-like svg { width: 1rem; height: 1rem; color: var(--text); }
.profile-like.liked { background: var(--rose); }
.profile-like.liked svg { fill: #fff; color: #fff; }
.profile-info {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.profile-name { color: #fff; font-weight: 600; }
.profile-city { display: flex; align-items: center; gap: 0.25rem; }
.profile-city svg { width: 0.75rem; height: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.profile-city span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }
.profile-verified {
  display: flex; align-items: center; gap: 0.25rem;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px);
  border-radius: 9999px; padding: 0.25rem 0.625rem;
}
.profile-verified svg { width: 0.75rem; height: 0.75rem; color: #fff; }
.profile-verified span { font-size: 0.75rem; color: #fff; }
.profile-body { padding: 1.25rem; }
.profile-bio { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-tag { font-size: 0.75rem; font-weight: 500; padding: 0.375rem 0.75rem; border-radius: 9999px; background: var(--powder); color: var(--rose); }
.profile-grid-actions { margin-top: 3rem; }
@media (max-width: 639px) { .profile-grid-actions { margin-top: 2rem; } }

/* ─── How it works step cards ───────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 1.25rem; }
.step-card {
  display: flex; gap: 1.25rem; padding: 1.5rem;
  border-radius: 1rem; border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.step-card:hover { border-color: rgba(216, 93, 131, 0.4); background: rgba(251, 236, 239, 0.35); }
.step-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--powder); color: var(--rose);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-icon svg { width: 1.25rem; height: 1.25rem; }
.step-head { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.375rem; }
.step-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--petal); }
.step-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.step-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Wishlist cards ────────────────────────────────────────────────────── */
.wishlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
.wishlist-card {
  background: #fff; border-radius: 1rem; padding: 1.5rem;
  border: 1px solid var(--border); cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.wishlist-card:hover { box-shadow: 0 15px 30px -10px rgba(216, 93, 131, 0.25); transform: translateY(-0.25rem); }
.wishlist-emoji { font-size: 1.875rem; margin-bottom: 1rem; }
.wishlist-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.25rem; }
.wishlist-card p { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
.wishlist-add { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 500; color: var(--rose); }
.wishlist-add svg { width: 0.75rem; height: 0.75rem; }
@media (max-width: 767px) {
  .wishlist-card { text-align: center; }
  .wishlist-add { justify-content: center; }
}

/* ─── Tools grid ────────────────────────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-card {
  text-align: left; padding: 2rem;
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tool-card:hover { box-shadow: 0 25px 50px -20px rgba(216, 93, 131, 0.35); transform: translateY(-0.25rem); }
.tool-emoji { font-size: 2.25rem; margin-bottom: 1.5rem; }
.tool-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.tool-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.tool-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--rose); transition: gap 0.2s ease; }
.tool-card:hover .tool-link { gap: 0.75rem; }
.tool-link svg { width: 1rem; height: 1rem; }

/* ─── Lifestyle collage grid ────────────────────────────────────────────── */
.collage-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.collage-tile { border-radius: 1.5rem; overflow: hidden; background: var(--blush); }
.collage-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.collage-tile:hover img { transform: scale(1.05); }
.tile-a { grid-column: span 12; grid-row: span 2; }
.tile-b { grid-column: span 6; }
.tile-c { grid-column: span 6; }
.tile-d { grid-column: span 6; }
.tile-e { grid-column: span 6; }
@media (min-width: 768px) {
  .tile-a { grid-column: span 5; }
  .tile-a img { object-position: center 30%; }
  .tile-b { grid-column: span 4; }
  .tile-c { grid-column: span 3; }
  .tile-d { grid-column: span 4; }
  .tile-e { grid-column: span 3; }
}

/* ─── Why / benefits cards ──────────────────────────────────────────────── */
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-card { padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); }
.benefit-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: var(--powder); color: var(--rose);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.benefit-icon svg { width: 1.25rem; height: 1.25rem; }
.benefit-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Safety tip cards ──────────────────────────────────────────────────── */
.safety-tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.safety-tip { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; background: #fff; border-radius: 1rem; border: 1px solid var(--border); }
.safety-tip svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--rose); }
.safety-tip span { font-size: 0.875rem; color: var(--text); line-height: 1.6; }

/* ─── Testimonials ──────────────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial-card { padding: 2rem; border-radius: 1.5rem; background: var(--card); border: 1px solid var(--border); }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial-stars svg { width: 1rem; height: 1rem; fill: var(--rose); color: var(--rose); }
.testimonial-text { font-family: var(--font-serif); font-style: italic; font-size: 0.9375rem; color: var(--text); line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden; background: var(--blush); flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.testimonial-detail { font-size: 0.75rem; color: var(--muted); }
.scenario-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.75rem; }

/* ─── Blog / article cards ──────────────────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  background: var(--card); border-radius: 1.5rem; overflow: hidden;
  border: 1px solid var(--border);
  color: inherit; text-decoration: none; display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-card:hover { box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); transform: translateY(-0.2rem); }
.article-card:focus-visible { outline: 3px solid rgba(216, 93, 131, 0.35); outline-offset: 3px; }
.article-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blush); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-media img { transform: scale(1.05); }
.article-body { padding: 1.5rem; }
.article-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.article-cat { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 9999px; background: var(--powder); color: var(--rose); }
.article-cat.rose { background: var(--rose); color: #fff; }
.article-time { font-size: 0.75rem; color: var(--muted); }
.article-card h3 { font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.5rem; transition: color 0.2s ease; }
.article-card:hover h3 { color: var(--rose); }
.article-desc { font-size: 0.75rem; color: var(--muted); }

.content-layout { width: 100%; max-width: 72rem; margin: 0 auto; display: grid; gap: 3rem; }
@media (min-width: 900px) { .content-layout { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); align-items: start; } }
.content-main { max-width: 48rem; }
.content-main .section-heading { margin-bottom: 1.5rem; }
.content-lead { font-size: 1.125rem; line-height: 1.75; color: var(--mauve); margin-bottom: 2.5rem; }
.content-main h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); margin: 2rem 0 0.75rem; }
.content-main p { color: var(--muted); line-height: 1.75; }
.content-main a, .info-panel a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 0.2em; }
.content-list { display: grid; gap: 0.75rem; margin: 1rem 0 1.5rem; padding-left: 1.25rem; color: var(--muted); }
.content-list li { line-height: 1.65; padding-left: 0.25rem; }
.content-aside { display: grid; gap: 1rem; }
.info-panel { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); }
.info-panel h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.info-panel p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ─── Structured SEO content showcases ────────────────────────────────── */
.content-showcase {
  position: relative;
  max-width: 76rem;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(216, 93, 131, 0.16);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 96% 2%, rgba(216, 93, 131, 0.12), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 249, 247, 0.96));
  box-shadow: 0 30px 70px -58px rgba(73, 56, 62, 0.7);
}
.content-showcase .content-main {
  max-width: none;
  min-width: 0;
  counter-reset: showcase-step;
}
.content-showcase .content-main > .section-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: var(--powder);
}
.content-showcase .content-main > .section-heading {
  max-width: 18ch;
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  line-height: 1.08;
  text-wrap: balance;
}
.content-showcase .content-lead {
  max-width: 66ch;
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--rose);
  border-radius: 0 1rem 1rem 0;
  background: rgba(245, 218, 228, 0.38);
  color: var(--mauve);
  font-size: 1rem;
}
.content-showcase .content-main > h3 {
  position: relative;
  counter-increment: showcase-step;
  margin: 1rem 0 0;
  padding: 1.35rem 1.35rem 0.7rem 4.5rem;
  border: 1px solid rgba(216, 93, 131, 0.18);
  border-bottom: 0;
  border-radius: 1.35rem 1.35rem 0 0;
  background: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  text-wrap: balance;
}
.content-showcase .content-main > h3::before {
  content: counter(showcase-step, decimal-leading-zero);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  background: var(--rose);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.content-showcase .content-main > h3 + p,
.content-showcase .content-main > h3 + .content-list {
  margin: 0 0 1.1rem;
  padding: 0 1.35rem 1.35rem 4.5rem;
  border: 1px solid rgba(216, 93, 131, 0.18);
  border-top: 0;
  border-radius: 0 0 1.35rem 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px -38px rgba(73, 56, 62, 0.72);
}
.content-showcase .content-main > h3 + .content-list { gap: 0.65rem; list-style: none; }
.content-showcase .content-main > h3 + .content-list li {
  position: relative;
  padding-left: 1.3rem;
}
.content-showcase .content-main > h3 + .content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 0.45rem;
  height: 0.45rem;
  border: 2px solid var(--rose);
  border-radius: 9999px;
}
.content-showcase .content-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-content: start;
}
.content-showcase .content-aside .info-panel {
  border-color: rgba(216, 93, 131, 0.2);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px -38px rgba(73, 56, 62, 0.72);
}
.content-showcase .content-aside .info-panel:first-child { border-top: 3px solid var(--rose); }
.content-showcase .content-aside .info-panel:last-child { border-top: 3px solid var(--mauve); }
.content-showcase .content-aside .content-list { margin-bottom: 0; }

@media (max-width: 899px) {
  .content-showcase .content-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .content-showcase { padding: 1rem; border-radius: 1.5rem; }
  .content-showcase .content-main > .section-label { margin-inline: auto; }
  .content-showcase .content-main > .section-heading,
  .content-showcase .content-lead { margin-inline: auto; text-align: center; }
  .content-showcase .content-main > .section-heading { font-size: clamp(2rem, 10vw, 2.75rem); }
  .content-showcase .content-main > h3 { padding: 1.2rem 1.15rem 0.65rem; }
  .content-showcase .content-main > h3::before {
    position: static;
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.8rem;
  }
  .content-showcase .content-main > h3 + p,
  .content-showcase .content-main > h3 + .content-list { padding: 0 1.15rem 1.2rem; }
  .content-showcase .content-aside { grid-template-columns: 1fr; }
}

/* About: open editorial story with a quiet timeline. */
.brand-story {
  max-width: 72rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-story .content-main > .section-label { padding: 0; background: transparent; }
.brand-story .content-main > h3 {
  padding: 1rem 0 0.45rem 4.25rem;
  border: 0;
  background: transparent;
}
.brand-story .content-main > h3::before {
  left: 0.25rem;
  background: transparent;
  color: var(--rose-dark);
  border: 1px solid var(--rose);
}
.brand-story .content-main > h3 + p {
  margin: 0 0 0 1.4rem;
  padding: 0 0 1.75rem 2.85rem;
  border: 0;
  border-left: 1px solid rgba(216, 93, 131, 0.35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-story .content-aside .info-panel { background: linear-gradient(155deg, #fff, var(--powder)); }

/* Blog: three decision cards presented as a reading path. */
.reading-path {
  grid-template-columns: 1fr;
  max-width: 76rem;
  background: linear-gradient(145deg, #fff 0%, #fff5f7 100%);
}
.reading-path .content-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.25rem;
}
.reading-path .content-main > .section-label,
.reading-path .content-main > .section-heading,
.reading-path .content-main > .content-lead { grid-column: 1 / -1; }
.reading-path .content-main > .section-heading { max-width: 22ch; }
.reading-path .content-main > h3 { min-height: 7.2rem; padding: 1.35rem 1.35rem 0.75rem; }
.reading-path .content-main > h3::before {
  position: static;
  width: auto;
  height: auto;
  place-items: start;
  margin-bottom: 0.75rem;
  border-radius: 0;
  background: transparent;
  color: var(--rose);
  font-size: 0.7rem;
}
.reading-path .content-main > h3 + p { padding: 0 1.35rem 1.4rem; }
.reading-path .content-main > h3:nth-of-type(1) { grid-column: 1; grid-row: 4; }
.reading-path .content-main > h3:nth-of-type(2) { grid-column: 2; grid-row: 4; }
.reading-path .content-main > h3:nth-of-type(3) { grid-column: 3; grid-row: 4; }
.reading-path .content-main > h3:nth-of-type(1) + p { grid-column: 1; grid-row: 5; }
.reading-path .content-main > h3:nth-of-type(2) + p { grid-column: 2; grid-row: 5; }
.reading-path .content-main > h3:nth-of-type(3) + p { grid-column: 3; grid-row: 5; }
.reading-path .content-aside { position: static; grid-row: 1; }
.reading-path .content-aside .info-panel { border: 0; background: var(--text); color: #fff; }
.reading-path .content-aside .info-panel h2,
.reading-path .content-aside .info-panel p,
.reading-path .content-aside .info-panel a { color: #fff; }

/* Interactive tools: compact interpretation rows that sit beside results. */
.tool-explainer {
  --tool-accent: var(--rose);
  border-top: 4px solid var(--tool-accent);
  background: rgba(255, 255, 255, 0.88);
}
.tool-explainer.allowance-explainer { --tool-accent: #9b6728; }
.tool-explainer.compatibility-explainer { --tool-accent: #77539a; }
.tool-explainer.match-explainer { --tool-accent: #b2557a; }
.tool-explainer.potential-explainer { --tool-accent: #47736e; }
.tool-explainer .content-main {
  display: grid;
  grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}
.tool-explainer .content-main > .section-label,
.tool-explainer .content-main > .section-heading,
.tool-explainer .content-main > .content-lead { grid-column: 1 / -1; }
.tool-explainer .content-main > .section-label { color: var(--tool-accent); }
.tool-explainer .content-main > h3 {
  margin: 0.55rem 0;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 1.25rem 0 0 1.25rem;
  background: color-mix(in srgb, var(--tool-accent) 9%, white);
}
.tool-explainer .content-main > h3::before {
  position: static;
  width: auto;
  height: auto;
  place-items: start;
  margin-bottom: 0.55rem;
  border-radius: 0;
  background: transparent;
  color: var(--tool-accent);
}
.tool-explainer .content-main > h3 + p,
.tool-explainer .content-main > h3 + .content-list {
  margin: 0.55rem 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 1.25rem 1.25rem 0;
  background: #fff;
  box-shadow: none;
}
.tool-explainer .content-aside .info-panel:first-child { border-top-color: var(--tool-accent); }

/* Safety: a darker, high-contrast playbook rather than a lifestyle article. */
.safety-playbook {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 93, 131, 0.28), transparent 24rem),
    linear-gradient(145deg, #36272d, #573440);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px -48px rgba(54, 39, 45, 0.9);
}
.safety-playbook .content-main > .section-label { background: rgba(255,255,255,0.12); color: #ffd9e5; }
.safety-playbook .content-main > .section-heading { color: #fff; }
.safety-playbook .content-lead { background: rgba(255,255,255,0.08); color: #f9e9ee; border-left-color: #f08caf; }
.safety-playbook .content-main > h3::before { background: #f08caf; color: #36272d; }
.safety-playbook .content-aside .info-panel { border: 0; background: #fff7fa; }

/* Dating tips: quick framework and long-form playbook use different rhythms. */
.tips-framework {
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #fff 0%, #fceef3 100%);
}
.tips-framework .content-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1.15rem;
}
.tips-framework .content-main > .section-label,
.tips-framework .content-main > .section-heading,
.tips-framework .content-main > .content-lead,
.tips-framework .content-main > p:last-child { grid-column: 1 / -1; }
.tips-framework .content-main > h3 { padding: 1.25rem 1.2rem 0.65rem; }
.tips-framework .content-main > h3::before { position: static; margin-bottom: 0.7rem; }
.tips-framework .content-main > h3 + p { padding: 0 1.2rem 1.3rem; }
.tips-framework .content-main > h3:nth-of-type(1) { grid-column: 1; grid-row: 4; }
.tips-framework .content-main > h3:nth-of-type(2) { grid-column: 2; grid-row: 4; }
.tips-framework .content-main > h3:nth-of-type(3) { grid-column: 3; grid-row: 4; }
.tips-framework .content-main > h3:nth-of-type(1) + p { grid-column: 1; grid-row: 5; }
.tips-framework .content-main > h3:nth-of-type(2) + p { grid-column: 2; grid-row: 5; }
.tips-framework .content-main > h3:nth-of-type(3) + p { grid-column: 3; grid-row: 5; }
.tips-framework .content-main > p:last-child { margin-top: 1rem; text-align: center; }
.tips-framework .content-aside { position: static; grid-row: 1; }
.tips-playbook {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.tips-playbook .content-main > h3 { border-color: rgba(216, 93, 131, 0.28); background: rgba(255,255,255,0.72); }
.tips-playbook .content-main > h3 + p { border-color: rgba(216, 93, 131, 0.28); background: rgba(255,255,255,0.72); }
.tips-playbook .content-main > h3::before {
  width: 3rem;
  border-radius: 0.75rem;
  background: var(--text);
}
.tips-playbook .content-aside .info-panel { background: rgba(255,255,255,0.75); }

@media (max-width: 899px) {
  .reading-path .content-main,
  .tips-framework .content-main,
  .tool-explainer .content-main { display: block; }
  .reading-path .content-aside,
  .tips-framework .content-aside { grid-row: auto; }
  .tool-explainer .content-main > h3,
  .tool-explainer .content-main > h3 + p,
  .tool-explainer .content-main > h3 + .content-list { border: 1px solid var(--border); border-radius: 1.25rem; }
  .tool-explainer .content-main > h3 { margin-bottom: 0; border-bottom: 0; border-radius: 1.25rem 1.25rem 0 0; }
  .tool-explainer .content-main > h3 + p,
  .tool-explainer .content-main > h3 + .content-list { margin-top: 0; border-top: 0; border-radius: 0 0 1.25rem 1.25rem; }
}
@media (max-width: 639px) {
  .brand-story .content-main > h3 { padding-left: 3.6rem; }
  .brand-story .content-main > h3::before { position: absolute; left: 0.25rem; }
  .brand-story .content-main > h3 + p { margin-left: 1.3rem; padding-left: 2.3rem; }
  .reading-path .content-main > h3,
  .tips-framework .content-main > h3 { min-height: 0; }
  .safety-playbook { padding: 1rem; }
  .tips-playbook { padding: 0; }
}

/* Content presentation v3: editorial hierarchy without numbered-card UI. */
.content-showcase .content-main > h3::before { display: none; }
.content-showcase .content-main > h3 {
  padding-left: 1.25rem;
  border-radius: 0;
}
.content-showcase .content-main > h3 + p,
.content-showcase .content-main > h3 + .content-list {
  padding-left: 1.25rem;
  border-radius: 0;
}

.brand-story .content-main > h3 {
  padding: 1.25rem 0 0.45rem 2rem;
  border-left: 1px solid rgba(216, 93, 131, 0.38);
}
.brand-story .content-main > h3::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: -0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--rose);
}
.brand-story .content-main > h3 + p { margin-left: 0; padding-left: 2rem; }

.reading-path .content-main > h3,
.reading-path .content-main > h3 + p,
.tips-framework .content-main > h3,
.tips-framework .content-main > h3 + p {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.reading-path .content-main > h3,
.tips-framework .content-main > h3 {
  padding: 1.15rem 0.25rem 0.6rem;
  border-top: 3px solid var(--rose);
}
.reading-path .content-main > h3 + p,
.tips-framework .content-main > h3 + p { padding: 0 0.25rem 1rem; }
.reading-path .content-main > h3:nth-of-type(n+2),
.reading-path .content-main > h3:nth-of-type(n+2) + p,
.tips-framework .content-main > h3:nth-of-type(n+2),
.tips-framework .content-main > h3:nth-of-type(n+2) + p { border-left: 1px solid rgba(216, 93, 131, 0.2); padding-left: 1.15rem; }

.tool-explainer .content-main > h3,
.tool-explainer .content-main > h3 + p,
.tool-explainer .content-main > h3 + .content-list {
  margin: 0;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tool-explainer .content-main > h3 { padding-right: 1.5rem; color: var(--tool-accent); }
.tool-explainer .content-main > h3 + p,
.tool-explainer .content-main > h3 + .content-list { padding-left: 1.5rem; }

.safety-playbook .content-main > h3,
.safety-playbook .content-main > h3 + p {
  padding: 1.2rem 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.safety-playbook .content-main > h3 { color: #fff; }
.safety-playbook .content-main > h3 + p { color: #f2e3e9; }

.tips-playbook .content-main > h3,
.tips-playbook .content-main > h3 + p {
  padding: 1.15rem 0;
  border: 0;
  border-top: 1px solid rgba(216, 93, 131, 0.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-step-number { display: none; }
.editorial-step-card { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 899px) {
  .tool-explainer .content-main > h3,
  .tool-explainer .content-main > h3 + p,
  .tool-explainer .content-main > h3 + .content-list {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .tool-explainer .content-main > h3 { padding-bottom: 0.45rem; }
  .tool-explainer .content-main > h3 + p,
  .tool-explainer .content-main > h3 + .content-list { padding: 0 0 1.25rem; }
}
@media (max-width: 639px) {
  .brand-story .content-main > h3 { padding-left: 1.5rem; }
  .brand-story .content-main > h3 + p { padding-left: 1.5rem; }
  .reading-path .content-main > h3:nth-of-type(n+2),
  .reading-path .content-main > h3:nth-of-type(n+2) + p,
  .tips-framework .content-main > h3:nth-of-type(n+2),
  .tips-framework .content-main > h3:nth-of-type(n+2) + p { border-left: 0; padding-left: 0.25rem; }
}

/* Targeted visual modules: each page uses a layout matched to its purpose. */
.context-visual {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  min-height: 20rem;
  aspect-ratio: 16 / 8;
  border-radius: 1.5rem;
  background: var(--blush);
  box-shadow: 0 28px 60px -38px rgba(73, 56, 62, 0.65);
}
.context-visual img { width: 100%; height: 100%; object-fit: cover; }
.context-visual::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(38, 24, 30, 0.88));
}
.context-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.75rem;
  bottom: 1.5rem;
  left: 1.75rem;
  display: grid;
  gap: 0.35rem;
  color: #fff;
}
.context-visual figcaption strong {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 600;
}
.context-visual figcaption span { max-width: 46rem; color: rgba(255,255,255,0.86); line-height: 1.65; }
.about-context-visual img { object-position: center 44%; }
.safety-context-visual { border: 1px solid rgba(255,255,255,0.18); }
.safety-context-visual img { object-position: center 42%; }
.tips-context-visual img { object-position: center 40%; }
.section .container > .context-visual { max-width: 56rem; margin-left: auto; margin-right: auto; }

.guide-feature-visual {
  grid-column: 1 / -1;
  grid-row: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  overflow: hidden;
  margin: 1.25rem 0 1.75rem;
  border-radius: 1.5rem;
  background: var(--text);
  color: #fff;
  box-shadow: 0 28px 60px -38px rgba(73, 56, 62, 0.75);
}
.guide-feature-visual img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; object-position: center 42%; }
.guide-feature-visual > div { display: grid; align-content: center; gap: 0.8rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
.guide-feature-visual .section-label { color: #ffb6cc; }
.guide-feature-visual strong { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; }
.guide-feature-visual p { color: rgba(255,255,255,0.78); line-height: 1.7; }
.reading-path .content-main > h3:nth-of-type(1),
.reading-path .content-main > h3:nth-of-type(2),
.reading-path .content-main > h3:nth-of-type(3) { grid-row: 5; }
.reading-path .content-main > h3:nth-of-type(1) + p,
.reading-path .content-main > h3:nth-of-type(2) + p,
.reading-path .content-main > h3:nth-of-type(3) + p { grid-row: 6; }

.tool-ui-preview {
  grid-column: 1 / -1;
  margin: 1.25rem 0 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--tool-accent) 25%, white);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--tool-accent) 7%, white);
}
.tool-ui-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.tool-ui-title span { color: var(--tool-accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tool-ui-title strong { max-width: 26rem; text-align: right; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.25; }

.allowance-ui .tool-ui-title,
.potential-ui .tool-ui-title {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.allowance-ui .tool-ui-title span,
.allowance-ui .tool-ui-title strong,
.potential-ui .tool-ui-title span,
.potential-ui .tool-ui-title strong {
  max-width: 30rem;
  text-align: center;
}
.allowance-ui .tool-ui-title strong,
.potential-ui .tool-ui-title strong {
  line-height: 1.2;
  text-wrap: balance;
}

.allowance-ui { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.allowance-ui .tool-ui-title { grid-column: 1 / -1; }
.tool-ui-chip { min-width: 0; padding: 1rem; border-radius: 1rem; background: #fff; box-shadow: 0 12px 30px -24px rgba(73,56,62,0.65); }
.tool-ui-chip span,
.tool-ui-chip strong { display: block; }
.tool-ui-chip span { margin-bottom: 0.35rem; color: var(--tool-accent); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.tool-ui-chip strong { font-size: 0.88rem; line-height: 1.35; }

.compatibility-orbit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 7rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.25rem 2rem;
}
.compatibility-orbit span { padding: 1rem; border: 1px solid rgba(119,83,154,0.18); border-radius: 999px; background: #fff; text-align: center; font-weight: 600; }
.compatibility-orbit strong {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  width: 5rem; height: 5rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--tool-accent);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(73,56,62,0.6);
}
.compatibility-ui .tool-ui-title {
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.compatibility-ui .tool-ui-title span,
.compatibility-ui .tool-ui-title strong {
  max-width: 30rem;
  text-align: center;
}
.compatibility-ui .tool-ui-title strong {
  line-height: 1.2;
  text-wrap: balance;
}

.match-ui { display: grid; justify-items: center; }
.match-ui .tool-ui-title {
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.match-ui .tool-ui-title span,
.match-ui .tool-ui-title strong {
  max-width: 30rem;
  text-align: center;
}
.match-ui .tool-ui-title strong {
  line-height: 1.2;
  text-wrap: balance;
}
.match-layer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; color: #fff; }
.match-layer span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.match-layer strong { text-align: right; font-size: 0.9rem; }
.match-layer.essential { width: 100%; border-radius: 1rem 1rem 0.35rem 0.35rem; background: #8f3d61; }
.match-layer.preferred { width: 84%; background: #bd6389; }
.match-layer.flexible { width: 68%; border-radius: 0.35rem 0.35rem 1rem 1rem; background: #dc91ae; }

.potential-ui { background: linear-gradient(135deg, #f6fbfa, #eef7f5); }
.potential-meter { display: grid; grid-template-columns: minmax(8rem, 0.36fr) 1fr; align-items: center; gap: 1rem; padding: 0.8rem 0; }
.potential-meter span { font-weight: 600; }
.potential-meter i { position: relative; overflow: hidden; height: 0.7rem; border-radius: 999px; background: rgba(71,115,110,0.14); }
.potential-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--meter); border-radius: inherit; background: linear-gradient(90deg, #75a59f, var(--tool-accent)); }

@media (max-width: 899px) {
  .guide-feature-visual { display: grid; grid-template-columns: 1fr; }
  .allowance-ui { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .allowance-ui .tool-ui-title { grid-column: 1 / -1; }
  .compatibility-orbit { gap: 3rem 4rem; padding-inline: 0; }
}
@media (max-width: 639px) {
  .context-visual { min-height: 22rem; aspect-ratio: 4 / 5; margin-inline: -0.2rem; }
  .context-visual figcaption { right: 1.25rem; bottom: 1.2rem; left: 1.25rem; }
  .guide-feature-visual { border-radius: 1.15rem; }
  .guide-feature-visual img { min-height: 14rem; }
  .tool-ui-title { display: grid; align-items: start; }
  .tool-ui-title strong { text-align: left; }
  .allowance-ui { grid-template-columns: 1fr 1fr; }
  .tool-ui-chip { padding: 0.85rem; }
  .compatibility-orbit { gap: 3.4rem 0.75rem; }
  .compatibility-orbit span { padding: 0.8rem 0.45rem; font-size: 0.78rem; }
  .compatibility-orbit strong { width: 4.4rem; height: 4.4rem; }
  .match-layer,
  .match-layer.preferred,
  .match-layer.flexible { width: 100%; }
  .match-layer { display: grid; gap: 0.35rem; }
  .match-layer strong { text-align: left; }
  .potential-meter { grid-template-columns: 1fr; gap: 0.45rem; }
}

/* Tool aftercare: tailored reading layouts beneath each interactive tool. */
.tool-aftercare {
  --aftercare-accent: var(--rose);
  --tool-accent: var(--aftercare-accent);
  position: relative;
  overflow: hidden;
}
.allowance-aftercare { --aftercare-accent: #8c602b; background: radial-gradient(circle at 12% 18%, rgba(173,118,52,0.1), transparent 22rem), var(--cream); }
.compatibility-aftercare { --aftercare-accent: #76529a; background: radial-gradient(circle at 88% 15%, rgba(118,82,154,0.12), transparent 24rem), #fffbfd; }
.potential-aftercare { --aftercare-accent: #47736e; background: radial-gradient(circle at 8% 20%, rgba(71,115,110,0.11), transparent 22rem), #fbfdfc; }
.match-aftercare { --aftercare-accent: #a94f74; background: radial-gradient(circle at 90% 18%, rgba(169,79,116,0.12), transparent 24rem), #fff9fb; }
.tool-aftercare > .container { position: relative; z-index: 1; }
.tool-aftercare .text-center { max-width: 58rem; margin-inline: auto; }
.tool-aftercare .tool-ui-preview { max-width: 70rem; margin-inline: auto; }

.tool-guidance {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  max-width: 70rem;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
}
.tool-guidance h3 { font-family: var(--font-serif); color: var(--text); line-height: 1.25; text-wrap: balance; }
.tool-guidance p,
.tool-guidance li,
.tool-guidance span { color: var(--muted); line-height: 1.7; }
.guidance-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--aftercare-accent) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guidance-lead { align-self: start; padding: 0.25rem clamp(1.25rem,3vw,2rem) 0 0; }
.guidance-lead h3 { margin: 0 0 1rem; font-size: clamp(1.65rem,3vw,2.35rem); }
.guidance-lead p { margin: 0; font-size: 1rem; }
.guidance-checklist,
.conversation-areas,
.potential-actions-list,
.preference-spectrum { min-width: 0; }
.guidance-checklist > h3,
.conversation-areas > h3,
.potential-actions-list > h3,
.preference-spectrum > h3 { margin: 0 0 1.25rem; font-size: clamp(1.35rem,2.4vw,1.75rem); }

.guidance-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem clamp(1.25rem,3vw,2rem);
  border-top: 1px solid color-mix(in srgb, var(--aftercare-accent) 32%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--aftercare-accent) 22%, white);
  background: color-mix(in srgb, var(--aftercare-accent) 7%, white);
}
.guidance-note-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--aftercare-accent);
  color: #fff !important;
}
.guidance-note-mark svg { width: 1.2rem; height: 1.2rem; }
.guidance-note h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.guidance-note p { max-width: 58rem; margin: 0; }

.allowance-guidance .guidance-checklist {
  padding: 1.5rem;
  border: 1px solid rgba(140,96,43,0.18);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.72);
}
.allowance-guidance .content-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0; }
.allowance-guidance .content-list li { position: relative; padding: 0.9rem 0.9rem 0.9rem 1.5rem; border-top: 1px solid rgba(140,96,43,0.14); }
.allowance-guidance .content-list li::before { content: ""; position: absolute; top: 1.55rem; left: 0; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--aftercare-accent); }

.conversation-areas { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 0; border-top: 1px solid rgba(118,82,154,0.25); }
.conversation-areas > h3 { grid-column: 1 / -1; padding-top: 1.25rem; }
.conversation-area { display: grid; gap: 0.35rem; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid rgba(118,82,154,0.2); }
.conversation-area:nth-of-type(even) { padding-left: 1rem; border-left: 1px solid rgba(118,82,154,0.2); }
.conversation-area strong { color: var(--text); font-size: 0.95rem; }
.conversation-area span { font-size: 0.84rem; }

.potential-actions-list { padding-left: clamp(1rem,3vw,2rem); border-left: 1px solid rgba(71,115,110,0.24); }
.potential-actions-list .content-list { gap: 0; margin: 0; }
.potential-actions-list .content-list li { position: relative; padding: 0.8rem 0 0.8rem 2rem; border-bottom: 1px solid rgba(71,115,110,0.15); }
.potential-actions-list .content-list li::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--aftercare-accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fbfdfc;
  background: var(--aftercare-accent);
}

.preference-spectrum { display: grid; gap: 0; }
.preference-row { display: grid; grid-template-columns: minmax(7rem,0.32fr) 1fr; gap: 1rem; padding: 1rem 1.25rem; }
.preference-row strong { color: var(--text); }
.preference-row.essential { border-radius: 1rem 1rem 0 0; background: rgba(169,79,116,0.16); }
.preference-row.preferred { margin-inline: 0.75rem; background: rgba(169,79,116,0.1); }
.preference-row.open { margin-inline: 1.5rem; border-radius: 0 0 1rem 1rem; background: rgba(169,79,116,0.06); }

.tool-support { padding-block: clamp(3.5rem,7vw,5.5rem); }
.tool-support .panel-pair { max-width: 70rem; margin-inline: auto; gap: 0; border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; background: #fff; }
.tool-support .info-panel { border: 0; border-radius: 0; box-shadow: none; }
.tool-support .info-panel + .info-panel { border-left: 1px solid var(--border); }
.tool-support .caution-panel { background: var(--text); }
.tool-support .caution-panel h2,
.tool-support .caution-panel p { color: #fff; }
.tool-support .caution-panel p { color: rgba(255,255,255,0.76); }
.tool-support .caution-panel .info-panel-icon { background: rgba(255,255,255,0.13); color: #fff; }
.tool-support .positive-panel { background: rgba(255,255,255,0.96); }

.tool-actions { padding-block: clamp(4rem,8vw,6rem); }
.tool-actions .text-center { max-width: 58rem; margin-inline: auto; }
.tool-actions .benefit-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; max-width: 76rem; margin-inline: auto; border-top: 1px solid rgba(73,56,62,0.16); }
.tool-actions .benefit-card { padding: 1.5rem 1.35rem; border: 0; border-right: 1px solid rgba(73,56,62,0.16); border-radius: 0; background: transparent; box-shadow: none; }
.tool-actions .benefit-card:last-child { border-right: 0; }
.tool-actions .benefit-card h3 { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.3; }
.tool-actions .benefit-card p { font-size: 0.88rem; line-height: 1.7; }
.allowance-actions { background: #f8ebe4; }
.compatibility-actions { background: #f1e9f6; }
.potential-actions { background: #e7f1ef; }
.match-actions { background: #f7e3eb; }

@media (max-width: 899px) {
  .tool-guidance { grid-template-columns: 1fr; gap: 2rem; }
  .guidance-lead { padding-right: 0; }
  .guidance-note { grid-column: auto; }
  .tool-actions .benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tool-actions .benefit-card:nth-child(2) { border-right: 0; }
  .tool-actions .benefit-card:nth-child(n+3) { border-top: 1px solid rgba(73,56,62,0.16); }
}
@media (max-width: 639px) {
  .tool-aftercare .text-center { margin-bottom: 2rem; }
  .tool-guidance { margin-top: 2.5rem; }
  .guidance-lead p,
  .tool-guidance li,
  .guidance-note p { font-size: 0.94rem; }
  .allowance-guidance .content-list,
  .conversation-areas { grid-template-columns: 1fr; }
  .conversation-area:nth-of-type(even) { padding-left: 0; border-left: 0; }
  .guidance-note { grid-template-columns: 1fr; }
  .preference-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .preference-row.preferred,
  .preference-row.open { margin-inline: 0; }
  .tool-support .panel-pair { border-radius: 1.15rem; }
  .tool-support .info-panel + .info-panel { border-top: 1px solid var(--border); border-left: 0; }
  .tool-actions .benefit-grid { grid-template-columns: 1fr; }
  .tool-actions .benefit-card,
  .tool-actions .benefit-card:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(73,56,62,0.16); }
  .tool-actions .benefit-card:last-child { border-bottom: 0; }
}

/* ─── Editorial practical guides ───────────────────────────────────────── */
.editorial-guide {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(216, 93, 131, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--cream) 0%, #fffafa 100%);
}
.editorial-guide-shell { width: 100%; max-width: 76rem; margin: 0 auto; position: relative; z-index: 1; }
.editorial-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.editorial-guide-copy { max-width: 43rem; }
.editorial-guide-copy .section-heading {
  max-width: 18ch;
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}
.editorial-guide-copy .content-lead { max-width: 42rem; margin: 0; }
.editorial-guide-media {
  position: relative;
  min-height: 20rem;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid rgba(216, 93, 131, 0.2);
  border-radius: 1.75rem;
  background: var(--blush);
  box-shadow: 0 28px 70px -38px rgba(73, 56, 62, 0.6);
}
.editorial-guide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(54, 33, 41, 0.14));
}
.editorial-guide-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-guide-media.portrait-focus img { object-position: center 30%; }
.editorial-guide-media.landscape-focus img { object-position: center; }
.editorial-guide-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 19rem);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.editorial-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.editorial-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(216, 93, 131, 0.18);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px -38px rgba(73, 56, 62, 0.65);
}
.editorial-step-card.wide { grid-column: 1 / -1; }
.editorial-step-number {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.editorial-step-card h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  text-wrap: balance;
}
.editorial-step-card p,
.editorial-more { margin: 0; color: var(--muted); font-size: 0.925rem; line-height: 1.75; }
.editorial-step-card a,
.editorial-more a,
.editorial-guide-aside a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 0.2em; }
.editorial-more {
  grid-column: 1 / -1;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--rose);
  border-radius: 0 1rem 1rem 0;
  background: rgba(245, 218, 228, 0.45);
}
.editorial-guide-aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.editorial-guide-aside .info-panel {
  padding: 1.4rem;
  border-color: rgba(216, 93, 131, 0.2);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px -38px rgba(73, 56, 62, 0.75);
}
.info-panel-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.info-panel-head h2 { margin: 0; line-height: 1.35; }
.info-panel-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--powder);
  color: var(--rose-dark);
}
.info-panel-icon svg { width: 1.1rem; height: 1.1rem; }
.editorial-guide-aside .content-list { margin: 0; padding: 0; list-style: none; gap: 0.8rem; }
.editorial-guide-aside .content-list li { position: relative; padding-left: 1.5rem; font-size: 0.875rem; }
.editorial-guide-aside .content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--rose);
  border-radius: 9999px;
}
.editorial-guide-aside .positive-panel { border-top: 3px solid #b76b84; }
.editorial-guide-aside .caution-panel { border-top: 3px solid #855064; }

@media (max-width: 1023px) {
  .editorial-guide-hero { grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr); }
  .editorial-guide-body { grid-template-columns: 1fr; }
  .editorial-guide-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); position: static; }
}
@media (max-width: 767px) {
  .editorial-guide { padding-block: 4.5rem; }
  .editorial-guide-hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .editorial-guide-copy { text-align: center; }
  .editorial-guide-copy .section-heading,
  .editorial-guide-copy .content-lead { margin-inline: auto; }
  .editorial-guide-copy .section-heading { font-size: clamp(2rem, 10vw, 2.8rem); }
  .editorial-guide-media { min-height: 0; aspect-ratio: 16 / 10; border-radius: 1.35rem; }
  .editorial-steps { grid-template-columns: 1fr; }
  .editorial-step-card.wide { grid-column: auto; }
}
@media (max-width: 539px) {
  .editorial-guide { padding-inline: 1rem; }
  .editorial-step-card { grid-template-columns: 1fr; gap: 0.85rem; padding: 1.25rem; }
  .editorial-step-number { width: 2.25rem; height: 2.25rem; }
  .editorial-guide-aside { grid-template-columns: 1fr; }
}

/* Role and process guides use page-specific editorial structures, not numbered cards. */
.editorial-step-number { display: none; }
.editorial-step-card { grid-template-columns: minmax(0, 1fr); }

.baby-profile-guide {
  background: radial-gradient(circle at 86% 14%, rgba(216,93,131,0.17), transparent 25rem), #fff9fb;
}
.baby-profile-guide .editorial-guide-media { border-radius: 50% 50% 1.5rem 1.5rem; }
.baby-profile-guide .editorial-steps { position: relative; grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
.baby-profile-guide .editorial-steps::before { content: ""; position: absolute; inset: 0 auto 0 0.3rem; width: 1px; background: linear-gradient(var(--rose), rgba(216,93,131,0.08)); }
.baby-profile-guide .editorial-step-card {
  position: relative;
  padding: 1.25rem 0 1.5rem;
  border: 0;
  border-bottom: 1px solid rgba(216,93,131,0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.baby-profile-guide .editorial-step-card::before { content: ""; position: absolute; top: 1.7rem; left: -2rem; width: 0.7rem; height: 0.7rem; border: 3px solid #fff9fb; border-radius: 50%; background: var(--rose); }

.daddy-profile-guide {
  background: radial-gradient(circle at 8% 8%, rgba(216,93,131,0.2), transparent 22rem), linear-gradient(145deg, #302329, #4a313a);
}
.daddy-profile-guide .editorial-guide-copy .section-label { color: #ffb5ca; }
.daddy-profile-guide .editorial-guide-copy .section-heading,
.daddy-profile-guide .editorial-step-card h3 { color: #fff; }
.daddy-profile-guide .editorial-guide-copy .content-lead,
.daddy-profile-guide .editorial-step-card p,
.daddy-profile-guide .editorial-more { color: rgba(255,255,255,0.76); }
.daddy-profile-guide .editorial-guide-media { border-color: rgba(255,255,255,0.2); border-radius: 1.25rem; }
.daddy-profile-guide .editorial-steps { gap: 0 1.75rem; }
.daddy-profile-guide .editorial-step-card {
  padding: 1.35rem 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.daddy-profile-guide .editorial-more { border-color: #f08caf; background: rgba(255,255,255,0.08); }

.process-journey { background: linear-gradient(180deg, #fffaf7, #fff); }
.process-journey .editorial-guide-hero { grid-template-columns: minmax(0,0.85fr) minmax(22rem,1.15fr); }
.process-journey .editorial-guide-media { aspect-ratio: 16 / 9; }
.process-journey .editorial-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.process-journey .editorial-step-number { display: inline-grid; }
.process-journey .editorial-step-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(216, 93, 131, 0.18);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px -38px rgba(73, 56, 62, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.process-journey .editorial-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 55px -34px rgba(216, 93, 131, 0.55);
}
.process-journey .editorial-step-card h3 { margin: 0 0 0.65rem; }

.wishlist-etiquette { background: linear-gradient(160deg, #fff7fa 0%, #f9e7ee 100%); }
.wishlist-etiquette .editorial-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(216,93,131,0.25); border-left: 1px solid rgba(216,93,131,0.25); }
.wishlist-etiquette .editorial-step-card {
  padding: 1.35rem;
  border: 0;
  border-right: 1px solid rgba(216,93,131,0.25);
  border-bottom: 1px solid rgba(216,93,131,0.25);
  border-radius: 0;
  background: rgba(255,255,255,0.38);
  box-shadow: none;
}
.wishlist-etiquette .editorial-step-card h3::before { content: "♡"; display: block; margin-bottom: 0.55rem; color: var(--rose); font-family: var(--font-sans); font-size: 1.2rem; }
.wishlist-etiquette .editorial-step-card.wide { grid-column: 1 / -1; }

@media (max-width: 899px) {
  .process-journey .editorial-guide-hero { grid-template-columns: 1fr; }
  .wishlist-etiquette .editorial-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 639px) {
  .process-journey .editorial-steps { grid-template-columns: 1fr; }
  .process-journey .editorial-step-card { grid-template-columns: 1fr; gap: 0.6rem; }
  .wishlist-etiquette .editorial-steps { grid-template-columns: 1fr; }
}
/* Safety routine: numbered editorial cards (numbers re-enabled after the role-guide reset). */
.safety-routine .editorial-step-number { display: inline-grid; }
.safety-routine .editorial-step-card { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 639px) {
  .safety-routine .editorial-step-card { grid-template-columns: 1fr; gap: 0.6rem; }
}

.guide-toc { position: sticky; top: var(--header-h); z-index: 30; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); }
.guide-toc .container { display: flex; gap: 0.5rem; overflow-x: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; scrollbar-width: none; }
.guide-toc a { flex: 0 0 auto; padding: 0.5rem 0.875rem; border-radius: 9999px; background: var(--powder); color: var(--mauve); font-size: 0.8125rem; font-weight: 600; }
.guide-toc a:hover { background: var(--rose); color: #fff; }
.guide-section { padding: 4.5rem 1.5rem; scroll-margin-top: calc(var(--header-h) + 4rem); }
.guide-article { width: 100%; max-width: 48rem; margin: 0 auto; }
.guide-article h2 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; color: var(--text); margin: 0.75rem 0 1.5rem; }
.guide-article h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); margin: 2rem 0 0.75rem; }
.guide-article p { color: var(--muted); line-height: 1.8; }
.guide-article a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 768px) { .guide-section { padding-block: 6rem; } }

.section-head-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.view-all { display: inline-flex; align-items: center; min-height: 2.75rem; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--rose); background: none; border: none; padding: 0.5rem 0; transition: gap 0.2s ease; }
.view-all:hover { gap: 0.75rem; }
.view-all svg { width: 1rem; height: 1rem; }

/* ─── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: 1rem; border: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem; text-align: left; background: none; border: none;
  transition: background 0.15s ease;
}
.faq-q:hover { background: var(--bg); }
.faq-q span { font-weight: 500; font-size: 0.875rem; color: var(--text); padding-right: 1rem; }
.faq-q svg { width: 1rem; height: 1rem; color: var(--muted); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 1.25rem 1.25rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Final CTA ─────────────────────────────────────────────────────────── */
.final-cta { position: relative; overflow: hidden; padding: 5.5rem 1.5rem; }
@media (min-width: 768px) { .final-cta { padding: 8rem 1.5rem; } }
.final-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(216, 93, 131, 0.8) 0%, rgba(73, 56, 62, 0.82) 100%);
}
.final-cta-inner { position: relative; z-index: 10; max-width: 48rem; margin: 0 auto; text-align: center; }
.final-cta h2 {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 0.125rem 1.5rem rgba(42, 25, 31, 0.28);
}
.final-cta .cta-title-accent {
  display: block;
  margin-top: 0.16em;
  color: #ffd5e1;
  font-style: italic;
  font-weight: 400;
}
.final-cta p { color: rgba(255, 255, 255, 0.7); font-size: 1.125rem; line-height: 1.6; margin-bottom: 2.5rem; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ─── Emoji value cards (sugar baby / daddy pages) ──────────────────────── */
.emoji-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .emoji-grid { grid-template-columns: repeat(2, 1fr); } }
.emoji-card { padding: 1.5rem; border-radius: 1rem; background: var(--powder); }
.emoji-card .emoji { font-size: 1.5rem; margin-bottom: 0.75rem; }
.emoji-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.25rem; }
.emoji-card p { font-size: 0.875rem; color: var(--muted); }

/* ─── Numbered tip list (profile tips) ──────────────────────────────────── */
.tips-list { display: flex; flex-direction: column; gap: 1rem; }
.tip-row { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; background: #fff; border-radius: 1rem; border: 1px solid var(--border); }
.tip-num { font-size: 0.875rem; font-weight: 700; color: var(--petal); flex-shrink: 0; margin-top: 0.125rem; }
.tip-row p { font-size: 0.875rem; color: var(--text); line-height: 1.6; }

/* ─── How it works page steps ───────────────────────────────────────────── */
.how-step { display: grid; gap: 2rem; align-items: center; padding: 2rem; border-radius: 1.5rem; border: 1px solid var(--border); }
@media (min-width: 768px) { .how-step { grid-template-columns: repeat(2, 1fr); } }
.how-step .num { font-family: var(--font-serif); font-weight: 300; font-size: 3rem; color: var(--petal); display: block; margin-bottom: 0.75rem; }
.how-step h3 { font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.how-step p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.how-step-media { aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; background: var(--blush); }
.how-step-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .how-step.reverse .how-step-media { order: 1; } .how-step.reverse .how-step-copy { order: 2; } }

/* ─── Wishlist selector page ────────────────────────────────────────────── */
.wishlist-select-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .wishlist-select-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wishlist-select-grid { grid-template-columns: repeat(3, 1fr); } }
.wishlist-cat { padding: 1.5rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); }
.wishlist-cat .emoji { font-size: 1.875rem; margin-bottom: 1rem; }
.wishlist-cat h3 { font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.wishlist-option {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem; border-radius: 0.75rem; font-size: 0.875rem;
  background: transparent; border: 1px solid var(--border); color: var(--text);
  margin-bottom: 0.5rem; transition: all 0.15s ease;
}
.wishlist-option:hover { border-color: var(--rose); }
.wishlist-option.selected { background: var(--powder); border-color: var(--rose); color: var(--rose); }
.wishlist-option svg { width: 0.875rem; height: 0.875rem; }

/* ─── Forms ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 2rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.form-label .accent { color: var(--rose); }

.form-select, .form-input {
  width: 100%; padding: 1rem; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--bg);
  color: var(--text); font-size: 0.875rem; font-family: var(--font-sans);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input { background: #fff; }
.form-select:focus, .form-input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(216, 93, 131, 0.16); }
.form-input::placeholder { color: rgba(128, 107, 115, 0.5); }

input[type="range"] { width: 100%; min-height: 2.75rem; accent-color: var(--rose); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

.pill-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pill {
  flex: 1; min-width: 0; padding: 0.75rem 1rem;
  border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500;
  background: transparent; border: 1px solid var(--border); color: var(--mauve);
  transition: all 0.15s ease;
}
.pill.selected { background: var(--rose); border-color: var(--rose); color: #fff; }

.toggle-option {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.25rem; border-radius: 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  transition: all 0.15s ease;
}
.toggle-option.on { background: var(--powder); border-color: var(--rose); color: var(--rose); }
.toggle-box {
  width: 1rem; height: 1rem; border-radius: 0.25rem;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.toggle-option.on .toggle-box { border-color: var(--rose); background: var(--rose); }
.toggle-box svg { width: 0.625rem; height: 0.625rem; color: #fff; }

/* ─── Quiz ──────────────────────────────────────────────────────────────── */
.quiz-progress { margin-bottom: 2rem; }
.quiz-progress-top { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; }
.progress-track { height: 0.375rem; border-radius: 9999px; background: var(--powder); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: var(--rose); transition: width 0.3s ease; }
.quiz-question { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 2rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-option {
  width: 100%; text-align: left; padding: 1.25rem;
  border-radius: 1rem; border: 1px solid var(--border);
  background: transparent; font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: all 0.15s ease;
}
.quiz-option:hover { border-color: var(--rose); background: var(--powder); }

/* ─── Results ───────────────────────────────────────────────────────────── */
.result-card { padding: 2rem; border-radius: 1.5rem; background: var(--blush); }
.result-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.5rem; }
.result-amount { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.result-caption { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.result-pill { display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; color: #fff; background: var(--rose); }
.result-note { font-size: 0.75rem; color: var(--muted); margin-top: 1.25rem; max-width: 24rem; margin-left: auto; margin-right: auto; line-height: 1.6; }

.result-emoji {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--blush); display: flex; align-items: center; justify-content: center;
  font-size: 1.875rem; margin: 0 auto 1.5rem;
}
.result-title { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.result-desc { color: var(--muted); line-height: 1.6; margin-bottom: 2rem; }
.result-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.result-tag { padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; background: var(--powder); color: var(--rose); }

.score-bar { height: 0.75rem; border-radius: 9999px; background: #fff; overflow: hidden; margin-bottom: 2rem; }
.score-bar-fill { height: 100%; border-radius: 9999px; background: linear-gradient(to right, var(--petal), var(--rose)); }
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.score-col h3 { font-size: 0.75rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.score-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.625rem; }
.score-item svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; }
.score-item span { font-size: 0.75rem; color: var(--text); line-height: 1.6; }

/* Compatibility ring */
.ring-wrap { position: relative; width: 10rem; height: 10rem; margin: 0 auto 1rem; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; color: var(--text); }
.area-row { margin-bottom: 1rem; }
.area-head { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.375rem; }
.area-head .name { font-weight: 500; color: var(--text); }
.area-head .pct { color: var(--rose); }
.area-track { height: 0.5rem; border-radius: 9999px; background: var(--powder); overflow: hidden; }
.area-fill { height: 100%; border-radius: 9999px; background: linear-gradient(to right, var(--petal), var(--rose)); }

/* ─── Safety page cards ─────────────────────────────────────────────────── */
.safety-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
.safety-card { padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); }
.safety-card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--powder); color: var(--rose); display: flex; align-items: center; justify-content: center; margin: 0 0 1rem; }
.safety-card-icon svg { width: 1.25rem; height: 1.25rem; }
.safety-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 1rem; }
.safety-card li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
.safety-card li svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--rose); }
.safety-card li span { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }

/* ─── About values ──────────────────────────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { padding: 1.5rem; background: #fff; border-radius: 1rem; border: 1px solid var(--border); }
.value-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--blush); color: var(--rose); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.value-icon svg { width: 1.25rem; height: 1.25rem; fill: var(--rose); }
.value-card h3 { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }

/* ─── FAQ page categories ───────────────────────────────────────────────── */
.faq-cat { margin-bottom: 3rem; }
.faq-cat-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.faq-cat-icon { width: 2rem; height: 2rem; border-radius: 50%; background: var(--powder); color: var(--rose); display: flex; align-items: center; justify-content: center; }
.faq-cat-icon svg { width: 1rem; height: 1rem; }
.faq-cat-head h2 { font-size: 1rem; font-weight: 600; color: var(--text); }

/* ─── Blog featured article ─────────────────────────────────────────────── */
.blog-featured { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .blog-featured { grid-template-columns: repeat(2, 1fr); } }
.blog-featured .article-media { aspect-ratio: 16 / 9; }
@media (min-width: 1024px) { .blog-featured .article-media { aspect-ratio: auto; } }

/* ─── Login ─────────────────────────────────────────────────────────────── */
.login-wrap { min-height: calc(100vh - 66px); min-height: calc(100dvh - 66px); display: grid; }
@media (min-width: 1024px) { .login-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.login-form-side { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 3rem 2rem; background: var(--cream); }
@media (min-width: 1024px) { .login-form-side { padding: 3rem 4rem; } }
.login-form-side .brand { margin-bottom: 3rem; width: fit-content; }
.login-form { width: min(100%, 24rem); margin-inline: auto; }
.login-form h1 { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.login-hint { font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; }
.login-hint a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; color: var(--rose); }
.login-form .form-group { margin-bottom: 1.25rem; }
.login-form .form-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.login-forgot { display: flex; justify-content: flex-end; margin-bottom: 1.25rem; }
.login-forgot button { min-height: 2.75rem; background: none; border: none; font-size: 0.75rem; font-weight: 500; color: var(--rose); padding: 0 0.5rem; }
.login-terms { font-size: 0.75rem; color: var(--muted); margin-top: 2rem; text-align: center; line-height: 1.6; }
.login-terms a { display: inline-flex; align-items: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--text); text-decoration: underline; }
.login-image-side { display: none; position: relative; background: var(--blush); }
@media (min-width: 1024px) { .login-image-side { display: block; } }
.login-image-side img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; position: absolute; inset: 0; }
.login-image-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(73, 56, 62, 0.65) 100%); }
.login-quote { position: absolute; bottom: 3rem; left: 3rem; right: 3rem; color: #fff; }
.login-quote p { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; line-height: 1.35; }
.login-quote small { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); margin-top: 0.75rem; display: block; }

/* ─── Legal pages ───────────────────────────────────────────────────────── */
.legal-body { max-width: 48rem; margin: 0 auto; padding: 5rem 1.5rem; }
.legal-updated { font-size: 0.875rem; color: var(--muted); margin-bottom: 2.5rem; }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.legal-section p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Utility ───────────────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* ─── App store badges ──────────────────────────────────────────────────── */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  justify-content: flex-start;
  width: 10.5rem;
  flex: 0 0 10.5rem;
  height: 3.25rem;
  box-sizing: border-box;
  overflow: hidden;
  background: #08090b; color: #fff;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  min-height: 3.25rem;
  box-shadow: 0 0.5rem 1.25rem -0.9rem rgba(0, 0, 0, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #111216; box-shadow: 0 0.9rem 1.8rem -1rem rgba(0, 0, 0, 0.72); }
.store-badge:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.store-badge .store-mark { width: 1.75rem; height: 1.9rem; flex: 0 0 auto; }
.store-badge .google-play-mark { width: 2rem; height: 2.25rem; }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1; text-align: left; min-width: 0; }
.store-badge .store-text small { font-size: 0.58rem; font-weight: 500; color: rgba(255, 255, 255, 0.82); letter-spacing: 0.025em; white-space: nowrap; }
.store-badge .store-text strong { margin-top: 0.16rem; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.025em; white-space: nowrap; }
.store-badge.google-play {
  gap: 0.6rem;
  padding-inline: 0.72rem;
}
.store-badge.google-play .store-text small {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.045em;
}
.store-badge.google-play .store-text strong {
  margin-top: 0.06rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}
@media (max-width: 420px) {
  .store-badges { gap: 0.5rem; }
  .store-badge {
    width: calc((100% - 0.5rem) / 2);
    flex-basis: calc((100% - 0.5rem) / 2);
    gap: 0.5rem;
    padding-inline: 0.7rem;
  }
  .store-badge.google-play { padding-inline: 0.6rem; }
  .store-badge .store-mark { width: 1.6rem; height: 1.75rem; }
  .store-badge .google-play-mark { width: 1.85rem; height: 2.05rem; }
  .store-badge .store-text strong { font-size: 0.94rem; }
  .store-badge .store-text small { font-size: 0.54rem; }
  .store-badge.google-play .store-text strong { font-size: 1.02rem; }
  .store-badge.google-play .store-text small { font-size: 0.56rem; }
}

/* ─── Phone mockup ──────────────────────────────────────────────────────── */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-mock {
  position: relative;
  width: 270px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: #171318;
  border-radius: 2.75rem;
  padding: 0.7rem;
  box-shadow: 0 35px 70px -28px rgba(73, 56, 62, 0.55);
  margin: 0 auto;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 1.35rem; left: 50%; transform: translateX(-50%);
  width: 5rem; height: 1.05rem;
  background: #171318;
  border-radius: 9999px;
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 2.05rem;
  overflow: hidden;
  background: var(--cream);
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.95rem 1.25rem 0.2rem;
  font-size: 0.7rem; font-weight: 600; color: var(--cocoa);
}
.phone-status svg { width: 0.875rem; height: 0.875rem; color: var(--mauve); }
.phone-app-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem 0.8rem;
}
.phone-app-header .brand-logo { width: 1.6rem; height: 1.6rem; }
.phone-app-header .brand-logo svg { width: 0.8rem; height: 0.8rem; }
.phone-app-title { font-size: 0.9rem; font-weight: 700; color: var(--cocoa); flex: 1; }
.phone-app-icon { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--powder); color: var(--rose); display: flex; align-items: center; justify-content: center; }
.phone-app-icon svg { width: 0.85rem; height: 0.85rem; }
.phone-profile {
  position: relative; flex: 1; min-height: 0;
  margin: 0 1.25rem;
  border-radius: 1.4rem; overflow: hidden;
  background: var(--blush);
}
.phone-profile img { width: 100%; height: 100%; object-fit: cover; }
.phone-profile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(73, 56, 62, 0.85) 0%, transparent 62%); }
.phone-profile-info { position: absolute; left: 1rem; right: 1rem; bottom: 2.8rem; }
.phone-profile-name { color: #fff; font-weight: 700; font-size: 1.2rem; }
.phone-profile-sub { color: rgba(255, 255, 255, 0.75); font-size: 0.75rem; margin-top: 0.2rem; }
.phone-profile-tag {
  position: absolute; left: 1rem; bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(4px);
  color: #fff; font-size: 0.65rem; font-weight: 500;
  padding: 0.3rem 0.65rem; border-radius: 9999px;
}
.phone-actions { display: flex; justify-content: center; gap: 1.5rem; padding: 1rem 0 0.7rem; }
.phone-action {
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  border: none; display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 8px 18px -8px rgba(73, 56, 62, 0.35);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.phone-action svg { width: 1.3rem; height: 1.3rem; }
.phone-action.skip { color: var(--mauve); }
.phone-action.like { background: var(--rose); color: #fff; }
.phone-action:hover { transform: scale(1.08); }
.phone-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 0.6rem 1rem 0.9rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.phone-tabbar svg { width: 1.2rem; height: 1.2rem; color: var(--mauve); }
.phone-tabbar .active { color: var(--rose); }
.phone-float {
  position: absolute; z-index: 6;
  background: #fff; border-radius: 1rem;
  box-shadow: 0 20px 40px -18px rgba(73, 56, 62, 0.35);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.phone-float svg { width: 1.5rem; height: 1.5rem; }
.phone-float p { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.phone-float small { font-size: 0.7rem; color: var(--muted); display: block; }
.phone-mock-row { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }

.app-editorial-image {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--blush);
  box-shadow: 0 30px 60px -32px rgba(73, 56, 62, 0.5);
}
.app-editorial-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* ─── Feature media cards (image cards) ────────────────────────────────── */
.feature-media-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .feature-media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-media-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-media-card { background: var(--card); border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.feature-media-card:hover { box-shadow: 0 18px 36px -14px rgba(216, 93, 131, 0.35); transform: translateY(-0.25rem); }
.fm-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); position: relative; }
.fm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-media-card:hover .fm-img img { transform: scale(1.06); }
.fm-icon { position: absolute; top: 1rem; left: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--rose); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -6px rgba(73, 56, 62, 0.35); }
.fm-icon svg { width: 1.05rem; height: 1.05rem; }
.fm-body { padding: 1.25rem 1.5rem 1.5rem; }
.fm-body h3 { font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 0.4rem; }
.fm-body p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }
@media (min-width: 1024px) { .feature-media-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ─── Process guide: hero image badge ──────────────────────────────────── */
.hero-float {
  position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(4px);
  border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: 0 20px 40px -20px rgba(73, 56, 62, 0.45);
  padding: 0.8rem 1.1rem; display: flex; align-items: center; gap: 0.6rem;
}
.hero-float svg { width: 1.4rem; height: 1.4rem; color: var(--rose); flex: 0 0 auto; }
.hero-float p { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.hero-float small { display: block; font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.split .editorial-guide-media { aspect-ratio: 16 / 10; min-height: 0; }

/* ─── Process guide: green-flag / caution panel pair ───────────────────── */
.panel-pair { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .panel-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-pair .info-panel {
  padding: 1.6rem;
  border-color: rgba(216, 93, 131, 0.2);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px -38px rgba(73, 56, 62, 0.75);
}
.panel-pair .positive-panel { border-top: 3px solid #b76b84; }
.panel-pair .caution-panel { border-top: 3px solid #855064; }
.panel-pair .content-list { margin: 0; padding: 0; list-style: none; gap: 0.8rem; }
.panel-pair .content-list li { position: relative; padding-left: 1.5rem; font-size: 0.875rem; }
.panel-pair .content-list li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 0.55rem; height: 0.55rem; border: 2px solid var(--rose); border-radius: 9999px; }

/* ─── Clean tool explainer & guide article ─────────────────────────────── */
.tool-ui-preview { max-width: 56rem; margin-inline: auto; }
.guide-article .content-list { margin: 0.5rem 0 1.75rem; padding: 0; list-style: none; }
.guide-article .content-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; color: var(--muted); line-height: 1.7; }
.guide-article .content-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.55rem; height: 0.55rem; border: 2px solid var(--rose); border-radius: 9999px; }

/* Keep connected support panels visually subordinate to the custom tool guidance. */
.tool-support .panel-pair { max-width: 70rem; gap: 0; border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; background: #fff; }
.tool-support .panel-pair .info-panel { padding: clamp(1.5rem,3vw,2rem); border: 0; border-radius: 0; box-shadow: none; }
.tool-support .panel-pair .info-panel + .info-panel { border-left: 1px solid var(--border); }
.tool-support .panel-pair .caution-panel { background: var(--text); }
.tool-support .panel-pair .caution-panel h2 { color: #fff; }
.tool-support .panel-pair .caution-panel p { color: rgba(255,255,255,0.78); }
.tool-support .panel-pair .caution-panel .info-panel-icon { background: rgba(255,255,255,0.13); color: #fff; }
.tool-support .panel-pair .positive-panel { background: rgba(255,255,255,0.97); }
@media (max-width: 639px) {
  .tool-support .panel-pair { border-radius: 1.15rem; }
  .tool-support .panel-pair .info-panel + .info-panel { border-top: 1px solid var(--border); border-left: 0; }
}
