/* ==========================================================================
   Action Alerts landing page. Loads after the kit's tokens.css + rc.css.
   Mobile-first: base = phones, then 768 / 1024 / 1280 (kit formats.md §3).
   Light page only (user rule: no dark mode): every ground is white, #F9FAFB or the AA yellow; navy appears
   only as small fills (buttons, icon tiles, tooltips). Deviations from the kit, for contrast on the yellow
   theme (#FDB82B is 1.7:1 on white):
   - primary buttons are brand navy with a white label (.btn-navy);
   - no yellow text on white: eyebrows and links use ink, yellow stays a fill, marker or underline;
   - focus ring = navy + yellow so it shows on white and on yellow grounds.
   ========================================================================== */

.rc.rc--actionalerts {
  --navy: #162445;
  --navy-deep: #0D162B;
  --y: #FDB82B;
  --y-700: #E2A425;
  --y-500: #FFC755;
  --y-400: #FFD477;
  --y-300: #FEE19C;
  --y-200: #FFEDC3;
  --y-100: #FEF4DD;
  --y-50: #FEFAEF;
  --gut: 24px;
  --sec-y: 72px;
  /* one spacing scale for every layout gap on the page */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --content-gap: 40px;   /* section head → content, and content → section CTA (kit: 64 at desktop) */
  --nav-h: 72px;
  --h1: 600 clamp(34px, 10.4vw, 40px)/1.1 var(--rc-font-display);
  --h2: 600 30px/1.15 var(--rc-font-display);
  --rc-shadow-btn-focus: 0 0 0 2px var(--navy), 0 0 0 4px var(--y);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* depicted iPhone UI uses the system face: San Francisco on Apple devices, Inter elsewhere */
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}
@media (min-width: 768px) {
  .rc.rc--actionalerts { --gut: 48px; --sec-y: 96px; --content-gap: 48px; --h1: 600 52px/1.1 var(--rc-font-display); --h2: 600 36px/1.15 var(--rc-font-display); }
}
@media (min-width: 1280px) {
  .rc.rc--actionalerts { --gut: 100px; --sec-y: 120px; --content-gap: 64px; --nav-h: 96px; --h1: 600 64px/1.1 var(--rc-font-display); --h2: 600 44px/1.1 var(--rc-font-display); }
}

