/* ============================================================
   Lummy — marketing site
   Palette & type per brief §5. Newsreader (display) + Hanken Grotesk (body).
   ============================================================ */

:root {
  --cream:      #FCFBF9;   /* page background */
  --bar:        #F5F4F1;   /* header + alternate sections */
  --callout:    #E5E5DF;   /* call-out sections */
  --surface:    #FFFFFF;   /* cards */
  --ink:        #13301F;   /* dark green - dark section bands */
  --navy:       #04182D;   /* primary text ink (bookedsolid) */
  --green:      #1C5B3E;
  --peri:       #2562BE;   /* button blue (bookedsolid) */
  --peri-deep:  #1E4F9C;   /* button blue, hover */
  --blue-soft:  #DAE8FB;   /* blue accent on dark sections */
  --coral:      #CC5E37;
  --sage:       #DCE8DC;
  --muted:      #5A6B60;
  --hairline:   #E5E5DF;
  --dark-muted: #B9C9BC;
  --dark-line:  #2A4A36;

  --ff-display: "Newsreader", Georgia, serif;
  --ff-body:    "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --container:  1160px;
  --radius:     22px;
  --radius-sm:  14px;
  --shadow:     0 18px 48px rgba(19, 48, 31, 0.10);
  --shadow-sm:  0 8px 24px rgba(19, 48, 31, 0.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--peri); color: #fff; }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 38em; }
.center .lede { margin-inline: auto; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: clamp(52px, 6vw, 92px); }
.section--tight { padding-block: clamp(38px, 4.5vw, 60px); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.dark .eyebrow { color: var(--blue-soft); }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--peri); color: #fff; box-shadow: 0 8px 20px rgba(37, 98, 190, 0.18); }
.btn--primary:hover { background: var(--peri-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(4,24,45,.28); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(4,24,45,.04); }
.dark .btn--ghost { color: var(--cream); border-color: rgba(244,241,233,.35); }
.dark .btn--ghost:hover { border-color: var(--cream); background: rgba(244,241,233,.06); }
.btn--lg { padding: 19px 36px; font-size: 1.05rem; }
.btn--sm { padding: 11px 20px; font-size: 0.92rem; }
.product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.product-card__actions .link-arrow { margin-top: 0; }
.security-note { text-align: center; color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 46em; margin: 36px auto 0; }

.link-arrow { font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 244, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body);
  font-size: 1.4rem; font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand__logo { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: 14px; }
.nav a { color: var(--navy); font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--green); text-decoration: none; }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 13px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    padding: 10px 0 18px;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px clamp(20px, 4vw, 32px); }
  .nav .btn { margin: 12px clamp(20px, 4vw, 32px) 0; justify-content: center; }
}
@media (min-width: 921px) { .nav .nav__mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding-top: clamp(22px, 3vw, 44px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__trust {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
}
.hero__trust .tick { color: var(--green); }

/* ---------- Hero: two-column (copy left, visual right) ---------- */
.hero__grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.03; letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero__copy .lede { font-size: 1.18rem; max-width: 30em; }
@media (max-width: 920px) {
  .hero__grid2 { grid-template-columns: 1fr; gap: 10px; }
  .hero__copy { max-width: none; }
  .hero__copy .lede { max-width: none; }
  .hero__grid2 .hero__visual { order: 2; margin-top: 16px; }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; }
}

/* ---------- Phone mockup ---------- */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(330px, 86vw);
  border-radius: 46px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow);
}
.phone__screen {
  background: var(--surface);
  border-radius: 38px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 600px;
}
.phone__notch {
  width: 110px; height: 22px; border-radius: 999px;
  background: var(--ink);
  margin: 10px auto 0;
}
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline);
}
.chat__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 1.05rem;
}
.chat__head strong { display: block; font-size: 0.95rem; }
.chat__status { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat__body { padding: 18px 16px 10px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.chat__time { text-align: center; font-size: 0.74rem; color: var(--muted); letter-spacing: .04em; }
.bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.bubble--visitor { align-self: flex-end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 6px; }
.bubble--bot { align-self: flex-start; background: var(--sage); color: var(--navy); border-bottom-left-radius: 6px; }
.bubble__cta {
  display: inline-block; margin-top: 8px;
  background: var(--peri); color: #fff;
  font-weight: 600; font-size: 0.86rem;
  padding: 9px 14px; border-radius: 999px;
}
.chat__input {
  margin: 10px 14px 16px;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 12px 18px; color: var(--muted); font-size: 0.9rem;
  display: flex; justify-content: space-between; align-items: center;
  background: #fff;
}
.chat__send { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--cream); display: grid; place-items: center; font-size: .8rem; }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 230px;
}
.float-card strong { display: block; font-size: 0.86rem; }
.float-card .muted { font-size: 0.78rem; }
.float-card--tl { top: 9%; left: -8%; }
.float-card--br { bottom: 8%; right: -7%; }
@media (max-width: 1100px) { .float-card--tl { left: 0; } .float-card--br { right: 0; } }
@media (max-width: 560px) { .float-card { display: none; } }
.float-card__row { display: flex; gap: 10px; align-items: flex-start; }
.float-card__dot {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.9rem;
  background: var(--sage); color: var(--green);
}

