/* Components — all values via tokens.css */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: block; src: url(../assets/fonts/outfit-var.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 500; font-display: block; src: url(../assets/fonts/satoshi-500.woff2) format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 700; font-display: block; src: url(../assets/fonts/satoshi-700.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: block; src: url(../assets/fonts/manrope-500.woff2) format('woff2'); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); font-weight: 500; color: var(--color-primary); background: var(--color-white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; }
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; }
button, [role="button"] { font: inherit; }
:is(a, button, [role="button"]):focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
h1, h2 { font-family: var(--font-display); font-weight: 400; color: var(--color-primary); }
h1 { font-size: var(--text-h1-size); line-height: var(--text-h1-line); }
h2 { font-size: var(--text-h2-size); line-height: var(--text-h2-line); }
.wrap { width: 90%; max-width: var(--content-width); margin: 0 auto; }

/* ---------- not found ---------- */
.not-found-page { min-height: 100vh; background: var(--grad-hero); }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 96px 24px 48px; text-align: center; position: relative; }
.not-found-logo { position: absolute; top: 30px; left: var(--page-pad); }
.not-found-logo img { width: 125px; height: 38px; object-fit: contain; }
.not-found-copy { max-width: 620px; }
.not-found-code { font: 700 14px/1 var(--font-ui); letter-spacing: .16em; color: var(--color-body); }
.not-found h1 { margin-top: 18px; font-size: clamp(48px, 7vw, 84px); line-height: .98; }
.not-found-copy > p:not(.not-found-code) { margin: 24px auto 30px; color: var(--color-body); font-size: var(--text-body-size); line-height: 1.4; }

/* appear-animation initial states */
.pre { opacity: .001; }
.pre-dim { opacity: .001; }
.hero-title > span { display: inline-block; }

/* label-roll hover */
.roll { display: inline-flex; flex-direction: column; height: 1.3em; overflow: hidden; line-height: 1.3; vertical-align: middle; }
.roll span { display: block; }

/* Framer-like press feedback */
.pill-nav a, .try-free, .btn-dark, .btn-ghost, .sarrow, .sbtn, .f-disc {
  transform: translateZ(0);
  transition: transform .18s ease, filter .25s ease, background-color .3s ease;
}
.pill-nav a:active, .try-free:active, .btn-dark:active, .btn-ghost:active, .sarrow:active, .sbtn:active, .f-disc:active {
  transform: scale(.96);
}
@media (hover: hover) {
  .btn-dark:hover, .try-free:hover { filter: brightness(1.12); }
  .btn-ghost:hover { background: rgba(0, 0, 0, .22); }
  .f-disc:hover { transform: translateY(-2px); }
}

/* ---------- nav ---------- */
nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: 50; pointer-events: none; }
nav .bar { display: flex; align-items: center; justify-content: space-between; padding: 7px var(--page-pad); }
nav .bar > * { pointer-events: auto; }
.logo img { width: 125px; height: 38px; object-fit: contain; }
.pill-nav { display: flex; align-items: center; gap: 28px; background: var(--color-white); border-radius: var(--radius-pill); height: 52px; padding: 0 23px; box-shadow: var(--shadow-nav-pill); }
.pill-nav a { font-size: var(--text-nav-size); font-weight: 500; color: var(--color-primary); }
.try-free { background: var(--color-terra); color: var(--color-primary); font-weight: 500; font-size: var(--text-nav-size); border-radius: var(--radius-pill); height: 52px; display: flex; align-items: center; padding: 0 17.5px; box-shadow: var(--shadow-try-glow); }

