/* ============================================================
   FONTS
   ============================================================ */
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-RegularItalic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiempos Text"; src: url("/agent/visual/fonts/TiemposText-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Book.woff2") format("woff2"); font-weight: 350; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Semibold.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/agent/visual/fonts/SuisseIntl-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Good Sans"; src: url("/agent/visual/fonts/GoodSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --ink:          #092419;
  --earthy:       #465D38;
  --white:        #FFFFFF;
  --paper:        #FAFAF7;
  --light-yellow: #FFF2C8;
  --marigold:     #F8D561;

  --ink-100: rgba(9,36,25,1);
  --ink-80:  rgba(9,36,25,0.80);
  --ink-60:  rgba(9,36,25,0.60);
  --ink-50:  rgba(9,36,25,0.50);
  --ink-40:  rgba(9,36,25,0.40);
  --ink-20:  rgba(9,36,25,0.20);
  --ink-10:  rgba(9,36,25,0.10);
  --ink-05:  rgba(9,36,25,0.05);

  --fg:      var(--ink);
  --fg-2:    var(--ink-80);
  --fg-3:    var(--ink-60);
  --fg-mute: var(--ink-50);
  --fg-faint:var(--ink-40);

  --font-serif: "Tiempos Text", "Source Serif Pro", Georgia, serif;
  --font-sans:  "Suisse Intl", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-meta:  "Good Sans", "Suisse Intl", "Inter", -apple-system, sans-serif;

  --fs-display-xl: 96px;
  --fs-display-lg: 72px;
  --fs-display:    56px;
  --fs-h1:         44px;
  --fs-h2:         36px;
  --fs-h3:         28px;
  --fs-h4:         22px;
  --fs-lead:       30px;
  --fs-body-lg:    19px;
  --fs-body:       17px;
  --fs-body-sm:    15px;
  --fs-meta:       13px;

  --lh-display: 1.10;
  --lh-snug:    1.20;
  --lh-body: 1.40;

  --ls-tight: -0.020em;
  --ls-snug:  -0.012em;
  --ls-meta: 0.02em;

  --s-1:  4px;   --s-2:  8px;   --s-3:  12px;  --s-4:  16px;
  --s-5:  20px;  --s-6:  24px;  --s-7:  32px;  --s-8:  40px;
  --s-9:  48px;  --s-10: 64px;  --s-11: 80px;  --s-12: 96px;
  --s-13: 120px; --s-14: 160px;

  --r-xs:   4px;  --r-sm:   8px;  --r-md:  12px;
  --r-lg:  16px;  --r-xl:  24px;  --r-2xl: 32px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(9,36,25,0.04), 0 0 0 1px rgba(9,36,25,0.06);
  --shadow-2: 0 4px 14px rgba(9,36,25,0.05), 0 0 0 1px rgba(9,36,25,0.05);
  --shadow-3: 0 18px 40px -16px rgba(9,36,25,0.18), 0 2px 6px rgba(9,36,25,0.04);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;

  --gutter:    60px;
  --gutter-sm: 24px;
  --max-w:     1280px;

  /* --- New in final brand kit --- */
  --light-fuchsia: #EBD7EC;
  --light-green:   #DBE5CF;
  --light-clay:    #F8DAD0;
  --forest:        var(--ink);
  --forest-2:      var(--earthy, #465D38);
  --bone:          var(--paper);
  --black:         #000000;
  --cream:         var(--light-yellow);
  --gold:          var(--marigold);
  --ink-100: rgba(9,36,25,1);
  --forest-100: var(--ink-100); --forest-80: var(--ink-80); --forest-60: var(--ink-60);
  --forest-50: var(--ink-50); --forest-40: var(--ink-40); --forest-20: var(--ink-20);
  --forest-10: var(--ink-10); --forest-05: var(--ink-05, rgba(9,36,25,0.05));
  --bg:         var(--paper);
  --bg-elev:    var(--white);
  --bg-soft:    var(--light-yellow);
  --bg-inverse: var(--ink);
  --fg-on-dark:   var(--white);
  --fg-on-dark-2: rgba(255,255,255,0.72);
  --fg-on-dark-3: rgba(255,255,255,0.50);
  --fg-faint:   var(--ink-40);
  --line:         var(--ink-10);
  --line-strong:  var(--ink-20);
  --line-emph:    var(--ink);
  --line-dark:    rgba(255,255,255,0.14);
  --positive: #2F6F4F;
  --warning:  #C28A1F;
  --critical: #8E2C2C;
  --ls-tighter: -0.025em;
  --ls-normal:   0em;
  --ls-wide:     0.010em;
  --ls-wider:    0.020em;
  --lh-tight: 1.05;
  --lh-loose: 1.60;
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-slow:  420ms;
  --dur-stage: 700ms;
  --container-max:  1280px;
  --container-wide: 1440px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

html { scroll-behavior: auto; scroll-padding-top: 96px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  font-family: var(--font-meta);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--fg-mute);
  line-height: 1.6;
}

/* ============================================================
   PILL CTAs  (primary)
   ============================================================ */
.pill {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.pill-yellow            { background: var(--light-yellow); color: var(--ink); }
.pill-yellow .dot       { background: var(--ink); }
.pill-yellow:hover      { background: var(--marigold); }
.pill-ink               { background: var(--ink); color: var(--white); }
.pill-ink .dot          { background: var(--white); }
.pill-ink:hover         { background: color-mix(in srgb, var(--ink) 88%, #fff); }
.pill-mint              { background: var(--light-green, #DBE5CF); color: var(--ink); }
.pill-mint .dot         { background: var(--ink); }
.pill-mint:hover        { background: var(--ink); color: var(--white); }
.pill-mint:hover .dot   { background: var(--white); }
.pill-glass             { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.18); }
.pill-glass .dot        { background: var(--white); }
.pill-glass:hover       { background: var(--white); color: var(--ink); }
.pill-glass:hover .dot  { background: var(--ink); }

/* ---- Outlined pill (secondary action) ---- */
.pill-outline {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-20);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.pill-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---- Animated underline text link ---- */
.link-anim {
  all: unset;
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding: 3px 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-sm, 15px);
  color: var(--fg-3);
}
.link-anim::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--ink-40);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 300ms var(--ease-out);
}
.link-anim:hover { color: var(--fg); }
.link-anim:hover::after { transform: scaleX(1); }

/* ---- Chip / tag ---- */
.chip {
  all: unset;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--ink-05, rgba(9,36,25,0.05));
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-meta);
  color: var(--fg-3);
  white-space: nowrap;
}