/* ---------- Logo marquee ---------- */
.logos { border-top: 1px solid var(--hairline); background: var(--bar); }
.logos__label {
  text-align: center; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 26px;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.marquee__track {
  display: flex; gap: 18px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-tile {
  flex: none;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 196px; height: 76px;
  padding: 0 26px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem; color: var(--navy);
  text-align: center; line-height: 1.2;
  white-space: nowrap;
}
.logo-tile img { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem + lost-patients counter ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
@media (max-width: 560px) { .stat-pair { grid-template-columns: 1fr; } }
.stat {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
  line-height: 1; color: var(--green);
  display: block; margin-bottom: 8px;
}
.stat__label { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }

.lost-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(19,48,31,.50) 0%, rgba(19,48,31,.70) 58%, rgba(19,48,31,.82) 100%), url("/assets/img/accumulating.jpg") center 28%/cover no-repeat;
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lost-panel__top { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lost-panel__num {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 7vw, 5.6rem);
  line-height: 0.95;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
}
.lost-panel__label { color: var(--cream); max-width: 15em; line-height: 1.4; font-size: 1.02rem; font-weight: 600; opacity: 0.97; }
.lost-feed { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; height: 212px; overflow: hidden; }
.lost-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(252, 251, 247, 0.06);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  height: 64px; flex: none;
  transition: opacity .45s ease, transform .45s ease;
}
.lost-item.is-entering { opacity: 0; transform: translateY(-10px); }
.lost-item.is-leaving { opacity: 0; transform: translateY(8px); }
.lost-item__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(204, 94, 55, 0.18); color: var(--coral);
}
.lost-item__body { flex: 1; min-width: 0; }
.lost-item__body strong { display: block; font-size: 0.92rem; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lost-item__body span { display: block; font-size: 0.8rem; color: var(--dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lost-item__time { font-size: 0.8rem; color: var(--dark-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lost-panel__note { margin: 22px 0 0; font-size: 0.78rem; color: var(--dark-muted); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.product-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--sage); color: var(--green);
  display: grid; place-items: center; margin-bottom: 20px;
  transition: transform .25s ease;
}
.product-card:hover .product-card__icon { transform: scale(1.07) rotate(-2deg); }
.product-card p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.98rem; }
.ticks .tick { color: var(--green); flex: none; margin-top: 2px; }
.dark .ticks .tick { color: var(--blue-soft); }
.product-card > .link-arrow { margin-top: auto; }

/* ---------- Challenge / Solution ---------- */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
@media (max-width: 860px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card { border-radius: var(--radius); padding: clamp(30px, 4vw, 50px); position: relative; overflow: hidden; }
.cs-card--challenge { background: var(--sage); }
.cs-card--solution { background: var(--ink); color: var(--cream); }
.cs-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cs-card__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(155deg, rgba(11,28,18,.86) 0%, rgba(11,28,18,.62) 42%, rgba(11,28,18,.45) 100%); }
.cs-card--solution > .cs-tag,
.cs-card--solution > h3,
.cs-card--solution > p { position: relative; z-index: 2; }
.cs-card h3 { margin-top: 14px; }
.cs-tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.cs-card--challenge .cs-tag { background: rgba(19,48,31,.1); color: var(--green); }
.cs-card--solution .cs-tag { background: rgba(169,196,236,.16); color: var(--blue-soft); }
.cs-card--challenge p { color: var(--navy); opacity: .8; }
.cs-card--solution p { color: var(--dark-muted); }

/* ---------- Photo placeholders ---------- */
.ph-img {
  position: relative;
  border-radius: var(--radius);
  border: 1px dashed rgba(90, 107, 96, 0.5);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(220,232,220,.9), transparent 60%),
    radial-gradient(120% 110% at 85% 90%, rgba(37, 98, 190,.10), transparent 55%),
    linear-gradient(160deg, #ECEBE4, #DEE4DC);
  min-height: 260px;
}
.ph-img__tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(252,251,247,.92);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; color: var(--muted);
  padding: 6px 12px;
}

/* ---------- Mini features (customisation etc.) ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }
.mini {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 26px 26px 22px;
}
.mini__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage); color: var(--green);
  display: grid; place-items: center; margin-bottom: 16px;
}
.mini h3 { font-family: var(--ff-body); font-weight: 600; font-size: 1.08rem; margin-bottom: 8px; }
.mini p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 290px)) minmax(0, 1fr);
  gap: 26px; margin-top: 54px;
  align-items: stretch;
}
@media (max-width: 1000px) { .testi-grid { grid-template-columns: 1fr 1fr; } .testi-feature { grid-column: 1 / -1; } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.video-frame {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid var(--dark-line);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__ph { text-align: center; color: var(--dark-muted); padding: 24px; font-size: 0.88rem; }
.video-frame__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--peri);
  display: grid; place-items: center; margin: 0 auto 16px;
  font-size: 1.2rem;
}
.video-frame__label {
  position: absolute; top: 14px; left: 14px;
  background: rgba(19,48,31,.75); color: var(--cream);
  font-size: 0.74rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.testi-feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.testi-feature blockquote {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
}
.testi-feature__person { display: flex; align-items: center; gap: 16px; }
.testi-feature__photo { width: 58px; height: 58px; border-radius: 50%; min-height: 0; flex: none; object-fit: cover; }
.testi-feature__person strong { display: block; }
.testi-feature__person span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Dark bands (security, final CTA) ---------- */
.dark { background: var(--ink); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.dark .lede, .dark p { color: var(--dark-muted); }
.dark .mini { background: rgba(252,251,247,.05); border-color: var(--dark-line); }
.dark .mini h3 { color: var(--cream); }
.dark .mini p { color: var(--dark-muted); }
.dark .mini__icon { background: rgba(169,196,236,.15); color: var(--blue-soft); }

/* ---------- ROI calculator ---------- */
.roi-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 52px);
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
}
@media (max-width: 920px) { .roi-card { grid-template-columns: 1fr; } }
.roi-field { margin-bottom: 34px; }
.roi-field__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.roi-field__head label { font-weight: 600; font-size: 1rem; }
.roi-field__value {
  font-family: var(--ff-display); font-size: 1.5rem; color: var(--green);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--green) var(--fill, 50%), var(--hairline) var(--fill, 50%));
  appearance: none; -webkit-appearance: none; outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--peri); border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(19, 48, 31, 0.3);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--peri); border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(19, 48, 31, 0.3);
  cursor: grab;
}
.roi-fact {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sage); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 0.92rem; line-height: 1.5; color: var(--navy);
}
.roi-fact strong { color: var(--green); }
.roi-results { display: grid; gap: 14px; align-content: start; }
.roi-result {
  background: var(--bar);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
}
.roi-result span { color: var(--muted); font-size: 0.94rem; }
.roi-result strong {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.roi-result--hero { background: var(--ink); border-color: var(--ink); }
.roi-result--hero span { color: var(--dark-muted); }
.roi-result--hero strong { color: var(--blue-soft); }
.roi-note { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 30px 28px 26px;
  position: relative;
}
.step__num {
  font-family: var(--ff-display);
  font-size: 2.4rem; line-height: 1; color: var(--peri-deep);
  display: block; margin-bottom: 16px;
}
.step h3 { font-family: var(--ff-body); font-weight: 600; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Numbered flow (product pages) */
.flow { display: grid; gap: 0; margin-top: 54px; max-width: 760px; margin-inline: auto; }
.flow__item { display: flex; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.flow__item:last-child { border-bottom: 0; }
.flow__num {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--sage); color: var(--green);
  font-family: var(--ff-display); font-size: 1.3rem;
  display: grid; place-items: center;
}
.flow__item h3 { font-family: var(--ff-body); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; }
.flow__item p { color: var(--muted); margin: 0; }

/* ---------- Hear it live ---------- */
.hear-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
@media (max-width: 860px) { .hear-grid { grid-template-columns: 1fr; } }
.hear-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 44px);
  text-align: center;
}
.hear-card__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sage); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 20px;
}
.hear-card .tel {
  display: inline-block;
  font-family: var(--ff-display); font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy); margin: 6px 0 4px;
}
.hear-card .ph-chip {
  display: inline-block; font-size: 0.74rem; font-weight: 600;
  background: rgba(204,94,55,.1); color: var(--coral);
  border: 1px dashed rgba(204,94,55,.4);
  padding: 4px 10px; border-radius: 999px; margin-top: 10px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 54px auto 0; }