/* ---------- hero ---------- */
.hero { background: var(--grad-hero); border-radius: 0 0 var(--radius-section) var(--radius-section); padding: var(--hero-pad-top) 0 37px; text-align: center; overflow: hidden; }
.hero .sub { font-size: var(--text-sub-size); line-height: var(--text-sub-line); color: var(--color-primary); max-width: 455px; margin: 16px auto 0; }
.hero .btns { display: flex; gap: var(--grid-gap); justify-content: center; margin-top: 24px; }
.btn-dark { background: var(--color-primary); color: var(--color-white); border-radius: var(--radius-pill); min-height: 45px; padding: 12px 22px; font-size: var(--text-nav-size); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost { background: var(--color-scrim-15); color: var(--color-white); border-radius: var(--radius-pill); min-height: 45px; padding: 12px 22px; font-size: var(--text-nav-size); font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.hero .visual { margin: 44px auto 0; width: var(--phone-w); }
.hero .visual img { width: 100%; transform: translateY(3px); filter: drop-shadow(0 30px 40px rgba(61, 0, 0, .25)); }

/* ---------- why (features header) ---------- */
.why { padding: var(--section-pad-lg) 0 0; }
.why .grid { display: grid; grid-template-columns: 500px 520px; gap: 60px; align-items: start; }
.why h2 em { font-style: italic; }
.why-narrow { display: none; }
.why p { color: var(--color-body); font-size: 16px; line-height: 1.3; max-width: 520px; }

/* ---------- features bento ---------- */
.features-grid { padding-top: 78px; padding-bottom: 96px; }
.bento { display: grid; gap: var(--grid-gap); }
.bento .row { display: grid; gap: var(--grid-gap); }
.bento .r1 { grid-template-columns: 1fr 1fr; }
.bento .r2 { grid-template-columns: 356fr 712fr; }
.card { background: var(--color-peach-card); border-radius: var(--radius-card); padding: var(--card-pad) var(--card-pad) 0; position: relative; overflow: hidden; display: flex; flex-direction: column; height: var(--card-h); }
.card::before { content: ""; position: absolute; inset: 0; background: var(--grad-card-glow); opacity: var(--glow-opacity); pointer-events: none; }
.card > * { position: relative; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h3-size); line-height: var(--text-h3-line); color: var(--color-primary); }
.card .copy { margin-top: auto; padding-bottom: 40px; }
.card .copy p { color: var(--color-body); font-size: var(--text-body-size); line-height: 1.3; margin-top: 8px; }
.panel { background: var(--color-white); border-radius: var(--radius-panel); box-shadow: var(--shadow-panel); }

/* voice card */
.voice-panel { width: var(--panel-w); max-width: 100%; height: var(--panel-h); display: flex; flex-direction: column; align-items: center; padding-top: 34px; margin-bottom: 10px; }
.voice-panel .q { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; color: rgb(0, 0, 0); margin-bottom: 16px; }
.micbtn { width: 84px; height: 79px; margin-bottom: 24px; border-radius: 50%; background: var(--color-white); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 8px 20px rgba(64, 134, 243, .25), 0 2px 4px rgba(0, 0, 0, .08); display: flex; align-items: center; justify-content: center; }
.micbtn img { width: 41px; height: 49px; }
.waveform { width: 152px; height: 64px; background: url(../assets/waveform.svg) no-repeat center / 100% 100%; }

/* symptoms card */
.symptoms-img { width: 341px; height: 295px; margin: 0 auto 10px; }

/* pattern (score) card */
.pattern-card::before { transition: opacity .7s cubic-bezier(.2, .8, .2, 1); }
.pattern-card.pattern-hover::before { opacity: 1; }
.pattern-visual {
  position: absolute;
  top: 21.5px;
  left: 50%;
  width: 470px;
  height: 315px;
  transform: translateX(-50%);
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.pattern-note {
  order: 0;
  flex: none;
  width: 268px;
  height: 20px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-note-size);
  line-height: 20px;
  color: rgb(0, 0, 0);
  text-align: center;
  will-change: transform;
}
.temp-panel {
  order: 1;
  flex: none;
  width: 275px;
  height: 125px;
  padding: 8px 16px 0;
  margin: 0;
  border-radius: 12px;
  will-change: transform;
}
.pattern-card.pattern-hover .temp-panel { order: 0; }
.pattern-card.pattern-hover .pattern-note { order: 1; }
.temp-head { display: flex; justify-content: space-between; align-items: center; }
.temp-head .t { font-size: var(--text-label-size); font-weight: 700; color: var(--color-panel-ink); margin: 0 auto; }
.temp-head img { width: 4px; height: 8px; }
.temps { display: flex; justify-content: space-between; font-size: 10px; color: var(--color-temp-gray); margin-top: 8px; padding: 0 12px; }
.suns { position: relative; width: 206px; margin: 6px auto 0; height: 25px; }
.suns .s { position: absolute; inset: 0; background: url(../assets/temp-suns.svg) no-repeat center / 100% 100%; }
.suns .l { position: absolute; left: 2px; top: 4px; width: 199px; height: 18px; background: url(../assets/temp-line.svg) no-repeat center / 100% 100%; }
.tdays { display: flex; justify-content: space-between; font-size: 9px; color: var(--color-day-gray); width: 206px; margin: 12px auto 0; }
.tdays i { font-style: normal; position: relative; }
.tdays i.dot::after { content: ""; position: absolute; left: 50%; top: -7px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--color-sun); }
.tdays b { color: var(--color-sev-text); }

