/* ==========================================================================
   Bloom Mama — Stylesheet
   ==========================================================================

   Aesthetic: warm editorial. Cream paper, terracotta ink, generous serif
   typography. Asymmetric layouts that breathe. The site reads like a
   well-designed magazine — not a SaaS landing page.

   Stack:
     - Fraunces (display serif, characterful)
     - DM Sans (body, neutral)
     - Cairo (Arabic display + body — pairs visually with Fraunces' weight)

   Color tokens mirror the app exactly so the site and product feel like
   one continuous brand.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:           #FDF9F4;  /* page cream */
  --bg-warm:      #F8E6DA;  /* blush wash for hero / band sections */
  --bg-deeper:    #F0DCC9;  /* slightly stronger blush for accents */
  --bg-card:      #FFFFFF;
  --border:       #ECE4DA;
  --border-soft:  #F3EDE5;

  /* Brand */
  --primary:        #C27046;  /* terracotta */
  --primary-deep:   #9E5530;  /* deeper terracotta — most CTAs use this */
  --primary-darker: #7A3F20;  /* heading colour on warm bgs */
  --primary-soft:   #FFF2EA;  /* very pale terracotta wash */

  --blush:        #D98B80;
  --blush-soft:   #FBE5E1;
  --sage:         #7A9E76;
  --sage-soft:    #E6F0E4;
  --plum:         #8A6A8A;
  --plum-soft:    #ECE0EC;

  /* Text */
  --text:         #1E1A16;
  --text-2:       #524A42;
  --text-3:       #8E8278;
  --text-soft:    #B8AEA2;

  /* Type */
  --serif: "Fraunces", "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing scale (we mostly use rem for vertical rhythm) */
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 130px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Arabic switches the display font to Cairo — Fraunces has no Arabic glyphs */
:root[lang="ar"] {
  --serif: "Cairo", "Fraunces", Georgia, serif;
  --sans:  "Cairo", "DM Sans", system-ui, sans-serif;
}

/* ─── Reset ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Avoid text under sticky nav when jump-linking */
  scroll-padding-top: 90px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Subtle paper grain — adds atmosphere without being noisy */
  background-image:
    radial-gradient(circle at 18% 22%, rgba(194,112,70,0.04) 0, transparent 38%),
    radial-gradient(circle at 88% 78%, rgba(217,139,128,0.05) 0, transparent 42%);
  background-attachment: fixed;
}

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

/* RTL: keep most layouts unchanged but flip a few specific things */
:root[dir="rtl"] body { letter-spacing: 0; }

/* ─── Layout container ────────────────────────────────────────────────── */

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Decorative thin rule that matches a magazine vibe */
.rule {
  border: 0;
  height: 1px;
  background: var(--border);
  margin-block: 0;
}

/* Reusable "kicker" / eyebrow micro-label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--primary);
}

/* ─── Nav ─────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px var(--gutter);
  background: rgba(253, 249, 244, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.nav-logo-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline-end: 6px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--primary-deep); }

/* Hide nav links on small screens; rely on the language switcher + CTA */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-logo-word { font-size: 19px; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--primary-deep); transform: translateY(-1px); }
.nav-back {
  font-size: 13px;
  color: var(--primary-deep);
  font-weight: 500;
}
.nav-back:hover { text-decoration: underline; }

/* ─── Language switcher ────────────────────────────────────────────────── */

.lang-switcher {
  position: relative;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px 7px 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-trigger:hover { border-color: var(--primary); color: var(--primary-deep); }
.lang-trigger svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s var(--ease);
}
.lang-switcher.is-open .lang-trigger svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(30, 26, 22, 0.08);
  min-width: 140px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.lang-switcher.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: start;
  transition: background 0.15s var(--ease);
}
.lang-menu button:hover { background: var(--primary-soft); }
.lang-menu button.is-active { color: var(--primary-deep); }
.lang-menu button.is-active::after {
  content: "✓";
  font-size: 13px;
  color: var(--primary);
}
.lang-menu .lang-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}
.lang-menu .lang-section-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 6px 12px 4px;
}
.lang-menu button.is-coming-soon {
  cursor: default;
  color: var(--text-soft);
  opacity: 0.7;
}
.lang-menu button.is-coming-soon:hover { background: transparent; }
.lang-menu button.is-coming-soon::after {
  content: "Soon";
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

/* ─── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding-top: 130px;  /* clear the fixed nav */
  padding-bottom: var(--section-y);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(122, 158, 118, 0.18);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--primary-deep);
  margin-bottom: 28px;
}
.hero-title .em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.hero-title span {
  display: block;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-foot {
  font-size: 12px;
  color: var(--text-3);
}

/* App Store / Play Store buttons (matches official badge styling) */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  text-align: start;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-store:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
}
.btn-store svg { flex-shrink: 0; opacity: 0.95; }
.btn-store-text { display: flex; flex-direction: column; line-height: 1.1; }
.btn-store-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.04em;
}
.btn-store-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual::before {
  /* Soft blob behind the phone — adds depth */
  content: "";
  position: absolute;
  inset: 4% -8% 4% -8%;
  background: radial-gradient(closest-side, rgba(194,112,70,0.20), transparent 70%);
  filter: blur(24px);
  z-index: 0;
}