.faq__cat {
  font-family: var(--ff-body);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--green); margin: 40px 0 14px; padding-left: 2px;
}
.faq__cat:first-child { margin-top: 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--ff-display); font-size: 1.5rem; line-height: 1;
  color: var(--green); flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 24px; color: var(--muted); }
.faq details[open] > div { animation: faq-in .28s ease both; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq details a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .btn { margin-top: 30px; }
.final-cta h2 { max-width: 17em; margin-inline: auto; }
.final-cta .lede { margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--dark-muted); padding: 64px 0 36px; }
.footer a { color: var(--dark-muted); }
.footer a:hover { color: var(--cream); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--dark-line);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand { color: var(--cream); }

.footer__tag { margin-top: 14px; max-width: 26em; font-size: 0.95rem; }
.footer h4 {
  color: var(--cream); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  margin: 0 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.95rem; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 28px; font-size: 0.84rem;
}

/* ---------- Product page hero mockups ---------- */
.browser {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: min(560px, 100%);
}
.browser__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--hairline);
  background: var(--bar);
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); }
.browser__url {
  flex: 1; background: #fff; border: 1px solid var(--hairline);
  border-radius: 999px; font-size: 0.78rem; color: var(--muted);
  padding: 6px 14px;
}
.browser__body { position: relative; min-height: 360px; padding: 24px; }
.faux-line { height: 12px; border-radius: 999px; background: var(--sage); margin-bottom: 12px; }
.faux-line--title { height: 22px; width: 60%; background: var(--hairline); margin-bottom: 18px; }
.faux-line--short { width: 40%; }
.faux-block { height: 110px; border-radius: var(--radius-sm); background: var(--bar); border: 1px solid var(--hairline); margin-top: 20px; }
.widget-pop {
  position: absolute; right: 18px; bottom: 18px;
  width: min(250px, 70%);
  background: #fff; border: 1px solid var(--hairline);
  border-radius: 16px; box-shadow: var(--shadow-sm);
  padding: 14px; font-size: 0.84rem;
}
.widget-pop .bubble { max-width: 100%; font-size: 0.82rem; margin-bottom: 8px; }
.call-screen { text-align: center; padding: 44px 22px 30px; display: flex; flex-direction: column; flex: 1; }
.call-screen__name { font-family: var(--ff-display); font-size: 1.5rem; }
.call-screen__sub { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.wave { display: flex; gap: 5px; justify-content: center; align-items: flex-end; height: 46px; margin: 34px 0; }
.wave span { width: 5px; border-radius: 999px; background: var(--green); height: 30%; animation: wave 1.3s ease-in-out infinite; }
.wave span:nth-child(2) { animation-delay: .12s; } .wave span:nth-child(3) { animation-delay: .24s; }
.wave span:nth-child(4) { animation-delay: .36s; } .wave span:nth-child(5) { animation-delay: .48s; }
.wave span:nth-child(6) { animation-delay: .6s; }  .wave span:nth-child(7) { animation-delay: .72s; }
@keyframes wave { 0%, 100% { height: 26%; } 50% { height: 100%; } }
.call-caption {
  background: var(--sage); border-radius: var(--radius-sm);
  font-size: 0.88rem; padding: 13px 16px; text-align: left;
  margin-bottom: 10px;
}
.call-end {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center; margin: auto auto 0;
}

/* ---------- Stat strip (product pages) ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 720px) { .stat-strip { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 48px);
  max-width: 680px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.93rem; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--navy);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 91, 62, 0.14);
}
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--hairline); background: #fff;
  font-weight: 600; font-size: 0.94rem; cursor: pointer;
}
.radio-chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.radio-chip input:focus-visible + span { outline: 3px solid var(--peri); outline-offset: 2px; }
.form-msg { margin-top: 18px; font-weight: 600; display: none; }
.form-msg.is-error { display: block; color: var(--coral); }
.form-success { text-align: center; padding: 30px 10px; display: none; }
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage); color: var(--green);
  display: grid; place-items: center; margin: 0 auto 20px; font-size: 1.4rem;
}

/* ---------- Page hero (simple, inner pages) ---------- */
.page-hero { padding-block: clamp(64px, 8vw, 110px) clamp(40px, 5vw, 70px); }
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }

