/* Scoped walkthrough. Shared header, footer and brand tokens stay untouched. */
body[data-page="how"] #main { max-width: none; width: 100%; padding: 0; }
#how-story { max-width: 1180px; padding: 0 28px; margin: 0 auto; color: var(--navy); font-family: var(--font-ui); }
#how-story * { box-sizing: border-box; }
#how-story [data-step-tone="blue"] { --hs-accent: var(--icon-blue-stroke); --hs-accent-fill: var(--icon-blue-fill); }
#how-story [data-step-tone="green"] { --hs-accent: var(--icon-green-stroke); --hs-accent-fill: var(--icon-green-fill); }
#how-story [data-step-tone="yellow"] { --hs-accent: var(--icon-yellow-stroke); --hs-accent-fill: var(--icon-yellow-fill); }
#how-story [data-step-tone="teal"] { --hs-accent: var(--icon-teal-stroke); --hs-accent-fill: var(--icon-teal-fill); }
#how-story h1, #how-story h2, #how-story h3, #how-story p { margin: 0; letter-spacing: 0; }
#how-story h1, #how-story h2 { font-family: var(--font-brand); font-weight: 900; }
#how-story .hs-intro { display: block; width: 100%; text-align: center; padding: 46px 0 30px; border: 0; background: none; position: static; box-shadow: none; }
#how-story .hs-intro h1 { width: 100%; max-width: none; text-align: center; margin-inline: auto; }
#how-story .hs-kicker { display: block; color: var(--blue); font-size: 12px; font-weight: 800; margin-bottom: 18px; letter-spacing: 1.4px; }
#how-story h1 { font-size: clamp(38px,4.5vw,62px); line-height: 1.12; }
#how-story h1 > span { color: var(--green); }
#how-story .hs-intro > p { color: var(--muted); font-size: 18px; line-height: 1.65; font-weight: 600; margin: 22px auto 26px; }
#how-story .hs-intro > small { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 20px; }
#how-story .hs-steps-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; background: none; border: 0; padding: 0; }
#how-story .hs-steps-nav a { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; min-height: 48px; padding: 10px 15px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
#how-story .hs-steps-nav .hs-nav-number { color: var(--hs-accent); font-variant-numeric: tabular-nums; }
#how-story .hs-steps-nav .rg-icon { width: 18px; height: 18px; flex-basis: 18px; }
#how-story .hs-scene { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: clamp(28px,5vw,72px); padding: 36px 0 54px; scroll-margin-top: 90px; }
#how-story .hs-scene + .hs-scene { border-top: 1px solid var(--line); padding-top: 54px; }
#how-story .hs-reverse { grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); }
#how-story .hs-reverse .hs-copy { order: 2; }
#how-story .hs-copy { min-width: 0; text-align: left; }
#how-story .hs-step { display: flex; align-items: center; gap: 10px; color: var(--hs-accent); font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; }
#how-story .hs-step-number { display: grid; place-items: center; background: var(--hs-accent-fill); width: 34px; height: 34px; border-radius: 10px; font-size: 13px; letter-spacing: 0; }
#how-story h2 { font-size: clamp(29px,2.7vw,38px); line-height: 1.19; text-wrap: balance; }
#how-story .hs-copy > p { color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.8; margin-top: 20px; max-width: 44ch; }
#how-story .hs-copy > p > strong { color: var(--navy); font-weight: 800; }
#how-story .hs-assurance { display: flex; align-items: flex-start; gap: 11px; color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.65; margin-top: 22px; padding: 15px 0; border-top: 1px solid var(--line); }
#how-story .hs-assurance > .rg-icon { color: var(--hs-accent); margin-top: 1px; width: 30px; height: 30px; flex-basis: 30px; border: 1px solid color-mix(in srgb,var(--hs-accent) 18%,white); border-radius: 9px; background: var(--hs-accent-fill); }
#how-story .hs-assurance > .rg-icon svg { width: 18px; height: 18px; }
#how-story .rg-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 19px; width: 19px; height: 19px; line-height: 0; }
#how-story .rg-icon svg { width: 100%; height: 100%; }
#how-story .hs-rg-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
#how-story .hs-steps-nav a > .hs-rg-brand, #how-story .hs-step > .hs-rg-brand { width: 22px; flex-basis: 22px; }
#how-story .hs-text-link { display: inline-flex; align-items: center; justify-self: start; gap: 9px; max-width: 100%; color: var(--blue); font-size: 13px; font-weight: 800; line-height: 1.4; text-decoration: none; min-height: 48px; padding: 9px 13px 9px 9px; border: 1px solid #ccddf6; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px #172c5008; transition: background 160ms ease,border-color 160ms ease,transform 160ms ease; }
#how-story .hs-text-link:hover { text-decoration: none; background: #f1f6ff; border-color: var(--blue); }
#how-story .hs-text-link:active { transform: translateY(1px); }
#how-story .hs-link-icon { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 50%; background: #eaf2ff; }
#how-story .hs-link-icon > .rg-icon { width: 19px; height: 19px; }
#how-story .hs-link-icon > .hs-rg-brand { width: 22px; }
#how-story .hs-link-arrow { display: inline-flex; flex: 0 0 auto; margin-left: 1px; }
#how-story .hs-link-arrow > .rg-icon { width: 16px; height: 16px; }
#how-story a:hover { text-decoration: underline; }
#how-story button:focus-visible, #how-story a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
#how-story .hs-demo { border: 1px solid #d7e2f0; border-radius: 24px; background: #f6f9fd; box-shadow: 0 14px 40px #172c5010; overflow: hidden; min-width: 0; text-align: left; }
#how-story .hs-demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 17px 22px; border-bottom: 1px solid #e2e9f2; background: #ffffffc9; font-size: 12px; font-weight: 800; }
#how-story .hs-demo-top > span:first-child { display: flex; align-items: center; gap: 8px; }
#how-story .hs-demo-top > span:first-child > .rg-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; background: var(--hs-accent-fill); }
#how-story .hs-demo-top > span:first-child > .rg-icon svg { width: 18px; height: 18px; }
#how-story .hs-demo-top > span:first-child > .hs-rg-brand img { width: 23px; height: 18px; }
#how-story .hs-small-tag { font-size: 11px; font-weight: 700; color: var(--muted); }
#how-story .hs-demo-footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; border-top: 1px solid #e2e9f2; background: #ffffffd9; }
#how-story .hs-demo-footer > span { color: var(--muted); font-size: 11px; }
#how-story .hs-demo > .platform-note { margin: 0; max-width: none; padding: 0 20px 12px; background: #ffffffd9; text-align: left; }
#how-story .hs-noscript { margin: 0 24px 20px; font-size: 13px; line-height: 1.7; color: var(--muted); }
#how-story .hs-motion { display: none; align-items: center; justify-content: center; gap: 6px; min-width: 77px; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 8px; color: var(--navy); background: transparent; font: 700 12px var(--font-ui); cursor: pointer; box-shadow: none; }
#how-story[data-ready="true"] .hs-motion { display: flex; }
#how-story[data-ready="true"] .hs-motion[hidden] { display: none; }
#how-story .hs-demo-footer { min-height: 52px; }
#how-story .hs-motion:hover { background: #eaf2ff; }
#how-story .hs-motion .rg-icon { width: 14px; height: 14px; flex-basis: 14px; }
#how-story .hs-offer-stage { display: flex; justify-content: center; padding: 22px 12px 24px; background: radial-gradient(ellipse at 50% 35%,#e5edf9,transparent 75%); }
#how-story .hs-phone { width: 350px; max-width: 100%; border: 8px solid #111c2c; border-radius: 36px; background: #111c2c; box-shadow: 0 15px 30px #14294620; }
#how-story .hs-offer-canvas { position: relative; height: 480px; border-radius: 28px; isolation: isolate; overflow: hidden; }
#how-story .hs-phone-status { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 12px 19px; font: 800 10px/1.2 var(--font-ui); color: #172536; }
#how-story .hs-phone-system { display: flex; align-items: center; gap: 6px; }
#how-story .hs-phone-system svg { display: block; width: 15px; height: 12px; }
#how-story .hs-phone-system svg:last-child { width: 21px; }
#how-story .hs-map { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; }
#how-story .hs-arrival-bubble { position: absolute; width: 94%; left: 50%; top: 47px; transform: translateX(-50%); z-index: 2; }
#how-story .hs-read-cue { display: flex; width: max-content; align-items: center; gap: 6px; padding: 7px 11px; margin: 10px auto 0; background: #fff; border: 1px solid #dce5f1; border-radius: 9px; color: var(--muted); font-size: 11px; font-weight: 800; }
#how-story .hs-read-cue .rg-icon { width: 14px; height: 14px; flex-basis: 14px; }
#how-story .hs-read-cue .rg-icon-accent { display: none; }
#how-story .hs-offer-sheet { position: absolute; bottom: 14px; left: 50%; width: 91%; transform: translateX(-50%); padding: 19px 17px; border: 1px solid #dce5f1; border-radius: 19px; background: #fff; box-shadow: 0 14px 25px #13243d20; color: #10141a; }
#how-story .hs-source { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }
#how-story .hs-uber { background: #111; color: white; padding: 4px 7px; border-radius: 5px; font-size: 11px; }
#how-story .hs-rating { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
#how-story .hs-rating .rg-icon { width: 13px; height: 13px; flex-basis: 13px; }
#how-story .hs-fare { display: block; font: 800 36px/1.2 var(--font-ui); margin-top: 8px; }
#how-story .hs-fare-note { font-size: 11px; color: #69727d; }
#how-story .hs-trip { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 12px; }
#how-story .hs-trip > .rg-icon { width: 17px; height: 17px; flex-basis: 17px; }
#how-story .hs-offer-sheet .rg-icon svg { color: #465263; }
#how-story .hs-offer-sheet .rg-icon svg * { stroke: currentColor; }
#how-story .hs-trip strong, #how-story .hs-trip span { display: block; }
#how-story .hs-trip span { font-size: 11px; color: #69727d; margin-top: 3px; }
#how-story .hs-accept { display: grid; place-items: center; height: 40px; margin-top: 18px; border-radius: 8px; background: #111; color: white; font-weight: 800; font-size: 13px; }
#how-story .hs-tone-green { --hs-tone: #148654; --hs-fill: #eaf8f1; }
#how-story .hs-tone-yellow { --hs-tone: #a36b00; --hs-fill: #fff5d9; }
#how-story .hs-tone-red { --hs-tone: #d52b32; --hs-fill: #fff0f1; }
#how-story .hs-tone-gray { --hs-tone: #626f83; --hs-fill: #edf1f6; }
#how-story .hs-reads { display: grid; padding: 26px 24px 18px; }
#how-story .hs-read-panel { grid-area: 1 / 1; opacity: 1; transform: translateY(0); transition: opacity 320ms ease, transform 420ms cubic-bezier(.22,1,.36,1); min-width: 0; }
#how-story .hs-read-panel[aria-hidden="true"] { visibility: hidden; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 140ms ease, transform 300ms ease, visibility 320ms; }
#how-story .hs-explanation { background: #061424; color: #f4f8fc; padding: 23px; border: 1px solid var(--hs-tone); border-radius: 17px; margin-top: 17px; }
#how-story .hs-verdict { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--hs-fill); }
#how-story .hs-verdict > i { width: 9px; height: 9px; border-radius: 50%; background: var(--hs-tone); }
#how-story .hs-explanation h3 { font: 800 21px/1.35 var(--font-ui); color: white; margin-top: 13px; }
#how-story .hs-explanation p { font-size: 13px; line-height: 1.6; color: #c6d3e2; font-weight: 500; margin-top: 8px; }
#how-story .hs-explanation ul { display: grid; gap: 10px; padding: 17px 0; margin: 17px 0 0; border-top: 1px solid #344151; list-style: none; }
#how-story .hs-explanation li { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; font-weight: 700; }
#how-story .hs-explanation li .rg-icon { width: 15px; height: 15px; flex-basis: 15px; color: #e0eaf4; }
#how-story .hs-confidence { display: flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.7; color: #b4c4d8; }
#how-story .hs-confidence .rg-icon { width: 14px; height: 14px; flex-basis: 14px; color: #b4c4d8; }
#how-story .hs-state-choices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin: 0 24px 21px; }
#how-story .hs-state-choices button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--hs-tone); min-height: 42px; padding: 5px 4px; font: 800 12px var(--font-ui); box-shadow: none; cursor: pointer; }
#how-story .hs-state-choices button i { width: 7px; height: 7px; border-radius: 50%; background: var(--hs-tone); }
#how-story .hs-state-choices button[aria-pressed="true"] { border-color: var(--hs-tone); background: var(--hs-fill); box-shadow: inset 0 0 0 1px var(--hs-tone); }
#how-story .hs-ledger { padding: 25px 22px; }
#how-story .hs-ledger-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
#how-story .hs-ledger-heading div > span { font-size: 10px; color: var(--muted); font-weight: 800; }
#how-story .hs-ledger-heading h3 { font: 800 19px/1.4 var(--font-ui); margin-top: 6px; }
#how-story .hs-record-count { white-space: nowrap; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 8px; font-size: 10px; }
#how-story .hs-ledger-columns, #how-story .hs-ledger-row { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr) minmax(0,.8fr); align-items: center; gap: 9px; }
#how-story .hs-ledger-columns { padding: 0 10px 10px; color: var(--muted); font-size: 11px; font-weight: 700; }
#how-story .hs-ledger-row { border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 14px 10px; margin-bottom: 9px; }
#how-story .hs-ledger-row > div { display: flex; align-items: center; gap: 9px; }
#how-story .hs-app { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 7px; font-weight: 800; font-size: 12px; }
#how-story .hs-app-uber { background: #111; color: #fff; }
#how-story .hs-app-dash { background: #fff1ee; color: #d8311c; border: 1px solid #fbc9bf; }
#how-story .hs-ledger-row strong { display: block; font-size: 14px; }
#how-story .hs-corrected-mark { display: inline-flex; vertical-align: middle; color: var(--blue); }
#how-story .hs-corrected-mark .rg-icon { width: 11px; height: 11px; flex-basis: 11px; }
#how-story .hs-ledger-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
#how-story .hs-ledger-read { display: flex; align-items: center; gap: 6px; border-radius: 8px; width: max-content; background: var(--hs-fill); padding: 4px 6px; color: var(--hs-tone); font-size: 10px; font-weight: 800; }
#how-story .hs-ledger-read b { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; background: var(--hs-tone); color: #fff; font-size: 9px; }
#how-story .hs-choice { font-size: 12px; font-weight: 700; }
#how-story .hs-correction { display: flex; align-items: center; gap: 11px; padding: 16px 13px; margin-top: 20px; background: #eaf2ff; border: 1px solid #cadcf7; border-radius: 12px; }
#how-story .hs-correction-icon { color: var(--blue); }
#how-story .hs-correction strong { font-size: 12px; }
#how-story .hs-correction div > span { display: block; font-size: 12px; margin-top: 6px; line-height: 1.6; color: var(--muted); }
#how-story .hs-correction small { display: block; font-size: 11px; margin-top: 6px; line-height: 1.6; color: var(--muted); }
#how-story .hs-mileage-body { padding: 22px; }
#how-story .hs-miles-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
#how-story .hs-miles-header div > span { display: block; font-size: 10px; font-weight: 800; color: var(--muted); }
#how-story .hs-miles-header strong { display: block; font-size: 38px; line-height: 1.4; font-weight: 800; font-variant-numeric: tabular-nums; }
#how-story .hs-miles-header strong small { font-size: 15px; font-weight: 600; color: var(--muted); }
#how-story .hs-mini-route { width: 135px; }
#how-story .hs-mini-route svg { width: 100%; display: block; }
#how-story .hs-mile-records { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
#how-story .hs-mile-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
#how-story .hs-mile-row + .hs-mile-row { border-top: 1px solid var(--line); }
#how-story .hs-mile-check { display: flex; color: var(--green); }
#how-story .hs-mile-row strong { display: block; font-size: 12px; }
#how-story .hs-mile-row small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
#how-story .hs-mile-row > b { margin-left: auto; font-size: 13px; }
#how-story .hs-personal { display: flex; justify-content: space-between; gap: 12px; padding: 12px 1px; color: var(--muted); font-size: 11px; }
#how-story .hs-tax-example { padding: 16px; background: #eaf8f1; border: 1px solid #cee6d9; border-radius: 12px; }
#how-story .hs-tax-example > span { font-size: 10px; color: #216342; font-weight: 800; }
#how-story .hs-tax-example > div { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; font-size: 14px; font-weight: 800; color: #216342; }
#how-story .hs-tax-example > div > strong { font-size: 28px; }
#how-story .hs-tax-example p { font-size: 12px; line-height: 1.6; margin-top: 4px; font-weight: 500; color: #216342; }
#how-story .hs-tax-example > small { display: block; font-size: 12px; line-height: 1.6; color: #416851; margin-top: 5px; }
#how-story .hs-tax-example > small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#how-story .hs-export-ready { display: flex; align-items: center; gap: 10px; padding: 14px 2px 0; }
#how-story .hs-export-ready > .rg-icon { color: var(--blue); }
#how-story .hs-export-ready > .rg-icon:last-child { margin-left: auto; color: var(--green); }
#how-story .hs-export-ready strong { display: block; font-size: 12px; }
#how-story .hs-export-ready small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
#how-story .hs-download { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--blue); border-radius: 10px; padding: 13px 18px; min-height: 46px; font-size: 13px; font-weight: 800; text-decoration: none; margin-top: 12px; }
#how-story .hs-download .rg-icon { color: white; }
#how-story .hs-download .rg-icon svg, #how-story .hs-download .rg-icon svg * { color: white !important; stroke: white !important; }
#how-story .hs-download-note { display: block; font-size: 11px; color: var(--muted); margin-top: 10px; }
#how-story .hs-tax-note { display: flex; gap: 14px; border: 1px solid var(--line); padding: 24px; background: #ffffffd9; border-radius: 16px; margin-bottom: 38px; }
#how-story .hs-tax-note h3 { font: 800 15px/1.5 var(--font-ui); }
#how-story .hs-tax-note p { font-size: 12px; font-weight: 500; line-height: 1.8; color: var(--muted); margin: 8px 0; }
#how-story .hs-tax-note a { font-size: 12px; color: var(--blue); font-weight: 700; }
#how-story .hs-outro { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 36px 0 54px; }
#how-story .hs-outro h2 { font-size: 26px; }
#how-story .hs-outro p { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.6; margin-top: 8px; }