/* ─── Phone mockup (HTML/CSS, no image) ────────────────────────────────
   Proportions roughly match an iPhone 14 Pro: 9 / 19.5 aspect, heavy
   bezel at corners, notch at the top. Inside is the actual welcome
   screen of the Bloom Mama app — translatable, scalable.
   ───────────────────────────────────────────────────────────────────── */
.phone {
  position: relative;
  z-index: 1;
  width: clamp(280px, 28vw, 360px);
  aspect-ratio: 9 / 17;
  /* Gentle float animation */
  animation: phoneFloat 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes bloomBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.phone-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #C9BDB1, #B5A89B);
  border-radius: 14% / 7%;
  padding: 3.2% 2.8%;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 24px 50px -12px rgba(122, 56, 30, 0.18),
    0 10px 22px -8px rgba(30, 26, 22, 0.10),
    inset 1px 2px 2px rgba(255, 255, 255, 0.20);
}
.phone-notch {
  position: absolute;
  top: 1.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 2.6%;
  background: rgba(30, 26, 22, 0.5);
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 11% / 5.4%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Status bar */
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 22px 6px;
  flex-shrink: 0;
}
.phone-time { font-feature-settings: "tnum"; }
.phone-status-right {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
}

/* App body */
.phone-app {
  flex: 1;
  padding: 8px 22px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header: hamburger + lotus */
.phone-app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.phone-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.phone-icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  /* gentle breathing animation on the lotus button */
  animation: bloomBreathe 4s ease-in-out infinite;
}

/* Greeting */
.phone-eyebrow-sm {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone-name {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}

/* Week strip */
.phone-week {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.phone-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.phone-day-l {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: uppercase;
}
.phone-day-n {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.phone-day-n.is-today {
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

/* Big phase circle */
.phone-phase {
  align-self: center;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FCE6D5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6%;
  margin: 4px 0 14px;
  position: relative;
}
.phone-phase::before {
  /* very subtle outer halo */
  content: "";
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,112,70,0.06), transparent 70%);
  z-index: -1;
}
.phone-phase-eyebrow {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 3px;
}
.phone-phase-week {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--primary-darker);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 7px;
}
.phone-phase-sub {
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.4;
  color: var(--primary-darker);
  opacity: 0.7;
  max-width: 75%;
}

/* Stats row */
.phone-stats {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin: 4px 0 14px;
}
.phone-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.phone-stat-num {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.phone-stat-l {
  font-family: var(--sans);
  font-size: 8px;
  color: var(--text-3);
}

/* Insights heading */
.phone-insights-h {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Insight cards row */
.phone-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  flex: 1;
  align-items: stretch;
  margin-bottom: 4px;
}
.phone-insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 64px;
}
.phone-insight-text {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.phone-insight-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}
.phone-insight-icon--sage {
  background: var(--sage-soft);
  color: var(--sage);
}
.phone-insight-icon--terracotta {
  background: var(--primary-soft);
  color: var(--primary);
}

/* Bottom tab bar */
.phone-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px 4px;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-3);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
}
.phone-tab svg { color: var(--text-3); }
.phone-tab.is-active { color: var(--primary-deep); }
.phone-tab.is-active svg { color: var(--primary-deep); }
.phone-tab-pill {
  background: var(--primary-soft);
  width: 36px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1px;
}

.phone-home-bar {
  margin: 4px auto 6px;
  width: 30%;
  height: 3px;
  border-radius: 999px;
  background: rgba(30, 26, 22, 0.25);
  flex-shrink: 0;
}

