:root {
  --black: #000;
  --ink: #1d1d1d;
  --text: #4e4e4e;
  --muted: #6b6b6b; /* 4.9:1 on white — AA for body text */
  --surface: #f6f6f7;
  --white: #fff;
  --accent: #01bea6;
  --accent-hover: #00a892;
  --accent-strong: #017a6b; /* teal TEXT and links on light backgrounds (5.3:1) */
  --accent-deep: #015d56;   /* text on mint pills, gradient start */
  --accent-soft: #e6f8f5;   /* mint pills and fills (accent ~10%) */
  --accent-line: #b3ebe4;   /* mint borders (accent ~30%) */
  --grad-from: #015d56;
  --grad-to: #01bea6;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1200px; /* content width; full-bleed cards use 1408px */
  --gutter: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
strong { font-weight: 500; color: var(--black); }

/* ---------- Gradient text ----------
   As in Figma, the gradient spans the whole heading box;
   only the .hl words reveal it, the rest stays black. */
.grad-text {
  /* extra room below so descenders (y, g, p) stay inside the clipped gradient */
  padding-bottom: .14em;
  margin-bottom: -.14em;
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--black);
  -webkit-text-fill-color: var(--black);
}
.grad-text .hl {
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad-v { background-image: linear-gradient(180deg, var(--grad-from) 0%, var(--grad-to) 100%); }
.grad-a { background-image: linear-gradient(157.84deg, var(--grad-from) 40.551%, var(--grad-to) 111.77%); }
.grad-b { background-image: linear-gradient(133.12deg, var(--grad-from) 40.374%, var(--grad-to) 116.14%); }
.grad-c { background-image: linear-gradient(141.64deg, var(--grad-from) 30.489%, var(--grad-to) 114.09%); }
.grad-d { background-image: linear-gradient(166.35deg, var(--grad-from) 27.948%, var(--grad-to) 96.059%); }
.grad-r { background-image: linear-gradient(130.45deg, var(--grad-from) 48.078%, var(--grad-to) 109.37%); }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(32px, calc(24px + 1.6vw), 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h3 {
  font-size: clamp(24px, calc(18px + 1.15vw), 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(16px, calc(14px + .5vw), 20px);
  line-height: 1.45;
  color: var(--muted);
}
.lead--538 { max-width: 538px; }
.lead--604 { max-width: 604px; }

.coverage {
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}
.coverage--sm { font-size: 16px; }

/* ---------- Buttons & tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
/* hover: a band of the brand gradient runs across the button */
.btn {
  background-image: linear-gradient(110deg, var(--accent) 0%, var(--accent) 38%, #3fdcc6 46%, #7ff3e1 50%, #3fdcc6 54%, var(--accent) 62%, var(--accent) 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
}
/* hover: the button comes forward a little, the text rolls down and an identical copy slides in
   from above; the arrow nudges forward (label copies and the arrow are added in script.js) */
.btn { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.btn:hover { transform: scale(1.035); }
.btn__roll { position: relative; display: inline-flex; overflow: hidden; padding-block: 3px; margin-block: -3px; }
.btn__label { display: inline-flex; align-items: center; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.btn__label + .btn__label { position: absolute; inset: 3px auto auto 0; transform: translateY(-140%); }
.btn:hover .btn__label { transform: translateY(140%); }
.btn:hover .btn__label + .btn__label { transform: translateY(0); }
/* the same roll on links, menu items, FAQ questions (built in script.js) */
.roll { position: relative; display: inline-flex; overflow: hidden; padding-block: 2px; margin-block: -2px; vertical-align: bottom; }
.roll__label { display: inline-block; white-space: pre; text-decoration: inherit; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.roll__label + .roll__label { position: absolute; left: 0; top: 2px; transform: translateY(-140%); }
.has-roll:hover .roll__label { transform: translateY(140%); }
/* links that are underlined keep the underline on the rolling text */
:is(.cta__referral, .cta__after a, .cta__check a, .faq__answer a, .footer__disclaimer a) .roll__label { text-decoration: underline; text-underline-offset: 3px; }
.footer__cta-text .roll__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(29, 29, 29, .35); }
.footer__cta:hover .footer__cta-text .roll__label { text-decoration-color: currentColor; }
.has-roll:hover .roll__label + .roll__label { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .roll__label { transition: none; }
  .has-roll:hover .roll__label { transform: none; }
  .has-roll:hover .roll__label + .roll__label { transform: translateY(-140%); }
}
.btn__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  background: currentColor;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.333 10h13.334M10.833 15.833 16.667 10l-5.834-5.833'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.333 10h13.334M10.833 15.833 16.667 10l-5.834-5.833'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.btn:hover .btn__arrow { transform: translateX(4px); }  /* the arrow nudges forward */
.btn--sm .btn__arrow { width: 16px; height: 16px; margin-left: 8px; -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__label { transition: none; }
  .btn:hover, .btn:hover .btn__arrow { transform: none; }
  .btn:hover .btn__label { transform: none; }
  .btn:hover .btn__label + .btn__label { transform: translateY(-140%); }
}
.btn:active { transform: scale(.98); }
@keyframes btn-sweep {
  from { background-position: 100% 0; }
  to   { background-position: 0 0; }
}
.btn__sep { margin: 0 10px; opacity: .7; }
.btn--sm { padding: 12px 20px; }
.btn--block { width: 100%; }

.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 12px 18px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px; /* points stay smaller than the subheadings (.lead 16→20) */
  line-height: 1.3;
  color: var(--text);
}
.checklist li::before {
  content: "";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url("assets/check.svg") center / 24px 24px no-repeat;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 20px;
  z-index: 50;
  padding: 0 var(--gutter);
  margin-top: 20px;
}
.nav {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px;
  border-radius: 99px;
  background: var(--surface);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.nav__brand-name { letter-spacing: -0.02em; }
.nav__brand-sep { font-size: 14px; }

.nav__menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__links {
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 99px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.nav__link:hover { background: rgba(0, 0, 0, .05); }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 277px;
}
.nav__signin {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.nav__signin:hover { color: var(--accent-strong); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 99px;
}
.nav__toggle:hover { background: rgba(0, 0, 0, .05); }
.nav__toggle span {
  position: absolute;
  left: 13.5px;
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--black);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, top .3s cubic-bezier(.4, 0, .2, 1);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21.2px; }
.nav__toggle span:nth-child(3) { top: 26.4px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21.2px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 21.2px; transform: rotate(-45deg); }

.m-only { display: none; }

/* ---------- Sections ---------- */
.section {
  --gap-major: 200px;
  --gap-minor: 120px;
  padding: 0 var(--gutter);
  margin-top: var(--gap-major);
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 635px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 0 var(--gutter);
  margin-top: 75px; /* 154px from page top in design */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  font-size: clamp(48px, calc(24px + 4vw), 80px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -0.01em;
}
.hero__lead {
  max-width: 453px;
  margin-top: 24px;
}

.order-list {
  width: 100%;
  max-width: 580px;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  text-align: left;
}
.order-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.order-card__sub {
  white-space: nowrap;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
}
.hero .coverage { margin-top: 61px; }
.order-card .btn { flex: none; min-width: 200px; } /* both buttons the same width */

/* ---------- Steps ---------- */
.steps { margin-top: calc(var(--gap-major) + 36px); } /* +36: the hero ends on a small text line */
.steps__track { margin-top: 64px; }
.steps__stage {
  position: relative;
  max-width: 1116px;
  height: 729px;
  margin: 0 auto;
}
.step {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
  opacity: .2;
  transition: opacity .5s ease;
}
.step.is-active { opacity: 1; }
.step--l1, .step--l2 { left: 0; width: 558px; }
.step--r1, .step--r2 { right: 0; width: 478px; justify-content: flex-end; }
.step--l1 { top: 95px; }
.step--r1 { top: 226px; }
.step--l2 { top: 365px; }
.step--r2 { top: 492px; }
.step--l1 .step__text { width: 240px; }
.step--l2 .step__text { width: 325px; }
.step--r1 .step__text, .step--r2 .step__text { width: 308px; }
.step__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.step__desc {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

/* Scroll-driven version (desktop): the stage sticks while the track scrolls */
.js-steps .steps__track { height: calc(729px * var(--s, 1) + 2000px); }
.js-steps .steps__sticky {
  position: sticky;
  top: var(--top, 100px);
  height: calc(729px * var(--s, 1));
}
.js-steps .steps__stage {
  transform: scale(var(--s, 1));
  transform-origin: top center;
}

/* Phone ------------------------------------------------------------
   Everything inside is sized in --u = 1/1199 of the phone box width,
   so the whole device scales as one vector piece. */
.phone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 667px;
  aspect-ratio: 1199 / 1312;
  transform: translateX(-50%);
  container-type: inline-size;
}
.iphone {
  --u: calc(100cqw / 1199);
  --app-ink: #080a18;
  --app-muted: #5d6474;
  --app-line: #e3e8ec;
  --app-accent: var(--accent);
  --app-accent-soft: var(--accent-soft);
  --app-num: var(--accent-soft);
  --app-num-ink: var(--accent-strong);
  --app-green: var(--accent-strong);

  position: absolute;
  left: calc(var(--u) * 305);
  top: calc(var(--u) * 25);
  width: calc(var(--u) * 588);
  height: calc(var(--u) * 1218);
  border-radius: calc(var(--u) * 112);
  background: linear-gradient(135deg, #f4f4f5 0%, #a7a7ab 22%, #ececed 45%, #8e8e92 72%, #dcdcde 100%);
  box-shadow: 0 0 0 calc(var(--u) * 1.5) #2a2a2c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: var(--app-ink);
  line-height: 1.25;
}
.iphone::before {
  content: "";
  position: absolute;
  inset: calc(var(--u) * 11);
  border-radius: calc(var(--u) * 101);
  background: #070708;
}
.iphone__btn {
  position: absolute;
  width: calc(var(--u) * 6);
  border-radius: calc(var(--u) * 2);
  background: linear-gradient(90deg, #5d5d61, #c9c9cc);
}
.iphone__btn--action { left: calc(var(--u) * -5); top: calc(var(--u) * 240); height: calc(var(--u) * 50); }
.iphone__btn--vol1   { left: calc(var(--u) * -5); top: calc(var(--u) * 330); height: calc(var(--u) * 90); }
.iphone__btn--vol2   { left: calc(var(--u) * -5); top: calc(var(--u) * 440); height: calc(var(--u) * 90); }
.iphone__btn--power  { right: calc(var(--u) * -5); top: calc(var(--u) * 375); height: calc(var(--u) * 135); background: linear-gradient(270deg, #5d5d61, #c9c9cc); }

.iphone__screen {
  position: absolute;
  inset: calc(var(--u) * 27) calc(var(--u) * 28);
  border-radius: calc(var(--u) * 84);
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
.iphone__screen svg { display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.iphone__screen p { margin: 0; }

/* System UI */
.statusbar { position: absolute; inset: 0 0 auto; height: calc(var(--u) * 76); z-index: 10; pointer-events: none; }
/* time and icons are centred in the space left and right of the island, level with it,
   so nothing sits in the rounded screen corners (every screen size) */
.statusbar__time {
  position: absolute;
  left: calc(var(--u) * 30);
  top: calc(var(--u) * 42);
  width: calc(var(--u) * 146);
  text-align: center;
  transform: translateY(-50%);
  font-size: calc(var(--u) * 23);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}
.statusbar__icons {
  position: absolute;
  left: calc(var(--u) * 356);
  right: calc(var(--u) * 30);
  top: calc(var(--u) * 42);
  transform: translateY(-50%);
  justify-content: center;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
}
.statusbar__icons svg { flex: none; fill: currentColor; stroke: none; overflow: visible; } /* the battery cap and the wifi arc reach past their viewBox */
.sb-signal  { width: calc(var(--u) * 25); height: calc(var(--u) * 14); }
.sb-wifi    { width: calc(var(--u) * 22); height: calc(var(--u) * 16); }
.sb-battery { width: calc(var(--u) * 32); height: calc(var(--u) * 15); }
.island {
  position: absolute;
  z-index: 10;
  left: calc(var(--u) * 176);
  top: calc(var(--u) * 16);
  width: calc(var(--u) * 180);
  height: calc(var(--u) * 52);
  border-radius: 99px;
  background: #000;
}
.island::after {
  content: "";
  position: absolute;
  right: calc(var(--u) * 20);
  top: 50%;
  width: calc(var(--u) * 14);
  height: calc(var(--u) * 14);
  margin-top: calc(var(--u) * -7);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #2b3550, #0b0d16 70%);
}
.home-bar {
  position: absolute;
  z-index: 10;
  left: calc(var(--u) * 166);
  top: calc(var(--u) * 1143);
  width: calc(var(--u) * 200);
  height: calc(var(--u) * 6);
  border-radius: 99px;
  background: #000;
}

/* Shared app UI */
.scr { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.scr--claim { z-index: 1; }
.scr--form  { z-index: 2; }
.scr--pdf   { z-index: 3; }
.scr__in {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: calc(var(--u) * 86) calc(var(--u) * 28) 0;
}
.app-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 54);
  height: calc(var(--u) * 54);
  border-radius: 50%;
  background: #eef1f2;
}
.app-icon-btn svg { width: 46%; height: 46%; }
.app-title {
  margin-top: calc(var(--u) * 20) !important;
  font-size: calc(var(--u) * 40);
  font-weight: 700;
  letter-spacing: -.01em;
}
.app-sub {
  margin-top: calc(var(--u) * 6) !important;
  font-size: calc(var(--u) * 22);
  color: var(--app-muted);
}
.app-pills { display: flex; gap: calc(var(--u) * 11); margin-top: calc(var(--u) * 20); }
.app-pill {
  display: inline-flex;
  align-items: center;
  height: calc(var(--u) * 46);
  padding: 0 calc(var(--u) * 24);
  border-radius: 99px;
  background: var(--app-accent-soft);
  color: var(--app-num-ink);
  font-size: calc(var(--u) * 19);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.app-pill--on { background: var(--app-accent); color: #fff; }

.file {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 16);
  padding: 0 calc(var(--u) * 18);
  border: calc(var(--u) * 2) solid var(--app-line);
  border-radius: calc(var(--u) * 16);
  background: #fff;
}
.file__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: calc(var(--u) * 5); }
.file__text b { font-size: calc(var(--u) * 21); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file__text > span { font-size: calc(var(--u) * 18); color: var(--app-muted); white-space: nowrap; }
.file__size { font-size: calc(var(--u) * 18); color: var(--app-muted); }
.pdf-ico {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: calc(var(--u) * 46);
  height: calc(var(--u) * 55);
  padding-bottom: calc(var(--u) * 9);
  border: calc(var(--u) * 2) solid var(--app-line);
  border-radius: calc(var(--u) * 6) calc(var(--u) * 15) calc(var(--u) * 6) calc(var(--u) * 6);
  background: #fff;
  font-size: calc(var(--u) * 13);
  font-weight: 800;
  letter-spacing: .04em;
}
.pdf-ico--green { width: calc(var(--u) * 50); height: calc(var(--u) * 60); border-color: var(--accent-line); color: var(--app-num-ink); background: #f3fbf8; }

/* Claim screen (positions match the original Figma screenshot) */
.scr--claim { background: #fff; }
.scr--claim > * { position: absolute; }
.claim__back { left: calc(var(--u) * 22); top: calc(var(--u) * 86); }
.claim__more { left: calc(var(--u) * 456); top: calc(var(--u) * 86); }
.claim__more svg { fill: currentColor; stroke: none; width: 52%; }
.claim__title { left: calc(var(--u) * 30); top: calc(var(--u) * 160); font-size: calc(var(--u) * 41); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.claim__sub   { left: calc(var(--u) * 30); top: calc(var(--u) * 212); font-size: calc(var(--u) * 24); color: var(--app-muted); }
.claim__pills { left: calc(var(--u) * 27); top: calc(var(--u) * 261); margin: 0; }

.tl { left: calc(var(--u) * 23); width: calc(var(--u) * 480); }
.tl--1 { top: calc(var(--u) * 336); }
.tl--2 { top: calc(var(--u) * 662); }
.tl--3 { top: calc(var(--u) * 822); }
.tl__num {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--u) * 44);
  height: calc(var(--u) * 44);
  border-radius: 50%;
  background: var(--app-num);
  color: var(--app-num-ink);
  font-size: calc(var(--u) * 21);
  font-weight: 700;
}
.tl__title { margin-left: calc(var(--u) * 63) !important; padding-top: calc(var(--u) * 6); font-size: calc(var(--u) * 24); font-weight: 700; line-height: 1.2; }
.tl__title--green { font-size: calc(var(--u) * 25); color: var(--app-green); }
.tl__desc { margin: calc(var(--u) * 5) 0 0 calc(var(--u) * 63) !important; font-size: calc(var(--u) * 20.5); line-height: calc(var(--u) * 27); color: var(--app-muted); }
.tl__line {
  left: calc(var(--u) * 44);
  width: 0;
  border-left: calc(var(--u) * 2) dashed var(--accent-line);
}
.tl__line--1 { top: calc(var(--u) * 382); height: calc(var(--u) * 278); }
.tl__line--2 { top: calc(var(--u) * 708); height: calc(var(--u) * 112); }

.claim__photos {
  left: calc(var(--u) * 63);
  top: calc(var(--u) * 453);
  width: calc(var(--u) * 457);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--u) * 9);
}
.claim__photos img, .thumb {
  width: 100%;
  height: calc(var(--u) * 88);
  object-fit: cover;
  border-radius: calc(var(--u) * 12);
}
.claim__file { left: calc(var(--u) * 63); top: calc(var(--u) * 555); width: calc(var(--u) * 457); height: calc(var(--u) * 83); }

.person { left: calc(var(--u) * 63); top: calc(var(--u) * 714); width: calc(var(--u) * 450); height: calc(var(--u) * 120); }
.person > * { position: absolute; }
.person__ava { left: 0; top: 0; width: calc(var(--u) * 66); height: calc(var(--u) * 66); border-radius: 50%; object-fit: cover; }
.person__name { left: calc(var(--u) * 78); top: calc(var(--u) * 2); font-size: calc(var(--u) * 22); font-weight: 700; }
.person__desc { left: calc(var(--u) * 78); top: calc(var(--u) * 32); font-size: calc(var(--u) * 19); line-height: calc(var(--u) * 24); color: var(--app-muted); }
.person__status {
  right: 0;
  top: calc(var(--u) * 4);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 9);
  font-size: calc(var(--u) * 19);
  font-weight: 700;
  color: var(--app-green);
}
.status-dot { width: calc(var(--u) * 12); height: calc(var(--u) * 12); border-radius: 50%; background: var(--accent); }

.ready {
  left: calc(var(--u) * 37);
  top: calc(var(--u) * 882);
  width: calc(var(--u) * 478);
  height: calc(var(--u) * 183);
  border: calc(var(--u) * 2) solid var(--accent-line);
  border-radius: calc(var(--u) * 22);
  background: #f5fcf9;
}
.ready > * { position: absolute; }
.ready .pdf-ico { left: calc(var(--u) * 21); top: calc(var(--u) * 21); }
.ready .file__text { left: calc(var(--u) * 89); top: calc(var(--u) * 22); right: calc(var(--u) * 14); gap: calc(var(--u) * 9); }
.ready .file__text b { font-size: calc(var(--u) * 22); }
.ready__btn {
  left: calc(var(--u) * 19);
  right: calc(var(--u) * 19);
  bottom: calc(var(--u) * 19);
  height: calc(var(--u) * 57);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: var(--app-accent);
  color: #fff;
  font-size: calc(var(--u) * 24);
  font-weight: 700;
  overflow: hidden;
}
.ready__tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 60);
  height: calc(var(--u) * 60);
  margin: calc(var(--u) * -30) 0 0 calc(var(--u) * -30);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
}

/* Scroll-driven reveal (only when JS is on; otherwise the full claim is shown) */
.js-steps .rv {
  opacity: 0;
  transform: translateY(calc(var(--u) * 14));
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
  transition-delay: 0s;
}
.js-steps .rv.is-on { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.js-steps .tl__line { clip-path: inset(0 0 100% 0); transition: clip-path .6s ease; transition-delay: 0s; }
.js-steps .tl__line.is-on { clip-path: inset(0 0 0 0); transition-delay: var(--d, 0s); }
.status-dot.is-on { animation: ring-dot 1.6s ease-out 1.8s infinite; }
.ready__btn.is-on { animation: ring-btn 1.8s ease-out 1s infinite; }
.ready__tap.is-on { animation: tap-in .6s ease-out .1s both; }

/* Form (step 1) */
.scr--form, .scr--pdf { display: none; }
.steps__bars { display: none; }
.js-steps .scr--form, .js-steps .scr--pdf { display: block; }

.form__label {
  margin: calc(var(--u) * 24) 0 calc(var(--u) * 8) !important;
  font-size: calc(var(--u) * 18);
  font-weight: 600;
  color: var(--app-muted);
}
.form__field {
  border: calc(var(--u) * 2) solid var(--app-line);
  border-radius: calc(var(--u) * 16);
  padding: calc(var(--u) * 16) calc(var(--u) * 18);
  font-size: calc(var(--u) * 21);
}
.form__field--vehicle { height: calc(var(--u) * 62); padding-top: calc(var(--u) * 15); }
.form__field--notes { height: calc(var(--u) * 96); }
.fill { display: block; white-space: nowrap; opacity: 0; transform: translateY(calc(var(--u) * 6)); }
.form__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--u) * 8); }
.thumb { opacity: 0; transform: scale(.7); }
.form__file { margin-top: calc(var(--u) * 18); padding: calc(var(--u) * 14) calc(var(--u) * 18); opacity: 0; translate: 0 20%; }
.form__file-sub { position: relative; height: calc(var(--u) * 22); }
.form__file-sub > span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.sub-b { opacity: 0; color: var(--app-green); }
.form__bar { height: calc(var(--u) * 5); border-radius: 9px; background: #edf1f0; overflow: hidden; }
.form__bar i { display: block; height: 100%; background: var(--app-accent); transform-origin: left; transform: scaleX(0); }
.form__send {
  position: absolute;
  left: calc(var(--u) * 28);
  right: calc(var(--u) * 28);
  bottom: calc(var(--u) * 116);
  height: calc(var(--u) * 60);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: var(--app-accent);
  color: #fff;
  font-size: calc(var(--u) * 23);
  font-weight: 700;
  opacity: .4;
  overflow: hidden;
}
.form__send > span { position: absolute; display: flex; align-items: center; gap: calc(var(--u) * 8); }
.send-b { opacity: 0; }
.send-b svg { width: calc(var(--u) * 26); height: calc(var(--u) * 26); stroke-width: 3; }
.form__tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 60);
  height: calc(var(--u) * 60);
  margin: calc(var(--u) * -30) 0 0 calc(var(--u) * -30);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
}

/* Form timeline — ~2.7s, plays when step 1 becomes active */
/* Step 1 → 2: the form doesn't get replaced — it morphs into the claim screen.
   Inputs fade up and away, photos + file fly to their spot (FLIP, --flip set in JS),
   then the claim's own photos/file take over in exactly the same place. */
.scr--form .scr__in { transition: background-color .35s ease .1s; }
.scr--form.is-out .scr__in { background-color: transparent; }
.scr--form .form > * { transition: opacity .3s ease, transform .45s cubic-bezier(.4, 0, .2, 1); }
.scr--form.is-out .form > :not(.form__photos):not(.form__file):not(.form__send) {
  opacity: 0;
  transform: translateY(calc(var(--u) * -18));
}
.scr--form.is-out .form__send { transform: translateY(calc(var(--u) * 220)); transition: transform .5s cubic-bezier(.5, 0, .75, 0); }
.scr--form .form__photos,
.scr--form .form__file {
  transform-origin: 0 0;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1), visibility 0s;
}
.scr--form.is-out .form__photos,
.scr--form.is-out .form__file {
  transform: var(--flip, none);
  visibility: hidden;
  transition: transform .7s cubic-bezier(.65, 0, .35, 1), visibility 0s .72s;
}
.js-steps .rv--fade { transform: none; }
.js-steps .rv--swap { transform: none; transition: opacity 0s; }

.is-play .form__field--vehicle { animation: focus .7s ease .05s both; }
.is-play .fill--vehicle { animation: fill .45s ease .15s forwards; }
.is-play .form__field--notes { animation: focus .8s ease .35s both; }
.is-play .fill--n1 { animation: fill .45s ease .4s forwards; }
.is-play .fill--n2 { animation: fill .45s ease .55s forwards; }
.is-play .thumb { animation: pop .4s cubic-bezier(.3, 1.4, .5, 1) var(--d) forwards; }
.is-play .form__file { animation: rise-t .4s ease 1.2s forwards; }
.is-play .form__bar i { animation: bar .55s ease-in-out 1.3s forwards; }
.is-play .sub-a { animation: fade-out .2s ease 1.85s forwards; }
.is-play .sub-b { animation: fade-in .2s ease 1.9s forwards; }
.is-play .form__send { animation: enable .25s ease 2s forwards; }
.is-play .form__tap { animation: tap-in .6s ease-out 2.3s both; }
.is-play .send-a { animation: fade-out .2s ease 2.55s forwards; }
.is-play .send-b { animation: fade-in .25s ease 2.6s forwards; }

/* PDF viewer (step 4) */
.scr--pdf { visibility: hidden; transition: visibility 0s .6s; }
.scr--pdf .scr__in { transform: translateY(100%); transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.scr--pdf.is-on { visibility: visible; transition-delay: 0s; }
.scr--pdf.is-on .scr__in { transform: none; transition-delay: .45s; }

.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 12); }
.viewer__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: calc(var(--u) * 19);
  font-weight: 700;
}
.viewer__doc {
  height: calc(var(--u) * 940);
  margin: calc(var(--u) * 24) calc(var(--u) * 4) 0;
  border-radius: calc(var(--u) * 8);
  box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 30) rgba(8, 10, 24, .12), 0 0 0 1px rgba(8, 10, 24, .06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(calc(var(--u) * 30));
}
.viewer__doc img { width: 100%; height: auto; }
/* after the PDF opens it slides up and away; a big check with a centred caption takes the screen */
.viewer__toast {
  position: absolute;
  left: calc(var(--u) * 40);
  right: calc(var(--u) * 40);
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 26);
  text-align: center;
  opacity: 0;
  transform: translateY(calc(var(--u) * 40));
}
.viewer__toast .check { width: calc(var(--u) * 120); height: calc(var(--u) * 120); }
.viewer__toast-text { display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * 8); }
.viewer__toast-text b { font-size: calc(var(--u) * 32); }
.viewer__toast-text span { font-size: calc(var(--u) * 21); color: var(--app-muted); }
.check { flex: none; width: calc(var(--u) * 60); height: calc(var(--u) * 60); border-radius: 50%; transform: scale(0); }
.check svg { width: 100%; height: 100%; overflow: visible; }
.check__bg { fill: var(--app-accent); stroke: none; }
.check__path { stroke: #fff; stroke-width: 4.5; stroke-dasharray: 34; stroke-dashoffset: 34; }

.scr--pdf.is-on .viewer__doc { animation: rise .6s cubic-bezier(.2, .8, .2, 1) .85s forwards, doc-away .7s cubic-bezier(.6, 0, .8, .2) 2.1s forwards; }
.scr--pdf.is-on .viewer__toast { animation: rise .55s cubic-bezier(.2, .9, .3, 1.15) 2.6s forwards; }
.scr--pdf.is-on .check { animation: pop .45s cubic-bezier(.3, 1.5, .5, 1) 2.8s forwards, ring-check 1.2s ease-out 3.5s; }
.scr--pdf.is-on .check__path { animation: draw .45s ease-out 3.05s forwards; }

@keyframes fill     { to { opacity: 1; transform: none; } }
@keyframes focus    { 0%, 100% { border-color: var(--app-line); } 15%, 85% { border-color: var(--app-accent); } }
@keyframes pop      { to { opacity: 1; transform: none; } }
@keyframes rise     { to { opacity: 1; transform: none; } }
@keyframes doc-away { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(calc(var(--u) * -900)); } }
@keyframes rise-t   { to { opacity: 1; translate: 0 0; } }
@keyframes bar      { to { transform: scaleX(1); } }
@keyframes fade-in  { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes enable   { to { opacity: 1; } }
@keyframes tap-in   { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(6); opacity: 0; } }
@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes ring-check {
  0%   { box-shadow: 0 0 0 0 rgba(1, 190, 166, .45); }
  100% { box-shadow: 0 0 0 calc(var(--u) * 18) rgba(1, 190, 166, 0); }
}
@keyframes ring-dot {
  0%   { box-shadow: 0 0 0 0 rgba(1, 190, 166, .55); }
  100% { box-shadow: 0 0 0 calc(var(--u) * 14) rgba(1, 190, 166, 0); }
}
@keyframes ring-btn {
  0%   { box-shadow: 0 0 0 0 rgba(1, 190, 166, .45); }
  70%, 100% { box-shadow: 0 0 0 calc(var(--u) * 22) rgba(1, 190, 166, 0); }
}

/* Reduced motion: show final states without animating */
@media (prefers-reduced-motion: reduce) {
  .scr--pdf.is-on .viewer__toast, .scr--pdf.is-on .check { opacity: 1; transform: none; }
  .scr--pdf.is-on .viewer__doc { opacity: 0; }
  .scr--pdf.is-on .check__path { stroke-dashoffset: 0; }
}

/* Phone screens: one simple screen per step, one animation each (desktop and mobile).
   Content stays in the upper part of the screen — on mobile the step cards cover the bottom. */
.scr--m { display: none; z-index: 4; background: #fff; }
.mp {
  position: absolute;
  inset: 0;
  padding: calc(var(--u) * 86) calc(var(--u) * 28) 0;
  background: #fff;
  opacity: 0;
  transform: translateY(10%);
  transition: opacity .35s ease, transform .5s cubic-bezier(.3, .7, .2, 1);
}
.mp.is-past { transform: translateY(-10%); }
.mp.is-cur { opacity: 1; transform: none; }

/* shared: big CTA that gets tapped and turns into a confirmation */
.mp__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--u) * 72);
  margin-top: calc(var(--u) * 32);
  border-radius: 99px;
  background: var(--app-accent);
  color: #fff;
  font-size: calc(var(--u) * 25);
  font-weight: 700;
  overflow: hidden;
}
.mp__btn > span { position: absolute; display: flex; align-items: center; gap: calc(var(--u) * 8); transition: opacity .25s ease; }
.mp__b { opacity: 0; }
.mp__b svg { width: calc(var(--u) * 28); height: calc(var(--u) * 28); stroke-width: 3; }
.mp__tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--u) * 60);
  height: calc(var(--u) * 60);
  margin: calc(var(--u) * -30) 0 0 calc(var(--u) * -30);
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
}
.mp.is-play .mp__tap { animation: tap-in .6s ease-out var(--tap, 1s) both; }
.mp.is-play .mp__a { animation: fade-out .2s ease calc(var(--tap, 1s) + .25s) forwards; }
.mp.is-play .mp__b { animation: fade-in .25s ease calc(var(--tap, 1s) + .3s) forwards; }