/* ============================================================
   NAV
   ============================================================ */
.nav-shell {
  position: sticky;
  top: 18px;
  z-index: 200;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-radius: var(--r-lg);
  background: rgba(250,250,247,0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-2);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-left  { display: flex; align-items: center; gap: 56px; }
.nav-logo  { height: 18px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--ink);
  opacity: 1;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { opacity: 0.72; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav-phone:hover { opacity: 0.65; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 350;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  background: var(--light-yellow);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-cta:hover { background: var(--marigold); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ink); flex-shrink: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-text-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 80px;
}
.hero-text-inner {
  width: min(780px, 100%);
  padding: 60px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-7);
  text-shadow: 0 1px 22px rgba(9,36,25,0.62), 0 1px 4px rgba(9,36,25,0.45);
}
.hero-image-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0;
  animation: hero-fade-in var(--dur-stage) var(--ease-out) 120ms forwards;
}
@keyframes hero-fade-in { to { opacity: 1; } }
@keyframes hero-cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
.hero-scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.6);
  animation: hero-cue 1.9s var(--ease-in-out) infinite;
}
.hero-scroll-cue:hover { color: rgba(255,255,255,0.9); }
@media (max-width: 768px) { .hero-scroll-cue { display: none; } }
.hero-credential {
  position: absolute;
  left: var(--gutter);
  bottom: var(--s-8);
  z-index: 2;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-mute);
}
@media (max-width: 768px) {
  .hero-credential { left: var(--gutter-sm); bottom: var(--s-6); font-size: 12px; }
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, var(--fs-display-lg));
  line-height: var(--lh-display, 1.10);
  letter-spacing: var(--ls-tight);
  color: var(--fg-on-dark);
  text-wrap: balance;
}
.hero-lead {
  font-family: var(--font-sans);
  font-weight: 350;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-2); }
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to top, var(--paper) 0%, rgba(250,250,247,0.92) 4%, rgba(250,250,247,0.8) 8%, rgba(250,250,247,0.64) 13%, rgba(250,250,247,0.46) 19%, rgba(250,250,247,0.3) 26%, rgba(250,250,247,0.16) 33%, rgba(250,250,247,0.07) 40%, rgba(250,250,247,0) 50%);
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(9,36,25,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-badge .eyebrow { color: rgba(255,255,255,0.45); }
.hero-badge .quote {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
}

/* ============================================================
   HERO SEARCH EXPRESSION: "The Midnight Google"
   ============================================================ */
.hero-search {
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 30px;
  background: var(--paper);
  border: 1px solid var(--ink-20);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
}
.hero-search-icon {
  flex-shrink: 0;
  opacity: 0.35;
  display: flex;
  align-items: center;
}
.hero-search-text {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  color: var(--fg-2);
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.hero-search-typed { color: #1A6FF5; }
.hero-search-caret {
  display: inline-block;
  width: 1px;
  background: #1A6FF5;
  height: 0.9em;
  vertical-align: -0.08em;
  margin-left: 1px;
  animation: search-caret-blink 880ms steps(2, start) infinite;
}
@keyframes search-caret-blink { 50% { opacity: 0; } }

/* Problem section: headline, then search box, then stat + CTA — stacked column */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
  max-width: 640px;
}
.problem-search-col { display: flex; }
.problem-search-col .hero-search { max-width: 100%; width: 100%; }
.problem-evidence { display: flex; flex-direction: column; gap: var(--s-7); }
.problem-stat {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  line-height: 1.3;
  letter-spacing: var(--ls-snug);
  color: var(--fg);
}
.problem-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; gap: var(--s-9); }
}