/* ---------- Reveal on scroll (only hidden when JS is running) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .marquee::before, .marquee::after { display: none; }
  .wave span { animation: none; height: 60%; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .lost-item.is-entering, .lost-item.is-leaving { opacity: 1; transform: none; }
  .btn:hover, .product-card:hover { transform: none; }
}

/* ---------- Entrance & ambient motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

html.js .hero__copy { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
html.js .hero__visual { animation: rise .7s .15s cubic-bezier(.2,.7,.2,1) both; }

html.js .hero .bubble,
html.js .hero .call-caption { opacity: 0; animation: bubble-in .5s cubic-bezier(.2,.7,.3,1.05) forwards; }
html.js .hero .bubble { animation-delay: .65s; }
html.js .hero .bubble + .bubble { animation-delay: 1.25s; }
html.js .hero .bubble + .bubble + .bubble { animation-delay: 1.85s; }
html.js .hero .bubble + .bubble + .bubble + .bubble { animation-delay: 2.45s; }
html.js .hero .call-caption { animation-delay: .8s; }
html.js .hero .call-caption + .call-caption { animation-delay: 1.5s; }

html.js .hero .float-card { opacity: 0; }
html.js .hero .float-card--tl { animation: rise .6s 2.9s cubic-bezier(.2,.7,.2,1) forwards, drift 6.5s 3.6s ease-in-out infinite alternate; }
html.js .hero .float-card--br { animation: rise .6s 3.2s cubic-bezier(.2,.7,.2,1) forwards, drift 7.5s 3.9s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero__copy,
  html.js .hero__visual,
  html.js .hero .bubble,
  html.js .hero .call-caption,
  html.js .hero .float-card { animation: none; opacity: 1; transform: none; }
  .faq details[open] > div { animation: none; }
  .link-arrow:hover::after,
  .product-card:hover .product-card__icon { transform: none; }
}

/* ============================================================
   Stat band (full-width proof numbers) — pattern borrowed from
   editorial SaaS sites; numbers count up via existing .stat__num JS.
   ============================================================ */