/* centred text used on steps 2–3 */
.mp__name { margin-top: calc(var(--u) * 26) !important; font-size: calc(var(--u) * 36); font-weight: 700; letter-spacing: -.01em; text-align: center; }
.mp__role { margin-top: calc(var(--u) * 8) !important; font-size: calc(var(--u) * 21); color: var(--app-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 1 · Send: title on top, photos in the middle, button at the bottom.
   On mobile the step cards cover the lower part of the phone, so --cover (set in JS) lifts the button above them. */
.mp--send { --tap: 1.1s; display: flex; flex-direction: column; padding-top: calc(var(--u) * 100); padding-bottom: var(--cover, calc(var(--u) * 90)); }
.mp--send .app-title { margin-top: 0 !important; }
.mp--send .app-pills { margin-bottom: calc(var(--u) * 28); }
.mp--send .mp__photos { flex: 0 1 auto; min-height: 0; grid-template-rows: 1fr 1fr; margin: auto 0; } /* shrinks on short screens so the button stays visible */
.mp--send .mp__photos img { height: 100%; min-height: 0; }
.mp--send .mp__btn { flex: none; }
.mp__photos { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 12); margin-top: calc(var(--u) * 30); }
.mp__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--u) * 16); opacity: 0; transform: scale(.7); }
.mp--send.is-play .mp__photos img { animation: pop .4s cubic-bezier(.3, 1.4, .5, 1) var(--d) forwards; }