/* ---------- Base ---------------------------------------------------------- */
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
main, .foot { overflow-x: clip; }
.wrap { width: min(var(--rc-container), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rc [hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: #fff; font: var(--rc-label-14); }
.skip:focus { top: 12px; outline: none; box-shadow: var(--rc-shadow-btn-focus); }
:where(.rc) :focus-visible { outline: none; box-shadow: var(--rc-shadow-btn-focus); border-radius: 8px; }

.sec { padding: var(--sec-y) 0; position: relative; }
.sec--tint { background: var(--rc-n-25); }
.head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; margin-bottom: var(--content-gap); }
.head .lede { max-width: 600px; }
/* phones: section intros read from the same left edge as everything else */
@media (max-width: 767px) { .head { align-items: flex-start; text-align: left; } }
.h2 { font: var(--h2); letter-spacing: -0.02em; color: var(--rc-ink); text-wrap: balance; }
.h2 br { display: none; }
@media (min-width: 768px) { .h2 br { display: inline; } }
.lede { font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: var(--rc-body); text-wrap: pretty; }
@media (min-width: 1280px) { .head .lede { font: var(--rc-p-18); letter-spacing: var(--rc-p-ls); } }
/* The kit resets `.rc p, .rc h*` margins at (0,1,1), which beats a lone class. Margin rules on <p>/<h*> classes
   are therefore written `.rc .x` so they actually apply. */
.note-tag { font: var(--rc-p-12); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
.rc .note-tag--center { text-align: center; margin-top: var(--sp-5); }

/* one CTA per section (kit page-grammar §1.3): content-gap above, button → 12 → note */
.sec-cta { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); margin-top: var(--content-gap); text-align: center; }
.sec-cta--left { align-items: flex-start; text-align: left; }
.sec-cta__note { font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
@media (max-width: 479px) {
  .sec-cta { align-items: stretch; }
  .sec-cta .btn-navy { width: 100%; }
}

/* yellow product tile: the kit's extruded accent tile (white glyph on the AA gradient) */
.aa-tile { --s: 32px; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; border-radius: calc(var(--s) * .25); color: #fff;
  background: var(--rc-grad-icon-accent); box-shadow: var(--rc-chip-shadow-accent-deep), inset 0 0 0 .3px rgba(255,255,255,.8), inset 0 -1.5px 0 rgba(146,92,0,.18); }
.aa-tile svg { width: 58%; height: 58%; stroke-width: 1.75; filter: drop-shadow(0 .5px .5px rgba(120,72,0,.35)); }
.aa-tile--sm { --s: 28px; }
.aa-tile--32 { --s: 32px; border-radius: 6px; }
.aa-tile--24 { --s: 24px; border-radius: 6px; }

/* Primary on light grounds: brand navy, white label, yellow glyph */
.btn-navy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 8px 20px 12px; border-radius: var(--rc-r-btn);
  background: var(--navy); color: #fff; font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); white-space: nowrap;
  box-shadow: var(--rc-shadow-btn), inset 0 0 0 1px rgba(255,255,255,.06); transition: background-color .15s, transform .1s, box-shadow .15s; }
.btn-navy svg { width: 20px; height: 20px; color: var(--y); }
.btn-navy:hover { background: #1F3363; }
.btn-navy:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.btn-navy:focus-visible { box-shadow: var(--rc-shadow-btn-focus), var(--rc-shadow-btn); }
.btn-navy--sm { height: 44px; padding: 8px 16px 10px; font: var(--rc-label-14); letter-spacing: var(--rc-label-ls); }
.btn-navy--lg { height: 56px; padding: 8px 22px 12px; font: var(--rc-label-18); letter-spacing: var(--rc-label-ls); }

/* AA trigger chip (kit .rc-trigger--mono): label in ink, glyph in yellow; text never yellow on white */
.rc-trigger { background: var(--y-200); }
.rc-trigger > span { color: var(--rc-ink); white-space: nowrap; }
.rc-trigger > span svg { color: var(--y-700); width: 13px; height: 13px; }
.rc-trigger em { font-style: normal; }

/* ---------- Nav ----------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 16px 0; pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 6px 0 14px; border-radius: 16px; transition: background-color .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 48px; pointer-events: none; }
.nav.is-solid .nav__bar, .nav.is-open .nav__bar { background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--rc-shadow-nav), inset 0 0 0 .6px var(--rc-line); }
.nav__logo { display: block; margin-right: auto; border-radius: 6px; }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: none; }
.nav__auth { display: flex; align-items: center; gap: 4px; }
.nav__login { display: none; }
.nav__menu { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--rc-ink); transition: background-color .15s; }
.nav__menu:hover { background: var(--rc-n-50); }
.nav__menu svg { width: 24px; height: 24px; }
.nav__menu-close, .nav.is-open .nav__menu-open { display: none; }
.nav.is-open .nav__menu-close { display: block; }
.menu { pointer-events: auto; margin-top: 8px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .6px var(--rc-line); display: flex; flex-direction: column; gap: 12px; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 14px 12px; border-radius: 12px; font: var(--rc-label-18); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); }
.menu nav a:hover { background: var(--rc-n-25); }
.menu .btn-navy { width: 100%; height: 56px; font: var(--rc-label-18); }
@media (min-width: 1024px) {
  .nav { padding: 20px var(--gut) 0; }
  .nav__bar { height: 64px; padding: 0 8px 0 16px; gap: 24px; }
  .nav__logo img { height: 30px; }
  .nav__links { display: flex; align-items: center; gap: 4px; margin-right: auto; padding: 4px; border-radius: var(--rc-r-nav); background: #fff; box-shadow: var(--rc-shadow-nav), inset 0 0 0 .6px var(--rc-line); }
  .nav.is-solid .nav__links { box-shadow: none; background: transparent; }
  .nav__links a { padding: 10px 14px; border-radius: 10px; font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); transition: background-color .15s; }
  .nav__links a:hover, .nav__links a[aria-current="true"] { background: var(--rc-n-50); }
  .nav__auth { gap: 4px; padding: 4px; border-radius: var(--rc-r-nav); background: #fff; box-shadow: var(--rc-shadow-nav), inset 0 0 0 1px var(--rc-line-blue); }
  .nav.is-solid .nav__auth { box-shadow: none; background: transparent; }
  .nav__login { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 10px; font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); }
  .nav__login:hover { background: var(--rc-n-25); }
  .nav__menu, .menu { display: none !important; }
}

/* ---------- Guide lines + travelling pulses (kit motif 2) ---------------- */
.vlines { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.vlines i { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: linear-gradient(180deg, rgba(254,225,156,0) 0%, #FEE19C 46%, rgba(254,225,156,0) 100%); }
.vlines i::after { content: ""; position: absolute; left: -.5px; top: 0; width: 2px; height: 76px; border-radius: 1px; background: linear-gradient(180deg, rgba(253,184,43,0) 0%, #FDB82B 98%);
  transform: translateY(-80px); animation: vpulse 6.5s linear var(--d) infinite; }
.vlines--on-yellow i { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%); }
.vlines--on-yellow i::after { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 98%); }
@keyframes vpulse { 0% { transform: translateY(-80px); } 70%, 100% { transform: translateY(1500px); } }
.vlines i:nth-child(even), .vlines--hero { display: none; }
@media (min-width: 768px) { .vlines i:nth-child(even), .vlines--hero { display: block; } }
/* hero only: the rails lean 40° and the pulses fly up them, bottom left to top right, like messages heading out.
   Each rail is twice the panel's height so the tilt still crosses it edge to edge; the pulse element is as long as
   its rail with the streak painted at its leading (top) end, so translateY(-%) travels exactly one rail length. */
.vlines--hero i { top: -50%; bottom: -50%; transform: rotate(40deg); }
.vlines--hero i::after { left: -1px; top: 100%; width: 3px; height: 100%; border-radius: 0; transform: none;
  background: linear-gradient(0deg, rgba(253,184,43,0) 0%, #FDB82B 100%) 50% 0 / 100% 110px no-repeat;
  filter: drop-shadow(0 0 3px rgba(253,184,43,.7)); animation: vlaunch 5.2s cubic-bezier(.45, 0, .85, .6) var(--d) infinite; }
@keyframes vlaunch { 0% { transform: translateY(0); } 62%, 100% { transform: translateY(-112%); } }

/* ---------- Hero ---------------------------------------------------------- */
/* kit S-HERO: light canvas, yellow glow centred 40 px above the bottom edge; the story section carries .rc-hero-seam */
.hero__panel { position: relative; isolation: isolate; overflow: hidden; color: var(--rc-ink); padding-top: 112px; background: var(--rc-grad-hero); }
.hero__grid { display: grid; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); padding-bottom: var(--sp-7); }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font: var(--rc-label-14); letter-spacing: .02em; text-transform: uppercase; color: var(--rc-ink); }
.hero__title { display: flex; flex-direction: column; font: var(--h1); letter-spacing: -0.02em; gap: 2px; }
.hero__dim { display: block; height: 1.12em; overflow: hidden; color: rgba(15,23,42,.6); white-space: nowrap; }
.hero__event { display: inline-block; will-change: transform; }
.hero__pay { display: block; color: var(--rc-ink); text-wrap: balance; }
/* marker stroke behind the payoff words: yellow carries the emphasis, the words stay ink */
.hero__hl { padding: 0 .06em; margin: 0 -.06em; background: linear-gradient(180deg, transparent 56%, var(--y) 56%, var(--y) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lede { font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: var(--rc-body); max-width: 470px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-4); }
.rc .hero__note { font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); margin-top: calc(var(--sp-3) - var(--sp-4)); }
@media (max-width: 479px) {
  .hero__ctas { width: 100%; }
  .hero__ctas > * { flex: 1 1 100%; }
}
@media (min-width: 768px) {
  .hero__panel { padding-top: 136px; }
  .hero__lede { font: var(--rc-p-18); letter-spacing: var(--rc-p-ls); }
}
@media (min-width: 1024px) {
  .hero__panel { padding: 104px 0 var(--sp-6); min-height: clamp(760px, 100svh, 860px); display: flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 428px; gap: 40px; align-items: center; width: min(var(--rc-container), 100% - 2 * var(--gut)); }
  .hero__copy { padding: var(--sp-5) 0 var(--sp-7); }
}
@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 480px; }
  .hero__title { font-size: 56px; }
}
@media (min-width: 1440px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 560px; }
  .hero__title { font-size: 64px; }
}

/* ---------- Hero scene: order card → wire → phone ----------------------- */
.scene { position: relative; height: 816px; margin-inline: -8px; }
.scene__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.scene__wire-base { fill: none; stroke: var(--rc-n-200); stroke-width: 1.5; stroke-dasharray: 3 6; stroke-linecap: round; }
.scene__wire-glow { fill: none; stroke: url(#wireGrad); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }

.order { position: absolute; z-index: 3; left: 0; right: 0; top: 0; margin-inline: auto; width: min(332px, 100% - 16px); padding: 14px; border-radius: 16px; background: #fff; color: var(--rc-ink); font-family: var(--rc-font-ui); letter-spacing: -0.02em;
  box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .6px var(--rc-line); }
.order__head { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.order__store { display: flex; align-items: center; gap: 6px; color: var(--rc-ink); font-weight: 600; font-size: 13px; }
.order__store img { height: 16px; width: auto; }
.order__item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 12px; padding: 8px; border-radius: 12px; background: var(--rc-n-25); box-shadow: inset 0 0 0 .6px var(--rc-line); }
.order__thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #E9EDF3; }
.order__name { min-width: 0; }
.order__name b { display: block; font: 600 13px/1.3 var(--rc-font-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order__name span { font: 400 12px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.order__price { font: 600 13px/1 var(--rc-font-ui); font-variant-numeric: tabular-nums; }
.order__row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.order__cust { display: flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--rc-font-ui); }
.order__avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--y); font: 600 9.5px/1 var(--rc-font-ui); letter-spacing: 0; }
.order__status { display: grid; justify-items: end; }
.order__status > * { grid-area: 1 / 1; opacity: 0; transform: translateY(4px) scale(.94); transition: opacity .35s, transform .45s var(--ease-out); }
.order__status > .is-on { opacity: 1; transform: none; }
.pill-new { background: #fff; color: var(--rc-ink); box-shadow: inset 0 0 0 .8px var(--rc-n-200); }
.order__log { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: .6px solid var(--rc-line); display: flex; flex-direction: column; gap: 7px; font: 400 11px/1.3 var(--rc-font-mono); letter-spacing: -0.01em; }
.order__log li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; align-items: center; color: var(--rc-subtle); transition: color .3s; }
.order__log time { color: inherit; }
.order__log em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 6px; background: var(--y-100); color: var(--rc-ink); opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .4s var(--ease-out); }
.order__log em svg { width: 12px; height: 12px; color: var(--y-700); }
.order__log li.is-hit, .order__log li.is-done { color: var(--rc-ink); }
.order__log li.is-done em { opacity: 1; transform: none; }

.scene__chip { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; pointer-events: none; padding: 3px; background: var(--y); box-shadow: 0 10px 22px -10px rgba(226,164,37,.8); will-change: transform; }
.scene__chip > span { font-size: 13px; }

.phone { position: absolute; z-index: 2; left: 0; right: 0; top: 296px; margin-inline: auto; width: 288px; padding: 9px; border-radius: 46px;
  background: linear-gradient(155deg, #FFFFFF 0%, #EEF1F6 45%, #E2E7EF 100%);
  box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2.5px #C9D2DF, 0 44px 80px -40px rgba(15,37,76,.45), 0 2px 6px rgba(15,37,76,.1), 0 0 110px -20px rgba(253,184,43,.35); }
/* Chris's chosen wallpaper: dark indigo ribbons, so the clock, status bar and controls are white */
.phone__screen { position: relative; height: 480px; border-radius: 38px; overflow: hidden; font-family: var(--ios); background: #292943 url(../assets/img/lockscreen-wallpaper.webp) 50% 50% / cover no-repeat; }
.phone__island { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; border-radius: 99px; background: #0A1224; transform: translateX(-50%); z-index: 3; }
.phone__screen .ph-status--lock { position: absolute; left: 0; right: 0; top: 0; z-index: 2; color: #fff; }
.ph-status--lock .ph-bat { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.ph-status--lock .ph-bat::after { background: rgba(255,255,255,.55); }
/* iOS 26 Lock Screen: date over a heavy system-face clock, notifications stacked at the bottom above the torch and camera */
.phone__clock { position: absolute; left: 0; right: 0; top: 50px; text-align: center; color: #fff; text-shadow: 0 1px 12px rgba(10,40,110,.18); }
.phone__clock span { display: block; font: 600 13px/1.2 var(--ios); letter-spacing: -0.01em; opacity: .92; }
.phone__clock b { display: block; font: 700 64px/1 var(--ios); letter-spacing: -0.035em; margin-top: 2px; font-variant-numeric: tabular-nums; }
/* anchor sits 104px up: the tucked-behind slivers peek 16px lower and still clear the torch/camera row (top at 62px) by 26px */
.phone__stack { position: absolute; left: 8px; right: 8px; bottom: 104px; height: 0; }
.notif { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 11px 13px 11px 11px; border-radius: 20px; overflow: hidden; transform-origin: 50% 100%;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 22px -12px rgba(15,37,76,.35), inset 0 0 0 .5px rgba(255,255,255,.75); font-family: var(--ios); letter-spacing: -0.01em; color: #000; opacity: 0; will-change: transform; }
.notif.is-behind > * { opacity: 0; transition: opacity .2s; }
.notif__app { width: 30px; height: 30px; flex: none; overflow: hidden; border-radius: 7px; }
.notif__app img { width: 100%; height: 100%; }
.notif__app--gmail { display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.14); }
.notif__app--gmail img { width: 66%; height: auto; }
.notif__body { min-width: 0; flex: 1; font: 400 12.5px/1.3 var(--ios); }
.notif__top { display: flex; justify-content: space-between; gap: 8px; }
.notif__top b { font-weight: 600; font-size: 12.5px; }
.notif__top time { font-size: 11px; color: rgba(60,60,67,.6); }
.notif__title { font-weight: 600; }
.phone__quick { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; justify-content: space-between; }
.phone__quick span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.22); }
.phone__quick svg { width: 19px; height: 19px; }
.phone__home { position: absolute; left: 50%; bottom: 7px; width: 100px; height: 4px; margin-left: -50px; border-radius: 4px; background: rgba(255,255,255,.92); }

.toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; color: var(--rc-ink); font-family: var(--rc-font-ui); letter-spacing: -0.02em;
  box-shadow: 0 14px 30px -14px rgba(15,37,76,.32), 0 1px 2px rgba(15,37,76,.06), inset 0 0 0 .6px var(--rc-line); }
.toast__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--rc-grad-pill-green); box-shadow: var(--rc-chip-shadow-green), inset 0 0 0 .3px rgba(255,255,255,.8); flex: none; }
.toast__ic svg { width: 18px; height: 18px; stroke-width: 2; }
.toast p { display: flex; flex-direction: column; }
.toast b { font: 600 15px/1.2 var(--rc-font-ui); font-variant-numeric: tabular-nums; }
.toast p span { font: 400 12px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.scene__toast { position: absolute; z-index: 4; right: 4px; top: 470px; opacity: 0; }

@media (min-width: 768px) {
  .scene { width: 640px; margin-inline: auto; height: 600px; }
  .order { left: 24px; right: auto; top: 24px; margin: 0; width: 300px; }
  .phone { left: auto; right: 24px; top: 40px; margin: 0; width: 300px; }
  .phone__screen { height: 540px; }
  .scene__toast { right: auto; left: 40px; top: 404px; }
}
@media (min-width: 1024px) {
  .scene { width: auto; margin: 0; height: 660px; align-self: center; }
  .order { left: 0; top: 0; width: 240px; }
  .order__log li { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .phone { right: 0; top: 116px; width: 256px; }
  .phone__screen { height: 500px; }
  .phone__clock b { font-size: 52px; }
  .scene__toast { left: 0; top: 300px; bottom: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .order .order__thumb { display: none; }
  .order__item { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 1280px) {
  .order { width: 256px; }
  .phone { width: 276px; }
  .phone__screen { height: 520px; }
  .phone__clock b { font-size: 56px; }
}
@media (min-width: 1440px) {
  .order { width: 290px; }
  .phone { width: 296px; }
}

/* ---------- Story ---------------------------------------------------------- */
.story__head { align-items: flex-start; text-align: left; }
.story__head .note-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--rc-n-25); box-shadow: inset 0 0 0 .7px var(--rc-line); }
.story__grid { position: relative; }
.story__steps { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: flex; flex-direction: column; gap: var(--sp-7); }
.story__steps::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1.5px; background: var(--rc-line); border-radius: 2px; }
/* the yellow line follows the reader (JS sets --prog from scroll), then continues down .story__tail into the stats flood */
.story__steps::after { content: ""; position: absolute; left: 6px; top: 8px; width: 1.5px; height: calc((100% - 16px) * var(--prog, 0)); background: var(--y); border-radius: 2px; }
.story__tail { display: none; position: absolute; width: 1.5px; background: var(--rc-line); border-radius: 2px; pointer-events: none; }
.story__tail::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--y); transform-origin: top; transform: scaleY(var(--p, 0)); }
.js .story__tail { display: block; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.step::before { content: ""; position: absolute; left: -28px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rc-n-200); transition: background-color .3s, box-shadow .3s; z-index: 1; }
.step.is-active::before, .step.is-past::before { background: var(--y); box-shadow: inset 0 0 0 1.5px var(--y-700), 0 0 0 4px rgba(253,184,43,.22); }
.step__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* phones: date above the trigger chip on every step, so long triggers don't change the rhythm */
@media (max-width: 767px) { .step__meta { flex-direction: column; align-items: flex-start; } }
.step__day { font: 500 12px/1.3 var(--rc-font-mono); letter-spacing: 0; color: var(--rc-muted); text-transform: uppercase; }
.step__title { font: 600 22px/1.2 var(--rc-font-ui); letter-spacing: -0.02em; color: var(--rc-ink); }
.step__body { font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: var(--rc-body); max-width: 520px; }
.step__result { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--rc-n-25); box-shadow: inset 0 0 0 .7px var(--rc-line); font: 500 13px/1.2 var(--rc-font-ui); letter-spacing: -0.02em; color: var(--rc-ink); }
.step__result svg { width: 16px; height: 16px; color: var(--rc-muted); }
.step__result.is-sale { background: var(--rc-green-50); box-shadow: inset 0 0 0 .7px #BBF7D0; }
.step__result.is-sale svg { color: var(--rc-green-600); }
.step__msg { margin: var(--sp-3) 7px 0 0; max-width: 340px; }
.sec-cta--story { align-items: flex-start; text-align: left; padding-left: 28px; }
.story__device { display: none; }
.story__mbar { position: sticky; bottom: 14px; z-index: 20; display: flex; align-items: center; gap: var(--sp-2); width: max-content; max-width: calc(100% - 32px); margin: 32px auto 0; padding: 8px 10px 8px 8px; border-radius: 99px; background: #fff; color: var(--rc-ink); white-space: nowrap;
  box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .7px var(--rc-line); font: 500 13px/1 var(--rc-font-text); letter-spacing: -0.02em; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease-out); }
.story__mbar.is-on { opacity: 1; transform: none; }
.story__mbar b { font: 600 16px/1 var(--rc-font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--rc-ink); }
.story__mbar-k { color: var(--rc-body); margin-right: 2px; }
.story__mbar-lift { display: none; align-items: center; gap: 3px; padding: 4px 7px 4px 5px; border-radius: 99px; background: var(--rc-green-50); box-shadow: inset 0 0 0 .7px #BBF7D0; }
.story__mbar-lift.is-on { display: inline-flex; }
.story__mbar-lift svg { width: 13px; height: 13px; color: var(--rc-green-600); stroke-width: 2.2; }
.story__mbar .story__mbar-lift b { font: 600 12px/1 var(--rc-font-ui); letter-spacing: -0.02em; }
/* The story stops at every step. Touch screens use CSS scroll snap here; mouse, trackpad and keyboard get a JS pager
   instead (see story() in page.js: CSS snap pulls a short wheel scroll straight back and can trap the wheel on one
   step). Proximity (never mandatory) keeps iOS momentum; snap-stop: always on each step's first stop keeps a flick
   from carrying past a step. JS sets .is-story-snap on <html> only while the steps are on screen, so the intro
   above and the CTA below are never pulled back into the story.
   Phones + tablets: each step has two stops, its date line just under the nav (html's scroll-padding-top) and its
   phone screen fully in view above the sticky total pill. The snap areas are those two small boxes, never the whole
   step: a step taller than the screen would count as valid anywhere inside it and barely snap.
   Desktop: each step centres in the screen beside the sticky phone. The JS pager reads these same stops. */
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  html.is-story-snap { scroll-snap-type: y proximity; }
}
@media (max-width: 1023px) {
  .step__meta { scroll-snap-align: start; scroll-snap-stop: always; }
  .step__msg { scroll-snap-align: end; scroll-margin-bottom: 72px; }
}
@media (min-width: 1024px) {
  .step { scroll-snap-align: center; scroll-snap-stop: always; }
}

@media (min-width: 1024px) {
  .story__head .lede { max-width: 560px; }
  .story__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; }
  .story__steps { gap: 0; padding-left: 40px; }
  .sec-cta--story { padding-left: 40px; }
  .story__steps::before, .story__steps::after { left: 7px; }
  .step { min-height: 70vh; justify-content: center; padding: 40px 0; opacity: .32; transition: opacity .5s; }
  .step:first-child { min-height: 56vh; }
  .step::before { left: -40px; top: calc(50% - 7px); }
  .step.is-active { opacity: 1; }
  .step__title { font-size: 30px; }
  .step__body { font: var(--rc-p-18); letter-spacing: var(--rc-p-ls); }
  .js .step__msg { display: none; }
  .story__device { display: block; }
  /* centred on the line the steps stop on: the middle of the screen under the nav (html scroll-padding-top 88px).
     JS measures the phone + tally (--sticky-h) and scales them down when a short screen can't fit them */
  .story__sticky { position: sticky; top: max(96px, calc(50vh + 44px - var(--sticky-h, 690px) / 2)); display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
  .story__mbar { display: none; }
}

/* story phone: app screen holding the message mock */
.phone--story { position: relative; left: auto; top: auto; transform: none; width: 300px; box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2.5px #C9D2DF, 0 40px 70px -36px rgba(15,37,76,.4), 0 2px 6px rgba(15,37,76,.08); }
.phone__screen--app { height: 520px; background: #fff; }
.screen-msg { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.screen-msg.is-on { opacity: 1; visibility: visible; }
.screen-msg .screen { height: 100%; border-radius: 0; box-shadow: none; }
.tally { position: relative; z-index: 3; width: 300px; margin-top: var(--sp-4); padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .7px var(--rc-line); }
.tally__k { font: var(--rc-p-12); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
.tally__row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.tally__v { font: 600 30px/1.1 var(--rc-font-display); letter-spacing: -0.02em; color: var(--rc-ink); font-variant-numeric: tabular-nums; }
/* how much of the total the alerts brought in: hidden until the first alert-driven order */
.tally__lift { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-left: 12px; border-left: 1px solid var(--rc-line); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .5s var(--ease-out); }
.tally__lift.is-on { opacity: 1; transform: none; }
.tally__lift-v { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px 4px 6px; border-radius: 99px; background: var(--rc-green-50); box-shadow: inset 0 0 0 .7px #BBF7D0; }
.tally__lift-v svg { width: 14px; height: 14px; color: var(--rc-green-600); stroke-width: 2.2; }
.tally__lift-v b { font: 600 13px/1 var(--rc-font-ui); letter-spacing: -0.02em; color: var(--rc-ink); font-variant-numeric: tabular-nums; }
.tally__lift-k { font: 500 11.5px/1.2 var(--rc-font-text); letter-spacing: -0.01em; color: var(--rc-muted); white-space: nowrap; }
.rc .tally__meta { display: flex; gap: 12px; font: 500 12px/1.3 var(--rc-font-text); letter-spacing: -0.02em; color: var(--rc-body); margin-top: 4px; }
.tally__dots { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tally__dots li { height: 4px; border-radius: 4px; background: var(--rc-n-50); transition: background-color .4s; }
.tally__dots li.is-on { background: var(--y); }

/* ---------- Phone app screens: Gmail message view + iOS Messages -----------
   Drawn after the real apps (layout, greys, iOS bubble colours); no third-party marks.
   Inline on phones (white bezel ring), cloned into the sticky phone on desktop. */
.screen { position: relative; display: flex; flex-direction: column; height: 520px; overflow: hidden; border-radius: 28px; background: #fff; color: #1F1F1F; font-family: var(--rc-font-ui); letter-spacing: -0.01em;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--rc-line), var(--rc-shadow-mock-lg); }
.ph-status { flex: none; display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 6px 22px 0 28px; font: 600 13.5px/1 var(--ios); letter-spacing: -0.01em; color: #000; }
.ph-icons { display: flex; align-items: center; gap: 5px; }
.ph-icons .ic-wifi { width: 15px; height: 15px; stroke-width: 2.6; margin-top: -1px; }
.ph-sig { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.ph-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 6px; } .ph-sig i:nth-child(3) { height: 8px; } .ph-sig i:nth-child(4) { height: 10px; }
.ph-bat { position: relative; width: 22px; height: 11px; padding: 1.5px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(15,23,42,.4); }
.ph-bat::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(15,23,42,.4); }
.ph-bat i { display: block; width: 74%; height: 100%; border-radius: 1.5px; background: currentColor; }

.gm-bar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 14px; color: #444746; }
.gm-bar svg, .gm-reply svg { width: 20px; height: 20px; stroke-width: 1.75; }
.gm-acts, .gm-reply { display: flex; gap: 18px; color: #444746; }
.gm-reply { gap: 14px; }
.gm-body { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.gm-subj { padding: 4px 16px 14px; font: 400 18px/1.3 var(--rc-font-ui); letter-spacing: -0.015em; color: #1F1F1F; }
.gm-label { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 4px; background: #E9EEF6; font: 500 11px/1.3 var(--rc-font-ui); color: #444746; vertical-align: 2px; }
.gm-from { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 0 14px 14px 16px; }
.gm-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--y); font: 600 15px/1 var(--rc-font-ui); }
.gm-from p { display: flex; flex-direction: column; gap: 3px; min-width: 0; font: 400 12px/1.2 var(--rc-font-ui); color: #444746; }
.gm-from p > span:first-child { display: flex; align-items: baseline; gap: 6px; }
.gm-from b { font: 600 14px/1.2 var(--rc-font-ui); color: #1F1F1F; }
.gm-to { display: inline-flex; align-items: center; gap: 2px; }
.gm-to svg { width: 12px; height: 12px; }
.em { display: flex; flex-direction: column; gap: var(--sp-3); margin: 0 12px; padding: 16px 14px; border-radius: 14px; background: #F5F6F8; font: 400 12.5px/1.5 var(--rc-font-ui); color: #3C4043; }
.em-brand { font: 700 11px/1 var(--rc-font-display); letter-spacing: .26em; color: var(--navy); text-align: center; }
.em-hero { border-radius: 10px; overflow: hidden; background: #E8ECF2; }
.em-hero img { width: 100%; height: 118px; object-fit: cover; }
.em-h { font: 600 16px/1.25 var(--rc-font-display); letter-spacing: -0.015em; color: var(--rc-ink); }
.em-line { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: .7px solid var(--rc-line); }
.em-line b { color: var(--rc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.em-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; font: 500 13px/1 var(--rc-font-ui); box-shadow: inset 0 -2px 0 rgba(0,0,0,.22); }
.em-size { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.14); font: 500 11px/1 var(--rc-font-mono); }
.em-size svg { width: 11px; height: 11px; color: var(--y); }
.em-qr { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 .7px var(--rc-line); }
.em-qr img { width: 92px; height: 92px; }
.em-qr p, .em-swap p { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.em-qr b, .em-swap b { font: 600 13px/1.3 var(--rc-font-ui); color: var(--rc-ink); }
.em-swap { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: .7px solid var(--rc-line); }
.coupon { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--y-100); box-shadow: inset 0 0 0 .8px var(--y-300); font: 500 12px/1 var(--rc-font-mono); color: var(--rc-ink); }
.coupon svg { width: 14px; height: 14px; color: var(--y-700); }
.recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rec { display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 .6px var(--rc-line); font: 400 11px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.rec img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 4px; }
.rec b { font-weight: 600; color: var(--rc-ink); font-size: 11px; }
.rec--pick { box-shadow: inset 0 0 0 1.4px var(--y), 0 4px 12px -6px rgba(226,164,37,.6); }

/* iOS 26 Messages: glass back / FaceTime buttons, avatar with a name capsule, tails on the last bubble of each group */
.screen--imsg { font-family: var(--ios); }
.im-head { flex: none; position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; padding: 2px 12px 4px; background: linear-gradient(180deg, #fff 72%, rgba(255,255,255,0)); }
.im-btn { width: 34px; height: 34px; margin-top: 6px; border-radius: 50%; display: grid; place-items: center; color: #1C1C1E; background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.08), inset 0 1px 0 #fff; }
.im-btn svg { width: 18px; height: 18px; stroke-width: 2; }
.im-who { display: flex; flex-direction: column; align-items: center; }
.im-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #BCC6D5 0%, #96A2B5 100%); color: #fff; font: 500 19px/1 var(--ios); }
.im-who b { position: relative; display: flex; align-items: center; gap: 1px; margin-top: -5px; padding: 4px 8px 4px 10px; border-radius: 99px; background: rgba(255,255,255,.94);
  box-shadow: 0 2px 8px rgba(0,0,0,.1), 0 0 0 .5px rgba(0,0,0,.06); font: 600 11px/1 var(--ios); color: #000; }
.im-who b svg { width: 10px; height: 10px; color: #8E8E93; stroke-width: 2.4; }
.im-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 8px 14px 6px; }
.im-thread > * { flex-shrink: 0; }
/* like Messages: a short thread sits under the header; once it overflows, the newest text stays in view at the bottom */
.im-thread::after { content: ""; flex: 1 0 0; }
.rc .im-stamp { align-self: center; display: flex; flex-direction: column; align-items: center; margin: 12px 0 6px; font: 400 10px/1.35 var(--ios); color: #8E8E93; text-align: center; }
.im-stamp b { font-weight: 600; }
.im-in, .im-out { position: relative; max-width: 78%; padding: 7px 11px; border-radius: 16px; font: 400 13px/1.3 var(--ios); letter-spacing: -0.01em; }
.im-in { align-self: flex-start; background: #E9E9EB; color: #000; }
.im-out { align-self: flex-end; background: #34C759; color: #fff; }
.rc .im-out { margin-top: 8px; }
.im-in u { text-decoration-color: rgba(0,0,0,.55); text-underline-offset: 2px; }
.im-tail::before, .im-tail::after { content: ""; position: absolute; bottom: 0; height: 17px; }
.im-in.im-tail::before { left: -6px; width: 18px; background: #E9E9EB; border-bottom-right-radius: 14px 12px; }
.im-in.im-tail::after { left: -16px; width: 16px; background: #fff; border-bottom-right-radius: 9px; }
.im-out.im-tail::before { right: -6px; width: 18px; background: #34C759; border-bottom-left-radius: 14px 12px; }
.im-out.im-tail::after { right: -16px; width: 16px; background: #fff; border-bottom-left-radius: 9px; }
.im-link { width: 74%; padding: 0; background: #E9E9EB; }
.im-link__in { position: relative; z-index: 1; overflow: hidden; border-radius: 16px; }
.im-link__art { background: #E8ECF2; }
.im-link__art img { width: 100%; height: 108px; object-fit: cover; }
.im-link p { display: flex; flex-direction: column; gap: 1px; padding: 7px 11px 8px; font: 400 11px/1.3 var(--ios); color: #8E8E93; }
.im-link p b { font-weight: 600; font-size: 12px; color: #000; }
.im-input { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px 14px; }
.im-plus { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #1C1C1E; background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.1); }
.im-plus svg { width: 17px; height: 17px; stroke-width: 2; }
.im-field { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 10px 0 13px; border-radius: 17px; background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 0 .5px rgba(0,0,0,.12); font: 400 12.5px/1 var(--ios); color: #A1A1A6; }
.im-field svg { width: 16px; height: 16px; stroke-width: 1.8; color: #8E8E93; }

/* ---------- Stats (yellow field) ------------------------------------------ */
.stats { isolation: isolate; overflow: hidden; background: #fff; color: var(--navy); }
/* yellow field: JS starts it clipped to the story line and floods it out from the line's end on scroll; without JS it simply shows */
.stats__fill { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #FDB82B 0%, #FFC755 100%); }
.stats__line { display: none; position: absolute; top: 0; left: 0; z-index: -1; width: 1.5px; height: 0; border-radius: 0 0 2px 2px; background: var(--y); }
.js .stats__line { display: block; }
.stats__grid { display: grid; row-gap: var(--content-gap); }
.stats__cta { margin-top: 0; }
.stats .sec-cta__note { color: rgba(22,36,69,.8); }
.rc .eyebrow-ink { font: var(--rc-label-14); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); margin-bottom: var(--sp-2); }
.stats .h2 { color: var(--navy); }
.bignum { display: flex; flex-direction: column; font: 700 clamp(132px, 40vw, 260px)/.86 var(--rc-font-display); letter-spacing: -0.05em; color: var(--navy); }
.bignum small { font: 600 22px/1.2 var(--rc-font-display); letter-spacing: -0.01em; margin-bottom: 4px; }
/* the headline number in white so it separates from the navy copy around it */
.bignum__n { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 14px 36px rgba(146,92,0,.3), 0 2px 4px rgba(146,92,0,.12); }
.bignum sup { font-size: .42em; line-height: 1; margin-top: .12em; margin-left: .02em; }
.rc .stats__cap { font: var(--rc-label-20); letter-spacing: var(--rc-label-ls); color: var(--navy); max-width: 380px; margin-top: var(--sp-4); text-wrap: balance; }
/* the four supporting stats sit on a white card so the yellow field keeps one job: the 98% */
.stats__list { list-style: none; margin: 0; padding: 4px var(--sp-5); border-radius: 24px; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(120,72,0,.45), 0 2px 6px rgba(120,72,0,.08), inset 0 0 0 .7px rgba(255,255,255,.9); }
/* phones: icon + number on one line, the sentence below; three columns from tablet up */
.stats__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-3); row-gap: var(--sp-2); align-items: center; padding: var(--sp-5) 0; }
.stats__list p { grid-column: 1 / -1; }
/* green success tiles: the stats are good news, and the green pops on the white card */
.stats__ic { --s: 40px; border-radius: 11px; background: var(--rc-grad-icon-green); box-shadow: var(--rc-chip-shadow-green), inset 0 0 0 .3px rgba(255,255,255,.8), inset 0 -1.5px 0 rgba(10,90,40,.2); }
.stats__ic svg { stroke-width: 2; }
@media (min-width: 768px) {
  .stats__list li { grid-template-columns: 44px 120px minmax(0, 1fr); column-gap: var(--sp-4); }
  .stats__list p { grid-column: auto; }
  .stats__ic { --s: 44px; border-radius: 12px; }
}
.stats__list li + li { border-top: 1px solid var(--rc-line); }
.stats__list b { font: 600 38px/1 var(--rc-font-display); letter-spacing: -0.03em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats__list p { font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: var(--rc-body); }
@media (min-width: 1024px) {
  .stats__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "head list" "hero list" "cta list"; column-gap: 96px; row-gap: var(--sp-7); align-items: start; }
  .stats__head { grid-area: head; }
  .stats__hero { grid-area: hero; }
  .stats__cta { grid-area: cta; }
  .stats__list { grid-area: list; align-self: center; padding: var(--sp-2) var(--sp-6); }
  .stats__list li { grid-template-columns: 48px 132px minmax(0, 1fr); column-gap: var(--sp-5); padding: var(--sp-6) 0; }
  .stats__ic { --s: 48px; border-radius: 13px; }
  .stats__list b { font-size: 48px; }
}

/* ---------- Builder -------------------------------------------------------- */
.builder__stage { position: relative; display: grid; gap: 16px; padding: 16px; border-radius: 24px; background: var(--rc-grad-mock-panel); box-shadow: inset 0 0 0 1px rgba(253,184,43,.25); }
.triggers { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.triggers::-webkit-scrollbar { display: none; }
.triggers button { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 8px; border-radius: 14px; text-align: left; background: rgba(255,255,255,.66);
  box-shadow: inset 0 0 0 .8px rgba(226,232,240,.9); transition: background-color .2s, box-shadow .2s, transform .1s; }
.triggers button:hover { background: #fff; }
.triggers button:active { transform: translateY(1px); }
.triggers button[aria-checked="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--y), 0 10px 24px -12px rgba(226,164,37,.75), var(--rc-shadow-card); }
.triggers button:focus-visible { box-shadow: var(--rc-shadow-btn-focus); border-radius: 14px; }
.triggers__ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--rc-n-50); color: var(--rc-ink); transition: background .2s, color .2s; }
.triggers__ic svg { width: 20px; height: 20px; }
.triggers button[aria-checked="true"] .triggers__ic { background: var(--rc-grad-icon-accent); color: #fff; box-shadow: var(--rc-chip-shadow-accent-deep), inset 0 0 0 .3px rgba(255,255,255,.8); }
.triggers button[aria-checked="true"] .triggers__ic svg { filter: drop-shadow(0 .5px .5px rgba(120,72,0,.35)); }
.triggers b { display: block; font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); white-space: nowrap; }
.triggers small { display: block; font: var(--rc-p-12); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); white-space: nowrap; }

.rule { display: flex; flex-direction: column; background: #fff; border-radius: 20px; padding: 6px; font-family: var(--rc-font-ui); letter-spacing: -0.02em; box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .7px var(--rc-line); }
.rule__head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; }
.rule__head small { display: block; font: 400 11px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.rule__head b { display: block; font: 600 15px/1.3 var(--rc-font-ui); color: var(--rc-ink); }
.rule__live { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--rc-font-ui); color: var(--rc-body); }
.rule__live .rc-ui-toggle { background: var(--rc-green-500); }
.rule__block { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--rc-n-25); box-shadow: inset 0 0 0 .6px var(--rc-line); margin-top: 4px; }
.rule__k { font: 500 10.5px/1 var(--rc-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rc-muted); }
.rule__v { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.rule__v .rc-trigger > span { font-size: 13px; }
.chan, .chan > span { display: inline-flex; align-items: center; gap: 6px; }
.chan { height: 28px; padding: 0 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 .8px var(--rc-n-200); font: 500 13px/1 var(--rc-font-ui); color: var(--rc-ink); }
.chan svg { width: 15px; height: 15px; color: var(--navy); }
.chan em { font-style: normal; }
.rule__note { font: 400 13px/1.2 var(--rc-font-ui); color: var(--rc-body); }
.rule__all { font: 500 13px/1.2 var(--rc-font-ui); color: var(--rc-ink); }
/* message: key over the preview on phones. JS gives the card the height of its tallest alert, and the preview takes
   up the slack, so switching alerts never moves the page below */
.rule__block--msg { flex: 1; grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; }
.rule__preview { display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 .8px var(--rc-line); padding: 12px 14px 14px; }
.rc .rule__to { display: flex; justify-content: space-between; gap: 8px; font: 400 11px/1.3 var(--rc-font-ui); color: var(--rc-subtle); margin-bottom: 10px; }
.rule__to span + span { display: inline-flex; align-items: center; gap: 4px; color: var(--rc-body); }
.rule__to svg { width: 13px; height: 13px; color: var(--rc-muted); }
.tok { display: inline-block; padding: 0 6px; margin: 0 1px; border-radius: 6px; line-height: 1.5; background: var(--y-100); box-shadow: inset 0 0 0 .8px var(--y-300); font: 400 13px/1.55 var(--rc-font-mono); letter-spacing: -0.02em; color: var(--rc-ink); vertical-align: 1px; }
.tok.is-filled { padding: 0 1px; margin: 0; background: linear-gradient(180deg, transparent 60%, var(--y-200) 60%); box-shadow: none; font: inherit; font-weight: 600; vertical-align: 0; border-radius: 2px; }
/* block fields (order summary, return label) sit in the template as a dashed slot until they render */
.tok--block { display: flex; align-items: center; justify-content: center; min-height: 64px; margin: 0; border-radius: 10px; background: var(--y-50); box-shadow: inset 0 0 0 1px var(--y-300); outline: 1px dashed var(--y-700); outline-offset: -4px; }
.tok--block.is-filled { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 0; outline: 0; background: none; font-weight: 400; text-align: left; }
.em-btn .tok.is-filled { background: none; color: #fff; }
.mail__block .em-line:last-child span { color: var(--rc-ink); font-weight: 600; }

/* email alerts: the subject over the template, drawn like the story's Northloop emails */
.mail { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rc .mail__subj { display: flex; align-items: baseline; gap: 8px; font: 500 13px/1.5 var(--rc-font-ui); color: var(--rc-ink); }
.mail__k { flex: none; font: 500 10.5px/1 var(--rc-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rc-muted); }
.rule .mail__em { flex: none; width: 100%; max-width: 440px; margin: 0 auto; gap: 8px; padding: 14px; text-align: center; }
.rule .mail__em .em-btn { height: 36px; }
.mail__block { display: flex; flex-direction: column; justify-content: center; min-height: 64px; }
.mail__block .recs { text-align: left; }
.mail__block .rec img { width: 56px; align-self: center; }
.mlabel { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 .8px var(--rc-n-200); font: 400 11px/1.2 var(--rc-font-ui); color: var(--rc-body); }
.mlabel__top { display: flex; justify-content: space-between; align-items: baseline; font: 500 10.5px/1 var(--rc-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--rc-muted); }
.mlabel__top b { font: 700 14px/1 var(--rc-font-display); letter-spacing: 0; color: var(--rc-ink); }
.mlabel__bars { height: 22px; background: repeating-linear-gradient(90deg, var(--rc-ink) 0 2px, transparent 2px 4px, var(--rc-ink) 4px 5px, transparent 5px 8px, var(--rc-ink) 8px 11px, transparent 11px 12px); }

/* text alerts: one plain text, drawn as the Messages bubble it arrives as */
.sms { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 440px; margin: 0 auto; font-family: var(--ios); }
.rc .sms .im-stamp { margin-top: 2px; }
.sms .im-in { max-width: 88%; font-size: 14px; line-height: 1.4; }
.sms .im-field { flex: none; height: 32px; margin-top: auto; }
.rule__foot { display: flex; align-items: center; gap: 8px; padding: 12px 10px 8px; font: 400 12px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.rule__foot svg { width: 15px; height: 15px; color: var(--y-700); }
/* small phones: each row's key sits above its value, like a phone form, so the longest trigger chip
   ("Carrier Acceptance Scan") and a view with its filter fit on one line */
@media (max-width: 479px) { .rule__block { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.bullets { list-style: none; margin: var(--sp-7) 0 0; padding: 0; display: grid; gap: var(--sp-4); }
@media (max-width: 767px) { .bullets { margin-top: var(--content-gap); } }
.bullets li { display: flex; align-items: center; gap: 12px; font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); }
@media (min-width: 768px) {
  .builder__stage { padding: 24px; border-radius: 28px; }
  .triggers { margin: 0 -24px; padding: 2px 24px 6px; }
  .rule { padding: 8px; }
  .rule__block { grid-template-columns: 84px minmax(0, 1fr); padding: 14px 14px; }
  .rule__block--msg { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: 1fr; }
  .rule__block--msg .rule__k { align-self: start; padding-top: 4px; }
  .bullets { grid-template-columns: repeat(3, auto); justify-content: center; gap: 40px; }
}
@media (min-width: 1024px) {
  .builder__stage { grid-template-columns: 320px minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 32px; }
  .triggers { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 8px; }
  .triggers button { min-height: 60px; padding: 10px 16px 10px 10px; }
}
/* wide screens: the alert's settings in a column beside its message, so the card is about as tall as the trigger
   list instead of stacking everything; the three settings share the column's height, the triggers fill theirs */
@media (min-width: 1280px) {
  .rule { display: grid; grid-template-columns: minmax(0, 292px) minmax(0, 1fr); grid-template-rows: auto 1fr 1fr 1fr auto; column-gap: 4px; }
  .rule__head { grid-column: 1 / -1; grid-row: 1; }
  .rule__block { grid-column: 1; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 8px; }
  .rule__block--msg { grid-column: 2; grid-row: 2 / 5; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: stretch; }
  .rule__block--msg .rule__k { padding-top: 0; }
  .rule__foot { grid-column: 1 / -1; grid-row: 5; }
  .triggers button { flex: 1 1 0; }
}

/* ---------- Template editor (builder section) ------------------------------
   Drawn after the email editor an Action Alert opens (Beefree inside ReadyCloud): toolbar with the desktop/mobile
   toggle and Save, the email canvas with the template-variables "+" button, and the Content panel's ten blocks.
   JS drags blocks in on a loop; without JS (or with reduced motion) the finished email shows. */
.tpl { display: grid; gap: var(--sp-6); margin-top: var(--content-gap); }
.rc .tpl__title { font: 600 24px/1.2 var(--rc-font-display); letter-spacing: -0.02em; color: var(--rc-ink); text-wrap: balance; }
.tpl__list { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.tpl__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: var(--rc-body); }
.tpl__list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--y-700); stroke-width: 2; }
.tpl__list code { font: 400 13.5px/1.5 var(--rc-font-mono); padding: 1px 6px; border-radius: 6px; background: var(--y-100); box-shadow: inset 0 0 0 .8px var(--y-300); color: var(--rc-ink); white-space: nowrap; }

.ed { position: relative; overflow: hidden; border-radius: 20px; background: #fff; font-family: var(--rc-font-ui); letter-spacing: -0.02em; color: var(--rc-ink); user-select: none;
  box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .7px var(--rc-line); }
.ed__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 10px 0 12px; border-bottom: .7px solid var(--rc-line); font: 500 13px/1 var(--rc-font-ui); }
.ed__back { display: inline-flex; align-items: center; gap: 4px; margin-right: auto; min-width: 0; white-space: nowrap; }
.ed__back svg { width: 15px; height: 15px; color: var(--rc-muted); }
.ed__views { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--rc-n-50); }
.ed__views span { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 6px; color: var(--rc-muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.ed__views span.is-on { background: #fff; color: var(--rc-ink); box-shadow: 0 1px 2px rgba(15,37,76,.12), inset 0 0 0 .6px var(--rc-line); }
.ed__views svg { width: 15px; height: 15px; }
.ed__save { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 8px; background: var(--navy); color: #fff; font: 500 12px/1 var(--rc-font-ui); transition: transform .1s; }
.ed__save.is-press, .ed__views span.is-press { transform: scale(.94); }
.ed__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.ed__canvas { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 16px 14px 56px; background: var(--rc-n-25); }
.ed__mail { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 340px; padding: 18px 16px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 .7px var(--rc-line), 0 1px 3px rgba(15,37,76,.06); transition: max-width .5s var(--ease-out); }
.ed--mobile .ed__mail { max-width: min(236px, 82%); }
.ed__blk { position: relative; padding-top: 12px; }
/* the selected block's outline: one frame around the whole block, like the editor's */
.ed__blk::after { content: ""; position: absolute; inset: 6px -6px -4px; border-radius: 8px; box-shadow: 0 0 0 1.5px var(--y); opacity: 0; transition: opacity .25s; pointer-events: none; }
.ed__blk.is-sel::after { opacity: 1; }
.ed__blk > * { border-radius: 6px; }
.rc .ed__brand { text-align: center; font: 700 11px/1 var(--rc-font-display); letter-spacing: .26em; color: var(--navy); }
/* the template's banner: a brand line beside the Court Low packshot. The template goes out on every order, so the
   banner is the brand's, not one order's. The photo's own ground (#E2E8F0) is the banner's right-hand colour and its
   edges fade out, so the packshot sits in the banner without a box; it keeps its ratio (height set, width auto) */
.ed__banner { position: relative; display: flex; align-items: center; height: 104px; padding-left: 14px; overflow: hidden;
  background: linear-gradient(90deg, #F4F6FA 0%, #EAEEF4 38%, #E2E8F0 62%); }
.ed__banner-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ed__banner-copy b { font: 600 17px/1.08 var(--rc-font-display); letter-spacing: -0.025em; color: var(--navy); }
.ed__banner-copy span { font: 500 9px/1.2 var(--rc-font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--rc-muted); }
.ed__banner img { position: absolute; right: -4%; bottom: -14%; height: 128%; width: auto; max-width: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
/* narrow email (mobile view, phones): a smaller shoe moves out from under the copy and the category line drops */
.ed__banner { container-type: inline-size; }
@container (max-width: 280px) {
  .ed__banner img { left: 104px; right: auto; bottom: -2%; height: 100%; }
  .ed__banner-copy span { display: none; }
}
.rc .ed__h { text-align: center; font: 600 15px/1.35 var(--rc-font-display); letter-spacing: -0.015em; color: var(--rc-ink); }
.rc .ed__p { text-align: center; font: 400 12px/1.5 var(--rc-font-ui); color: #3C4043; }
.ed__var { padding: 1px 5px; border-radius: 5px; background: var(--y-100); box-shadow: inset 0 0 0 .8px var(--y-300); font: 400 11px/1.6 var(--rc-font-mono); letter-spacing: -0.02em; color: var(--rc-ink); white-space: nowrap; }
.ed__var--block { display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 8px; background: var(--y-50); outline: 1px dashed var(--y-700); outline-offset: -4px; }
.ed__btn { display: flex; align-items: center; justify-content: center; height: 34px; background: var(--navy); color: #fff; font: 500 12.5px/1 var(--rc-font-ui); }
.ed__social { display: flex; justify-content: center; gap: 14px; color: var(--rc-muted); }
.ed__social svg { width: 16px; height: 16px; }
/* the drop line: where the dragged block will land */
.ed__drop { position: relative; display: block; height: 0; }
.ed__drop::before { content: ""; position: absolute; left: -4px; right: -4px; top: 5px; height: 2px; border-radius: 2px; background: var(--y); opacity: 0; transition: opacity .15s; }
.ed__drop.is-on::before { opacity: 1; }
.ed__plus { position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 6px 14px -6px rgba(15,37,76,.6); }
.ed__plus svg { width: 16px; height: 16px; stroke-width: 2; }
.ed__panel { padding: 8px; border-bottom: .7px solid var(--rc-line); order: -1; }
.ed__tabs { display: none; }
.ed__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ed__tiles span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 56px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 0 0 .7px var(--rc-line), 0 1px 2px rgba(15,37,76,.06); font: 500 9.5px/1 var(--rc-font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--rc-body); transition: transform .12s, box-shadow .12s; }
.ed__tiles span:not([data-tile]) { display: none; }
.ed__tiles svg { width: 20px; height: 20px; color: var(--rc-ink); stroke-width: 1.5; }
.ed__tiles span.is-press { transform: scale(.93); box-shadow: inset 0 0 0 1.5px var(--y), 0 1px 2px rgba(15,37,76,.06); }
.ed__ghost { position: absolute; left: 0; top: 0; z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: #fff; pointer-events: none; opacity: 0;
  box-shadow: 0 10px 24px -8px rgba(15,37,76,.4), inset 0 0 0 1.5px var(--y); font: 500 11px/1 var(--rc-font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--rc-ink); }
.ed__ghost svg { width: 16px; height: 16px; stroke-width: 1.5; }
.ed__cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 22px; height: 22px; margin: -2px 0 0 -4.5px; transform-origin: 20% 10%; opacity: 0; pointer-events: none;
  fill: var(--rc-ink); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1px 1.5px rgba(15,37,76,.35)); }
@media (min-width: 768px) {
  .ed__body { grid-template-columns: minmax(0, 1fr) 236px; }
  .ed__canvas { padding: 20px 20px 60px; }
  .ed__panel { order: 0; padding: 10px; border-bottom: 0; border-left: .7px solid var(--rc-line); }
  .ed__tabs { display: flex; gap: 2px; margin-bottom: 10px; padding: 2px; border-radius: 8px; background: var(--rc-n-50); }
  .ed__tabs span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 26px; border-radius: 6px; font: 500 11px/1 var(--rc-font-ui); color: var(--rc-muted); }
  .ed__tabs span.is-on { background: #fff; color: var(--rc-ink); box-shadow: 0 1px 2px rgba(15,37,76,.12), inset 0 0 0 .6px var(--rc-line); }
  .ed__tabs svg { width: 13px; height: 13px; }
  .ed__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ed__tiles span, .ed__tiles span:not([data-tile]) { display: flex; height: auto; aspect-ratio: 1; }
}
@media (min-width: 1024px) {
  /* graphic left, copy right */
  .tpl { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center; margin-top: var(--sp-8); }
  .tpl__copy { order: 2; }
  .rc .tpl__title { font-size: 28px; }
}

/* ---------- Results dashboard -------------------------------------------- */
.dash { border-radius: 20px; background: #F0F4FA; padding: 6px; box-shadow: inset 0 0 0 1.4px #fff, 0 7px 24px rgba(6,64,139,.08), 0 2.4px 3.5px rgba(11,40,83,.1); }
.dash__screen { border-radius: 15px; background: #fff; padding: 14px; box-shadow: inset 0 0 0 .7px var(--rc-line); }
.dash__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.dash__top > b { font: 600 16px/1.2 var(--rc-font-ui); margin-right: auto; }
.dash__range, .dash__live { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 .8px var(--rc-line); font: 500 12px/1 var(--rc-font-ui); color: var(--rc-body); }
.dash__range svg { width: 14px; height: 14px; }
.dash__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rc-green-500); box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); } 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); margin-top: var(--sp-4); }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 .7px var(--rc-line); min-width: 0; }
.kpi span { font: 500 11.5px/1.2 var(--rc-font-ui); color: var(--rc-muted); }
.kpi b { font: 600 22px/1.1 var(--rc-font-ui); letter-spacing: -0.03em; color: var(--rc-ink); font-variant-numeric: tabular-nums; }
.kpi small { font: 400 11px/1.3 var(--rc-font-ui); color: var(--rc-muted); font-variant-numeric: tabular-nums; }
.kpi--accent { background: linear-gradient(180deg, var(--y-50), var(--y-100)); box-shadow: inset 0 0 0 1px var(--y-300); }
.kpi--accent small { color: var(--rc-ink); font-weight: 600; font-size: 12px; }
.dash__grid { display: grid; gap: var(--sp-3); margin-top: var(--sp-3); }
.atable { border-radius: 12px; box-shadow: inset 0 0 0 .7px var(--rc-line); overflow: hidden; }
.atable__head, .atable__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 10px 12px; font: 400 12px/1.25 var(--rc-font-ui); color: var(--rc-ink); }
.atable__head > :nth-child(2), .atable__row > :nth-child(2) { display: none; }
.atable__head { background: var(--rc-n-25); font-weight: 500; font-size: 11px; color: var(--rc-muted); }
.atable__row { border-top: .7px solid var(--rc-line); font-variant-numeric: tabular-nums; }
.atable__row > :last-child, .atable__head > :last-child { text-align: right; }
.atable__name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; }
.atable__name svg { width: 15px; height: 15px; flex: none; color: var(--rc-muted); }
.atable__bar { display: flex; align-items: center; gap: 8px; }
.atable__bar i { flex: 1; height: 8px; position: relative; }
.atable__bar i::after { content: ""; position: absolute; inset: 0; border-radius: 99px; transform-origin: left; transform: scaleX(calc(var(--w) * var(--p, 1))); background: var(--rc-grad-icon-accent); box-shadow: var(--rc-chip-shadow-accent); }
.atable__bar em { font-style: normal; width: 30px; text-align: right; color: var(--rc-body); }
.atable__row--top { background: var(--y-50); }
.atable__top { position: relative; font-weight: 600; }
.atable__tip { position: absolute; right: -4px; bottom: calc(100% + 10px); z-index: 2; height: 28px; white-space: nowrap; font-size: 11.5px; box-shadow: 0 8px 18px -8px rgba(13,22,43,.6); }
.atable__tip::after { content: ""; position: absolute; right: 14px; top: 100%; border: 6px solid transparent; border-top-color: var(--rc-blue-950); border-bottom: 0; }
.atable__tip svg { width: 14px; height: 14px; color: var(--y); }
/* phones: the row is too narrow for a tooltip above it, so the label sits inside the highlighted row, pointing up at 164 */
@media (max-width: 767px) {
  .atable__row--top { position: relative; padding-bottom: 48px; }
  .atable__top { position: static; }
  .atable__tip { right: 8px; bottom: 10px; }
  .atable__tip::after { top: auto; bottom: 100%; border-top: 0; border-bottom: 6px solid var(--rc-blue-950); }
}
/* activity: a fixed card (height comes from the table beside it); new items push in at the top and older ones fade out at the bottom */
.feed { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; box-shadow: inset 0 0 0 .7px var(--rc-line); overflow: hidden; }
.feed__title { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: .7px solid var(--rc-line); font: 600 13px/1 var(--rc-font-ui); }
.feed__title span { font: 400 11px/1 var(--rc-font-ui); color: var(--rc-subtle); }
.feed__viewport { position: relative; flex: 1; min-height: 232px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.feed__list { position: absolute; left: 14px; right: 14px; top: 14px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); will-change: transform; }
.feed__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.feed__list p { display: flex; flex-direction: column; min-width: 0; font: 400 11.5px/1.3 var(--rc-font-ui); color: var(--rc-muted); }
.feed__list p b { font-weight: 600; font-size: 12px; color: var(--rc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__list p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__list time { font: 400 11px/1 var(--rc-font-ui); color: var(--rc-subtle); }
.feed__ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--rc-n-50); color: var(--rc-ink); }
.feed__ic svg { width: 15px; height: 15px; }
.feed__ic--sale { background: var(--rc-grad-icon-accent); color: #fff; box-shadow: var(--rc-chip-shadow-accent); }
@media (min-width: 768px) {
  .dash { padding: 8px; border-radius: 24px; }
  .dash__screen { padding: 20px; border-radius: 17px; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi b { font-size: 26px; }
  .atable__head, .atable__row { grid-template-columns: minmax(0, 1.6fr) 56px minmax(0, 1.1fr) 48px; padding: 12px 14px; font-size: 12.5px; }
  .atable__head > :nth-child(2), .atable__row > :nth-child(2) { display: block; }
}
@media (min-width: 1024px) {
  .dash { max-width: 1080px; margin-inline: auto; }
  .dash__grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .feed__viewport { min-height: 0; }
}

/* ---------- Suite map ------------------------------------------------------ */
.suite__map { position: relative; display: flex; flex-direction: column; align-items: center; }
.suite__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.suite__wires .w-base { fill: none; stroke: var(--rc-n-200); stroke-width: 1.2; }
.suite__wires .w-pulse { fill: none; stroke: var(--y); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 22 var(--len, 600); stroke-dashoffset: 22; animation: wpulse var(--dur, 2.8s) linear var(--delay, 0s) infinite; }
@keyframes wpulse { to { stroke-dashoffset: calc(-1 * var(--len, 600)); } }
.rc .suite__cap { position: relative; z-index: 1; font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); text-align: center; margin-bottom: var(--sp-6); }
.suite__src { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 56px); gap: 16px 20px; justify-content: center; }
.suite__src li { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--rc-shadow-circle), 0 4px 10px -4px rgba(15,37,76,.12), inset 0 0 0 .6px var(--rc-line); }
.suite__src img { max-width: 56%; max-height: 46%; width: auto; height: auto; object-fit: contain; }
.suite__hub { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 64px; padding: 12px 20px 12px 12px; border-radius: 18px; background: #fff; box-shadow: var(--rc-shadow-mock-lg), inset 0 0 0 .7px var(--rc-line); }
.suite__hub img { width: 44px; height: auto; }
.suite__hub p { display: flex; flex-direction: column; }
.suite__hub b { font: 600 18px/1.2 var(--rc-font-display); letter-spacing: -0.015em; }
.suite__hub span { font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
.suite__prods { position: relative; z-index: 1; list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
/* phones: icon over name so "ReadyShipper X" never wraps in a half-width card */
.suite__prods a { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); height: 100%; padding: var(--sp-3); border-radius: 14px; background: #fff; box-shadow: var(--rc-shadow-card), inset 0 0 0 .7px var(--rc-line); transition: box-shadow .2s, transform .2s var(--ease-out); }
.suite__prods a:hover { transform: translateY(-2px); box-shadow: var(--rc-shadow-mock), inset 0 0 0 .7px var(--rc-n-200); }
.suite__prods img { height: 30px; width: auto; flex: none; }
.suite__prods .aa-tile, .suite__prods .rc-itile { --s: 30px; }
.suite__prods b { display: block; font: var(--rc-label-14); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); white-space: nowrap; }
.suite__prods small { font: var(--rc-p-12); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
.suite__prods .is-here a { box-shadow: inset 0 0 0 1.5px var(--y), 0 12px 26px -14px rgba(226,164,37,.8); }
@media (min-width: 768px) {
  .suite__src { grid-template-columns: repeat(8, 64px); gap: 24px; }
  .suite__src li { width: 64px; height: 64px; }
  .suite__hub { margin-top: 88px; }
  .suite__prods { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; gap: 16px; margin-top: 88px; }
  .suite__prods a { flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; }
  .suite__prods img { height: 34px; }
  .suite__prods .aa-tile, .suite__prods .rc-itile { --s: 34px; }
}
@media (min-width: 1280px) {
  .suite__src { gap: 40px; }
  .suite__src li { width: 72px; height: 72px; }
}

/* ---------- FAQ ------------------------------------------------------------ */
.faq__grid { display: grid; gap: 32px; }
.faq__side { display: flex; flex-direction: column; gap: 24px; }
.faq__help { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 16px; background: var(--rc-n-25); box-shadow: inset 0 0 0 1px var(--rc-line); }
.faq__help p { display: flex; flex-direction: column; gap: 4px; font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-body); }
.faq__help p b { font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); }
.faq__help-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.faq__help-links a { display: inline-flex; align-items: center; gap: 6px; font: var(--rc-label-14); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.faq__help-links svg { width: 16px; height: 16px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.rc-faq__item { padding: 18px 18px; }
.rc-faq__q { font: var(--rc-label-16); letter-spacing: var(--rc-label-ls); }
.rc-faq__toggle svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .3s var(--ease-out); }
details.rc-faq__item[open] .rc-faq__toggle { background: var(--navy); color: var(--y); }
details.rc-faq__item[open] .rc-faq__toggle .ic-plus { display: block; transform: rotate(45deg); }
.rc-faq__a { overflow: hidden; margin-top: 0; }
.rc-faq__a p { padding-top: 12px; }
.rc-faq__a a { color: var(--rc-ink); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .rc-faq__item { padding: 22px 24px; }
  .rc-faq__q { font: var(--rc-label-18); letter-spacing: var(--rc-label-ls); }
}
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
  .faq__side { position: sticky; top: 120px; }
}

/* ---------- CTA panel ------------------------------------------------------ */
.cta { padding: 0 8px; }
.cta__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; color: var(--navy); padding: var(--sp-8) var(--sp-4); display: grid; place-items: center; text-align: center;
  background: radial-gradient(60% 70% at 50% 0%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #FDB82B 0%, #FFC755 100%); }
.cta__body { position: relative; z-index: 1; width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.cta__eyebrow { font: var(--rc-label-14); letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.cta__title { display: flex; flex-direction: column; font: var(--h1); letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
.cta__title span:first-child { color: #566079; } /* "ink@60%" as a solid cool slate: transparent navy over yellow turns olive */
.cta__lede { font: var(--rc-p-16); letter-spacing: var(--rc-p-ls); color: rgba(22,36,69,.84); max-width: 480px; }
.cta__form { margin-top: var(--sp-4); width: 100%; height: auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 22px 44px -22px rgba(120,72,0,.6), inset 0 0 0 1px rgba(22,36,69,.08); }
.cta__form:focus-within { box-shadow: 0 22px 44px -22px rgba(120,72,0,.6), inset 0 0 0 1.5px var(--navy); }
/* column form on phones: the kit's flex: 1 would collapse the field to its text height */
.cta__form input { flex: none; height: 52px; padding: 0 14px; font-size: 16px; color: var(--rc-ink); }
.cta__form input::placeholder { color: var(--rc-n-300); }
.cta__form .btn-navy { width: 100%; }
.cta__form .rc-email__msg { position: static; justify-content: center; min-height: 0; color: var(--navy) !important; font-weight: 500; }
.cta__form .rc-email__msg:empty { display: none; }
.cta__form input:focus-visible { box-shadow: none; }
/* phones: one fact per line; one row with dot separators from tablet up */
.rc .cta__meta { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); margin-top: calc(var(--sp-3) - var(--sp-4)); font: var(--rc-label-14); letter-spacing: var(--rc-label-ls); color: rgba(22,36,69,.78); }
.cta__meta i { display: none; width: 4px; height: 4px; border-radius: 50%; background: rgba(22,36,69,.35); }
@media (min-width: 768px) {
  .cta { padding: 0 12px; }
  .rc .cta__meta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
  .cta__meta i { display: block; }
  .cta__panel { border-radius: 32px; padding: 120px 48px; }
  .cta__lede { font: var(--rc-p-18); letter-spacing: var(--rc-p-ls); }
  .cta__form { flex-direction: row; align-items: center; height: 72px; padding: 8px 8px 8px 24px; }
  .cta__form input { flex: 1; height: 100%; padding: 0; font-size: 18px; }
  .cta__form .btn-navy { width: auto; }
  .cta__form .rc-email__msg { position: absolute; top: calc(100% + 12px); left: 0; right: 0; }
  .cta__body:has(input[aria-invalid="true"]) .cta__meta { margin-top: 44px; }
}

/* ---------- Footer --------------------------------------------------------- */
.foot { padding: var(--sp-5) 0 28px; }
@media (min-width: 768px) { .foot { padding-top: 56px; } }
.foot__top { display: grid; gap: 40px; }
.foot__logo { display: inline-block; }
.foot__logo img { height: 28px; width: auto; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot__cols div { display: flex; flex-direction: column; gap: 4px; }
.foot__cols p { font: var(--rc-p-14); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); margin-bottom: 8px; }
.foot__cols a { padding: 6px 0; font: var(--rc-label-14); letter-spacing: var(--rc-label-ls); color: var(--rc-ink); transition: color .15s; }
.foot__cols a:hover { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rc-line); font: var(--rc-p-12); letter-spacing: var(--rc-p-ls); color: var(--rc-muted); }
.foot__bar nav { display: flex; gap: 20px; }
.foot__bar a:hover { color: var(--rc-ink); }
@media (min-width: 768px) {
  .foot__top { grid-template-columns: minmax(0, 1fr) auto; }
  .foot__cols { grid-template-columns: repeat(3, 180px); }
}

/* ---------- Motion fallbacks ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vlines i::after, .suite__wires .w-pulse, .dash__pulse { animation: none; }
  .suite__wires .w-pulse { display: none; }
  .step, .story__steps::after, .order__status > *, .order__log li, .order__log em { transition: none; }
}