/* ============================================================
   WHAT WE HANDLE: fog layer / drum picker
   ============================================================ */
.section-handle {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.handle-bg {
  position: absolute;
  inset: -6%;
  background: url('/agent/visual/assets/optimized/img-11.jpg') center/cover no-repeat;
  filter: blur(44px) saturate(1.1);
}
.handle-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      var(--paper) 0%,
      rgba(250,250,247,0.97) 2%,
      rgba(250,250,247,0.9) 5%,
      rgba(250,250,247,0.78) 8%,
      rgba(250,250,247,0.62) 12%,
      rgba(250,250,247,0.44) 16%,
      rgba(250,250,247,0.28) 20%,
      rgba(250,250,247,0.15) 24%,
      rgba(250,250,247,0.06) 28%,
      rgba(250,250,247,0) 33%,
      rgba(250,250,247,0) 67%,
      rgba(250,250,247,0.06) 72%,
      rgba(250,250,247,0.15) 76%,
      rgba(250,250,247,0.28) 80%,
      rgba(250,250,247,0.44) 84%,
      rgba(250,250,247,0.62) 88%,
      rgba(250,250,247,0.78) 92%,
      rgba(250,250,247,0.9) 95%,
      rgba(250,250,247,0.97) 98%,
      var(--paper) 100%),
    linear-gradient(rgba(9,36,25,0.14), rgba(9,36,25,0.14));
}
.handle-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  padding: var(--s-13) var(--gutter);
}
.handle-inner.handle-split {
  flex-direction: row;
  align-items: center;
  gap: var(--s-12);
  /* Mirror the nav's container math (gutter outside, 22px inside) so the
     section's left edge lines up with the HONORLY logo at every width. */
  max-width: min(var(--max-w), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--s-13) 22px;
}
.handle-copy {
  flex: 1.1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--s-5);
}
.handle-split .handle-list {
  flex: 1.0 1 0;
  height: 400px;
  align-self: center;
}
/* In the split layout the reel column is narrower, so shrink the base
   size (the active item scales 3x) and indent so it never clips. */
.handle-split .handle-item {
  left: 110px;
  right: 0;
  font-size: 13px;
}
/* Between the stacked-mobile layout and full desktop the reel column is
   narrow; drop the extra inset so the scaled active item never clips. */
@media (max-width: 1160px) {
  .handle-split .handle-item { left: 36px; }
}
@media (max-width: 860px) {
  .handle-inner.handle-split { flex-direction: column; align-items: flex-start; gap: var(--s-9); }
  .handle-copy { align-items: flex-start; }
  .handle-split .handle-list { flex: 0 0 auto; width: 100%; height: 340px; }
  .handle-split .handle-item { left: 56px; font-size: 14px; }
}
.handle-list {
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.handle-item {
  position: absolute;
  left: 10%;
  right: 0;
  height: 80px;
  top: 50%;
  margin-top: -40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  opacity: 0;
  transform-origin: left center;
  transition: transform 420ms var(--ease-out), opacity 420ms var(--ease-out), color 420ms var(--ease-out);
  will-change: transform, opacity;
}
.handle-bullet {
  /* Hangs into the left gutter so item text stays aligned; sized in em so
     it scales with the active item and matches the brand-kit treatment. */
  position: absolute;
  left: -0.78em;
  top: 50%;
  width: 0.3em;
  height: 0.3em;
  margin-top: -0.15em;
  border-radius: 50%;
  background: currentColor;
  color: inherit;
  font-size: inherit;
  text-indent: -999px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
@media (max-width: 768px) {
  .handle-list { height: 320px; }
  .handle-item { height: 60px; margin-top: -30px; font-size: 18px; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section-paper { padding: var(--s-14, 160px) 0; }
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 600px;
  margin-bottom: var(--s-11);
}
.section-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
  text-wrap: balance;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.price-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--s-12);
  align-items: start;
}
.price-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-width: 520px;
}
.price-cards {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
/* Pricing: compact "pays for itself" payoff row + comparison cards */
.price-payoff {
  margin-top: var(--s-9);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--ink-10);
  border-bottom: 1px solid var(--ink-10);
}
.price-payoff-lead {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--fg);
  max-width: 620px;
}
.payoff-figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
  margin-top: var(--s-6);
  max-width: 720px;
}
.payoff-fig .fig-num {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}
.payoff-fig .fig-label {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm, 15px);
  color: var(--fg-3);
  margin-top: var(--s-2);
  line-height: var(--lh-snug);
}
.price-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 760px;
  margin-top: var(--s-9);
}
.payoff-list { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-2); }
.payoff-row { display: flex; align-items: baseline; gap: var(--s-4); }
.payoff-row .n {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  flex-shrink: 0;
  min-width: 150px;
}
.payoff-row .l {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--fg-3);
  line-height: var(--lh-snug);
}
@media (max-width: 860px) {
  .payoff-figs { grid-template-columns: 1fr; gap: var(--s-5); }
  .price-compare { grid-template-columns: 1fr; }
}
.step {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-7);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.step-num {
  font-family: var(--font-meta);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--fg-mute);
  line-height: 1.6;
  margin-bottom: var(--s-2);
}
.step-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--fg);
  letter-spacing: var(--ls-snug);
}
.step-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm, 15px);
  line-height: var(--lh-body);
  color: var(--fg-2);
  flex: 1;
}
.step-chip { margin-top: auto; padding-top: var(--s-4); }