/* Don't float on small screens — feels janky on mobile */
@media (max-width: 720px) {
  .phone { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .phone-icon-btn img { animation: none; }
}

/* ─── Trust strip ─────────────────────────────────────────────────────── */

.trust {
  border-block: 1px solid var(--border);
  padding-block: 24px;
  margin-block: 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 50px);
  justify-content: space-between;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: uppercase;
}
.trust-item svg { color: var(--sage); flex-shrink: 0; }

/* ─── Manifesto / pull quote ──────────────────────────────────────────── */

.manifesto {
  padding-block: var(--section-y);
}
.manifesto-inner {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--text);
  font-weight: 400;
  margin-block: 28px;
  position: relative;
}
.manifesto-quote::before {
  content: "“";
  position: absolute;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.18;
  top: -50px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
:root[lang="ar"] .manifesto-quote::before { content: "”"; }
.manifesto-author {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── Features ────────────────────────────────────────────────────────── */

.features {
  padding-block: var(--section-y);
  background: var(--primary-soft);
  position: relative;
  overflow: hidden;
}
.features::before {
  /* soft top edge curl into the cream background */
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
}
.features::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.features-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 720px) {
  .features-head { grid-template-columns: 1fr; gap: 18px; }
}
.features-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--primary-darker);
}
.features-title .em {
  display: block;
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.features-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 460px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.feature:hover { background: var(--bg-card); }
.feature-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--primary);
  font-feature-settings: "tnum";
}
.feature-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 500;
}
.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ─── How it works ────────────────────────────────────────────────────── */

.how {
  padding-block: var(--section-y);
}
.how-head { margin-bottom: clamp(40px, 5vw, 70px); }
.how-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-top: 14px;
  max-width: 720px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 720px) {
  .how-steps { grid-template-columns: 1fr; }
}
.how-step {
  position: relative;
  padding-top: 56px;
}
.how-step-num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--primary-darker);
}
.how-step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ─── PDF section ─────────────────────────────────────────────────────── */

.pdf {
  padding-block: var(--section-y);
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}
.pdf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .pdf-grid { grid-template-columns: 1fr; gap: 40px; }
}
.pdf-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-block: 14px 20px;
}
.pdf-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--primary-darker);
  opacity: 0.8;
  margin-bottom: 28px;
}
.pdf-list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdf-list li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14px;
  color: var(--primary-darker);
}
.pdf-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 14px; height: 1px;
  background: var(--primary);
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-deep);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.pdf-btn:hover { transform: translateY(-2px); background: var(--primary-darker); }
.pdf-note {
  font-size: 12px;
  color: var(--primary-darker);
  opacity: 0.7;
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* PDF cover mock — magazine-style */
.pdf-mock {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 360px;
  margin-inline: auto;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 30px 60px rgba(122, 56, 30, 0.16),
    0 8px 20px rgba(122, 56, 30, 0.08);
  display: flex;
  flex-direction: column;
  padding: 40px 32px 32px;
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}
.pdf-mock:hover { transform: rotate(0deg) translateY(-4px); }
.pdf-mock-rule { width: 50px; height: 2px; background: var(--primary); margin-bottom: 18px; }
.pdf-mock-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.pdf-mock-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  font-weight: 500;
  margin-bottom: 14px;
}
.pdf-mock-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: auto;
}
.pdf-mock-foot {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ─── Privacy callout ─────────────────────────────────────────────────── */

.privacy {
  padding-block: var(--section-y);
}
.privacy-card {
  background: var(--text);
  color: var(--bg);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(194,112,70,0.20), transparent 70%);
  pointer-events: none;
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .privacy-grid { grid-template-columns: 1fr; }
}
.privacy-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-block: 14px 18px;
}
.privacy-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(253, 249, 244, 0.7);
}
.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.privacy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(253, 249, 244, 0.9);
  font-weight: 500;
}
.privacy-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

/* ─── Final CTA ───────────────────────────────────────────────────────── */

.final-cta {
  padding-block: var(--section-y);
  text-align: center;
}
.final-cta-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-block: 14px 22px;
}
.final-cta-title .em { font-style: italic; color: var(--primary); }
.final-cta-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.final-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.final-cta-disclaim {
  font-size: 12px;
  color: var(--text-3);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--text);
  color: rgba(253, 249, 244, 0.7);
  padding-block: 70px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img { width: 32px; height: 32px; opacity: 0.95; }
.footer-logo span {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bg);
  font-weight: 500;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(253, 249, 244, 0.55);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 249, 244, 0.5);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(253, 249, 244, 0.8);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--bg); }