/* photo card */
.photo-row { display: flex; gap: 66px; justify-content: center; margin: 19px 0 13px; }
.photo-card { padding: 20px 16px 25px; width: 286px; }
.photo-head { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-label-size); font-weight: 700; color: var(--color-panel-ink); }
.sev { background: var(--color-sev-bg); color: var(--color-sev-text); font-size: 10px; font-weight: 700; border-radius: 10px; padding: 4px 9px; }
.photo-card img { width: 251px; height: 140px; border-radius: var(--radius-photo); margin-top: 19px; object-fit: fill; }
.photo-card img.flip { transform: rotate(180deg); }
.photo-note { font-family: var(--font-display); font-weight: 300; font-size: 21px; line-height: 20px; color: rgb(0, 0, 0); text-align: center; width: 451px; margin: 0 auto; }
.photo-note.fade { opacity: 0; }

/* ---------- testimonials ---------- */
.testi { padding: var(--section-pad) 0 147px; }
.testi h2 { max-width: 540px; margin-top: 0; margin-bottom: 80px; }
.slideshow { position: relative; }
.sviewport { overflow: hidden; padding: 0 8px; height: 296px; }
.strack { display: flex; gap: var(--tcard-gap); will-change: transform; user-select: none; }
.tcard { flex: 0 0 var(--tcard-w); height: var(--tcard-h); background: var(--color-peach-card); border-radius: var(--radius-tcard); padding: var(--card-pad); position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; inset: 0; background: var(--grad-card-glow); opacity: var(--glow-opacity); }
.tcard p { position: relative; font-size: var(--text-quote-size); line-height: 1.3; color: var(--color-primary); }
.sarrow { position: absolute; top: 128px; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--color-scrim-20); cursor: pointer; z-index: 2; transition: background .3s; padding: 0; }
.sarrow img { width: 40px; height: 40px; }
.sarrow:hover { background: rgba(61, 0, 0, .45); }
.sarrow.l { left: 20px; } .sarrow.r { right: 20px; }
.sdots { display: flex; gap: 8px; justify-content: center; margin: 32px auto 0; background: var(--color-peach-card); width: max-content; padding: 9px 12px; border-radius: var(--radius-pill); }
.sdots button { width: 9px; height: 9px; border: 0; padding: 0; border-radius: 50%; background: var(--color-primary-25); cursor: pointer; transition: background .3s, transform .2s; }
.sdots button.on { background: var(--color-primary); }
.sdots button:hover { transform: scale(1.15); }

