/*
 * Mobile composition layer.
 * This is deliberately independent from the desktop composition: one task,
 * one active detail, shorter routes and touch-first controls.
 */
@media (max-width: 700px) {
  :root {
    --mobile-gutter: 18px;
    --mobile-header: 66px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    background: #fff;
  }

  .container {
    width: calc(100% - (var(--mobile-gutter) * 2)) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .site-header {
    min-height: var(--mobile-header);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 10px 28px rgba(7, 29, 52, 0.08);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    min-height: var(--mobile-header);
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-primary-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .brand-copy strong {
    font-size: 19px;
    line-height: 1;
  }

  .brand-copy small {
    margin-top: 4px;
    font-size: 10px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    justify-self: end;
  }

  .nav-toggle span {
    margin: 3px 0;
  }

  .site-nav {
    top: calc(var(--mobile-header) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    max-height: calc(100dvh - var(--mobile-header) - 92px) !important;
  }

  .header-action {
    display: none !important;
  }

  main {
    min-width: 0;
  }

  .hero,
  .page-hero,
  .business-hero,
  .contact-page-hero {
    min-height: 0 !important;
    padding-top: var(--mobile-header) !important;
  }

  .hero-content,
  .page-hero-inner,
  .business-hero-inner {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 30px !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .hero-copy,
  .page-hero-copy,
  .business-hero-inner > div:first-child {
    width: 100%;
    min-width: 0;
    max-width: none !important;
  }

  .hero h1,
  body.subpage .page-hero-copy h1,
  body.subpage .business-hero h1,
  body.subpage .contact-page-hero h1,
  .contact-page-hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(35px, 10.3vw, 41px) !important;
    line-height: 1.14 !important;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .product-center-page .page-hero-copy h1 {
    font-size: clamp(34px, 9.7vw, 39px) !important;
  }

  .page-hero-partner .page-hero-copy h1,
  .page-hero-about .page-hero-copy h1 {
    font-size: clamp(33px, 9.2vw, 38px) !important;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0;
  }

  .hero-lead,
  .page-hero-copy > p:last-of-type,
  .business-hero-inner > div:first-child > p:last-of-type,
  .contact-page-hero .container > p:last-child {
    max-width: none !important;
    margin-top: 18px !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  .hero-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  body:not(.subpage):not(.profile-page) .hero-actions .button:nth-child(n + 2) {
    display: none;
  }

  body.subpage .hero-actions .button + .button {
    display: flex;
    min-height: 48px;
    background: transparent;
  }

  .hero-tags {
    width: calc(100vw - var(--mobile-gutter));
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding-right: var(--mobile-gutter);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hero-tags::-webkit-scrollbar,
  .scene-tabs::-webkit-scrollbar,
  .product-explorer-tabs::-webkit-scrollbar,
  .capability-directory-tabs::-webkit-scrollbar,
  .spotlight-grid::-webkit-scrollbar,
  .product-catalog-grid::-webkit-scrollbar,
  .service-ecosystem-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-tags span {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px !important;
    font-size: 12px !important;
    scroll-snap-align: start;
  }

  .hero-media-stage,
  .business-product-hero,
  .official-product-scene,
  .cashier-product-hero {
    width: 100% !important;
    min-width: 0;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 11;
    margin: 2px 0 0 !important;
    border-radius: 7px !important;
  }

  .hero-media-stage video,
  .business-product-hero > img,
  .official-product-scene > img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: cover;
  }

  .hero-media-caption {
    left: 18px;
    bottom: 20px;
  }

  .hero-media-stage > small {
    right: 16px;
    bottom: 22px;
  }

  .product-center-page .product-hero-inner {
    min-height: 0 !important;
    padding-top: 58px !important;
    padding-bottom: 42px !important;
  }

  .product-hero-rail {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
  }

  .product-hero-rail a {
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 13px 8px !important;
    border: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .product-hero-rail a:last-child {
    border-right: 0 !important;
  }

  .product-hero-rail small,
  .product-hero-rail a::after {
    display: none !important;
  }

  .product-hero-rail strong {
    font-size: 13px !important;
    line-height: 1.3;
    white-space: normal;
  }

  .page-hero-aside {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 6px;
  }

  .page-hero-aside button {
    min-width: 0;
    min-height: 54px !important;
    padding: 12px 14px !important;
    text-align: left;
    font-size: 14px !important;
    white-space: normal;
  }

  .service-hero-navigation {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 6px;
  }

  .service-hero-navigation a,
  .service-hero-navigation a:nth-child(n) {
    min-width: 0;
    min-height: 58px !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 11px 10px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .service-hero-navigation a:nth-child(even) {
    border-right: 0 !important;
  }

  .service-hero-navigation a:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }

  .service-hero-navigation strong {
    min-width: 0;
    font-size: 14px !important;
    line-height: 1.25;
    white-space: normal;
  }

  .service-hero-navigation i {
    display: none;
  }

  .partner-audience-panel {
    width: 100%;
    padding-top: 22px !important;
  }

  .partner-audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .partner-audience-list span {
    min-width: 0;
    min-height: 48px !important;
    padding: 10px !important;
    font-size: 13px;
    white-space: normal;
  }

  .about-year-visual,
  .business-symbol,
  .product-orbit,
  .support-signal {
    align-self: center;
    transform: scale(0.82);
    transform-origin: center;
  }

  .contact-page-hero {
    padding-bottom: 48px !important;
  }

  .contact-page-hero .container {
    width: calc(100% - (var(--mobile-gutter) * 2)) !important;
    margin: 0 auto !important;
    padding: 52px 0 0 !important;
  }

  body.subpage main > .section,
  .section {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  .section-heading,
  .heading-split {
    margin-bottom: 34px !important;
  }

  .heading-split,
  .split-showcase,
  .alliance-definition,
  .partner-register-inner,
  .contact-page-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.subpage :is(.section-heading, .heading-split, .split-showcase, .interface-copy) h2,
  .section-heading h2,
  .heading-split h2,
  .split-showcase h2,
  .alliance-definition h2,
  .contact-page-grid h2 {
    font-size: clamp(30px, 8.7vw, 35px) !important;
    line-height: 1.18 !important;
    text-wrap: balance;
  }

  .heading-split > p,
  .section-heading > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.72;
  }

  /* Mobile uses a horizontal selector and one full detail stage. */
  .scene-tabs,
  .product-explorer-tabs,
  .capability-directory-tabs,
  .spotlight-grid {
    width: calc(100vw - var(--mobile-gutter)) !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    margin-left: 0 !important;
    padding-right: var(--mobile-gutter) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .scene-tabs button,
  .product-explorer-tabs button,
  .capability-directory-tabs button,
  .spotlight-grid > article,
  .spotlight-grid > article:nth-child(n) {
    flex: 0 0 auto !important;
    min-width: 132px !important;
    min-height: 52px !important;
    display: grid !important;
    align-content: center;
    padding: 10px 13px !important;
    border: 1px solid rgba(11, 31, 58, 0.12) !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    scroll-snap-align: start;
  }

  .scene-tabs button.active,
  .product-explorer-tabs button.is-active,
  .capability-directory-tabs button.is-active,
  .spotlight-grid > article.is-active {
    color: #fff !important;
    border-color: #0d426f !important;
    background: linear-gradient(145deg, #071d34, #0d426f) !important;
  }

  .spotlight-grid > article h3,
  .spotlight-grid > article > strong {
    font-size: 15px !important;
  }

  .spotlight-grid > article::after {
    display: none;
  }

  .scene-stage,
  .product-explorer-stage,
  .capability-directory-stage,
  .spotlight-detail-panel {
    margin-top: 12px;
    border-radius: 7px !important;
  }

  .scene-panel {
    min-height: 390px !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 30px 22px !important;
  }

  .scene-index {
    font-size: 54px !important;
  }

  .scene-panel h3 {
    font-size: 29px !important;
    line-height: 1.2;
  }

  .scene-points {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .capability-directory-tabs button {
    grid-template-columns: auto 1fr !important;
  }

  .capability-directory-panel {
    grid-template-columns: 1fr !important;
  }

  .capability-directory-media,
  .capability-directory-media img {
    min-height: 230px !important;
    height: 230px !important;
  }

  .capability-directory-copy {
    padding: 30px 22px 34px !important;
  }

  .capability-directory-copy h3,
  .product-explorer-copy h3 {
    font-size: 32px !important;
  }

  .product-explorer-panel {
    grid-template-columns: 1fr !important;
  }

  .product-explorer-panel figure,
  .product-explorer-panel figure img {
    min-height: 230px !important;
    height: 230px !important;
  }

  .product-explorer-copy {
    padding: 30px 22px 34px !important;
  }

  .spotlight-detail-panel {
    min-height: 278px !important;
    padding: 28px 22px 32px !important;
  }

  /* Long desktop grids become a swipeable catalogue on mobile. */
  .product-catalog-grid,
  .service-ecosystem-grid {
    width: calc(100vw - var(--mobile-gutter)) !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding-right: var(--mobile-gutter) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-catalog-grid > a,
  .service-ecosystem-grid > a {
    flex: 0 0 min(82vw, 330px) !important;
    min-height: 0 !important;
    padding: 18px 18px 24px !important;
    border: 1px solid rgba(11, 31, 58, 0.1) !important;
    border-radius: 7px !important;
    scroll-snap-align: start;
  }

  .product-catalog-grid > a:last-child {
    grid-column: auto !important;
  }

  .product-catalog-grid h3,
  .service-ecosystem-grid h3 {
    margin-top: 18px !important;
    font-size: 24px !important;
  }

  .catalog-card-media,
  .catalog-official-scene {
    height: 190px !important;
  }

  .journey-list article,
  .service-timeline article,
  .route-line article,
  .vision-axis article {
    min-height: 0 !important;
  }

  .value-triptych,
  .capability-rows,
  .principle-line,
  .partner-profile-line,
  .business-use-grid,
  .service-timeline,
  .vision-axis,
  .contact-guidance .container {
    grid-template-columns: 1fr !important;
  }

  .route-line,
  .route-line.four-step,
  .route-line.six-step {
    width: calc(100vw - var(--mobile-gutter)) !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding: 8px var(--mobile-gutter) 8px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-top: 0 !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .route-line::-webkit-scrollbar,
  .material-checklist::-webkit-scrollbar,
  .product-matrix::-webkit-scrollbar,
  .business-entry-strip::-webkit-scrollbar {
    display: none;
  }

  .route-line article {
    flex: 0 0 min(72vw, 278px) !important;
    min-height: 148px !important;
    padding: 22px 20px !important;
    border: 1px solid rgba(11, 31, 58, 0.11) !important;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.9);
    scroll-snap-align: start;
  }

  .route-line article::before {
    display: none;
  }

  .motion-flow {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .motion-flow article {
    padding: 24px 18px !important;
    border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  }

  .page-dark-band .route-line article {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.06);
  }

  .page-dark-band .motion-flow article {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .motion-flow article:last-child {
    border-bottom: 0;
  }

  .material-checklist {
    width: calc(100vw - var(--mobile-gutter)) !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    padding-right: var(--mobile-gutter);
    overflow-x: auto;
    overflow-y: hidden;
    border: 0 !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .material-checklist span,
  .material-checklist span:nth-child(n) {
    flex: 0 0 min(44vw, 172px);
    min-height: 64px !important;
    padding: 12px 14px;
    border: 1px solid rgba(11, 31, 58, 0.11) !important;
    border-radius: 5px;
    background: #fff;
    scroll-snap-align: start;
  }

  .product-detail-nav .container {
    width: 100% !important;
    padding: 6px var(--mobile-gutter) !important;
    gap: 8px !important;
  }

  .product-back {
    width: 42px;
    min-width: 42px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    border-right: 1px solid rgba(11, 31, 58, 0.1);
  }

  .product-back::before {
    content: "←";
    color: var(--blue-600);
    font-size: 21px;
    line-height: 1;
  }

  .product-detail-links {
    flex: 1 1 auto;
    scroll-padding-inline: 12px;
    overscroll-behavior-inline: contain;
  }

  .product-detail-links a {
    min-height: 44px !important;
    padding-inline: 12px !important;
  }

  .spotlight-detail-panel {
    overflow: hidden !important;
  }

  /* The homepage uses a swipeable product story instead of four stacked desktop cards. */
  body:not(.subpage) .product-copy h2 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    text-wrap: balance;
  }

  body:not(.subpage) .product-layout {
    gap: 30px !important;
    min-width: 0;
  }

  body:not(.subpage) .product-copy {
    min-width: 0;
  }

  body:not(.subpage) .home-product-visual {
    height: 210px !important;
  }

  body:not(.subpage) .home-official-product > img {
    object-position: 68% center;
  }

  body:not(.subpage) .product-matrix {
    width: 100% !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    padding-right: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body:not(.subpage) .product-matrix article,
  body:not(.subpage) .product-matrix article:nth-child(n) {
    flex: 0 0 min(82vw, 320px) !important;
    min-height: 292px !important;
    border: 1px solid rgba(11, 31, 58, 0.1) !important;
    border-radius: 7px;
    scroll-snap-align: start;
  }

  body:not(.subpage) .product-matrix article > a {
    min-height: 292px !important;
  }

  body:not(.subpage) .business-entry-strip {
    width: 100% !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    margin-top: 24px !important;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body:not(.subpage) .business-entry-strip > span,
  body:not(.subpage) .business-entry-strip a {
    flex: 0 0 auto;
    min-width: 154px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px !important;
    border: 1px solid rgba(11, 31, 58, 0.11) !important;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.88);
    scroll-snap-align: start;
  }

  .cta-band-inner,
  .partner-register-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: left !important;
  }

  .cta-band .button,
  .partner-register .button {
    width: 100%;
  }

  .contact-page-grid {
    gap: 16px !important;
  }

  .contact-primary,
  .contact-secondary {
    min-height: 0 !important;
    padding: 28px 22px !important;
  }

  .contact-guidance .container {
    display: grid !important;
    gap: 0;
  }

  .contact-guidance article {
    padding: 22px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  }

  .contact-guidance article:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid !important;
    gap: 8px;
    text-align: left;
  }

  .mobile-contact-bar {
    min-height: 64px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 28, 51, 0.98);
    box-shadow: 0 -12px 32px rgba(5, 28, 51, 0.2);
  }

  .mobile-contact-bar > * {
    min-height: 48px;
  }

  /* Mobile performance and reliable first paint on Android browsers. */
  [data-reveal],
  .reveal,
  .motion-flow > *,
  .spotlight-detail-panel,
  .scene-panel,
  .product-explorer-panel,
  .capability-directory-panel {
    animation-duration: 0.18s !important;
    transition-duration: 0.18s !important;
  }
}

@media (max-width: 420px) {
  .hero h1,
  body.subpage .page-hero-copy h1,
  body.subpage .business-hero h1,
  body.subpage .contact-page-hero h1,
  .contact-page-hero h1 {
    font-size: 36px !important;
  }

  .product-center-page .page-hero-copy h1,
  .page-hero-partner .page-hero-copy h1,
  .page-hero-about .page-hero-copy h1 {
    font-size: 34px !important;
  }
}

@media (max-width: 700px) {
  .scanbox-hero {
    min-height: 0;
  }

  .scanbox-hero::after {
    inset: auto -55% -18% 8%;
    height: 420px;
  }

  .scanbox-hero-grid {
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(#000, transparent 84%);
    mask-image: linear-gradient(#000, transparent 84%);
  }

  .scanbox-hero-glow {
    width: 320px;
    height: 320px;
    right: -30%;
    top: 42%;
  }

  .scanbox-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 58px 48px;
  }

  .scanbox-policy-label {
    margin: 13px 0 18px;
    font-size: 11px;
  }

  .scanbox-hero h1 {
    max-width: none;
    font-size: 43px !important;
    line-height: 1.1;
  }

  .scanbox-hero h1 em {
    margin-top: 10px;
    font-size: 0.62em;
  }

  .scanbox-hero-copy > p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.65;
  }

  .scanbox-hero-actions,
  .scanbox-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 26px;
  }

  .scanbox-hero-actions .button,
  .scanbox-cta-actions .button {
    min-width: 0;
    width: 100%;
    padding-inline: 10px;
    font-size: 13px;
  }

  .scanbox-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
  }

  .scanbox-hero-facts span {
    min-height: 78px;
    padding: 14px 10px;
    display: grid;
    align-content: center;
    gap: 5px;
  }

  .scanbox-hero-facts span:first-child {
    padding-left: 0;
  }

  .scanbox-hero-facts b {
    font-size: 28px;
  }

  .scanbox-hero-facts small {
    font-size: 10px;
  }

  .scanbox-hero-poster {
    width: min(88vw, 330px);
    padding: 7px;
    transform: none;
  }

  .scanbox-heading-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .scanbox-heading-row h2,
  .scanbox-criteria-intro h2,
  .scanbox-service-copy h2 {
    font-size: 36px !important;
  }

  .scanbox-heading-row > p,
  .scanbox-criteria-intro > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.7;
  }

  .scanbox-reward-map {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .scanbox-reward-map article {
    min-height: 178px;
    padding: 22px 18px;
  }

  .scanbox-reward-map article > small {
    margin-top: 24px;
    font-size: 10px;
  }

  .scanbox-reward-map article > strong {
    font-size: 25px;
  }

  .scanbox-reward-map article > h3 {
    margin-top: 11px;
    font-size: 17px;
  }

  .scanbox-reward-total {
    min-height: 0;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .scanbox-reward-total strong {
    font-size: 38px;
  }

  .scanbox-reward-total span {
    font-size: 12px;
    text-align: left;
  }

  .scanbox-criteria-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .scanbox-criteria-intro {
    position: static;
  }

  .scanbox-criteria-intro > p:not(.eyebrow) {
    margin-top: 18px;
  }

  .scanbox-base-total {
    margin-top: 26px;
  }

  .scanbox-base-total strong {
    font-size: 27px;
  }

  .scanbox-criteria-timeline {
    gap: 12px;
  }

  .scanbox-criteria-timeline::before {
    left: 25px;
  }

  .scanbox-criteria-timeline article {
    min-height: 0;
    padding: 24px 20px 24px 72px;
  }

  .scanbox-step {
    left: 8px;
    top: 24px;
    width: 36px;
    height: 36px;
    font-size: 10px;
  }

  .scanbox-criteria-timeline h3 {
    font-size: 19px;
  }

  .scanbox-criteria-timeline ul {
    display: grid;
    gap: 7px;
  }

  .scanbox-criteria-timeline li {
    font-size: 13px;
  }

  .scanbox-scale-ladder {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .scanbox-scale-ladder article,
  .scanbox-scale-ladder article:nth-child(2),
  .scanbox-scale-ladder article:nth-child(3),
  .scanbox-scale-ladder article:nth-child(4) {
    min-height: 160px;
    padding: 22px 14px;
  }

  .scanbox-scale-ladder article.is-top {
    min-height: 188px;
  }

  .scanbox-scale-ladder strong {
    font-size: 18px;
    white-space: nowrap;
  }

  .scanbox-scale-ladder b {
    font-size: 21px;
  }

  .scanbox-scale-note {
    padding: 18px;
    display: grid;
    gap: 8px;
    font-size: 12px;
    line-height: 1.6;
  }

  .scanbox-merchant-layout {
    min-height: 0;
    padding-block: 58px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .scanbox-merchant-copy h2 {
    font-size: 40px !important;
  }

  .scanbox-merchant-copy > p:not(.eyebrow) {
    margin-top: 20px;
    font-size: 14px;
  }

  .scanbox-merchant-copy dl {
    margin-top: 26px;
  }

  .scanbox-merchant-copy dl div {
    padding: 12px 0;
    font-size: 13px;
  }

  .scanbox-activity-examples {
    padding: 26px 20px;
  }

  .scanbox-activity-head {
    padding-bottom: 18px;
    display: grid;
    gap: 7px;
  }

  .scanbox-activity-head strong {
    font-size: 16px;
    text-align: left;
  }

  .scanbox-activity-list article {
    min-height: 0;
    padding: 18px 0;
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .scanbox-activity-list article > span {
    width: 38px;
    height: 38px;
    font-size: 10px;
  }

  .scanbox-activity-list small {
    font-size: 11px;
  }

  .scanbox-activity-list strong {
    font-size: 14px;
  }

  .scanbox-device-capability {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .scanbox-device-visual {
    width: 205px;
  }

  .scanbox-capability-list {
    grid-template-columns: 1fr 1fr;
  }

  .scanbox-capability-list article {
    min-height: 92px;
    padding: 14px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 7px;
  }

  .scanbox-capability-list strong {
    font-size: 13px;
    line-height: 1.4;
  }

  .scanbox-service-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scanbox-stock-card,
  .scanbox-service-copy {
    min-height: 0;
    padding: 32px 24px;
  }

  .scanbox-stock-card strong {
    font-size: 43px;
  }

  .scanbox-service-points {
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .scanbox-service-points span {
    min-height: 68px;
    font-size: 13px;
  }

  .scanbox-policy-disclaimer .container {
    min-height: 0;
    padding-block: 28px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .scanbox-policy-disclaimer p {
    font-size: 10px;
  }

  .scanbox-cta .cta-band-inner {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  .scanbox-hero h1 {
    font-size: 39px !important;
  }

  .scanbox-hero h1 em {
    font-size: 0.59em;
  }

  .scanbox-hero-facts b {
    font-size: 25px;
  }

  .scanbox-reward-map article > strong {
    font-size: 22px;
  }
}