/* ============================================================
   WEEKLY CHECK-INS
   ============================================================ */
/* CHANGE 1: section background is now paper/white, not yellow */
.section-paper { padding: var(--s-14, 160px) 0; }
.checkins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.checkins-col { display: flex; flex-direction: column; gap: var(--s-6); }
.checkin-card {
  background: var(--white);
  border-radius: var(--r-xl, 24px);
  padding: var(--s-7);
  box-shadow: var(--shadow-3, 0 18px 40px -16px rgba(9,36,25,0.18), 0 2px 6px rgba(9,36,25,0.04));
}
.checkin-list { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-5); }
.checkin-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-md);
}
.check-circle {
  width: 20px; height: 20px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-top: 1px;
}
.check-done { background: var(--earthy, #465D38); color: var(--white); }
.check-open { border: 1.5px solid var(--ink-40); }
.checkin-label { font-family: var(--font-sans); font-size: var(--fs-body-sm, 15px); font-weight: 500; line-height: var(--lh-snug); }
.checkin-label-done { color: var(--fg-mute); }
.checkin-label-open { color: var(--fg); }
.checkin-sub { font-family: var(--font-sans); font-size: var(--fs-meta); color: var(--fg-3); margin-top: 2px; }

/* ============================================================
   TESTIMONIALS
   CHANGE 2: Section is now white; dark treatment moves to cards only
   ============================================================ */
.section-testimonial { background: var(--paper); padding: var(--s-14, 160px) 0; }
.testimonial-header {
  margin-bottom: var(--s-9);
}
.testimonial-header .section-headline {
  color: var(--fg);
}
.testimonial-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.quote-card {
  background: var(--ink);
  border-radius: var(--r-xl, 24px);
  display: flex;
  flex-direction: column;
}
.quote-body {
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  height: 100%;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
  letter-spacing: var(--ls-snug);
  color: rgba(255,255,255,0.95);
  flex: 1;
}
.quote-text em { font-style: italic; color: rgba(255,255,255,0.6); }
.quote-attr { display: flex; align-items: center; gap: var(--s-4); }
.quote-avatar {
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.quote-name { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }
.quote-meta {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.founder-image-wrap {
  position: relative;
  height: 540px;
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.founder-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.founder-text { display: flex; flex-direction: column; gap: var(--s-6); }
.founder-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, var(--fs-h1));
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--fg);
}
.founder-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: 500px;
}
.founder-signature {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  font-weight: 400;
  color: var(--fg-3);
  font-style: italic;
  margin-top: var(--s-2);
}

/* ============================================================
   FOUNDER NOTE (inline in CTA)
   ============================================================ */
.founder-note-line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-snug);
  color: var(--fg-3);
}
.founder-note-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm, 15px);
  font-weight: 500;
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease-out);
}
.founder-note-link:hover { color: var(--fg); }


/* ============================================================
   CLOSING CTA + FORM
   ============================================================ */