/* ---------- how it works ---------- */
.how { background: var(--grad-how); border-radius: var(--radius-section) var(--radius-section) 0 0; padding: var(--section-pad-lg) 0 104px; overflow: hidden; }
.how .sub { color: var(--color-body); font-size: var(--text-body-size); line-height: 1.3; max-width: 362px; margin-top: 23px; }
.how .grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; margin-top: 26px; align-items: start; position: relative; }
.how .grid > div:first-child { margin-top: 95px; }
.step { padding: 20px 60px 20px 20px; border-radius: 18px; margin-bottom: 13px; cursor: pointer; position: relative; overflow: hidden; }
.step-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-peach-card);
  box-shadow: inset 0 0 0 1px rgb(239, 241, 243);
  opacity: 0;
  pointer-events: none;
}
.step-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-card-glow);
  opacity: .4;
}
.step > :not(.step-bg) { position: relative; }
.step.on .step-bg, .step.step-hover .step-bg { opacity: 1; }
.step h4 { font-size: var(--text-step-size); font-weight: 500; line-height: 1.3; color: rgb(0, 0, 0); }
.step p { font-size: 16px; line-height: 1.3; color: var(--color-primary); opacity: .6; margin-top: 7px; }
.phone-fan { position: relative; margin-top: 72px; height: 675px; -webkit-mask-image: linear-gradient(#000 55%, transparent 85%); mask-image: linear-gradient(#000 55%, transparent 85%); }
.mini { position: absolute; width: 300px; height: 605px; transition: left .65s cubic-bezier(.3,1.05,.35,1), top .65s cubic-bezier(.3,1.05,.35,1), transform .65s cubic-bezier(.3,1.05,.35,1), opacity .28s ease-out; }
.mini .frame { position: absolute; inset: 0; width: 300px; height: 605px; z-index: 2; pointer-events: none; }
.mini .appimg { position: absolute; top: 10px; left: 15px; width: 270px; height: 585px; border-radius: 30px; object-fit: cover; }
.mini.slot0 { left: -5px; top: 14px; transform: rotate(-6deg); z-index: 3; opacity: 1; }
.mini.slot1 { left: 125px; top: 33px; transform: rotate(9deg); z-index: 2; opacity: 1; }
.mini.slot2 { left: 219px; top: 96px; transform: rotate(18deg); z-index: 1; opacity: 1; }
.mini.gone { left: -120px; top: 20px; transform: rotate(-12deg); z-index: 4; opacity: 0; pointer-events: none; }

/* ---------- faq ---------- */
.faq { padding: 130px 0 var(--section-pad); border-radius: var(--radius-section); position: relative; overflow: hidden; }
.faq::before, .faq::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1s; pointer-events: none; }
.faq::before { background: radial-gradient(50% 55% at 0% 50%, rgba(204, 112, 96, .6) 0%, rgba(241, 206, 247, 0) 100%); }
.faq::after { background: radial-gradient(50% 55% at 100% 53.1%, rgba(204, 112, 96, .6) 0%, rgba(241, 206, 247, 0) 100%); }
.faq.lit::before, .faq.lit::after { opacity: .3; }
.faq h2 { text-align: center; }
.faq .sub { text-align: center; color: var(--color-body); font-size: var(--text-body-size); line-height: 1.3; margin: 14px 0 70px; }
.faq-list { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.faq-item { border-bottom: 1px solid var(--color-primary-12); }
.faq-q { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; cursor: pointer; padding: 26px 4px; font-family: var(--font-display); font-weight: 400; font-size: var(--text-faq-q-size); line-height: 1.4; color: var(--color-primary); text-align: left; }
.plus { width: 34px; height: 34px; border-radius: 50%; background: var(--color-terra-45); position: relative; flex: none; transition: transform var(--roll-dur) cubic-bezier(.3, 1.3, .4, 1), background .4s; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--color-primary); left: 50%; top: 50%; transition: background .4s, opacity .4s; }
.plus::before { width: 13px; height: 1.8px; transform: translate(-50%, -50%); }
.plus::after { width: 1.8px; height: 13px; transform: translate(-50%, -50%); }
.faq-item.open .plus { transform: rotate(180deg); background: var(--color-primary); }
.faq-item.open .plus::before { background: var(--color-white); }
.faq-item.open .plus::after { opacity: 0; }
.faq-a { overflow: hidden; height: 0; opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }
.faq-a p { color: var(--color-body); font-size: var(--text-body-size); line-height: 1.3; max-width: 612px; padding: 0 4px 26px; }

/* ---------- cta ---------- */
.cta { padding: 150px 0 170px; text-align: center; }
.cta .sub { color: var(--color-primary); font-size: var(--text-body-size); line-height: 1.3; margin: 16px 0 28px; }

/* ---------- footer ---------- */
footer { background: var(--grad-footer); padding: 90px 0 40px; }
footer .wrap { max-width: 1040px; }
.f-logo { display: flex; justify-content: center; margin-bottom: 34px; }
.f-logo img { width: 256px; }
.f-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.f-tag { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.4; color: var(--color-primary); }
.f-disc { width: 46px; height: 46px; border-radius: 50%; background: var(--color-white); display: flex; align-items: center; justify-content: center; margin-top: 26px; box-shadow: var(--shadow-nav-pill); }
.f-disc img { width: 21px; height: 16px; }
.f-cols { display: flex; gap: 70px; }
.f-col h5 { font-size: var(--text-label-size); font-weight: 700; line-height: 1.4; letter-spacing: 1px; color: var(--color-primary-80); margin-bottom: 24px; }
.f-col a { display: block; font-size: var(--text-nav-size); font-weight: 500; line-height: 1.3; color: var(--color-primary); margin-bottom: 16px; }
.f-col a:last-child { margin-bottom: 0; }
.f-bottom { display: flex; justify-content: space-between; font-family: var(--font-footnote); font-weight: 500; font-size: var(--text-foot-size); line-height: 1.3; color: var(--color-primary); margin-top: 153px; }
.f-bottom .r { display: flex; gap: 18px; }

/* stepper controls (tablet/phone only) */
.stepper { display: none; gap: 12px; z-index: 5; justify-content: center; width: 100%; margin: -174px 0 52px; position: relative; }
.sbtn { width: 44px; height: 44px; border-radius: 50%; border: none; background: rgb(0, 0, 0); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: background-color .5s, opacity .5s; }
.sbtn img { width: 24px; height: 24px; display: block; }
.sbtn:active:not(:disabled) { background: rgba(0, 0, 0, .7); }
.sbtn:disabled { background: rgb(0, 0, 0); opacity: .5; cursor: default; }

/* ---------- tablet (matches original's 810-1199 breakpoint) ---------- */
@media (max-width: 1199px) {
  :root { --text-h1-size: 51px; --text-h1-line: 51px; --text-h2-size: 48px; --text-h2-line: 48px; --page-pad: 50px; }
  .wrap { width: 90%; max-width: none; padding: 0; }
  nav { position: absolute; top: 8px; }
  nav .bar { padding: 0 var(--page-pad); justify-content: center; }
  .pill-nav { transform: translateX(-8vw); }
  .logo, .try-free { display: none; }
  .why .grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-wide { display: none; }
  .why-narrow { display: inline; }
  .features-grid { padding-top: 44px; }
  .testi h2 { margin-bottom: 40px; }
  .tcard { flex-basis: calc((100% - var(--tcard-gap)) / 2); }
  .bento .r2 { grid-template-columns: 3fr 4fr; }
  .voice-panel {
    width: 470px;
    max-width: none;
    height: 315px;
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
    background: transparent;
    box-shadow: none;
  }
  .voice-panel::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 0;
    width: 413px;
    height: 276px;
    background: var(--color-white);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
    z-index: 0;
  }
  .voice-panel > * { position: relative; z-index: 1; }
  .symptoms-img { max-width: 100%; height: auto; }
  .bento .r2 > .card:last-child { padding: 0; }
  .bento .r2 > .card:last-child .copy { padding: 0 32px 32px; }
  .bento .r2 > .card:last-child .copy p { margin-top: 16px; }
  .photo-row { position: relative; height: 224px; display: block; width: 100%; margin: 51px 0 0; }
  .photo-card { position: absolute; top: 0; width: 286px; height: 224px; transform: none; }
  .photo-card:first-child { left: 34px; z-index: 2; }
  .photo-card + .photo-card { left: auto; right: 34px; width: 292px; transform: none; z-index: 1; }
  .photo-card img { width: 251px; height: 140px; }
  .photo-card + .photo-card img { margin-left: 3px; }
  .photo-note {
    position: absolute;
    left: calc(50% + 2px);
    bottom: 169.2px;
    width: 451px;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }
  /* how-it-works becomes a stepper: phones on top, arrows, steps track below */
  .how .grid { display: flex; flex-direction: column; gap: 0; }
  .phone-fan { order: -2; }
  .stepper { order: -1; }
  /*
   * The section is the fixed viewport mask. The rail itself must remain
   * unclipped because it is translated between states; clipping the moving
   * element makes its right edge travel with the transform and slices the
   * selected card in states two and three.
   */
  .how .grid > div:first-child { margin-top: 0; margin-left: 12px; display: flex; align-items: flex-start; gap: 8px; overflow: visible; }
  .step { flex: 0 0 356px; padding: 20px; margin-bottom: 0; transition: opacity .4s; }
  .step .step-bg { opacity: 1; }
  .step p { margin-top: 8px; }
  .how .grid { margin-top: 0; }
  .how { padding-bottom: 192px; }
  .f-bottom { margin-top: 113px; }
  .phone-fan {
    margin: 0 auto; height: 550px; width: 100%; position: relative; overflow: visible;
    -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
  .mini { width: 280px; height: 565px; transform-origin: center; }
  .mini .frame { width: 280px; height: 565px; }
  .mini .appimg { top: 9px; left: 14px; width: 252px; height: 547px; border-radius: 28px; }
  .mini.slot0 { left: 47%; top: 55%; transform: translate(-50%, -50%) rotate(-6deg); z-index: 3; opacity: 1; }
  .mini.slot1 { left: 65%; top: 59%; transform: translate(-50%, -50%) rotate(9deg); z-index: 2; opacity: 1; }
  .mini.slot2 { left: 78%; top: 69%; transform: translate(-50%, -50%) rotate(18deg); z-index: 1; opacity: 1; }
  .mini.gone { left: 19%; top: 62%; transform: translate(-50%, -50%) rotate(-12deg); z-index: 4; opacity: 0; }
  .m1, .m2, .m3 { /* slot classes drive position on tablet/phone */ }
  .stepper { display: flex; }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .pill-nav { transform: translateX(-10.2vw); }
  .why { padding-top: 124px; }
  .features-grid { padding-top: 40px; padding-bottom: 0; }
  .testi, .how, .faq, .cta, footer { margin-top: 120px; }
  .testi { padding: 80px 0; }
  .slideshow { height: 296px; }
  .sdots { position: absolute; top: 291px; left: 50%; margin: 0; transform: translateX(-50%); }
  .how { padding-top: 120px; padding-bottom: 120px; }
  .how .wrap { min-height: 909px; }
  .phone-fan { margin-top: 40.8px; }
  .stepper { margin: -40px 0 -4px; }
  .how .grid > div:first-child { height: 205.2px; padding: 24px 0; align-items: center; }
  .faq { padding: 80px 0; }
  .faq .sub { margin-top: 32px; margin-bottom: 40px; }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 820px;
    padding-top: 24px;
  }
  .faq-item:not(.open) { height: 58.6667px; flex: none; }
  .faq-q { height: 58.6667px; padding: 0; }
  .cta { padding: 15px 0 13px; }
  .cta .sub { width: 455px; margin: 16px auto 37px; }
  .cta .btn-dark { padding-left: 21.5px; padding-right: 21.5px; }
  footer { padding: 80px 40px 40px; }
  footer .wrap { width: auto; max-width: none; padding: 0; }
  .f-logo { height: 157px; margin-bottom: 80px; }
  .f-logo img { height: 157px; }
  .f-grid { height: 261px; flex-direction: column; gap: 40px; }
  .f-grid > div:first-child { display: flex; align-items: flex-start; justify-content: space-between; }
  .f-tag { flex: 1; }
  .f-cols { gap: 230px; }
  .f-bottom { margin-top: 160px; }
}