.stat-band { background: var(--bar); border-bottom: 1px solid var(--hairline); }
.stat-band__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .stat-band__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stat-band__grid { grid-template-columns: 1fr; } }
.stat-band__item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3vw, 30px);
  text-align: left;
}
.stat-band__num {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1;
  color: var(--navy); display: block; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-band__num .coral { color: var(--coral); }
.stat-band__label { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.stat-band__sep { display: none; }


/* ============================================================
   Soundwave hero visual (AI Phone) — voice waveform + floating
   cards. Pattern inspired by editorial AI-receptionist sites;
   cards show Lummy's real outcome (enquiry emailed), not booking.
   ============================================================ */
.soundwave {
  position: relative;
  width: 100%;
  padding: 30px 0;
  display: flex; align-items: center; justify-content: center;
}
.soundwave__svg { width: 100%; height: auto; overflow: visible; display: block; }
.soundwave__svg rect { transform-box: fill-box; transform-origin: center; }
html.js .soundwave__svg rect {
  animation: sw-pulse var(--t, 1.8s) ease-in-out var(--d, 0s) infinite;
}
@keyframes sw-pulse {
  0%, 100% { transform: scaleY(calc(1 - var(--a, 0.6) * 0.5)); }
  50%      { transform: scaleY(1); }
}

.sw-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 13px 16px;
  font-size: 0.86rem; line-height: 1.4;
  max-width: 250px;
}
.sw-card strong { display: block; font-size: 0.9rem; }
.sw-card .muted { font-size: 0.8rem; }
.sw-card__row { display: flex; gap: 12px; align-items: center; }
.sw-card__avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: var(--green);
}
.sw-card__avatar--blue { background: rgba(37, 98, 190,.12); color: var(--peri); }
.sw-card__avatar--check { background: var(--green); color: #fff; }
.sw-card__progress {
  height: 5px; border-radius: 999px; background: var(--hairline);
  margin-top: 10px; overflow: hidden;
}
.sw-card__progress span { display: block; height: 100%; width: 60%; background: var(--green); border-radius: 999px; }
html.js .sw-card__progress span { animation: sw-prog 3.2s ease-in-out infinite; }
@keyframes sw-prog { 0% { width: 12%; } 60% { width: 82%; } 100% { width: 12%; } }

.sw-card--call  { top: 66%;  left: -3%; }
.sw-card--email { top: 0;     left: 2%; }
.sw-card--ask   { top: 34%;   right: -3%; }

/* Hero website-chat widget */
.hero-chat {
  position: absolute; top: 24%; right: -5%;
  width: 300px; max-width: 84%; z-index: 4;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 34px 60px -24px rgba(19,48,31,.34), 0 8px 20px -10px rgba(19,48,31,.16);
  overflow: hidden;
}
.hero-chat__head { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: var(--ink); color: var(--cream); }
.hero-chat__avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--green); color: var(--cream); }
.hero-chat__name { flex: 1; font-size: 0.92rem; font-weight: 600; }
.hero-chat__menu { display: flex; gap: 4px; }
.hero-chat__menu i { width: 5px; height: 5px; border-radius: 50%; background: rgba(252,251,247,.7); }
.hero-chat__body { padding: 14px 15px; }
.hero-chat__bubble { background: var(--sage); color: var(--ink); font-size: 0.86rem; line-height: 1.38; padding: 11px 14px; border-radius: 14px 14px 14px 4px; }
.hero-chat__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.hero-chat__chip { padding: 8px 13px; border: 1.5px solid var(--hairline); border-radius: 999px; font-size: 0.78rem; font-weight: 500; color: var(--ink); }
.hero-chat__input { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding: 7px 8px 7px 14px; background: var(--surface); border: 1.5px solid var(--hairline); border-radius: 999px; }
.hero-chat__placeholder { flex: 1; font-size: 0.78rem; color: var(--muted); }
.hero-chat__send { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--cream); }

