/* Broker annual-review page. Builds on styles.css (tokens, .section, .plan, .faq, .form…). */

/* ── Hero with phone-framed demo ─────────────────────── */
.b-hero .wrap { grid-template-columns: 1.25fr 1fr; }
.b-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.b-hero .lead { max-width: 46ch; }
.b-phone-fig { margin: 0; display: grid; justify-items: center; }
.b-phone-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: 16px; text-align: center; }
.phone { position: relative; width: min(330px, 74vw); aspect-ratio: 9 / 16; border-radius: 42px; padding: 10px; background: var(--navy);
  box-shadow: var(--shadow), inset 0 0 0 2px var(--navy-3); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 18px; left: 50%; translate: -50% 0; width: 70px; height: 7px; border-radius: 99px; background: var(--navy); opacity: .9; pointer-events: none; }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: var(--paper); }
.phone-watch { position: static; margin-top: -30px; z-index: 3; white-space: nowrap; }
.phone-watch[hidden] { display: none; }

/* ── Hero extras ─────────────────────────────────────── */
.b-hero h1 { max-width: 15ch; text-wrap: balance; }
.b-hero .hero-ctas .btn-ghost { display: inline-flex; align-items: center; gap: 10px; }
.b-play { width: 18px; height: 18px; fill: var(--green-ink); }
.b-hero-note { margin: 16px 0 0; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.b-hero-note::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); flex: none; }

/* ── Stat strip ──────────────────────────────────────── */
.b-stats { background: var(--navy); color: #c4c8d4; padding: clamp(28px, 4vw, 40px) 0; }
.b-stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); }
.b-stat-item { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; }
.b-stat-item p { margin: 0; font-size: .95rem; line-height: 1.5; }
.b-stat-item b { color: var(--white); font-weight: 600; }
.b-stat-n { font: 600 2rem/1.1 var(--head) !important; color: var(--green); white-space: nowrap; }
.b-src { display: block; margin-top: 6px; font-size: .8rem; color: #8d93a5; text-decoration: underline; text-underline-offset: 3px; }
.b-src:hover { color: var(--white); }

/* ── Benefits ────────────────────────────────────────── */
.b-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); }
.b-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Evidence ────────────────────────────────────────── */
.b-evidence { background: var(--cream); border-block: 1px solid var(--line); }
.b-ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-ev { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; display: flex; flex-direction: column; }
.b-ev .b-ev-n { font: 600 2rem/1.1 var(--head); color: var(--green-ink); margin: 0 0 12px; }
.b-ev h3 { font-size: 1.08rem; margin-bottom: 8px; }
.b-ev p { margin: 0 0 14px; color: var(--muted); font-size: .97rem; }
.b-ev .b-ev-src { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.b-ev-src a { color: var(--green-ink); }
.b-pilot-note { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
  border: 1.5px dashed var(--green); border-radius: var(--radius); padding: 24px 28px; background: var(--green-soft); }
.b-pilot-note > div { max-width: 720px; }
.b-pilot-note h3 { margin-bottom: 6px; }
.b-pilot-note p { margin: 0; color: var(--ink); opacity: .8; }

/* ── Brand strip under the scenes ────────────────────── */
.b-brandstrip { margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 20px 26px; }
.b-brandstrip p { margin: 0; color: var(--muted); }
.b-brandstrip b { color: var(--ink); font-family: var(--head); font-weight: 600; }

/* ── Calculator ──────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calc-inputs { padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; align-content: start; }
.calc-inputs label { display: grid; gap: 8px; font: 500 .95rem var(--head); }
.calc-inputs input[type="number"] { font: 500 1.15rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.calc-inputs input[type="number"]:focus { outline: none; border-color: var(--green); background: var(--white); }
.field-prefix, .field-suffix { display: flex; align-items: center; gap: 10px; }
.field-prefix > span, .field-suffix > span { font: 500 1.05rem var(--body); color: var(--muted); white-space: nowrap; }
.field-suffix input { max-width: 140px; }
.calc-inputs output { color: var(--green-ink); font-weight: 600; }
.calc-inputs input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; cursor: pointer; }
.calc-src { font-size: .85rem; color: var(--muted); margin: 0; }
.calc-out { background: var(--navy); color: #dfe2ea; padding: clamp(24px, 4vw, 40px); display: grid; gap: 4px; align-content: start; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--navy-3); }
.calc-row span { color: #a9aebd; }
.calc-row b { color: #dfe2ea; font-weight: 600; }
.calc-row strong { font: 600 1.5rem/1.2 var(--head); color: var(--white); text-align: right; white-space: nowrap; }
.calc-row-sub strong { font-size: 1.1rem; color: #dfe2ea; }
.calc-payback { margin-top: 22px; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 12px; padding: 22px 24px; }
.calc-payback p { margin: 0; }
.calc-payback-label { color: #a9aebd; font-size: .95rem; }
.calc-payback-n { font: 600 2.4rem/1.15 var(--head); color: var(--green); margin: 6px 0 4px !important; }
.calc-payback-n small { font-size: 1rem; font-weight: 500; color: #dfe2ea; }
.calc-payback-sub { color: #dfe2ea; }
.calc-note { margin-top: 12px !important; font-size: .88rem; color: var(--gold); }
.calc-formula { margin-top: 20px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; }
.calc-formula summary { font: 600 1rem var(--head); cursor: pointer; }
.calc-formula ul { margin: 14px 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.calc-formula p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Scenes ──────────────────────────────────────────── */
.b-scenes { background: var(--cream); border-block: 1px solid var(--line); }
.scenes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; counter-reset: scene; }
.scene img { width: 100%; height: auto; aspect-ratio: 1080 / 1430; object-fit: cover; border-radius: 12px; box-shadow: 0 16px 34px -20px rgba(18,22,36,.45); border: 1px solid var(--line); }
.scene h3 { font-size: 1rem; margin: 16px 0 4px; }
.scene h3::before { counter-increment: scene; content: counter(scene) ". "; color: var(--green-ink); }
.scene p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── Data & compliance ───────────────────────────────── */