.section-closing {
  padding: var(--s-14, 160px) 0;
  border-top: 1px solid var(--ink-10);
}
.closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: start;
}
.closing-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
  text-wrap: balance;
}
.closing-right { display: flex; flex-direction: column; gap: var(--s-7); }
.closing-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  color: var(--fg-2);
}
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.intake-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-7);
  background: var(--white);
  border-radius: var(--r-xl, 24px);
  box-shadow: var(--shadow-2);
}
.intake-form-success {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7);
  background: var(--white);
  border-radius: inherit;
  text-align: center;
}
.intake-form-success[hidden] { display: none; }
.intake-form-success p {
  max-width: 360px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
}
.intake-form-label {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.intake-form-label span {
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--fg);
}
.intake-form-label input {
  all: unset;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-20);
  border-radius: var(--r-sm, 8px);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--fg);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.intake-form-label input::placeholder { color: var(--fg-faint); }
.intake-form-label input:focus { outline: none; border-color: var(--ink-50); }
.intake-actions { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-2); }
.intake-note {
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  color: var(--fg-mute);
  margin-top: var(--s-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(to bottom, var(--paper) 0%, rgba(250,250,247,0.94) 5%, rgba(250,250,247,0.82) 10%, rgba(250,250,247,0.64) 15%, rgba(250,250,247,0.45) 20%, rgba(250,250,247,0.28) 26%, rgba(250,250,247,0.14) 33%, rgba(250,250,247,0.05) 40%, rgba(250,250,247,0) 48%), linear-gradient(180deg, rgba(9,36,25,0) 22%, rgba(9,36,25,0.5) 50%, rgba(9,36,25,0.72) 72%, rgba(9,36,25,0.85) 100%), url('/agent/visual/assets/optimized/img-06.jpg') center/cover no-repeat; padding: calc(var(--s-14, 160px) + var(--s-10)) 0 var(--s-8); }
.footer-inner { display: flex; flex-direction: column; gap: var(--s-9); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-8); }
.footer-logo { height: 20px; width: auto; }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, var(--fs-h3));
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: var(--ls-snug);
  max-width: 340px;
  line-height: var(--lh-snug);
  margin-top: var(--s-6);
}
.footer-nav { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-end; padding-top: 4px; }
.footer-nav a { font-family: var(--font-sans); font-size: 14px; color: rgba(255,255,255,0.45); transition: color var(--dur-fast) var(--ease-out); }
.footer-nav a:hover { color: rgba(255,255,255,0.85); }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-7) var(--s-12); justify-items: start; }
.footer-col { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col-title { font-family: var(--font-meta); font-weight: 500; font-size: var(--fs-meta); letter-spacing: var(--ls-meta); text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: var(--s-2); }
.footer-col a { font-family: var(--font-sans); font-size: 14px; color: rgba(255,255,255,0.72); transition: color var(--dur-fast) var(--ease-out); white-space: nowrap; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-6);
}
.footer-copy { font-family: var(--font-sans); font-size: var(--fs-meta); color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: var(--s-5); }
.footer-legal a { font-family: var(--font-sans); font-size: var(--fs-meta); color: rgba(255,255,255,0.28); transition: color var(--dur-fast) var(--ease-out); }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }
.footer-right { display: flex; align-items: center; gap: var(--s-6); }
.footer-bbb { height: 88px; display: block; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: 0.45; transition: opacity var(--dur-fast) var(--ease-out); width: auto; }
.footer-bbb:hover { opacity: 0.7; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  :root { --gutter: var(--gutter-sm); }
  .hero { min-height: 88vh; }
  .hero-text-panel    { padding-top: var(--s-9); }
  .hero-text-inner    { padding: var(--s-10) var(--gutter) var(--s-11); width: 100%; }
  .hero-overlay       { background: linear-gradient(to top, var(--paper) 0%, rgba(250,250,247,0.5) 6%, rgba(250,250,247,0.14) 14%, rgba(250,250,247,0) 22%); }
  .steps-grid         { grid-template-columns: 1fr; }
  .price-split        { grid-template-columns: 1fr; gap: var(--s-9); }
  .checkins-grid      { grid-template-columns: 1fr; }
  .testimonial-quotes { grid-template-columns: 1fr; }
  .closing-inner      { grid-template-columns: 1fr; }
  .footer-top         { flex-direction: column; }
  .footer-nav         { align-items: flex-start; }
  .footer-cols        { grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-8); }
  .nav-shell          { padding: 0 var(--gutter-sm); top: 12px; }
  .hero-search        { max-width: 100%; }
  .nav-links          { display: none; }
  .nav                { padding: 11px 16px; }
}

/* ---- Sticky mobile CTA bar ---- */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(250,250,247,0.95);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border-top: 1px solid var(--ink-10);
  }
  .mobile-cta-bar .mcta-call {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 18px; border: 1px solid var(--ink-20);
    border-radius: var(--r-pill); color: var(--ink);
    font-family: var(--font-sans); font-weight: 500; font-size: 16px; white-space: nowrap;
  }
  .mobile-cta-bar .mcta-main {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px; background: var(--light-yellow); color: var(--ink);
    border-radius: var(--r-pill); font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  }
  .mobile-cta-bar .mcta-main .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ink); }
  .nav-phone { display: none; }
  .nav-cta { font-size: 14px; padding: 11px 18px; }
}