@media (max-width: 1100px) {
  .sw-card--call { left: 0; } .hero-chat { right: 0; }
}
@media (max-width: 600px) {
  .sw-card { position: static; max-width: none; margin: 10px auto 0; }
  .hero-chat { position: static; width: 100%; max-width: 360px; margin: 0 auto; order: -1; }
  .soundwave { flex-direction: column; padding-bottom: 0; }
}

html.js .soundwave .sw-card, html.js .soundwave .hero-chat { opacity: 0; }
html.js .soundwave .hero-chat      { animation: rise .6s 0.9s cubic-bezier(.2,.7,.2,1) forwards, drift 8s 1.6s ease-in-out infinite alternate; }
html.js .soundwave .sw-card--call  { animation: rise .6s 1.1s cubic-bezier(.2,.7,.2,1) forwards, drift 6.5s 1.8s ease-in-out infinite alternate; }
html.js .soundwave .sw-card--ask   { animation: rise .6s 1.3s cubic-bezier(.2,.7,.2,1) forwards, drift 7.2s 2.0s ease-in-out infinite alternate; }
html.js .soundwave .sw-card--email { animation: rise .6s 1.5s cubic-bezier(.2,.7,.2,1) forwards, drift 7.8s 2.2s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  html.js .soundwave__svg rect { animation: none; }
  html.js .soundwave .sw-card, html.js .soundwave .hero-chat { animation: none; opacity: 1; }
  html.js .sw-card__progress span { animation: none; }
}

/* ============================================================
   "Speak to Ben" — Synthflow call launcher + panel
   The iframe is injected on first click (lazy), so the page never
   requests microphone access or loads the widget until asked.
   ============================================================ */
.btn[data-speak-to-ben] { gap: 9px; }
.btn .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  position: relative; flex: none;
}
html.js .btn .pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid currentColor; opacity: .5;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