/* Shared rideBubble renderer, with a locally bounded geometry (no scaled text). */
@layer fx-authoritative {
  #how-story .ride-bubble { display: grid !important; grid-template-columns: 35px minmax(0,1fr) 32px !important; gap: 6px !important; align-items: center !important; width: 100% !important; min-width: 0 !important; max-width: none !important; min-height: 0 !important; height: auto !important; padding: 5px !important; border: 1.5px solid var(--hb) !important; border-radius: 999px !important; background: #fff !important; box-shadow: 0 5px 12px #1429460a !important; transform: none !important; overflow: visible !important; }
  #how-story .ride-bubble.tone-green { --hb: #14935a; --ht: #087943; --hf: #f0faf5; }
  #how-story .ride-bubble.tone-yellow { --hb: #efa400; --ht: #9e6600; --hf: #fff7e0; }
  #how-story .ride-bubble.tone-red { --hb: #ef2b2b; --ht: #d5222a; --hf: #fff3f3; }
  #how-story .ride-bubble.tone-gray { --hb: #7a8599; --ht: #526077; --hf: #f1f4f8; }
  #how-story .ride-bubble::before, #how-story .ride-bubble::after { display: none !important; }
  #how-story .bubble-rg { display: grid !important; place-items: center !important; width: 35px !important; height: 35px !important; min-width: 0 !important; border-radius: 11px !important; background: var(--hb) !important; color: #fff !important; padding: 0 !important; font: 800 14px/1 var(--font-ui) !important; }
  #how-story .bubble-metrics { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; align-items: stretch !important; width: 100% !important; min-width: 0 !important; min-height: 34px !important; border: 1px solid color-mix(in srgb,var(--hb) 22%,white) !important; border-radius: 999px !important; background: var(--hf) !important; padding: 0 !important; overflow: hidden !important; gap: 0 !important; }
  #how-story .metric-chip { display: flex !important; align-items: center !important; justify-content: center !important; width: auto !important; min-width: 0 !important; white-space: nowrap !important; padding: 4px 1px !important; color: var(--ht) !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; font: 800 13px/1.3 var(--font-ui) !important; text-overflow: clip !important; overflow: visible !important; }
  #how-story .metric-chip + .metric-chip { border-left: 1px solid color-mix(in srgb,var(--hb) 22%,white) !important; }
  /* The gray bubble names why instead of a rate ("—/mi · Missing data · No guess", as the app's gray
     bubble does), so its middle chip gets the room that reason needs down to 320px. */
  #how-story .ride-bubble.tone-gray .bubble-metrics { grid-template-columns: minmax(0,.75fr) minmax(0,1.4fr) minmax(0,1.1fr) !important; }
  #how-story .bubble-map { display: grid !important; place-items: center !important; width: 32px !important; height: 32px !important; padding: 6px !important; border: 1px solid color-mix(in srgb,var(--hb) 40%,white) !important; border-radius: 50% !important; background: var(--hf) !important; color: var(--hb) !important; }
  #how-story .bubble-map .rg-icon { width: 18px !important; height: 18px !important; color: var(--hb) !important; }
}