@media (min-width: 1200px) {
  .voice-panel {
    width: 470px;
    max-width: none;
    height: 315px;
    left: 50%;
    margin-left: 0;
    transform: translateX(-50%);
    background: transparent;
    box-shadow: none;
  }
  .voice-panel::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 0;
    width: 413px;
    height: 276px;
    background: var(--color-white);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-panel);
    z-index: 0;
  }
  .voice-panel > * { position: relative; z-index: 1; }
  .bento .r2 > .card:last-child { padding: 0; }
  .bento .r2 > .card:last-child .copy { padding: 0 32px 32px; }
  .bento .r2 > .card:last-child .copy p { margin-top: 16px; }
  .photo-row { position: relative; height: 224px; display: block; width: 100%; margin: 51px 0 0; }
  .photo-card { position: absolute; top: 0; width: 286px; height: 224px; transform: none; }
  .photo-card:first-child { left: 34px; z-index: 2; }
  .photo-card + .photo-card { left: auto; right: 34px; width: 292px; transform: none; z-index: 1; }
  .photo-card img { width: 251px; height: 140px; }
  .photo-card + .photo-card img { margin-left: 3px; }
  .photo-note {
    position: absolute;
    left: calc(50% + 2px);
    bottom: 148.4px;
    width: 451px;
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
  }
  .why { padding-top: 124px; }
  .features-grid { padding-top: 80px; padding-bottom: 0; }
  .testi, .how, .faq, .cta, footer { margin-top: 120px; }
  .testi { padding: 80px 0; }
  .slideshow { height: 296px; }
  .sdots { position: absolute; top: 291px; left: 50%; margin: 0; transform: translateX(-50%); }
  .how { padding-bottom: 120px; }
  .how .wrap { height: 816px; }
  .how .grid > div:first-child { width: 360px; }
  /*
   * Framer's desktop mask spans x=420..1140 at a 1200px viewport.
   * Keep the already-matched phone coordinates in place while extending the
   * mask 120px left, so it no longer shears the front phone at the grid edge.
   */
  .phone-fan {
    left: -120px;
    width: 720px;
    height: 605px;
    margin-top: 55px;
    -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
    mask-image: linear-gradient(#000 70%, transparent 100%);
  }
  .mini.slot0 { left: 115px; top: 31px; }
  .mini.slot1 { left: 245px; top: 50px; }
  .mini.slot2 { left: 339px; top: 113px; }
  .mini.gone { left: 0; top: 37px; }
  .step { padding: 20px; }
  .step p { margin-top: 8px; }
  .faq { padding: 80px 0; }
  .faq .sub { margin-top: 40px; margin-bottom: 80px; }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
  }
  .faq-item:not(.open) { height: 58.6667px; flex: none; }
  .faq-q { height: 58.6667px; padding: 0; }
  .cta { height: 195px; padding: 0; position: relative; }
  .cta h2 { position: absolute; top: 7px; left: 0; width: 100%; }
  .cta .sub { position: absolute; top: 88px; left: calc(50% - 227.5px); width: 455px; margin: 0; }
  .cta .btn-dark { position: absolute; top: 172px; left: calc(50% - 56.5px); padding-left: 21.5px; padding-right: 21.5px; }
  footer { padding: 80px 0 40px; }
  footer .wrap { width: calc(100% - 240px); max-width: 1200px; }
  .f-logo { height: 157px; margin-bottom: 80px; }
  .f-logo img { height: 157px; }
  .f-grid { height: 173px; padding: 0 80px; justify-content: flex-start; gap: 0; }
  .f-grid > div:first-child { flex: none; width: calc(100% - 258px); }
  .f-cols { flex: none; width: 234px; gap: 24px; }
  .f-col:first-child { width: 120px; }
  .f-col:last-child { width: 90px; }
  .f-bottom { margin-top: 160px; }
}