.footer-base {
  border-top: 1px solid rgba(253, 249, 244, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(253, 249, 244, 0.45);
}

/* ============================================================
   Subpages (about / contact / privacy / terms)
   ============================================================ */

.page-hero {
  padding-block: 130px var(--section-y);
}
.page-hero-inner { max-width: 820px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-block: 16px 24px;
}
.page-title .em { font-style: italic; color: var(--primary); font-weight: 400; }
.page-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 640px;
}

.long-form {
  padding-block: 0 var(--section-y);
  max-width: 720px;
  margin-inline: auto;
}
.long-form .updated {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 32px;
}
.long-form h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-block: 38px 14px;
}
.long-form p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 16px;
}
.long-form ul {
  list-style: none;
  margin-block: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.long-form ul li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.long-form ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 10px; height: 1px;
  background: var(--primary);
}

.callout {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 24px 28px;
  margin-block: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--primary-darker);
}
.callout strong { color: var(--primary-deep); }

.warning-callout {
  background: var(--blush-soft);
  border-inline-start: 4px solid var(--blush);
  border-radius: 12px;
  padding: 22px 26px;
  margin-block: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #6A2220;
}
.warning-callout strong { display: block; margin-bottom: 4px; color: #6A2220; }

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--primary-deep);
  font-style: italic;
  border-inline-start: 3px solid var(--primary);
  padding-inline-start: 26px;
  margin-block: 36px;
}

/* About — values grid */
.values-band {
  background: var(--primary-soft);
  padding-block: var(--section-y);
}
.values-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.values-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  font-weight: 500;
  margin-top: 12px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.value-card {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.value-card-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}
.value-card-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 500;
}
.value-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}

/* Contact — cards + FAQ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-block: 0 60px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.contact-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-block: 12px 8px;
  color: var(--text);
}
.contact-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 14px;
}
.contact-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.contact-card a:hover { color: var(--primary-darker); }

.faq {
  margin-block: 60px;
}
.faq h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text);
}
.faq-item {
  border-top: 1px solid var(--border);
  padding-block: 20px;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-q::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  transition: max-height 0.3s var(--ease), padding-top 0.3s var(--ease);
}
.faq-item.is-open .faq-a {
  max-height: 400px;
  padding-top: 12px;
}

/* Thanks page (lightweight, centred) */
.thanks-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.thanks-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 40px;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(30, 26, 22, 0.06);
}
.thanks-check {
  width: 56px; height: 56px;
  border-radius: 28px;
  background: var(--sage-soft);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: 20px;
}
.thanks-card h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--primary-deep);
}
.thanks-card .sub { font-size: 16px; color: var(--text-2); line-height: 1.65; margin-bottom: 8px; }
.thanks-card .detail { font-size: 14px; color: var(--text-3); line-height: 1.65; margin-bottom: 28px; }
.thanks-btn {
  display: inline-block;
  background: var(--primary-deep);
  color: var(--bg);
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.thanks-btn:hover { transform: translateY(-2px); background: var(--primary-darker); }

/* ─── Animations ──────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * { animation: fadeUp 0.7s var(--ease) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }

.hero-visual { animation: fadeUp 0.9s var(--ease) 0.3s both; }

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

/* ============================================================
   Blog
   ============================================================ */

.blog-list {
  padding-block: var(--section-y);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(122, 56, 30, 0.08);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.blog-card-meta .blog-card-cat {
  color: var(--primary-deep);
}
.blog-card-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-soft);
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 22px;
  flex: 1;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-deep);
  align-self: start;
}
.blog-card-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
:root[dir="rtl"] .blog-card-link::after { content: "←"; }
.blog-card:hover .blog-card-link::after { transform: translateX(3px); }
:root[dir="rtl"] .blog-card:hover .blog-card-link::after { transform: translateX(-3px); }

/* ─── Article page ─────────────────────────────────────────────────── */