/* The shared Web Animations timeline uses opacity/transform only. Every row
   leaves together; no delayed row can spill into the following loop. */
#how-story[data-ready="true"] .hs-mile-route { stroke-dasharray: 1; }
#how-story .hs-scene[data-running="false"] * { animation-play-state: paused !important; }
@media (max-width: 800px) {
  #how-story { max-width: 640px; padding: 0 20px; }
  #how-story .hs-intro { padding: 32px 0 16px; }
  #how-story h1 { font-size: clamp(35px,7.3vw,49px); }
  #how-story .hs-intro > p { font-size: 16px; margin: 16px 0 20px; }
  #how-story .hs-desktop-break { display: none; }
  #how-story .hs-steps-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 420px; margin-inline: auto; }
  #how-story .hs-steps-nav a { justify-content: flex-start; }
  #how-story .hs-steps-nav a { gap: 8px; }
  #how-story .hs-scene, #how-story .hs-reverse { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 32px 0 38px; }
  #how-story .hs-scene + .hs-scene { padding-top: 38px; }
  #how-story .hs-reverse .hs-copy { order: 0; }
  #how-story .hs-offer-copy { display: contents; }
  #how-story .hs-offer-copy .hs-step { order: 0; margin: 0; }
  #how-story .hs-offer-copy h2 { order: 1; }
  #how-story .hs-offer-demo { order: 2; }
  #how-story .hs-offer-copy > p { order: 3; margin: 0; }
  #how-story .hs-offer-copy .hs-assurance { order: 4; margin: 0; }
  #how-story .hs-offer-copy .hs-text-link { order: 5; }
  #how-story .hs-step { margin-bottom: 15px; }
  #how-story h2 { font-size: 31px; }
  #how-story .hs-copy > p { margin-top: 16px; max-width: none; font-size: 15px; line-height: 1.75; }
  #how-story .hs-assurance { margin-top: 15px; padding: 13px 0 7px; }
  #how-story .hs-demo { border-radius: 20px; }
  #how-story .hs-demo-top { padding: 14px 16px; }
  #how-story .hs-demo-footer { padding-inline: 14px; }
  #how-story .hs-outro { display: grid; justify-items: start; padding: 24px 0 36px; }
  #how-story .hs-outro h2 { font-size: 23px; }
}
@media (max-width: 430px) {
  #how-story { padding: 0 16px; }
  #how-story h1 { font-size: 36px; }
  #how-story .hs-intro > small { font-size: 11px; }
  #how-story .hs-demo-top { font-size: 11px; padding: 14px 12px; }
  #how-story .hs-small-tag { font-size: 10px; }
  #how-story .hs-reads { padding: 22px 12px 16px; }
  #how-story .hs-explanation { padding: 20px 17px; }
  #how-story .hs-explanation h3 { font-size: 20px; }
  #how-story .hs-state-choices { margin: 0 12px 18px; gap: 5px; }
  #how-story .hs-state-choices button { font-size: 11px; gap: 5px; }
  #how-story .hs-ledger { padding: 22px 12px; }
  #how-story .hs-ledger-row, #how-story .hs-ledger-columns { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,.75fr); gap: 5px; padding-inline: 7px; }
  #how-story .hs-ledger-row > div { gap: 6px; }
  #how-story .hs-ledger-row small { font-size: 10px; }
  #how-story .hs-ledger-read { font-size: 9px; gap: 4px; padding: 4px; }
  #how-story .hs-choice { font-size: 11px; }
  #how-story .hs-correction { padding: 13px 10px; gap: 8px; }
  #how-story .hs-correction div > span { font-size: 11px; }
  #how-story .hs-correction small { font-size: 11px; }
  #how-story .hs-mileage-body { padding: 20px 14px; }
  #how-story .hs-tax-note { padding: 19px 15px; gap: 9px; }
  #how-story .hs-arrival-bubble { width: 94%; }
  #how-story .hs-steps-nav a { font-size: 12px; padding: 10px; }
  #how-story .hs-steps-nav .rg-icon { width: 16px; height: 16px; flex-basis: 16px; }
  #how-story .hs-offer-stage { padding-inline: 9px; }
  #how-story .hs-phone { border-width: 7px; border-radius: 34px; }
  #how-story .hs-offer-canvas { border-radius: 27px; }
  @layer fx-authoritative {
    #how-story .ride-bubble { grid-template-columns: 29px minmax(0,1fr) 27px !important; gap: 4px !important; padding: 4px !important; }
    #how-story .bubble-rg { width: 29px !important; height: 29px !important; border-radius: 9px !important; font-size: 12px !important; }
    #how-story .bubble-map { width: 27px !important; height: 27px !important; padding: 4px !important; }
    #how-story .bubble-metrics { min-height: 30px !important; }
    #how-story .metric-chip { font-size: 11px !important; }
  }
}
@media (prefers-reduced-motion: reduce) {
  #how-story *, #how-story *::before, #how-story *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 360px) {
  #how-story h2 { font-size: 28px; }
  #how-story .hs-ledger-heading h3 { font-size: 17px; }
}