.call-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(4, 24, 45, 0.55);
  opacity: 0; transition: opacity .25s ease;
}
.call-overlay.is-open { opacity: 1; }
.call-overlay[hidden] { display: none; }
.call-panel {
  width: 600px; max-width: 100%;
  max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(4, 24, 45, 0.45);
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .28s ease;
}
.call-overlay.is-open .call-panel { transform: none; opacity: 1; }
.call-panel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--hairline);
  background: var(--ink); color: var(--cream);
  position: sticky; top: 0; z-index: 2; flex: none;
}
.call-panel__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--green); color: var(--cream);
}
.call-panel__id { flex: 1; min-width: 0; }
.call-panel__id strong { display: block; font-size: 0.98rem; }
.call-panel__id span { font-size: 0.8rem; color: var(--dark-muted); }
.call-panel__close {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(252,251,247,.1); color: var(--cream);
  border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center;
}
.call-panel__close:hover { background: rgba(252,251,247,.2); }
.call-panel__body {
  position: relative;
  flex: none;
  height: min(700px, calc(100vh - 100px)); min-height: 440px;
  background: var(--surface);
}
.call-panel__body iframe { width: 100%; height: 100%; border: 0; background: transparent; display: block; }
.call-panel__loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  color: var(--muted); font-size: 0.9rem; text-align: center; padding: 24px;
  pointer-events: none;
}
.call-panel__loading.is-hidden { display: none; }
.call-panel__spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--hairline); border-top-color: var(--green);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .call-overlay { padding: 0; align-items: flex-end; }
  .call-panel { width: 100%; max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; }
  .call-panel__body { height: min(640px, calc(100vh - 120px)); min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .call-overlay, .call-panel { transition: none; }
  html.js .btn .pulse-dot::after { animation: none; }
  .call-panel__spinner { animation: none; }
}

/* ============================================================
   Claude Design embed (chatbot mockup) — a fixed 1240x1180 stage
   scaled responsively to fit its column. JS sets --cd-scale.
   ============================================================ */
.cd-embed {
  position: relative; width: 100%;
  max-width: 900px; margin-inline: auto;
  aspect-ratio: 1380 / 794;
  border-radius: 18px; overflow: hidden;
}
.cd-stage {
  position: absolute; top: 0; left: 0;
  width: 1380px; height: 794px;
  transform-origin: top left;
  transform: scale(var(--cd-scale, 0.4));
}
@media (max-width: 920px) { .cd-embed { max-width: 560px; } }


/* Featured single stat (problem section) */
.stat-pair:has(.stat--feature) { grid-template-columns: 1fr; }
.stat--feature {
  grid-column: 1 / -1; max-width: none;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--green);
  border-radius: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 18px 40px -28px rgba(4,24,45,.25);
}
.stat--feature .stat__num { font-size: clamp(3rem, 4.6vw, 4.4rem); line-height: 1; color: var(--green); }
.stat--feature .stat__label { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--navy); margin-top: 8px; max-width: 18em; }
.stat--feature .stat__note { display: block; margin-top: 14px; font-size: 0.95rem; color: var(--muted); }

/* Testimonial clips with captions */
.testi-clip { display: flex; flex-direction: column; }
.testi-clip .video-frame { margin: 0; }
.testi-clip__cap { margin-top: 14px; color: var(--muted); font-size: 0.96rem; line-height: 1.5; }
.testi-clip__cap strong { color: var(--navy); font-weight: 600; }

/* "Give your team their time back" value section */
.vb-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px); margin-top: clamp(32px, 4vw, 48px);
}
@media (max-width: 760px) { .vb-grid { grid-template-columns: 1fr; } }
.vb-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: clamp(26px, 3vw, 36px);
}
.vb-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--sage); color: var(--green);
}
.vb-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.vb-card p { color: var(--muted); line-height: 1.6; }
.vb-card p + p { margin-top: 12px; }

/* Founder photos on About */
.founder-photo {
  aspect-ratio: 1 / 1; width: 100%; max-width: 240px;
  border-radius: 18px; overflow: hidden;
  margin: 0 0 20px; background: var(--bar);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-role { color: var(--green); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }

/* ===== "Give your team their time back" — shorter two-column ===== */
.vb2-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 32px); margin-top: clamp(28px, 4vw, 44px);
  align-items: stretch;
}
@media (max-width: 760px) { .vb2-grid { grid-template-columns: 1fr; } }
.vb2-callout {
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(155deg, rgba(19,48,31,.90) 0%, rgba(19,48,31,.74) 100%), url("/assets/img/reception.jpg") 0% 20% / 180% no-repeat;
  color: var(--cream);
  border-radius: 20px; padding: clamp(28px, 3.5vw, 40px);
}
.vb2-callout__num { font-family: var(--ff-display); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; }
.vb2-callout__sub { font-size: 1.05rem; margin-top: 10px; color: var(--dark-muted); max-width: 16em; }
.vb2-text {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; justify-content: center;
}
.vb2-text__lead { font-size: 1.18rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.vb2-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.vb2-chip {
  padding: 8px 14px; border: 1.5px solid var(--hairline); border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--navy); background: var(--bar);
}
.vb2-text__foot { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.vb2-text__foot strong { color: var(--green); font-weight: 600; }

/* ===== Testimonial clips: banner + larger caption ===== */
.testi-clip { border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; background: var(--surface); }
.testi-clip__banner {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 18px; color: var(--cream);
}
.testi-clip__banner--chat { background: var(--green); }
.testi-clip__banner--phone { background: var(--ink); }
.testi-clip__bicon {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(252,251,247,.16);
}
.testi-clip__tag { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.testi-clip .video-frame { margin: 0; border-radius: 0; }
.testi-clip__cap { margin: 0; padding: 16px 18px; color: var(--navy); font-size: 1.02rem; line-height: 1.5; }
.testi-clip__cap strong { font-weight: 700; }

/* ===== Mid-page "Get a custom demo" CTA band ===== */
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px 28px;
  background: var(--callout); border-radius: 22px;
  padding: clamp(24px, 3.5vw, 40px) clamp(26px, 4vw, 48px);
}
.cta-band__inner p { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--navy); margin: 0; max-width: 20em; }
@media (max-width: 620px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band__inner .btn { width: 100%; justify-content: center; }
}