/* 2 · We write: estimator + "writing…" */
.mp--work, .mp--ready { display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--u) * 230); }
.mp__ava { width: calc(var(--u) * 180); height: calc(var(--u) * 180); border-radius: 50%; }
.mp__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mp--work.is-play .mp__ava { animation: ring-ava 1.6s ease-out .3s infinite; }
.mp__status {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 6);
  height: calc(var(--u) * 52);
  margin-top: calc(var(--u) * 34);
  padding: 0 calc(var(--u) * 26);
  border-radius: 99px;
  background: var(--app-accent-soft);
  color: var(--app-num-ink);
  font-size: calc(var(--u) * 21);
  font-weight: 700;
}
.mp__status i { width: calc(var(--u) * 7); height: calc(var(--u) * 7); border-radius: 50%; background: currentColor; opacity: .3; }
.mp__status i:first-of-type { margin-left: calc(var(--u) * 4); }
.mp--work.is-play .mp__status i { animation: dot 1.2s ease-in-out infinite; }
.mp--work.is-play .mp__status i:nth-of-type(2) { animation-delay: .2s; }
.mp--work.is-play .mp__status i:nth-of-type(3) { animation-delay: .4s; }

/* 3 · Ready: PDF + check */
.mp__doc { position: relative; }
.mp__doc .pdf-ico { width: calc(var(--u) * 150); height: calc(var(--u) * 180); padding-bottom: calc(var(--u) * 62); border-width: calc(var(--u) * 3); border-radius: calc(var(--u) * 14) calc(var(--u) * 40) calc(var(--u) * 14) calc(var(--u) * 14); font-size: calc(var(--u) * 34); }
.mp__doc .check { position: absolute; right: calc(var(--u) * -36); bottom: calc(var(--u) * -30); width: calc(var(--u) * 80); height: calc(var(--u) * 80); box-shadow: 0 0 0 calc(var(--u) * 6) #fff; }
.mp--ready .mp__doc .pdf-ico { opacity: 0; transform: translateY(calc(var(--u) * 30)); }
.mp--ready.is-play .mp__doc .pdf-ico { animation: rise .5s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
.mp--ready.is-play .check { animation: pop .45s cubic-bezier(.3, 1.5, .5, 1) .55s forwards; }
.mp--ready.is-play .check__path { animation: draw .4s ease-out .8s forwards; }
.mp--ready .mp__role { max-width: 100%; }
.mp--ready .mp__name { margin-top: calc(var(--u) * 52) !important; }

/* 4 · Review & download: page preview on top, button at the bottom (above the step cards on phones, like step 1) */
.mp--get { --tap: .9s; display: flex; flex-direction: column; padding-top: calc(var(--u) * 110); padding-bottom: var(--cover, calc(var(--u) * 90)); }
.mp__page {
  flex: 0 1 auto;
  min-height: 0;
  width: calc(var(--u) * 400);
  height: calc(var(--u) * 500);
  margin: 0 auto;
  border-radius: calc(var(--u) * 10);
  overflow: hidden;
  box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 30) rgba(8, 10, 24, .12), 0 0 0 1px rgba(8, 10, 24, .06);
}
.mp__page img { width: 100%; height: auto; }
.mp--get .mp__btn { flex: none; margin-top: auto; }
.mp--get .mp__page { margin-bottom: calc(var(--u) * 32); } /* min gap before the button */

@keyframes dot { 0%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(calc(var(--u) * -4)); } }
@keyframes ring-ava {
  0%   { box-shadow: 0 0 0 0 rgba(1, 190, 166, .4); }
  100% { box-shadow: 0 0 0 calc(var(--u) * 28) rgba(1, 190, 166, 0); }
}