/* ===== CANONICAL FOOTER - hard-coded values, identical on every page (do not edit per-page) ===== */
.footer { background: linear-gradient(to bottom, #FAFAF7 0%, rgba(250,250,247,0.94) 5%, rgba(250,250,247,0.82) 10%, rgba(250,250,247,0.64) 15%, rgba(250,250,247,0.45) 20%, rgba(250,250,247,0.28) 26%, rgba(250,250,247,0.14) 33%, rgba(250,250,247,0.05) 40%, rgba(250,250,247,0) 48%), linear-gradient(180deg, rgba(9,36,25,0) 22%, rgba(9,36,25,0.5) 50%, rgba(9,36,25,0.72) 72%, rgba(9,36,25,0.85) 100%), url('/agent/visual/assets/optimized/img-06.jpg') center/cover no-repeat; padding: 224px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-logo { height: 20px; width: auto; }
.footer-tagline { font-family: "Tiempos Text", "Source Serif Pro", Georgia, "Times New Roman", serif; font-size: clamp(18px, 1.8vw, 28px); font-weight: 400; color: rgba(255,255,255,0.5); letter-spacing: -0.012em; max-width: 340px; line-height: 1.2; margin-top: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 96px; justify-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-family: "Good Sans", "Suisse Intl", "Inter", -apple-system, sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer-col a { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: rgba(255,255,255,0.72); transition: color 160ms; white-space: nowrap; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer-copy { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-right { display: flex; align-items: center; gap: 24px; }
.footer-bbb { height: 88px; display: block; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: 0.45; transition: opacity 160ms; width: auto; }
.footer-social { display: flex; align-items: center; gap: 0; margin-top: 8px; margin-left: -12px; } /* gap and margins pulled in by 12px because each link now pads out to a 44px tap target */
.footer-social a { color: rgba(255,255,255,0.5); display: inline-flex; padding: 12px; transition: color 160ms; }
.footer-social a:hover { color: rgba(255,255,255,0.9); }
.footer-bbb:hover { opacity: 0.7; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 40px; } .footer-top { flex-direction: column; } }
/* ===== END CANONICAL FOOTER ===== */


/* ===== CANONICAL NAV - forced identical on every page (do not edit per-page) ===== */
.nav { padding: 13px 22px !important; border-radius: 16px !important; max-width: 1280px !important; }
.nav-left { gap: 56px !important; align-items: center !important; }
.nav-logo { height: 18px !important; width: auto !important; }
.nav-links { gap: 22px !important; }
.nav-links a { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.nav-links a.active { font-weight: 500 !important; }
.nav-right { gap: 18px !important; align-items: center !important; }
.nav-phone { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 16px !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.nav-cta { font-family: "Suisse Intl", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important; font-size: 15px !important; font-weight: 350 !important; letter-spacing: 0.01em !important; padding: 13px 22px !important; gap: 10px !important; }
.nav-cta .dot { width: 6px !important; height: 6px !important; }
/* ===== END CANONICAL NAV ===== */


/* ===== MOBILE: let forced-viewport sections flow naturally (desktop untouched) ===== */
@media (max-width: 768px) {
  .hero { min-height: 100vh !important; min-height: 100svh !important; }
  /* nudge the hero text block down so the TITLE lands at the eye's resting point (center), not the lead */
  .hero-text-panel { padding-top: 150px !important; }
  .section-handle { min-height: 0 !important; }
  #how-it-works { min-height: 0 !important; display: block !important; }
  .section-paper { padding: var(--s-11) 0 !important; }
}


/* ===== MOBILE POLISH (desktop untouched) ===== */
@media (max-width: 768px) {
  /* stop long words overflowing the screen */
  .hero-headline, .section-headline, h1, h2 { overflow-wrap: break-word; }
  /* roomier cards: trim heavy padding on small screens */
  .step, .quote-card { padding: var(--s-6); }
  .name-row { grid-template-columns: 1fr; }
  /* tighter hero on phones */
  .hero-text-inner { padding: 40px var(--gutter); gap: var(--s-6); }
}
@media (max-width: 540px) {
  /* single-column footer reads cleaner on a phone */
  .footer-cols { grid-template-columns: 1fr !important; gap: var(--s-6) 0 !important; }
  /* knock the biggest display sizes down a touch so they don't dominate */
  .section-paper { padding: var(--s-10) 0 !important; }
}


/* ===== MOBILE: smaller headlines + less button clutter ===== */
@media (max-width: 768px) {
  .hero-headline   { font-size: clamp(34px, 9vw, 42px); }   /* bigger title so it leads the eye */
  .hero-lead       { font-size: 15px; }                     /* smaller supporting line ("There's enough to carry...") */
  .section-headline{ font-size: clamp(28px, 7.2vw, 34px); }
  .problem-stat    { font-size: 20px; }
  /* the sticky bottom bar already has Talk-to-our-team + Call, so drop the nav one */
  .nav-cta { display: none; }
}


/* ===== MOBILE: force any inline multi-column grid to stack (desktop untouched) ===== */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  .payoff-row .n { min-width: 0; }
}


/* ===== MOBILE MENU ===== */
.nav-menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 6px; color: var(--ink); background: none; border: none; cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; z-index: 300; background: var(--paper); padding: calc(18px + var(--s-7)) var(--gutter-sm) var(--s-9); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease-out); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--ink); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 2px; margin-top: var(--s-11); }
.mobile-menu-links a { font-family: var(--font-serif); font-size: 32px; line-height: 1.1; letter-spacing: var(--ls-tight); color: var(--ink); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: var(--s-5); padding-top: 32px; border-top: 1px solid var(--ink-10); }
.mobile-menu-phone { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); }
@media (max-width: 960px) { .nav-menu-btn { display: inline-flex; } .nav-cta { display: none !important; } }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }


/* ===== MOBILE FIX: problem overflow + steps spacing ===== */
@media (max-width: 860px) {
  /* the nowrap search box was forcing the grid track wider than the screen,
     dragging the stat off-screen — let grid items shrink */
  .problem-grid { grid-template-columns: 1fr !important; }
  .problem-grid > * { min-width: 0; }
  .problem-search-col { width: 100%; }
  .hero-search { max-width: 100% !important; width: 100%; }
}
@media (max-width: 768px) {
  .hero-search { padding: 18px 22px; }
  .hero-search-text { font-size: 15px; }
  /* don't force a full-viewport centered block — it jams the headline under the nav */
  #how-it-works { min-height: 0 !important; justify-content: flex-start !important; padding-top: var(--s-9) !important; padding-bottom: var(--s-10) !important; scroll-margin-top: 88px !important; }
  /* the 80px header margin leaves a dead void before the cards on a phone */
  #how-it-works .section-header { margin-bottom: var(--s-7) !important; }
}

/* ===== MOBILE FIX: footer BBB alignment ===== */
@media (max-width: 768px) {
  .footer-bottom { flex-direction: column-reverse !important; align-items: flex-start !important; gap: var(--s-6) !important; }
  .footer-right { justify-content: flex-start !important; }
  .footer-bbb { height: 68px !important; width: auto !important; }
}


@media (max-width: 768px) {
  /* flatten the left column so the cards can sit between the copy and the CTA */
  .price-split { display: flex !important; flex-direction: column; gap: var(--s-6); align-items: stretch !important; }
  .price-copy { display: contents; }
  /* keep everything left-aligned (the section's inline align-items:center was centering short lines) */
  .price-copy > *, .price-cards { text-align: left; align-self: stretch; }
  .price-cta-block { order: 1; }
}

/* ===== DESKTOP FIX: hero funeral line subordinate to punchline ===== */
@media (min-width: 769px) {
  .hero-funeral { font-size: 0.5em !important; }
}

/* ===== MOBILE MENU: bigger tap targets ===== */
.mobile-menu-links { gap: 2px !important; }
.mobile-menu-links a { display: block; padding: 14px 0; min-height: 44px; }
.mobile-menu-foot a { min-height: 44px; }
.mobile-menu-phone { display: inline-flex; align-items: center; padding: 8px 0; }
.nav-menu-btn, .mobile-menu-close { width: 48px !important; height: 48px !important; }

/* ===== MOBILE MENU: re-enable pointer events (menu sits inside a pointer-events:none nav wrapper) ===== */
.mobile-menu, .mobile-menu * { pointer-events: auto !important; }

/* ===== LOG IN button (desktop nav + mobile menu) ===== */
.nav-login { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; border-radius: var(--r-pill); border: 1px solid var(--ink-20); background: var(--white); font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--ink); opacity: 1; transition: background 160ms, border-color 160ms; white-space: nowrap; text-decoration: none; }
.nav-login:hover { background: var(--paper); border-color: var(--ink-30, rgba(9,36,25,0.30)); }
.mobile-menu-login { font-family: var(--font-sans); font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) {
  /* show Log in as a compact pill button grouped with the hamburger on the right (SaaS-style) */
  .nav-login, .nav .nav-login {
    display: inline-flex !important; align-items: center; opacity: 1 !important;
    background: var(--white); border: 1px solid var(--ink-20); color: var(--ink) !important;
    font-size: 14px; font-weight: 500; letter-spacing: 0;
    padding: 12px 16px; border-radius: var(--r-pill);
  }
  .nav-right { gap: 10px !important; }
  .nav-menu-btn { margin-left: 0 !important; }
}