.article-hero {
  padding-block: 130px 60px;
}
.article-hero-inner {
  max-width: 760px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 22px;
}
.article-meta .article-cat {
  color: var(--primary-deep);
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-bottom: 22px;
}
.article-deck {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 24px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 16px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.article-byline strong { color: var(--text-2); font-weight: 600; }

.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 0 80px;
}
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4em;
  font-weight: 500;
  float: inline-start;
  line-height: 0.85;
  margin: 6px 10px 0 0;
  color: var(--primary);
}
:root[dir="rtl"] .article-body > p:first-of-type::first-letter {
  margin: 6px 0 0 10px;
}
.article-body p,
.article-body ul,
.article-body ol {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
  margin-block: 44px 16px;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--text);
  margin-block: 30px 12px;
}
.article-body ul,
.article-body ol {
  list-style: none;
  padding: 0;
}
.article-body ul li,
.article-body ol li {
  position: relative;
  padding-inline-start: 24px;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 13px;
  width: 12px;
  height: 1px;
  background: var(--primary);
}
.article-body ol {
  counter-reset: art;
}
.article-body ol li {
  counter-increment: art;
  padding-inline-start: 32px;
}
.article-body ol li::before {
  content: counter(art) ".";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  font-family: var(--serif);
  color: var(--primary);
  font-weight: 500;
  font-size: 17px;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--primary-darker); font-style: italic; }

.article-callout {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 24px 28px;
  margin-block: 32px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--primary-darker);
}
.article-callout strong { color: var(--primary-deep); }

.article-warning {
  background: var(--blush-soft);
  border-inline-start: 4px solid var(--blush);
  border-radius: 12px;
  padding: 22px 26px;
  margin-block: 32px;
  font-size: 15px;
  line-height: 1.65;
  color: #6A2220;
}
.article-warning strong { display: block; margin-bottom: 6px; color: #6A2220; }

/* End-of-article CTA back to app */
.article-end-cta {
  background: var(--primary-soft);
  border-radius: 24px;
  padding: 40px 36px;
  margin-block: 48px 0;
  text-align: center;
}
.article-end-cta h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  margin-bottom: 8px;
}
.article-end-cta p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.article-end-cta-btns {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Related articles */
.related {
  background: var(--primary-soft);
  padding-block: var(--section-y);
}
.related h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--primary-darker);
  margin-block: 12px 32px;
}
/* ─── B2B page ────────────────────────────────────────────────────────── */

/* Stats strip — sits right below hero */
.b2b-stats {
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px);
}
.b2b-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .b2b-stats-grid { grid-template-columns: 1fr; }
}
.b2b-stat {
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.b2b-stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  font-weight: 500;
  font-feature-settings: "tnum";
}
.b2b-stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin-top: 10px;
}

/* Adds an optional lead under the values-band heading (used on B2B too) */
.values-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 680px;
  margin: 14px auto 0;
}

/* Generic section heading block used by the B2B sections */
.b2b-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}
.b2b-section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  font-weight: 500;
}
.b2b-section-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  margin-top: 14px;
}

/* "Who we partner with" — pill-style list */
.b2b-who { padding-block: var(--section-y); }
.b2b-who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin-inline: auto;
}
.b2b-who-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--sans);
}

/* "How partnership works" — three steps */
.b2b-how {
  background: var(--primary-soft);
  padding-block: var(--section-y);
}
.b2b-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.b2b-how-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
}
.b2b-how-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
  font-feature-settings: "tnum";
}
.b2b-how-step h3 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
  font-weight: 500;
  margin: 0 0 10px;
}
.b2b-how-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* Evidence band — single-card layout on warm wash */
.b2b-evidence { padding-block: var(--section-y); }
.b2b-evidence-card {
  background: var(--bg-warm);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 64px);
  max-width: 920px;
  margin-inline: auto;
}
.b2b-evidence-head { text-align: center; margin-bottom: 32px; }
.b2b-evidence-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  font-weight: 500;
  margin: 12px 0 14px;
}
.b2b-evidence-head p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 580px;
  margin-inline: auto;
}
.b2b-evidence-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b2b-evidence-list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.b2b-evidence-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--primary);
  font-weight: 600;
}
.b2b-evidence-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 24px;
  font-style: italic;
}

/* Pricing */
.b2b-pricing { padding-block: var(--section-y); }
.b2b-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.b2b-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.b2b-pricing-card.is-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(194, 112, 70, 0.12);
}
.b2b-pricing-tier {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}
.b2b-pricing-price {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  font-weight: 500;
  margin-bottom: 14px;
}
.b2b-pricing-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* CTA band */
.b2b-cta {
  background: var(--primary-soft);
  padding-block: var(--section-y);
}
.b2b-cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.b2b-cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary-darker);
  font-weight: 500;
  margin: 0 0 16px;
}
.b2b-cta-inner p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 32px;
}
.b2b-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-deep);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover {
  background: var(--primary-darker);
  transform: translateY(-1px);
}
.btn-secondary {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
.btn-secondary:hover { color: var(--primary-darker); }