/* ── Pricing ─────────────────────────────────────────── */
.b-plans { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.b-plans .plan { padding: 28px 24px; }
.b-plans .plan .price { font-size: 2.3rem; }
.b-plan-foot { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--muted); }
.b-plan-foot b { color: var(--ink); font-weight: 600; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .b-ev-grid { grid-template-columns: 1fr; }
  .b-ev-grid .b-ev { display: grid; grid-template-columns: 220px 1fr; gap: 0 28px; }
  .b-ev-grid .b-ev-n { grid-row: span 3; }
  .b-ev .b-ev-src { margin-top: 0; }
  .scenes { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .b-plans { grid-template-columns: repeat(2, 1fr); max-width: none; }
  }
@media (max-width: 980px) {
  .b-stats .wrap { grid-template-columns: 1fr; gap: 22px; }
  .b-stat-item { grid-template-columns: 7.5rem 1fr; }
  .b-hero .wrap { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .b-plans { max-width: none; }
}
@media (max-width: 720px) {
    .b-ev-grid .b-ev { display: flex; }
  .b-stat-item { grid-template-columns: 1fr; }
  .b-plans,   .b-plans .plan.featured { order: -1; }
  .scenes { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .calc-row strong { font-size: 1.25rem; }
  .calc-payback-n { font-size: 2rem; }
  .phone { width: min(290px, 76vw); border-radius: 36px; }
  .phone video { border-radius: 27px; }
}

/* Phones: the eight commitments as a compact checklist rather than eight tall cards. */
@media (max-width: 720px) {
                }

/* ── v6 review fixes ─────────────────────────────────── */
.section-head h2 { text-wrap: balance; }
.calc-inputs label .opt { font: 400 .85rem var(--body); color: var(--muted); }
.calc-inputs input[type="number"]:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--green-ink); outline-offset: 2px; }
.b-midcta { margin: 32px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.b-midcta span { color: var(--muted); font-size: .92rem; }
.b-pause { position: absolute; z-index: 3; top: 22px; left: 22px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(18,22,36,.55); cursor: pointer; }
.b-pause svg { width: 16px; height: 16px; fill: #fff; }
.b-pause:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.b-pause[hidden] { display: none; }

/* ── v8 review fixes ─────────────────────────────────── */
.b-hero h1, main h2 { text-wrap: balance; }
.nowrap { white-space: nowrap; }
.calc-payback-who { color: #a9aebd; font-size: .9rem; }
.calc-formula summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
.calc-formula summary::-webkit-details-marker { display: none; }
.calc-formula summary::after { content: "+"; font: 600 1.4rem/1 var(--head); color: var(--green-ink); }
.calc-formula[open] summary::after { content: "–"; }
@media (max-width: 720px) {
  .calc-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .calc-row strong { text-align: left; }
  .steps { row-gap: 28px; }
  .steps li { padding: 0 0 0 56px; }
  .steps li::after { display: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .b-plan-foot { text-align: left; }
}
/* Phones: scenes as a swipeable row instead of a three-screen grid. */
@media (max-width: 720px) {
  .scenes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 12px; scroll-padding-inline: 20px; scrollbar-width: thin; }
  .scene { flex: 0 0 62%; scroll-snap-align: start; }
  .b-scenes .section-head p:not(.eyebrow)::after { content: " Swipe to see each scene."; }
}

/* ══ Visual layer (19 Oct 2026): life without changing the copy ══ */

/* ── Hero stage: shape behind the phone, floating result cards ── */
.b-stage { position: relative; display: grid; justify-items: center; isolation: isolate; }
.b-blob { position: absolute; z-index: -1; inset: 6% -26% 10% -26%; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  background: radial-gradient(120% 90% at 30% 20%, #dff1e9 0%, #e9f3ec 38%, rgba(242,184,75,.22) 70%, rgba(239,123,90,.14) 100%); }
.b-blob::after { content: ""; position: absolute; inset: 14% 8% auto auto; width: 90px; height: 90px; border-radius: 50%; background: rgba(242,184,75,.35); }
.b-float { position: absolute; z-index: 4; background: var(--white); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(18,22,36,.45);
  padding: 12px 16px; display: grid; gap: 2px; font-family: var(--head); animation: b-bob 6s ease-in-out infinite; }
.b-float span { font: 500 .78rem/1.2 var(--body); color: var(--muted); }
.b-float b { font: 600 1.45rem/1.1 var(--head); color: var(--ink); }
.b-float-paid { left: -96px; top: 30%; }
.b-float-paid b { color: var(--green-ink); }
.b-float-offset { right: -112px; top: 58%; grid-template-columns: auto auto; align-items: center; column-gap: 10px; animation-delay: -3s; }
.b-float-offset img { width: 46px; height: auto; }
.b-float-offset > span { display: grid; gap: 2px; }
.b-float-keys { position: absolute; z-index: 4; right: -34px; top: 9%; width: 62px; height: auto; transform-origin: 50% 8%;
  animation: b-swing 5s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(18,22,36,.2)); }
@keyframes b-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes b-swing { 0%, 100% { rotate: -6deg; } 50% { rotate: 7deg; } }
@media (prefers-reduced-motion: reduce) { .b-float, .b-float-keys { animation: none; } }
@media (max-width: 720px) {
  .b-float { padding: 9px 12px; border-radius: 13px; }
  .b-float b { font-size: 1.15rem; }
  .b-float-paid { left: -14px; top: 24%; }
  .b-float-offset { right: -12px; top: 62%; }
  .b-float-offset img { width: 34px; }
  .b-float-keys { right: 4px; top: 4%; width: 48px; }
  .b-blob { inset: 4% -12% 12% -12%; }
}

/* ── Benefits: illustrations on tinted tiles ── */
.b-ill { display: grid; place-items: center; height: 96px; border-radius: 12px; }
.b-ill img { height: 70px; width: auto; filter: drop-shadow(0 8px 10px rgba(18,22,36,.12)); transition: transform .3s ease; }
.b-tint-green { background: #e3f4ee; } .b-tint-coral { background: #fde8e0; } .b-tint-gold { background: #fcf0d6; } .b-tint-slate { background: #e7e9f0; }
@media (max-width: 720px) {
      }

/* ── Evidence: a colour accent per card ── */
.b-ev { position: relative; overflow: hidden; }
.b-ev::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--green); }
.b-ev:nth-child(2)::before { background: var(--coral); }
.b-ev:nth-child(2) .b-ev-n { color: #c4532f; }
.b-ev:nth-child(3)::before { background: var(--gold); }
.b-ev:nth-child(3) .b-ev-n { color: #a8740f; }

/* ── Scenes: dark filmstrip of looping clips ── */
.b-scenes.dark { background: var(--navy); border: 0; }
.b-scenes.dark .section-head p:not(.eyebrow) { color: #a9aebd; }
.scene-clip { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1430; object-fit: cover; border-radius: 14px; background: var(--navy-2);
  border: 1px solid var(--navy-3); box-shadow: 0 22px 40px -22px rgba(0,0,0,.7); }
.b-scenes.dark .scene h3 { color: var(--white); }
.b-scenes.dark .scene h3::before { color: var(--green); }
.b-scenes.dark .scene p { color: #a9aebd; }

/* ── Brand demo ── */
.b-brand-demo { background: var(--cream); border-bottom: 1px solid var(--line); }
.b-brand-demo .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.b-brand-demo .b-midcta { margin-top: 30px; }
.b-bd-fig { margin: 0; display: grid; justify-items: center; }
.b-bd-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: 16px; text-align: center; max-width: 34ch; }
.b-bd-phone { width: min(300px, 70vw); }
.b-bd-screen { --bp: #123b44; --bh: #e9a23b; height: 100%; border-radius: 32px; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--bp), #fff 10%), var(--bp) 70%);
  color: #fff; display: grid; justify-items: center; align-content: center; text-align: center; padding: 0 10% 6%; transition: background .4s ease; }
.b-bd-screen p { margin: 0; }
.b-bd-logo { display: flex; align-items: center; gap: 8px; font: 600 .95rem/1.2 Georgia, "Times New Roman", serif; }
.b-bd-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bh); color: var(--bp); font: 600 .9rem var(--head); transition: background .4s ease; }
.b-bd-hi { margin-top: 12% !important; font: 600 2.2rem/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.01em; }
.b-bd-amt { margin-top: 8% !important; font: 600 2.3rem/1 var(--head); }
.b-bd-sub { margin-top: 4px !important; font-size: .78rem; opacity: .75; }
.b-bd-house { position: relative; margin-top: 12%; width: 74%; }
.b-bd-house img:first-child { width: 100%; height: auto; }
.b-bd-keys { position: absolute; right: -14%; top: -30%; width: 22%; height: auto; transform-origin: 50% 8%; animation: b-swing 5s ease-in-out infinite; }
.b-bd-chip { margin-top: 6% !important; background: var(--bh); color: var(--bp); border-radius: 99px; padding: 6px 14px; font: 600 .74rem var(--head); transition: background .4s ease; }
@media (prefers-reduced-motion: reduce) { .b-bd-keys { animation: none; } }
@media (max-width: 980px) { .b-brand-demo .wrap { grid-template-columns: 1fr; } }
.b-bd-chip { white-space: nowrap; }
.b-float-keys { right: -66px; }
@media (max-width: 720px) {
  .b-float-paid { display: none; }
  .b-float-keys { right: -22px; top: 14%; width: 42px; }
  .b-bd-chip { font-size: .68rem; padding: 5px 11px; }
}

/* ── Visual review fixes ─────────────────────────────── */
/* 2. Long brokerage names */
.b-bd-logo { max-width: 90%; }
.b-bd-brand { text-align: left; line-height: 1.15; }
.b-bd-mark { flex: none; }
.b-bd-screen { padding: 0 10%; }
/* 5. Swatches in a tidy 2 × 2 */
.b-brand-demo .swatches { display: grid; grid-template-columns: repeat(2, max-content); }
.b-brand-demo .brand-inputs label:first-child { width: 120px; }
/* 7. Demo phone gets its own stage */
.b-bd-stage .b-blob { inset: 8% -22% 8% -22%; }
/* 8. One calm edge instead of tri-colour bunting on this page */
.dark::before { background: var(--green); height: 14px; opacity: .9;
  -webkit-mask: radial-gradient(7px 7px at 7px 0, #000 98%, transparent) 0 0 / 14px 14px repeat-x; mask: radial-gradient(7px 7px at 7px 0, #000 98%, transparent) 0 0 / 14px 14px repeat-x; }
/* 9. Data & compliance on a light background */
.b-data { background: var(--cream); border-block: 1px solid var(--line); }
.b-data .b-data .b-data .b-data /* 10. One card shadow */
/* 11. Hero blob visible */
.b-blob { background: radial-gradient(120% 90% at 30% 20%, #cfeadd 0%, #e2f1e8 36%, rgba(242,184,75,.26) 70%, rgba(239,123,90,.16) 100%);
  box-shadow: inset 0 0 0 1px rgba(0,168,120,.08); }
/* 12. Calculator panel without dead space */
.calc-out { align-content: center; }
@media (max-width: 720px) {
  /* 3. Offset card would cover the video on phones */
  .b-float-offset { display: none; }
  /* 6. Preview above its controls on phones */
  .b-brand-demo .b-bd-fig { order: -1; }
  .b-bd-phone { width: min(230px, 60vw); }
  .b-data }
.b-brand-demo .brand-inputs { grid-template-columns: auto minmax(0, 1fr); }
.b-brand-demo .brand-inputs input:not([type="color"]) { width: 100%; min-width: 0; box-sizing: border-box; }
@media (max-width: 720px) { .b-brand-demo .brand-inputs label:first-child { width: 96px; } }
@media (max-width: 720px) {
  .b-brand-demo .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-brand-demo .swatches button { min-width: 0; font-size: .85rem; padding-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .b-brand-demo .swatches span { flex: none; }
}
@media (max-width: 400px) {
  .site-header .btn-small { white-space: nowrap; padding: 10px 14px; font-size: .84rem; }
  .site-header .logo img { width: 148px; height: auto; }
}

/* ══ How it works: animated flow ═════════════════════════ */
.b-flow { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: center; margin: 8px 0 56px; }
.b-flow-step { display: grid; justify-items: center; gap: 14px; }
.b-flow-card { width: 100%; max-width: 320px; height: 236px; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 var(--line), 0 18px 36px -24px rgba(18,22,36,.4); overflow: hidden; position: relative; }
.b-flow-label { margin: 0; font: 600 .95rem var(--head); color: var(--ink); }
.b-flow-arrow { height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); background-size: 14px 2px; }
.b-flow-arrow span { position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--green); border-right: 0; }

/* Spreadsheet */
.b-sheet { padding: 0 0 8px; font-size: .82rem; }
.b-sheet-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f5f1; border-bottom: 1px solid var(--line); }
.b-sheet-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #d8dbd4; }
.b-sheet-bar b { margin-left: 8px; font: 500 .78rem var(--body); color: var(--muted); }
.b-row { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 6px; padding: 7px 14px; border-bottom: 1px solid #f0ebe1; color: var(--ink); font-variant-numeric: tabular-nums; }
.b-row span:not(:first-child) { text-align: right; color: var(--muted); }
.b-row-head { font: 600 .72rem var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fbfaf6; }
.b-row-head span { color: var(--muted) !important; }

/* Video tiles */
.b-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; background: #f6f2ea; }
.b-tile { border-radius: 12px; background: radial-gradient(120% 80% at 50% 0%, #1d4b56, #123b44 70%); color: #fff; display: grid; align-content: center; justify-items: center;
  gap: 2px; text-align: center; position: relative; box-shadow: 0 12px 20px -14px rgba(18,22,36,.6); }
.b-tile-hi { font: 600 .95rem/1.1 Georgia, "Times New Roman", serif; }
.b-tile-amt { margin-top: 10px; font: 600 1.05rem var(--head); }
.b-tile-sub { font-size: .58rem; opacity: .75; }
.b-tile-ok { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; white-space: nowrap; font: 600 .6rem var(--head); color: var(--navy); background: var(--green); border-radius: 99px; padding: 3px 7px; }

/* Client's phone with the notification */
.b-send { display: grid; place-items: end center; background: linear-gradient(180deg, #f6f2ea, #eef4ef); }
.b-mini-phone { width: 168px; height: 212px; border-radius: 26px 26px 0 0; background: var(--navy); padding: 9px 9px 0; display: grid; align-content: start; }
.b-mini-phone::before { content: ""; justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: #2a3149; margin: 2px 0 14px; }
.b-note { background: rgba(255,255,255,.96); border-radius: 14px; padding: 10px 11px; display: grid; gap: 4px; box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
.b-note p { margin: 0; }
.b-note-from { display: flex; align-items: center; gap: 6px; font-size: .62rem; color: var(--muted); }
.b-note-from b { color: var(--ink); font: 600 .7rem var(--head); }
.b-note-from > span:last-child { margin-left: auto; }
.b-note-dot { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #2f8f9d; color: #fff; font: 600 .6rem var(--head); }
.b-note-subj { font: 600 .74rem/1.25 var(--head); color: var(--ink); }
.b-note-vid { margin-top: 4px; display: flex; align-items: center; gap: 7px; background: #123b44; color: #fff; border-radius: 9px; padding: 9px 10px; font: 600 .64rem var(--head); }
.b-note-play { width: 0; height: 0; border-left: 8px solid #e9a23b; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* Motion: one 8-second loop, paused until the diagram is on screen. Without motion everything shows at rest. */
@media (prefers-reduced-motion: no-preference) {
  .b-flow .b-row:not(.b-row-head) { animation: b-row 8s ease-in-out infinite; animation-delay: calc(var(--i) * .22s); }
  .b-flow .b-flow-arrow { animation: b-march 1s linear infinite; }
  .b-flow .b-tile { animation: b-tile 8s cubic-bezier(.34,1.56,.64,1) infinite; animation-delay: calc(var(--i) * .25s); }
  .b-flow .b-tile-ok { animation: b-ok 8s ease infinite; animation-delay: calc(var(--i) * .25s); }
  .b-flow .b-note { animation: b-note 8s cubic-bezier(.34,1.4,.64,1) infinite; }
  .b-flow:not(.play) * { animation-play-state: paused !important; }
}
@keyframes b-row { 0%, 4% { background: transparent; } 8%, 16% { background: #dff2ea; } 24%, 100% { background: transparent; } }
@keyframes b-march { to { background-position: 14px 0; } }
@keyframes b-tile { 0%, 24% { opacity: .35; transform: scale(.94); } 32%, 92% { opacity: 1; transform: none; } 100% { opacity: .35; transform: scale(.94); } }
@keyframes b-ok { 0%, 42% { opacity: 0; scale: .6; } 48%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes b-note { 0%, 50% { opacity: 0; transform: translateY(-16px); } 58%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 980px) {
  .b-flow { grid-template-columns: 1fr; gap: 0; justify-items: center; }
  .b-flow-arrow { width: 2px; height: 34px; margin: 10px 0; background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 14px); background-size: 2px 14px; }
  .b-flow-arrow span { right: auto; left: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top: 9px solid var(--green); border-bottom: 0; }
  .b-flow-card { max-width: 340px; }
  @keyframes b-march { to { background-position: 0 14px; } }
}

/* ══ Fewer navy blocks ═══════════════════════════════════ */
.b-plans .plan.featured { background: var(--white); color: var(--ink); border: 2px solid var(--green); box-shadow: 0 26px 50px -30px rgba(0,122,86,.55); }
.b-plans .plan.featured h3, .b-plans .plan.featured .price { color: var(--ink); }
.b-plans .plan.featured .price small, .b-plans .plan.featured .per { color: var(--muted); }
.b-plans .plan.featured .badge { background: var(--gold); color: var(--navy); }
.b-about-light { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 18px 36px -26px rgba(18,22,36,.35); border-top: 4px solid var(--green); }
.b-about-light .who { color: var(--ink); }
.b-about-light .role, .b-about-light dt { color: var(--muted); }
.b-about-light dd { color: var(--ink); }
@media (max-width: 720px) {
  .b-flow-card { height: 200px; max-width: 300px; }
  .b-tiles { gap: 8px; padding: 12px; }
  .b-tile-hi { font-size: .78rem; }
  .b-tile-amt { font-size: .88rem; margin-top: 6px; }
  .b-tile-sub { font-size: .5rem; }
  .b-tile-ok { font-size: .52rem; bottom: 8px; }
  .b-mini-phone { height: 180px; width: 156px; }
  .b-row { padding: 6px 14px; }
}

/* Lock screen behind the notification */
.b-mini-phone { position: relative; }
.b-lock { position: absolute; left: 0; right: 0; top: 40%; margin: 0; text-align: center; color: #fff; font: 600 2rem/1 var(--head); opacity: .9; }
.b-lock span { display: block; margin-top: 6px; font: 500 .62rem var(--body); opacity: .7; }
.b-note { position: relative; z-index: 1; }
.b-send .b-mini-phone { background: radial-gradient(120% 80% at 50% 10%, #2a3a63, #121624 75%); }

/* Phones: brand-demo preview between the intro and the controls, small enough to stay in view while editing */
@media (max-width: 720px) {
  .b-brand-demo .wrap > div.reveal { display: contents; }
  .b-brand-demo .eyebrow { order: 1; } .b-brand-demo h2 { order: 2; } .b-brand-demo .lead { order: 3; }
  .b-brand-demo .b-bd-fig { order: 4; }
  .b-brand-demo .brand-controls { order: 5; margin-top: 0; }
  .b-brand-demo .b-midcta { order: 6; }
  .b-brand-demo .wrap { gap: 18px; }
  .b-bd-phone { width: min(200px, 54vw); }
  .b-bd-fig figcaption { display: none; }
  .b-bd-hi { font-size: 1.5rem; } .b-bd-amt { font-size: 1.6rem; }
}

/* ══ Phones: product in the first screen, and a shorter page ══ */
@media (max-width: 720px) {
  /* Hero: the phone sits right under the headline, so the product shows in the first screen. */
  .b-hero .wrap > div:first-child { display: contents; }
  .b-hero .eyebrow { order: 1; } .b-hero h1 { order: 2; margin-bottom: 4px; }
  .b-hero .b-phone-fig { order: 3; margin: 6px 0 4px; }
  .b-hero .lead { order: 4; } .b-hero .hero-ctas { order: 5; margin: 20px 0 14px; } .b-hero .b-hero-note { order: 6; }
  .b-hero .wrap { gap: 14px; }
  .b-hero { padding-top: 28px; }
  .b-hero .phone { width: min(236px, 62vw); border-radius: 32px; padding: 8px; }
  .b-hero .phone video { border-radius: 25px; }
  .b-hero .phone-watch { margin-top: -26px; padding: 6px 16px 6px 6px; font-size: .9rem; }
  .b-hero .b-phone-fig figcaption { margin-top: 10px; font-size: .78rem; }
  .b-hero h1 { font-size: 2.3rem; }

  /* Evidence and the how-it-works panels become swipeable rows, like the scenes. */
  .b-ev-grid, .b-flow { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 14px; scroll-padding-inline: 20px; }
  .b-ev-grid .b-ev { flex: 0 0 84%; scroll-snap-align: start; }
  .b-flow { justify-items: initial; margin-bottom: 36px; }
  .b-flow .b-flow-step { flex: 0 0 80%; scroll-snap-align: start; }
  .b-flow .b-flow-arrow { display: none; }
  .b-flow .b-flow-card { max-width: none; }
  .b-evidence .section-head p:not(.eyebrow)::after, #how .section-head::after { content: " Swipe to see each one."; }
  #how .section-head::after { display: block; color: var(--muted); margin-top: -8px; }

  /* Data commitments: four, then a toggle. */
    
  /* Pricing: the free pilot and founding plan in full; Starter and Growth as compact rows. */
  .b-plans .plan:nth-child(3), .b-plans .plan:nth-child(4) { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 18px 20px; }
  .b-plans .plan:nth-child(3) ul, .b-plans .plan:nth-child(4) ul { display: none; }
  .b-plans .plan:nth-child(3) h3, .b-plans .plan:nth-child(4) h3 { margin: 0; grid-column: 1; }
  .b-plans .plan:nth-child(3) .price, .b-plans .plan:nth-child(4) .price { grid-column: 1; font-size: 1.7rem; margin: 4px 0 0; }
  .b-plans .plan:nth-child(3) .per, .b-plans .plan:nth-child(4) .per { grid-column: 1; margin: 2px 0 0; font-size: .85rem; }
  .b-plans .plan:nth-child(3) .btn, .b-plans .plan:nth-child(4) .btn { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 12px 16px; font-size: .88rem; }
  .b-plans { gap: 14px; }

  /* Benefits: tighter cards. */
      }
@media (max-width: 720px) {
  .b-plans .plan:nth-child(3) .price, .b-plans .plan:nth-child(4) .price { white-space: nowrap; font-size: 1.55rem; }
  .b-plans .plan:nth-child(3) .btn, .b-plans .plan:nth-child(4) .btn { padding: 11px 13px; font-size: .82rem; }
}

/* ══ Evidence as an argument: problem → what helps → why video ══ */
.b-ev-grid { grid-template-columns: repeat(2, 1fr); }
.b-ev-tag { margin: 0 0 10px !important; font: 600 .72rem var(--head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.b-ev-problem::before { background: var(--coral) !important; }
.b-ev-problem .b-ev-n { color: #c4532f !important; }
.b-ev-problem .b-ev-tag { color: #c4532f !important; }
.b-ev-helps::before { background: var(--green) !important; }
.b-ev-helps .b-ev-n, .b-ev-helps .b-ev-tag { color: var(--green-ink) !important; }
.b-ev-video::before { background: var(--gold) !important; }
.b-ev-video .b-ev-n, .b-ev-video .b-ev-tag { color: #a8740f !important; }
@media (max-width: 1100px) and (min-width: 721px) {
  .b-ev-grid { grid-template-columns: repeat(2, 1fr); }
  .b-ev-grid .b-ev { display: flex; }
  .b-ev-grid .b-ev-n { grid-row: auto; }
}

/* ══ Lean pass: fewer words, fewer boxes ═════════════════ */
/* Benefits: open list */
.b-benefits-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.b-benefits-wrap .section-head { margin-bottom: 0; }
.b-benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.b-benefit-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.b-benefit-list img { width: 100%; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(18,22,36,.12)); }
.b-benefit-list h3 { font-size: 1.05rem; margin: 4px 0 4px; }
.b-benefit-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Evidence: big numbers, no cards */
.b-numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.b-numbers li { position: relative; padding-top: 18px; border-top: 3px solid var(--green); }
.b-numbers li p { margin: 0; }
.b-num-tag { font: 600 .72rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 10px !important; }
.b-num { font: 600 2.6rem/1 var(--head); color: var(--ink); margin-bottom: 12px !important; letter-spacing: -.01em; }
.b-numbers li p:not(.b-num):not(.b-num-tag) { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.b-numbers b { color: var(--ink); font-weight: 600; }
.b-num-src { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.b-num-problem { border-top-color: var(--coral); } .b-num-problem .b-num-tag { color: #c4532f; }
.b-num-video { border-top-color: var(--gold); } .b-num-video .b-num-tag { color: #a8740f; }
.b-ev-about { margin-top: 36px; }
.b-ev-about summary { font: 500 .92rem var(--head); color: var(--muted); cursor: pointer; }
.b-ev-about p { margin: 10px 0 0; font-size: .9rem; color: var(--muted); max-width: 80ch; }
.b-pilot-note { margin-top: 28px; }

/* How it works: one line per step */
.b-steps-line { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.b-steps-line li { position: relative; padding-left: 40px; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.b-steps-line li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 .85rem var(--head); }
.b-steps-line b { color: var(--ink); font-weight: 600; }

/* Data: paragraph + checklist, no cards */
.b-data-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.b-data-wrap .section-head { margin-bottom: 0; }
.b-data-link { font-size: .95rem; }
.b-checklist { grid-template-columns: 1fr 1fr; gap: 14px 28px; padding-top: 6px; }
.b-checklist li { font-size: .97rem; }

/* About: photo + text, no box */
.b-about-wrap { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.b-about-photo { margin: 0; }
.b-about-ph { width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); font: 600 3.4rem var(--head); border: 6px solid var(--white); box-shadow: 0 18px 36px -24px rgba(18,22,36,.45); }
.b-about-photo img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid var(--white); box-shadow: 0 18px 36px -24px rgba(18,22,36,.45); }

@media (max-width: 980px) {
  .b-benefits-wrap, .b-data-wrap { grid-template-columns: 1fr; }
  .b-numbers { grid-template-columns: 1fr 1fr; }
  .b-steps-line { grid-template-columns: 1fr 1fr; }
  .b-about-wrap { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 720px) {
  .b-benefit-list { grid-template-columns: 1fr; gap: 18px; }
  .b-benefit-list li { grid-template-columns: 48px 1fr; }
  .b-benefit-list img { height: 48px; }
  .b-numbers { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .b-num { font-size: 2rem; }
  .b-steps-line { grid-template-columns: 1fr; }
  .b-checklist { grid-template-columns: 1fr; gap: 10px; }
  .b-ev-grid, .b-evidence .section-head p:not(.eyebrow)::after { content: none; }
}

/* ══ Credibility pass ════════════════════════════════════ */
.b-num-note { font-size: .82rem !important; color: var(--muted) !important; margin-top: 6px !important; font-style: italic; }
/* Pricing: two cards + two rows */
.b-plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.b-plan-rows { max-width: 760px; margin: 16px auto 0; display: grid; gap: 12px; }
.b-plan-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.b-plan-row h3 { margin: 0 0 2px; font-size: 1.05rem; }
.b-plan-row-meta { margin: 0; font: 600 1.15rem var(--head); color: var(--ink); }
.b-plan-row-meta small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.b-plan-row-meta > span { font: 400 .9rem var(--body); color: var(--muted); margin-left: 8px; }
.b-plan-row .btn { flex: none; padding: 11px 16px; font-size: .88rem; }
/* Brand demo: colour label on one line */
.b-brand-demo .brand-inputs label:first-child { width: auto; white-space: nowrap; }
/* Tighter vertical rhythm */
main .section { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { margin-bottom: 36px; }
.b-scenes .scenes { margin-bottom: 0; }
@media (max-width: 720px) {
  .b-plans-2 { grid-template-columns: 1fr; }
  .b-plan-row { padding: 14px 16px; }
  .b-plan-row-meta > span { display: block; margin: 2px 0 0; }
  .b-plans .plan:nth-child(3), .b-plans .plan:nth-child(4) { display: flex; }
}

/* Data: what I do / what I never do */
.b-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b-dodont h3 { font-size: 1rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green); color: var(--green-ink); }
.b-dont h3 { border-bottom-color: var(--coral); color: #c4532f; }
.b-dodont ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.b-dodont li { position: relative; padding-left: 28px; font-size: .95rem; }
.b-dodont li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a56' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.b-dont li::before { background: #fde8e0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4532f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 720px) { .b-dodont { grid-template-columns: 1fr; } }

/* No photo yet: single-column About */
.b-about-photo[hidden] { display: none; }
.b-about-wrap:has(.b-about-photo[hidden]) { grid-template-columns: 1fr; max-width: 760px; }