/* Founder bio aside note */
.founder-note { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-top: 10px; }


/* ===== How-it-works two-column with chat mockup (chatbot page) ===== */
.hiw-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 4.5vw, 60px); align-items: center;
  margin-top: clamp(30px, 4vw, 48px);
}
@media (max-width: 940px) { .hiw-grid { grid-template-columns: 1fr; } }
.hiw-grid .flow { margin-top: 0; }
.chat-embed { position: relative; width: 100%; overflow: hidden; }
.chat-stage { width: 684px; transform-origin: top left; }


/* ===== Wide (horizontal) feature testimonial + 2-up video grid ===== */
.testi-feature--wide {
  flex-direction: row; align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 60px);
}
.testi-feature--wide blockquote { margin: 0; flex: 1; font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.42; }
.testi-feature--wide .testi-feature__person { flex: none; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 210px; }
.testi-feature--wide .testi-feature__photo { width: 96px; height: 96px; }
.testi-feature--wide .testi-feature__person span { font-size: 0.95rem; }
@media (max-width: 720px) {
  .testi-feature--wide { flex-direction: column; text-align: center; }
  .testi-feature--wide .testi-feature__person { flex-direction: row; max-width: none; text-align: left; }
}
.testi-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 44px);
}
@media (max-width: 700px) { .testi-grid--2 { grid-template-columns: minmax(0, 320px); } }

/* ===== Legal pages ===== */
.legal-updated { color: var(--muted); font-size: 0.95rem; margin: -4px 0 6px; }
.prose.legal h2 { font-size: 1.32rem; margin-top: 1.9em; margin-bottom: .35em; }
.prose.legal h3 { font-size: 1.02rem; margin-top: 1.35em; margin-bottom: .25em; color: var(--navy); }
.prose.legal p { margin: .55em 0; color: var(--muted); line-height: 1.65; }
.prose.legal ul { margin: .45em 0 .9em; padding-left: 1.2em; }
.prose.legal li { margin: .3em 0; color: var(--muted); line-height: 1.6; }
.prose.legal li strong, .prose.legal p strong { color: var(--navy); font-weight: 600; }
.prose.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.prose.legal > p:last-of-type { margin-top: 1.6em; }


/* ===== Who-it's-for clinic-type pills ===== */
.who-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.who-tag {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 11px 20px;
  font-weight: 600; color: var(--navy); font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}


/* ===== Patient-concierge phone mockup ===== */
@keyframes pcPopIn { from { transform: translateY(16px) scale(.97); } to { transform: translateY(0) scale(1); } }
.pc-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.pc-hidden { display: none !important; }


/* ===== Browser-window chatbot mockup (How it works) — fixed 1240x1180 stage ===== */
.bw-embed {
  position: relative; width: 100%;
  max-width: 620px; margin-inline: auto;
  aspect-ratio: 1240 / 1180;
}
.bw-stage {
  position: absolute; top: 0; left: 0;
  width: 1240px; height: 1180px;
  transform-origin: top left;
  transform: scale(var(--bw-scale, 0.45));
}
@media (max-width: 920px) { .bw-embed { max-width: 540px; } }

@keyframes pcDot { 0%,60%,100% { transform: translateY(0); opacity:.45; } 30% { transform: translateY(-5px); opacity:1; } }