/* desktop: the whole phone is visible (no cards over it), so each screen's content sits in the middle */
@media (min-width: 1141px) {
  .mp { display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--u) * 86); padding-bottom: calc(var(--u) * 86); }
  .mp--send { justify-content: flex-start; padding-bottom: calc(var(--u) * 90); }
  .mp--work, .mp--ready { padding-top: calc(var(--u) * 86); }
  .mp--get { padding-top: calc(var(--u) * 86); }
}
/* 1 · Send (phones/tablets): a compact Supplement order — 4 photos, the current Estimate PDF, then "Sent" */
.mp__file { display: none; }
@media (max-width: 1140px) {
  .mp--send .app-pills { margin-bottom: calc(var(--u) * 24); }
  /* one row of four square thumbnails: fits every phone height without squashing the photos */
  .mp--send .mp__photos { flex: none; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; gap: calc(var(--u) * 10); margin: 0; }
  .mp--send .mp__photos img { height: auto; aspect-ratio: 1; border-radius: calc(var(--u) * 14); }
  .mp__file { flex: none; display: flex; height: calc(var(--u) * 78); margin-top: calc(var(--u) * 14); opacity: 0; transform: translateY(calc(var(--u) * 16)); }
  .mp--send.is-play .mp__file { animation: rise .45s cubic-bezier(.2, .8, .2, 1) .55s forwards; }
  .mp--send .mp__btn { margin-top: calc(var(--u) * 22); }

}
@media (max-width: 1140px) and (prefers-reduced-motion: reduce) {
  .mp__file { opacity: 1; transform: none; }
}
/* the same simple screens on every screen size */
.js-steps .scr--claim, .js-steps .scr--form, .js-steps .scr--pdf { display: none; }
.js-steps .scr--m { display: block; }
@media (prefers-reduced-motion: reduce) {
  .mp { transition: none; }
  .mp__photos img, .mp--ready .mp__doc .pdf-ico, .mp--ready .check { opacity: 1; transform: none; }
  .mp--ready .check__path { stroke-dashoffset: 0; }
  .mp.is-play, .mp.is-play * { animation: none !important; }
  .mp.is-play .mp__a { opacity: 0; }
  .mp.is-play .mp__b { opacity: 1; }
}

/* ---------- Features ---------- */
.features {
  max-width: 1200px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature {
  display: flex;
  align-items: stretch;
  gap: 64px;
  min-height: 497px;
  padding: 8px;
  border-radius: 20px;
  background: var(--surface);
}
.feature__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 16px;
}
.feature__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.feature__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature__media {
  position: relative;
  flex: 0 0 560px;
  min-height: 481px;
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}
.feature__media--chat {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__media--chat img {
  width: 518px;
  height: 369px;
  object-fit: cover;
}
.doc {
  position: absolute;
  width: 352px;
  height: 454px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 12px;
}
.doc--back { left: 163px; top: 86px; opacity: .7; }
.doc--front { left: 44px; top: 57px; }

.device {
  position: absolute;
  left: 79px;
  top: 56px;
  width: 692px;
  padding: 2.77px 2.77px 5.54px;
  border-radius: 16.6px;
  background: var(--black);
}
.device img {
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  border-radius: 13.84px;
}

.features__hold { display: none; }
@media (min-width: 1001px) { .features__hold { display: block; } }

/* Stacked cards: each next card slides over the previous one, leaving a 20px strip;
   the cards behind shrink by 20px per side for every card on top (scale set in JS). */
@media (min-width: 1001px) {
  .features { --stack-top: max(100px, calc(50vh - 268px)); }
  .feature {
    position: sticky;
    top: var(--stack-top);
    transform-origin: 50% 0;
  }
  .feature:nth-child(2) { top: calc(var(--stack-top) + 20px); }
  .feature:nth-child(3) { top: calc(var(--stack-top) + 40px); }
  /* keeps the finished stack (both 20px strips + last card) pinned for a while before it scrolls away */
  .features__hold { height: 45vh; margin-top: -32px; }
  .feature + .feature { box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .14), 0 -1px 0 rgba(0, 0, 0, .04); }
}

/* Claims Hub (Figma 73:386): photo of the tablet, cropped as in the layout (805×598 at −123/−37 in a 560px panel) */
.feature__media--tablet { container-type: inline-size; }
.feature__media--tablet .tablet {
  position: absolute;
  left: calc(-123 / 560 * 100cqw);
  top: calc(-37 / 560 * 100cqw);
  width: calc(805 / 560 * 100cqw);
  max-width: none;
  height: auto;
  aspect-ratio: 805 / 598;
  object-fit: cover;
}
.js-anim .feature__media .tablet { opacity: 0; transform: translateY(40px) scale(.97); transition-delay: .1s; }
.js-anim .feature.is-in .feature__media .tablet { opacity: 1; transform: none; }