/* ---------- phone (matches original's <=809 breakpoint) ---------- */
@media (max-width: 809px) {
  :root { --text-h1-size: 41px; --text-h1-line: 41px; --text-h2-size: 38px; --text-h2-line: 38px; --page-pad: 20px; }
  .wrap { width: 90%; padding-left: 0; padding-right: 0; }
  .pill-nav { transform: none; }
  .hero .sub { width: 90%; max-width: 455px; font-size: 24px; line-height: 1.3; }
  .hero .visual { margin-top: 44px; }
  .why { padding-top: 83px; }
  .why .grid { width: 90%; margin: 0 auto; grid-template-columns: 1fr; gap: 40px; }
  .why p { font-size: 16px; }
  .features-grid { padding-top: 40px; padding-bottom: 80px; }
  .bento .r1, .bento .r2 { grid-template-columns: 1fr; }
  .card { min-height: 520px; height: 520px; }
  .voice-panel {
    top: 20px;
  }
  .testi { padding: 80px 0; }
  .testi h2 { margin-top: 0; margin-bottom: 40px; }
  .slideshow { height: 296px; }
  .sdots { position: absolute; top: 291px; left: 50%; margin: 0; transform: translateX(-50%); }
  .how { margin-top: 80px; padding-top: 80px; padding-bottom: 80px; }
  .how .wrap { min-height: 899px; }
  .testi h2 { width: 90%; max-width: none; margin-left: auto; margin-right: auto; }
  .tcard { flex-basis: 100%; }
  .phone-fan { margin-top: calc(39.23px + .4505vw); }
  .mini.slot0 { left: 46.671%; }
  .mini.slot1 { left: 66.675%; }
  .mini.slot2 { left: 81.124%; }
  .mini.m1.gone { left: 15.559%; }
  .mini.m2.gone { left: 32.229%; top: 61%; }
  .stepper { margin: -40.167px 0 31.696px; transform: translateX(3vw); }
  /* Cancel the 5% page inset using the rail's own 90%-wide containing block. */
  .how .grid > div:first-child { margin-left: calc(12px - 5.5556%); }
  .step { flex-basis: min(356px, calc(100vw - 24px)); padding: 20px; }
  .step p { margin-top: 8px; }
  .f-grid > div:first-child { flex-direction: column; gap: 20px; }
  .faq { margin-top: 80px; padding: 40px 12px; }
  .faq .sub { margin-top: 40px; margin-bottom: 40px; }
  .faq-q { padding: 22.5px 4px; }
  .faq::before, .faq::after { top: 477px; }
  .cta { margin-top: 80px; padding: 84px 0 81px; }
  .cta h2, .cta .sub { width: calc(100% - 32px); margin-left: auto; margin-right: auto; }
  .cta .sub { margin-top: 16px; margin-bottom: 39px; }
  .cta .btn-dark { padding-left: 21.5px; padding-right: 21.5px; }
  footer { margin-top: 80px; padding: 80px 0 40px; }
  footer .wrap { width: calc(100% - 48px); }
  .f-logo { margin-bottom: 40px; }
  .f-logo img { height: 157px; }
  .f-grid { flex-direction: column; align-items: center; text-align: center; }
  .f-grid { min-height: 0; justify-content: flex-start; padding-bottom: 61px; }
  .f-grid > div:first-child { display: flex; width: 100%; flex-direction: column; gap: 20px; }
  .f-tag { width: 100%; max-width: none; }
  .f-disc { width: 48px; height: 48px; margin: 20px auto 0; }
  .f-cols { width: 100%; flex-direction: column; gap: 40px; margin-top: 0; }
  .f-col h5 { margin-bottom: 24px; }
  .f-bottom { flex-direction: column; align-items: center; gap: 32px; margin-top: 80px; }
  .f-bottom .r { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mini, .roll span, .plus, .sbtn { transition: none !important; }
}