@media (max-width: 768px) {
  .handle-bg { filter: blur(16px) saturate(1.05); }   /* blur(44px) was very expensive on phones */
  .handle-item { will-change: auto; }                 /* don't promote ~20 layers to the GPU */
  .handle-split .handle-item { left: 44px; }          /* a touch more room so the active item fits */
}

/* ===== Bigger tap target for the logo link (was only ~18px tall) ===== */
.nav-left > a { display: inline-flex; align-items: center; padding: 14px 12px; margin: -14px -12px; }


/* ============================================================
   PACKET LEAD MODAL
   ============================================================ */
.packet-modal[hidden] { display: none; }
.packet-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: var(--s-6);
}
.packet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9,36,25,0.36);
  backdrop-filter: blur(8px);
}
.packet-modal-panel {
  position: relative;
  width: min(100%, 440px);
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  padding: var(--s-8);
  background: var(--white);
  border-radius: var(--r-xl, 24px);
  box-shadow: var(--shadow-3, 0 18px 40px -16px rgba(9,36,25,0.18), 0 2px 6px rgba(9,36,25,0.04));
}
.packet-modal-close {
  all: unset;
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  color: var(--fg);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.packet-modal-close:hover,
.packet-modal-close:focus-visible { background: var(--ink-05, rgba(9,36,25,0.05)); }
.packet-modal-eyebrow {
  font-family: var(--font-meta);
  font-size: var(--fs-meta);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-meta);
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: var(--s-3);
  padding-right: var(--s-10);
}
.packet-modal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.14;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
  max-width: 360px;
}
.packet-modal-copy {
  margin-top: var(--s-4);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
}
.packet-modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.packet-modal-label {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.packet-modal-label span {
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--fg);
}
.packet-modal-label input {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-20);
  border-radius: var(--r-sm, 8px);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--fg);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.packet-modal-label input::placeholder { color: var(--fg-faint); }
.packet-modal-label input:focus { outline: none; border-color: var(--ink-50); }
.packet-modal-submit {
  all: unset;
  box-sizing: border-box;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--light-yellow);
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm, 15px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--fg);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.packet-modal-submit:hover,
.packet-modal-submit:focus-visible { background: var(--marigold); }
.packet-modal-submit:disabled { cursor: wait; opacity: 0.72; }
.packet-modal-submit .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--marigold);
  flex: 0 0 auto;
}
.packet-modal-status {
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  line-height: var(--lh-body);
  color: var(--fg-mute);
}
.packet-modal-success {
  margin-top: var(--s-6);
  padding: var(--s-7);
  background: var(--paper);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  text-align: center;
}
.packet-modal-success[hidden] { display: none; }
.packet-modal.is-success .packet-modal-eyebrow,
.packet-modal.is-success .packet-modal-title,
.packet-modal.is-success .packet-modal-copy,
.packet-modal.is-success .packet-modal-form { display: none; }
.packet-modal.is-success .packet-modal-success { margin-top: 0; }
.packet-modal-success p {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: var(--ls-tight);
  color: var(--fg);
}
.packet-modal-download { display: inline-flex; align-items: center; justify-content: center; margin-top: var(--s-4); padding: 13px 20px; border-radius: var(--r-pill); background: var(--light-yellow); color: var(--fg); font-family: var(--font-sans); font-size: var(--fs-body-sm, 15px); font-weight: 500; text-decoration: none; }
.packet-modal-download:hover,
.packet-modal-download:focus-visible { background: var(--marigold); }
@media (max-width: 540px) {
  .packet-modal {
    align-items: end;
    padding: var(--s-3);
  }
  .packet-modal-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: var(--s-6);
    border-radius: var(--r-lg);
  }
  .packet-modal-close {
    top: var(--s-3);
    right: var(--s-3);
    width: 44px;
    height: 44px;
  }
  .packet-modal-title { font-size: 28px; }
  .packet-modal-submit { width: 100%; }
  .packet-modal-success { padding: var(--s-6); }
  .packet-modal-success p { font-size: 26px; }
.packet-modal-download { display: inline-flex; align-items: center; justify-content: center; margin-top: var(--s-4); padding: 13px 20px; border-radius: var(--r-pill); background: var(--light-yellow); color: var(--fg); font-family: var(--font-sans); font-size: var(--fs-body-sm, 15px); font-weight: 500; text-decoration: none; }
.packet-modal-download:hover,
.packet-modal-download:focus-visible { background: var(--marigold); }
}