/* Image entrance animations (only when JS is on) */
.js-anim .feature__media img,
.js-anim .feature__media .device {
  transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1);
}
.js-anim .feature__media--chat img { opacity: 0; transform: translateY(40px) scale(.96); }
.js-anim .doc--front { opacity: 0; transform: translate(-40px, 60px) rotate(-6deg); transition-delay: .1s; }
.js-anim .doc--back  { opacity: 0; transform: translate(60px, 40px) rotate(7deg); transition-delay: .3s; }
.js-anim .feature__media .device { opacity: 0; transform: translateX(140px); transition-delay: .1s; }
.js-anim .feature.is-in .feature__media--chat img,
.js-anim .feature.is-in .doc--front,
.js-anim .feature.is-in .feature__media .device { opacity: 1; transform: none; }
.js-anim .feature.is-in .doc--back { opacity: .7; transform: none; }

/* ---------- Stats ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container);
  margin: 64px auto 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.stat__value {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(48px, calc(16px + 5.2vw), 80px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stat__value small { font-size: 50px; }
.stat__value .stat__unit--pct { font-size: 60px; }
.stat__label {
  font-size: clamp(16px, calc(14px + .2vw), 18px);
  line-height: 1.35;
  color: var(--muted);
}
.count { font-variant-numeric: tabular-nums; }

/* Dark "estimating team" card */
.team-card {
  position: relative;
  max-width: 1408px;
  min-height: 430px;
  margin: 80px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: #011414;
  color: var(--white);
  display: flex;
  justify-content: center;
}
.team-card__inner {
  position: relative;
  width: 100%;
  max-width: 635px;
  padding: 83px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.team-card__title span { color: #5fead5; }
.team-card__text {
  font-size: clamp(16px, calc(14px + .5vw), 20px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .8);
  margin-bottom: -8px;
}
.team-card__text strong { color: var(--white); }
.team-card__coverage { font-size: 16px; line-height: 1.35; }
.team-card__btn { margin-top: 8px; min-width: 240px; padding-inline: 48px; }

/* Clients */
.clients {
  max-width: var(--container);
  margin: 48px auto 0;
  text-align: center;
}
.clients__title { font-size: 24px; font-weight: 500; line-height: 1.2; }
.clients__marquee {
  margin-top: 12px;
  overflow: hidden;
  /* the ribbon fades out to white at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.clients__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding: 8px 0;
  animation: marquee 28s linear infinite;
}
.clients__item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #c9cbcf;
  white-space: nowrap;
}
.clients__item img { width: 46px; height: auto; opacity: .22; }
.clients__item img[src$=".png"], .clients__item img.logo { opacity: 1; } /* real client logos later */
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- 3D hands (Refer a Shop) ---------- */
.team__art {
  position: relative;
  width: 433px;
  max-width: 100%;
  aspect-ratio: 433 / 292;
  margin: 0 auto;
}
.team__art svg { display: block; width: 100%; height: 100%; }
.team__canvas {
  position: absolute;
  inset: -14% -10%; /* extra room so the bevel and the turn never get clipped */
  width: 120%;
  height: 128%;
}
.team__art.is-3d svg { visibility: hidden; }

/* ---------- Pricing ---------- */
.pricing { margin-top: var(--gap-major); }
/* price cards (Figma 78:819): grey card, dark tag, price, white checklist box, description, full-width button */
.plans {
  margin: 64px auto 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}
.plan {
  width: 398px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px;
  border-radius: 20px;
  background: var(--surface);
}
.plan__head { display: flex; flex-direction: column; gap: 20px; }
.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.plan__price span {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000;
}
.plan__price small {
  padding-bottom: 6px;
  font-size: 18px;
  line-height: 1.2;
  color: rgba(0, 0, 0, .8);
  white-space: nowrap;
}
.plan__body { display: flex; flex-direction: column; gap: 24px; }
.plan__list { padding: 16px; border-radius: 16px; background: var(--white); } /* points: same size, colour and spacing as the feature cards' checklist */
.plan__desc { font-size: 16px; line-height: 1.3; color: var(--text); }
.plan .btn { margin-top: auto; }

/* ---------- We handle / you control ---------- */
.handle { margin-top: var(--gap-major); }
.handle__title { max-width: 881px; margin: 0 auto; text-align: center; }
.grad-e { background-image: linear-gradient(161.57deg, var(--grad-from) 27.3%, var(--grad-to) 77.5%); }
.handle__cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 64px auto 0;
}
.handle-card { position: relative; }
.handle-card--us { flex: 0 0 362px; }
.handle-card:not(.handle-card--us) { flex: 0 1 742px; }
/* connector between the two cards (96px gap on desktop, vertical on mobile) */
.handle__link {
  position: relative;
  flex: 0 0 96px;
  align-self: center;
  height: 2px;
}
.handle__link::before {
  content: "";
  position: absolute;
  inset: 0 8px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left center;
}

/* Entrance sequence (JS adds .js-handle, then .is-play when the block comes into view):
   card 1 → its dot → the line draws → dot 2 → card 2 → item 1 → divider → item 2 */
.js-handle .handle-card--us { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.js-handle .handle-card--us::after,
.js-handle .handle-card--shop::before { transform: scale(0); }
.js-handle .handle__link::before { transform: scaleX(var(--k, 0)); } /* filled by scroll (script.js) */
.js-handle .handle__link::after { content: ""; position: absolute; inset: 0 8px; border-radius: 2px; background: #dcdcdf; } /* grey track */
.js-handle .handle__link::before, .js-handle .handle__link::after { opacity: 0; transition: opacity .4s ease; }
.js-handle.is-play .handle__link::before, .js-handle.is-play .handle__link::after { opacity: 1; transition: opacity .4s ease .6s; }
.handle__link::before { z-index: 1; }
.handle__cards.js-handle .handle-card--shop::before { background: var(--white); box-shadow: 0 0 0 2px #dcdcdf; }
.handle__cards.js-handle.line-done .handle-card--shop::before { box-shadow: 0 0 0 4px var(--accent), 0 0 12px 3px rgba(95, 234, 213, .5); }
.js-handle .handle-card--shop { background-color: rgba(246, 246, 247, 0); }
.js-handle .handle-card--shop > .tag,
.js-handle .handle-card--shop .handle-card__item { opacity: 0; transform: translateY(16px); filter: blur(6px); }
.js-handle .handle-card__row .handle-card__item + .handle-card__item::before { transform: scaleY(0); }

.js-handle.is-play .handle-card--us {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
}
.js-handle.is-play .handle-card--us::after { transform: scale(1); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) .6s; }
.js-handle.is-play .handle-card--shop::before { transform: scale(1); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) 1.45s, box-shadow .3s ease; }
.js-handle.is-play .handle-card--shop { background-color: rgba(246, 246, 247, 1); transition: background-color .6s ease 1.6s; }
.js-handle.is-play .handle-card--shop > .tag,
.js-handle.is-play .handle-card--shop .handle-card__item {
  opacity: 1; transform: none; filter: none;
  transition: opacity .6s ease var(--hd), transform .8s cubic-bezier(.2, .7, .2, 1) var(--hd), filter .6s ease var(--hd);
}
.js-handle .handle-card--shop > .tag { --hd: 1.75s; }
.js-handle .handle-card--shop .handle-card__item:first-child { --hd: 1.95s; }
.js-handle .handle-card--shop .handle-card__item + .handle-card__item { --hd: 2.55s; }
.js-handle.is-play .handle-card__row .handle-card__item + .handle-card__item::before { transform: scaleY(1); transition: transform .5s cubic-bezier(.6, 0, .3, 1) 2.25s; }
/* mint connector dots sitting on the facing edges of the two cards */
.handle-card--us::after,
.handle-card:not(.handle-card--us)::before { /* white dot with a ring — same as the training page connectors */
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent), 0 0 12px 3px rgba(95, 234, 213, .5);
}
.handle-card--us::after { right: -8px; }
.handle-card:not(.handle-card--us)::before { left: -8px; }
.handle-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--surface);
}
.handle-card--us { background: rgba(1, 190, 166, .1); background: color-mix(in srgb, var(--accent) 10%, transparent); } /* button colour at 10% */
.tag--accent { background: var(--accent); }
.handle-card__row { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.handle-card__row .handle-card__item + .handle-card__item {
  position: relative;
  padding-left: 24px;
}
.handle-card__row .handle-card__item + .handle-card__item::before { /* 82px divider, vertically centred */
  content: "";
  transform-origin: center;
  position: absolute;
  left: 0;
  top: 50%;
  height: 82px;
  margin-top: -41px;
  border-left: 1px solid rgba(0, 0, 0, .1);
}
.handle-card__item {
  width: 291px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.handle-card__row .handle-card__item:last-child { width: 350px; }
.handle-card--us .handle-card__item { width: auto; }
.handle-card__title { font-size: 24px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.handle-card__text { font-size: 18px; line-height: 1.4; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--gap-major); }
.faq__title { text-align: center; }
.faq__list {
  max-width: 640px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  border-radius: 20px;
  background: var(--surface);
  transition: background-color .2s ease;
}
.faq__item:hover { background: #eeeff1; }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: url("assets/chevron-down.svg") center / contain no-repeat;
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 24px 24px; font-size: 16px; line-height: 1.5; color: var(--text); }

/* ---------- Refer a Shop ---------- */
.refer { margin-top: calc(var(--gap-major) - 36px); } /* −36: room the gradient heading keeps above itself */
/* Refer a Shop (Figma 78:807): heading, a big $250 that rolls in like an odometer, note, button */
.refer__body {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.refer__head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.refer__amount {
  display: flex;
  justify-content: center;
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(110px, 30vw, 180px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000;
}
.odo { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__strip { display: block; transition: transform 1.8s cubic-bezier(.16, 1, .3, 1) var(--od, 0s); }
.odo__strip span { display: block; height: 1.1em; }
.refer__amount.is-rolled .odo__strip { transform: translateY(var(--to)); }
.refer__text { font-size: 18px; line-height: 1.2; color: var(--muted); }
.refer__btn { min-width: 177px; }



/* ---------- Header over dark blocks: translucent dark glass, light text (.on-dark toggled from JS) ---------- */
.nav, .nav__brand, .nav__link, .nav__signin, .nav__brand-sep + span { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.nav__brand img, .nav__link img { transition: filter .35s ease; }
.header.on-dark .nav {
  background: rgba(1, 20, 20, .34);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.header.on-dark .nav__brand,
.header.on-dark .nav__signin { color: #fff; }
.header.on-dark .nav__brand-sep + span { color: rgba(255, 255, 255, .75); }
.header.on-dark .nav__brand img,
.header.on-dark .nav__links .nav__link img { filter: invert(1); }
.header.on-dark .nav__toggle span { background: #fff; }
.header.on-dark .nav__link:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 1001px) {
  .header.on-dark .nav__link { color: #fff; }
}

/* ---------- Footer (light grey card under the dark block) ---------- */
.footer { padding: 8px 16px 16px; }
.footer__card {
  max-width: 1408px;
  margin: 0 auto;
  padding: 64px 72px 40px;
  border-radius: 24px;
  background: var(--surface);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) 3fr;
  gap: 48px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.footer__logo img { width: 42px; height: auto; }
.footer__logo-name { letter-spacing: -0.02em; }
.footer__logo-sep { color: #b9babd; font-weight: 400; }
.footer__logo-sub { color: var(--text); font-weight: 400; }
.footer__tagline { margin-top: 24px; font-size: 16px; line-height: 1.3; color: var(--text); }
.footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}
/* footer order links: plain underlined text with the arrow */
.footer__cta { display: inline-flex; align-items: center; font-size: 16px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.footer__cta-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(29, 29, 29, .35); transition: text-decoration-color .2s ease; }
.footer__cta:hover .footer__cta-text { text-decoration-color: currentColor; }
.footer__cta .btn__sep { margin: 0 8px; opacity: .45; }
.footer__cta:hover .btn__arrow { transform: translateX(4px); }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__heading {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
}
.footer__col ul { display: flex; flex-direction: column; gap: 14px; }
.footer__col a {
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--black); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer__disclaimer {
  max-width: 860px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.footer__copy { flex: none; font-size: 14px; line-height: 1.45; color: var(--muted); }


/* ---------- Living aurora background (dark cards) ----------
   Teal glow from below + soft slanted light beams that slowly sway, breathe and drift. */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(110% 75% at 30% 112%, #01bea6 0%, #015d56 38%, rgba(1, 93, 86, 0) 72%),
    radial-gradient(70% 65% at 100% 105%, #015d56 0%, rgba(1, 93, 86, 0) 70%),
    linear-gradient(to bottom, #011414 0%, #013633 30%, #015d56 70%, #015d56 100%);
}
.aurora--dim { opacity: .62; }
.aurora__glow {
  position: absolute;
  left: -10%;
  bottom: -35%;
  width: 70%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 235, 210, .55), rgba(0, 190, 170, .18) 60%, transparent);
  filter: blur(40px);
  mix-blend-mode: screen;
  animation: aurora-glow 22s ease-in-out infinite alternate;
}
.aurora__beam {
  position: absolute;
  left: var(--x);
  bottom: -18%;
  width: var(--w);
  height: 135%;
  border-radius: 50%;
  background: linear-gradient(to top, rgba(0, 245, 222, .95) 0%, rgba(0, 200, 180, .55) 32%, rgba(0, 130, 118, .15) 65%, transparent 88%);
  filter: blur(var(--b));
  mix-blend-mode: screen;
  opacity: var(--o);
  transform-origin: 50% 100%;
  transform: rotate(var(--r));
  animation: aurora-beam var(--t) ease-in-out var(--d) infinite alternate;
}
@keyframes aurora-beam {
  0%   { transform: translateX(-28px) rotate(var(--r)) scaleY(.9);  opacity: calc(var(--o) * .6); }
  50%  { opacity: var(--o); }
  100% { transform: translateX(46px) rotate(calc(var(--r) + 5deg)) scaleY(1.06); opacity: calc(var(--o) * .85); }
}
@keyframes aurora-glow {
  0%   { transform: translate(0, 0) scale(1); opacity: .8; }
  100% { transform: translate(18%, -6%) scale(1.15); opacity: 1; }
}
.aurora.is-paused * { animation-play-state: paused; }
/* WebGL version (aurora.js) replaces the CSS layers when available */
.aurora__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.aurora--gl { background: #011414; }
.aurora--gl > i { display: none; }
.aurora--dim.aurora--gl { opacity: 1; } /* dimming is done in the shader */

/* ---------- Demo request ---------- */
.cta { padding: 200px 16px 0; }
.cta__card {
  position: relative;
  max-width: 1408px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  color: var(--white);
}

.cta__inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.cta__head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta__lead { font-size: clamp(16px, calc(14px + .5vw), 20px); line-height: 1.45; color: rgba(255, 255, 255, .7); }
.cta__form {
  width: 100%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.field {
  width: 100%;
  max-width: 400px;
  padding: 16px 20px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.field::placeholder { color: rgba(255, 255, 255, .5); }
.field:hover { background: rgba(255, 255, 255, .14); }
.field:focus { border-color: var(--accent); background: rgba(255, 255, 255, .12); }
/* browser autofill (contacts / passwords) icon: white on the dark field */
.field::-webkit-contacts-auto-fill-button,
.field::-webkit-credentials-auto-fill-button { background-color: #fff; }

/* Floating labels: the hint sits inside the field; on focus (or once filled) it moves up
   and cuts into the outline (fieldset + legend make the gap) */
.float { position: relative; width: 100%; max-width: 400px; }
.float[hidden] { display: none; }
.float .field { max-width: none; border-color: transparent; }
.float .field:focus { border-color: transparent; }
.float__line {
  position: absolute;
  inset: -6px 0 0;
  margin: 0;
  padding: 0 0 0 16px;
  border: 1px solid transparent;
  border-radius: 99px;
  pointer-events: none;
  min-width: 0;
  text-align: left;
  transition: border-color .2s ease;
}
.float__line legend {
  float: none;
  display: block;
  width: auto;
  max-width: .01px;
  height: 12px;
  padding: 0;
  font-size: 12px;
  line-height: 12px;
  white-space: nowrap;
  overflow: hidden;
  visibility: hidden;
  transition: max-width .1s ease;
}
.float__line legend span { display: inline-block; padding: 0 5px; }
.float__label {
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .5);
  pointer-events: none;
  transition: top .2s ease, font-size .2s ease, color .2s ease;
}
.float .field:focus ~ .float__line { border-color: var(--accent); }
.float .field:focus ~ .float__line legend,
.float .field:not(:placeholder-shown) ~ .float__line legend { max-width: 100%; transition: max-width .2s ease .05s; }
.float .field:focus ~ .float__label,
.float .field:not(:placeholder-shown) ~ .float__label { top: 0; font-size: 12px; color: rgba(255, 255, 255, .75); }
.float .field:focus ~ .float__label { color: var(--accent); }
.cta__referral {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #5fead5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta__referral:hover { color: var(--white); }
.cta__note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .7);
  text-align: center;
}
.cta__form .btn { margin-top: 16px; }
/* consent checkbox (wording from the current site's Shop Services Terms) */
.cta__check {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .65);
  text-align: left;
  cursor: pointer;
}
.cta__check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.cta__box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06) center / 14px 14px no-repeat;
  transition: background-color .2s ease, border-color .2s ease;
}
.cta__check:hover .cta__box { border-color: rgba(255, 255, 255, .7); }
.cta__check input:checked + .cta__box {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.6'/%3E%3C/svg%3E");
}
.cta__check input:focus-visible + .cta__box { outline: 2px solid var(--accent); outline-offset: 2px; }
/* form sent: icon + title + text in place of the form (demo, referral, training, careers) */
.tr-join__done { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 16px; }
.tr-join__done b { color: var(--white); font-weight: 500; }
.tr-join__done-title { font-size: 28px; font-weight: 500; line-height: 1.2; }
.tr-join__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4.6'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
}
.form-err { width: 100%; font-size: 14px; line-height: 1.4; color: #ff8a8f; text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Refer a Shop: the form opens in a dark card over the page */
.refer-dlg { width: min(520px, calc(100vw - 24px)); max-height: calc(100svh - 24px); margin: auto; padding: 0; border: 0; border-radius: 32px; background: transparent; color: #fff; overflow: visible; }
.refer-dlg::backdrop { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.refer-dlg .cta__card { position: relative; max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 32px; }
.refer-dlg .cta__inner { padding: 56px 24px 40px; }
.refer-dlg .cta__title { font-size: clamp(28px, 6vw, 36px); }
.refer-dlg__close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; line-height: 40px; text-align: center; }
.refer-dlg__close:hover { background: rgba(255, 255, 255, .2); }
.refer-dlg .tr-join__done { padding: 24px 0 8px; }
.done-dlg { width: min(460px, calc(100vw - 24px)); }
.done-dlg .cta__inner { padding: 56px 28px 40px; }
.done-dlg .tr-join__done { padding: 0; }
.done-dlg__ok { margin-top: 16px; min-width: 160px; }
.done-dlg__ok:focus, .done-dlg .cta__card:focus { outline: none; }
.done-dlg__ok:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.done-dlg .tr-join__done-title { font-size: clamp(22px, 6vw, 28px); text-wrap: balance; }
.done-dlg .cta__lead { text-wrap: balance; }
.cta__check a, .cta__after a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cta__after { margin-top: 8px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .6); text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Apple-style scroll reveal (classes added by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(10px);
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1),
    transform 1.1s cubic-bezier(.2, .7, .2, 1),
    filter .9s cubic-bezier(.2, .7, .2, 1),
    background-color .2s ease,
    color .2s ease;
  transition-delay: var(--rd, 0s), var(--rd, 0s), var(--rd, 0s), 0s, 0s;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .nav__actions { width: auto; }
  .feature__media { flex-basis: 48%; }
}

@media (max-width: 1140px) {
  /* Steps (mobile/tablet): heading + phone + cards pin together while you scroll;
     each scroll step lays the next card on top of the previous one. */
  /* the heading scrolls away; only the phone + cards stay pinned under the header (--head-h from JS) */
  /* the block sticks to the bottom of the screen (as much of the heading stays visible as fits);
     if the screen is short, it sticks right under the header instead — the phone never goes under it */
  .js-steps .steps__pin { position: sticky; top: max(calc(72px - var(--head-h, 0px)), calc(100svh - var(--pin-h, 100svh) - 12px)); }
  .steps__track { margin-top: 40px; }
  .js-steps .steps__track { height: auto; }
  .js-steps .steps__sticky { position: static; height: auto; }
  .js-steps .steps__stage { transform: none; }
  .steps__stage {
    --card-w: min(343px, calc(100vw - 32px));
    position: relative;
    max-width: none;
    /* the step cards always overlap the phone's lower part (from ~62% of its height);
       on short screens the block is limited by the screen height instead */
    --ph: calc(min(521px, 139vw) * 1312 / 1199);
    height: clamp(430px, min(calc(100svh - 96px), calc(var(--ph) * .62 + 200px)), 720px);
    margin: 0 calc(var(--gutter) * -1);
    overflow: hidden;
  }
  .phone {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(521px, 139vw);
    transform: translateX(-50%);
  }
  .steps__stage::after { /* white fade over the lower part of the phone */
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 206px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 38%);
    pointer-events: none;
  }
  .steps__list {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    width: var(--card-w);
    margin-left: calc(var(--card-w) / -2);
    display: grid; /* all cards share one cell → they stack */
  }
  .step,
  .step--l1, .step--l2, .step--r1, .step--r2 {
    grid-area: 1 / 1;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    min-height: 122px;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    text-align: center;
    transform-origin: 50% 0;
    transition: transform .6s cubic-bezier(.3, .7, .2, 1), opacity .4s ease, box-shadow .4s ease;
  }
  /* stack positions (set from JS): the current card on top, earlier ones peek out above it */
  .step[data-pos="current"] { z-index: 4; box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .12); }
  .step[data-pos="past1"] { z-index: 3; transform: translateY(-12px) scale(.95); }
  .step[data-pos="past2"] { z-index: 2; transform: translateY(-24px) scale(.9); }
  .step[data-pos="past3"] { z-index: 1; transform: translateY(-36px) scale(.85); }
  .step[data-pos="next"]  { z-index: 5; transform: translateY(115%); opacity: 0; }
  .step__text,
  .step--l1 .step__text, .step--l2 .step__text, .step--r1 .step__text, .step--r2 .step__text {
    width: 240px;
    align-items: center;
  }
  .step__title { font-size: 20px; }
  .step__desc { font-size: 16px; }
  /* progress under the cards: one bar per step, fills while you scroll through that step */
  .steps__bars {
    --bw: calc(var(--card-w) - 64px);
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 10px;
    width: var(--bw);
    margin-left: calc(var(--bw) / -2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  /* the fill is a background size (no scaling), so the rounded ends never get squashed */
  .steps__bars i {
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(var(--accent), var(--accent)) 0 0 / calc(var(--f, 0) * 100%) 100% no-repeat, #e4ebea;
  }
}

@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__links { flex-direction: column; align-items: stretch; margin: 0; }
  .nav__link { justify-content: space-between; width: 100%; }
  .nav__actions { justify-content: space-between; padding: 0 12px; }

  /* Feature cards (mobile/tablet): picture on top with the badge on it, text below; plain list, no stacking */
  .feature {
    position: relative;
    top: auto;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    transform-origin: 50% 0;
  }
  .features { gap: 24px; }
  .features__hold { display: none; }
  .feature__media { order: -1; flex-basis: auto; min-height: 420px; }
  .feature__body { position: static; padding: 0 16px 16px; gap: 0; }
  .feature .tag { position: absolute; z-index: 2; top: 24px; left: 24px; }
  .feature .h3 { font-size: 24px; }
  .feature .lead { font-size: 16px; }
  .feature .checklist, .plan__list, .pcard__list { gap: 8px; }
  .feature .checklist li, .plan__list li, .pcard__list li { font-size: 15px; }
  .feature .checklist li::before, .plan__list li::before, .pcard__list li::before { flex-basis: 20px; width: 20px; height: 20px; background-size: 20px 20px; }

  .plans { flex-direction: column; align-items: center; }
  .plan { width: 100%; max-width: 480px; }

  .handle__cards { flex-direction: column; align-items: center; gap: 0; }
  .handle__link { flex: 0 0 40px; width: 2px; height: auto; align-self: center; }
  .handle__link::before { inset: 8px 0; background: var(--accent); transform-origin: center top; }
  .js-handle .handle__link::before { transform: scaleY(var(--k, 0)); }
  .js-handle .handle__link::after { inset: 8px 0; }
  .handle-card, .handle-card--us, .handle-card:not(.handle-card--us) { flex: none; width: 100%; max-width: 640px; }
  .handle-card--us::after { right: auto; left: 50%; top: auto; bottom: -8px; margin: 0 0 0 -8px; }
  .handle-card:not(.handle-card--us)::before { left: 50%; top: -8px; margin: 0 0 0 -8px; }
}

@media (max-width: 768px) {
  .section { --gap-major: 120px; --gap-minor: 80px; }
  .h2 { font-size: 30px; } /* page titles (40) → section h2 (30) → card h3 (24) */

  /* Header: compact pill, text "Menu" button */
  .header { top: 12px; margin-top: 12px; }
  .nav { padding: 5px; }                                   /* header +10% */
  .nav__brand { gap: 7px; padding: 7px 15px; font-size: 12.7px; }
  .nav__brand img { width: 29px; height: auto; }
  .nav__brand-sep { font-size: 11px; }
  .nav__toggle { width: 46px; height: 46px; }
  .nav__toggle span { left: 14px; width: 18px; }
  .nav__toggle span:nth-child(1) { top: 17px; }
  .nav__toggle span:nth-child(2) { top: 22.2px; }
  .nav__toggle span:nth-child(3) { top: 27.4px; }
  .nav.is-open .nav__toggle span:nth-child(1),
  .nav.is-open .nav__toggle span:nth-child(3) { top: 22.2px; }

  /* Hero */
  .hero { margin-top: 62px; }
  .hero__title { font-size: min(64px, calc((100vw - 32px) * .1384)); white-space: nowrap; } /* widest line = screen − 2×16px */
  .m-only { display: inline; }
  .hero__lead { font-size: 16px; max-width: 343px; }
  .hero__lead br { display: none; }
  .order-list { margin-top: 48px; gap: 8px; }
  .order-card {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 12px;
    border-radius: 16px;
  }
  .order-card { text-align: center; }  /* centred on phones */
  .order-card__title { font-size: 20px; }
  .order-card__sub { font-size: 16px; white-space: normal; }
  .order-card .btn { width: 100%; }
  .hero .coverage { margin-top: 35px; }
  .btn { font-size: 16px; }
  .tag { font-size: 13px; }
  .nav__brand-sep + span { font-weight: 400; color: var(--text); }

  .lead br, .grad-a .hl br, .grad-d .hl br, .handle__title br { display: none; }

  /* Steps */
  .steps .section-head { gap: 24px; }

  /* Features */
  .feature__media { min-height: 400px; }
  .feature__media--chat { align-items: flex-start; padding-top: 80px; }   /* below the badge */
  .feature__media--tablet { min-height: 0; aspect-ratio: 560 / 481; }  /* same crop as the desktop panel */
  #claims-hub .h3 br { display: none; }
  .feature__media--chat img { width: 100%; height: auto; }
  .doc { width: 240px; height: auto; aspect-ratio: 352 / 454; }
  .doc--front { left: 24px; top: 88px; }
  .doc--back { left: 110px; top: 108px; }
  .device { left: 24px; top: 88px; width: 560px; }

  /* Stats */
  .stats__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .stats__grid { gap: 32px; margin-top: 40px; }
  .stat { gap: 8px; }
  .stat__value small { font-size: 30px; }
  .stat__value .stat__unit--pct { font-size: 36px; }
  .team-card { min-height: 0; margin-top: 64px; }
  .team-card__inner { padding: 56px 20px; }
  .clients__title { font-size: 20px; }
  .clients__item { font-size: 20px; gap: 8px; }
  .clients__item img { width: 34px; }
  .clients__track { gap: 40px; }

  /* Pricing */
  .plan__price span { font-size: 56px; }
  .plan__price small, .plan__desc { font-size: 16px; }
  .plans { margin-top: 40px; }

  /* We handle */
  .handle__cards { margin-top: 40px; }
  .handle-card__row { flex-direction: column; gap: 20px; }
  .handle-card__row { align-items: stretch; }
  .handle-card__row .handle-card__item + .handle-card__item { padding: 20px 0 0; }
  /* divider between the two items: horizontal line drawn from the centre */
  .handle-card__row .handle-card__item + .handle-card__item::before { left: 0; right: 0; top: 0; height: 0; margin: 0; border-left: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
  .js-handle .handle-card__row .handle-card__item + .handle-card__item::before { transform: scaleX(0); }
  .js-handle.is-play .handle-card__row .handle-card__item + .handle-card__item::before { transform: scaleX(1); }
  /* centred cards */
  .handle-card { align-items: center; text-align: center; }
  .handle-card .tag { align-self: center; }
  .handle-card__item, .handle-card__row .handle-card__item:last-child { width: auto; }
  .handle-card__title { font-size: 20px; white-space: normal; }
  .handle-card__text { font-size: 16px; }
  .handle-card__text br { display: none; }

  /* FAQ */
  .faq__list { margin-top: 40px; }
  .faq__item summary { padding: 20px; font-size: 16px; }
  .faq__answer { padding: 0 20px 20px; }

  /* Refer */
  .team__art { width: 300px; }
  .refer__text { font-size: 16px; }
  .refer__text br { display: none; }

  /* Demo request */
  .cta { padding: 120px 8px 0; }
  .cta__card { border-radius: 20px; }
  .cta__inner { padding: 64px 16px 72px; }
  .cta__lead br { display: none; }
  .field { font-size: 16px; }
}

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .footer { padding: 8px 8px 8px; }
  .footer__card { padding: 40px 20px 28px; border-radius: 20px; }
  .cta__inner { padding-bottom: 72px; }
  .footer__nav { grid-template-columns: 1fr; row-gap: 32px; text-align: center; }
  .footer__col ul { align-items: center; }
  .footer__actions { align-items: center; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  /* centred footer on phones: logo, tagline, buttons, link groups (one column), disclaimer, copyright */
  .footer__brand { align-items: center; text-align: center; }
  .footer__logo { justify-content: center; }
  .footer__bottom { margin-top: 40px; }
}

@media (max-width: 360px) {
  .nav__brand-sep, .nav__brand-sep + span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Products menu (desktop): Estimate / Supplement as text on the left, Claims Hub card on the right ---------- */
.nav__dd { position: relative; }
.nav__dd-btn img { transition: transform .25s ease; }
.nav__dd.is-open .nav__dd-btn img { transform: rotate(180deg); }
.nav__dd-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 10;
  width: 860px;
  display: grid;
  grid-template-columns: 240px 1fr;
  padding: 32px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px rgba(0, 0, 0, .14);
  color: var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility .2s;
}
.nav__dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav__dd.is-open .nav__dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav__dd-list { display: flex; flex-direction: column; gap: 4px; padding-right: 32px; border-right: 1px solid rgba(0, 0, 0, .08); }
.nav__dd-label { margin: 0 0 12px 12px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav__dd-item { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; transition: background-color .2s ease; }
.nav__dd-item .nav__dd-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--black); }
.nav__dd-item b { font-size: 18px; font-weight: 500; line-height: 1.2; }
.nav__dd-item span { font-size: 13px; line-height: 1.35; color: var(--muted); white-space: normal; }
.nav__dd-item:hover { background: var(--surface); }

.nav__dd-hub { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding-left: 32px; }
.nav__dd-media { position: relative; height: 210px; border-radius: 16px; overflow: hidden; background: var(--surface); }
.nav__dd-media img { position: absolute; left: -46%; top: -14%; width: 185%; max-width: none; height: auto; transform-origin: 60% 45%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.nav__dd-hub:hover .nav__dd-media img { transform: scale(1.08); }
.nav__dd-hub-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.nav__dd-title { font-size: 18px; font-weight: 500; line-height: 1.2; }
.nav__dd-desc { font-size: 14px; line-height: 1.45; color: var(--muted); white-space: normal; }
.nav__dd-btn-demo { margin-top: 10px; }

/* ---------- Mobile menu: full screen, one list of links (Apple-style) ----------
   The top bar repeats the header pill in the same place, so the burger simply turns into a cross. */
.mnav { display: none; }
@media (max-width: 1000px) {
  .nav__menu { display: none !important; }
  .mnav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
            backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s .2s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .mnav { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

  /* top bar = the header pill */
  .mnav__top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px; border-radius: 99px; background: var(--surface); }
  .mnav__close { position: relative; flex: none; width: 44px; height: 44px; border-radius: 99px; }
  .mnav__close span {
    position: absolute;
    left: 13.5px;
    width: 17px;
    height: 1.6px;
    border-radius: 2px;
    background: var(--black);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1) .05s, opacity .2s ease .05s, top .35s cubic-bezier(.4, 0, .2, 1) .05s;
  }
  .mnav__close span:nth-child(1) { top: 16px; }
  .mnav__close span:nth-child(2) { top: 21.2px; }
  .mnav__close span:nth-child(3) { top: 26.4px; }
  body.menu-open .mnav__close span:nth-child(1) { top: 21.2px; transform: rotate(45deg); }
  body.menu-open .mnav__close span:nth-child(2) { opacity: 0; }
  body.menu-open .mnav__close span:nth-child(3) { top: 21.2px; transform: rotate(-45deg); }

  /* two groups: services (with small prices on the right), then the rest of the links */
  .mnav__label { margin: 28px 8px 4px; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .mnav__list { display: flex; flex-direction: column; padding: 0 8px; }
  .mnav__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); transition: color .2s ease; }
  .mnav__list a:hover, .mnav__list a:active { color: var(--accent-strong); }
  .mnav__price { flex: none; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
  .mnav__sub { display: flex; flex-direction: column; margin: 20px 8px 0; } /* no divider: the groups are separated by space only */
  .mnav__sub a { padding: 9px 0; font-size: 17px; line-height: 1.3; color: var(--ink); transition: color .2s ease; }
  .mnav__sub a:hover, .mnav__sub a:active { color: var(--accent-strong); }
  /* Sign In: separate underlined link with the arrow, left-aligned with the links,
     the same distance from the links above and the button below (auto margins split the free space) */
  .mnav__signin { flex: none; align-self: flex-start; margin: auto 8px; padding: 12px 0 24px; font-size: 17px; } /* top padding minus the last link's own padding */
  .mnav__signin .btn__arrow { width: 18px; height: 18px; margin-left: 8px; -webkit-mask-size: 18px 18px; mask-size: 18px 18px; }
  .mnav__cta { flex: none; }

  /* items drop in one after another, top to bottom; on close everything just fades */
  .mnav__label, .mnav__list a, .mnav__sub, .mnav__signin, .mnav__cta { opacity: 0; transform: translateY(-8px); transition: opacity .15s ease, transform .15s ease, color .2s ease; }
  body.menu-open .mnav__label, body.menu-open .mnav__list a, body.menu-open .mnav__sub, body.menu-open .mnav__signin, body.menu-open .mnav__cta {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease var(--i, 0s), transform .5s cubic-bezier(.2, .8, .2, 1) var(--i, 0s), color .2s ease;
  }
  .mnav__label { --i: .02s; }
  .mnav__list a:nth-child(1) { --i: .04s; }
  .mnav__list a:nth-child(2) { --i: .07s; }
  .mnav__list a:nth-child(3) { --i: .10s; }
  .mnav__sub { --i: .14s; }
  .mnav__signin { --i: .16s; }
  .mnav__cta { --i: .18s; }
}
@media (max-width: 768px) {
  .mnav { padding-top: 12px; }
  .mnav__top { padding: 5px; }
  .mnav__close { width: 46px; height: 46px; }
  .mnav__close span { left: 14px; width: 18px; }
  .mnav__close span:nth-child(1) { top: 17px; }
  .mnav__close span:nth-child(2) { top: 22.2px; }
  .mnav__close span:nth-child(3) { top: 27.4px; }
  body.menu-open .mnav__close span:nth-child(1),
  body.menu-open .mnav__close span:nth-child(3) { top: 22.2px; }
}
@media (prefers-reduced-motion: reduce) { .mnav, .mnav *, body.menu-open .mnav * { transition: none !important; } }

/* ---------- Pricing cards (main page): grey card, white price panel; shared perks as one line under the cards ---------- */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}
.pc {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 32px;
  background: var(--surface);
}

/* white panel on the grey card: tag + price */
.pc__top {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 20px 24px 24px;
  border-radius: 24px;
  background: var(--white);
}
.pc__tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--black);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pc__price { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin: 0; }
.pc__amount { font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--black); }
.pc__meta { display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.3; }
.pc__meta b { font-weight: 500; color: var(--ink); }
.pc__meta span { color: var(--muted); }

/* text + button */
.pc__desc { flex: 1; margin: 0; padding: 20px 16px 24px; font-size: 16px; line-height: 1.45; color: var(--text); }
.pc .btn { margin: 0; }

/* what both services include — said once, under the cards, in the same black text as the hero's U.S. & Canada line (.coverage) */
.pc-note { margin: 32px 0 0; text-align: center; }

@media (max-width: 860px) {
  .pc-grid { grid-template-columns: minmax(0, 420px); gap: 16px; margin-top: 40px; }
  .pc__top { gap: 36px; }
  .pc__amount { font-size: 56px; }
  .pc__desc { padding: 16px 16px 20px; }
  .pc-note { margin-top: 24px; }
}

/* ---------- Pricing cards, horizontal: tag + description + price on the left, list + button on the right ---------- */
.plans--rows { flex-direction: column; align-items: center; gap: 24px; }
.plan--row {
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "tag   list"
    "desc  list"
    "price btn";
  column-gap: 48px;
  row-gap: 20px;
  padding: 32px;
  border-radius: 24px;
}
.plan--row > .tag { grid-area: tag; justify-self: start; }
.plan--row > .plan__desc { grid-area: desc; font-size: 18px; line-height: 1.35; }
.plan--row > .plan__price { grid-area: price; align-self: end; margin-top: 12px; }
.plan--row > .plan__list { grid-area: list; align-self: start; }
.plan--row > .btn { grid-area: btn; align-self: end; margin-top: 0; }
@media (max-width: 768px) {
  .plan--row {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "tag" "desc" "list" "price" "btn";
    row-gap: 16px;
    padding: 20px;
  }
  .plan--row > .plan__desc { font-size: 16px; }
  .plan--row > .plan__price { margin-top: 8px; }
}

/* ---------- Number fields: no browser spinner ---------- */
.field[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.field[type="number"]::-webkit-inner-spin-button,
.field[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Custom select (built in script.js from <select class="field">) ---------- */
.csel { position: relative; }
.csel > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.csel__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: none;
  text-align: left;
  cursor: pointer;
}
.csel__btn.is-empty { color: rgba(255, 255, 255, .5); }
.csel__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csel__btn::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: currentColor;
  opacity: .8;
  transition: transform .25s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5l3-3'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5l3-3'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.csel.is-open .csel__btn::after { transform: rotate(180deg); }
.csel.is-open .csel__btn { border-color: var(--accent); }
.csel__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 264px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 20px 48px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), visibility .18s;
  overscroll-behavior: contain;
}
.csel.is-open .csel__list { opacity: 1; visibility: visible; transform: none; }
.csel__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.csel__opt:hover, .csel__opt.is-focus { background: var(--surface); }
.csel__opt[aria-selected="true"] { font-weight: 500; }
.csel__opt[aria-selected="true"]::after { content: ""; flex: none; width: 18px; height: 18px; background: url("assets/check.svg") center / 18px 18px no-repeat; }
.is-invalid .csel__btn { border-color: #ff6b6b !important; }

/* ---------- Pictures zoom inside their frame on hover (feature cards, Claims Hub card) ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature__media img, .feature__media .device { transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .8s ease; }
  .feature:hover .feature__media img,
  .feature:hover .feature__media .device,
  .js-anim .feature.is-in:hover .feature__media img,
  .js-anim .feature.is-in:hover .feature__media .device { transform: scale(1.05); }
}

/* ---------- Breadcrumbs on inner pages ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-size: 14px; line-height: 1.2; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  opacity: .6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 3 7.5 6l-3 3'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 3 7.5 6l-3 3'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.crumbs a { transition: color .2s ease; }
.crumbs a:hover { color: var(--black); }
.crumbs [aria-current="page"] { color: var(--ink); }
.tr-hero > .crumbs { margin-bottom: 40px; }
.legal__head > .crumbs { margin-bottom: 8px; }
.nowrap { white-space: nowrap; }
.refer-dlg__close:focus { outline: none; }
.refer-dlg__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) { .refer-dlg .cta__inner { padding: 48px 20px 28px; } }
