/* Fullscreen homepage stages. The controller sets the live sticky-header height. */
:root {
  --home-screen-header-height: 74px;
}

body.site-v3.home-page {
  --home-screen-height: calc(100vh - var(--home-screen-header-height));
}

.site-v3.home-page #main-content {
  padding-top: var(--home-screen-header-height);
}

@supports (height: 100svh) {
  body.site-v3.home-page { --home-screen-height: calc(100svh - var(--home-screen-header-height)); }
}

@supports (height: 100dvh) {
  body.site-v3.home-page { --home-screen-height: calc(100dvh - var(--home-screen-header-height)); }
}

.site-v3.home-page,
.site-v3.home-page body {
  scroll-behavior: auto !important;
}

.site-v3.home-page [data-home-screen] {
  box-sizing: border-box;
  width: 100%;
  height: var(--home-screen-height);
  min-height: var(--home-screen-height);
  max-height: var(--home-screen-height);
  margin-block: 0 !important;
  scroll-margin-top: var(--home-screen-header-height);
}

.site-v3.home-page .home-hero[data-home-screen] {
  min-height: var(--home-screen-height);
  padding: 0;
}

.site-v3.home-page .home-hero__content {
  padding-block: clamp(28px, 5vh, 64px);
}

.site-v3.home-page .home-section[data-home-screen],
.site-v3.home-page .home-about-section[data-home-screen] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(20px, 3.4vh, 42px);
}

.site-v3.home-page .scene-section.scene-chapters[data-home-screen] {
  display: block;
  padding: clamp(16px, 2.6vh, 28px) 0;
}

.site-v3.home-page .home-torch-section[data-home-screen] {
  display: block;
  padding: 0;
}

.site-v3.home-page .home-torch-section .home-torch-shell {
  width: 100%;
  height: 100%;
}

.site-v3.home-page .home-torch-section .home-torch-hero {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.site-v3.home-page .home-torch-section .home-torch-hero__copy {
  width: min(640px, 58%);
  padding: clamp(52px, 12vh, 132px) 0 32px clamp(28px, 10.2vw, 146px);
}

.site-v3.home-page .home-about-section[data-home-screen] {
  padding-inline: 0;
}

.site-v3.home-page .site-footer[data-home-screen] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(24px, 4vh, 48px);
}

.site-v3.home-page .site-footer .footer-grid { padding-bottom: clamp(12px, 2vh, 22px); }
.site-v3.home-page .site-footer .footer-bottom { flex: 0 0 auto; }

.site-v3.home-page .home-screen-progress {
  position: fixed;
  z-index: 18;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(18, 35, 49, .84);
  box-shadow: 0 5px 18px rgba(12, 30, 44, .16);
  color: #fff;
  font: 600 11px/1.2 var(--font-sans, sans-serif);
  letter-spacing: .12em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.home-screen-transition .home-screen-snapshot {
  inset-inline: 0;
  margin: 0;
  will-change: transform, opacity, clip-path;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  animation-duration: 560ms;
  animation-timing-function: cubic-bezier(.22, .72, .24, 1);
  animation-fill-mode: both;
}

.home-screen-transition.is-vertical.is-forward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-push-out-up; }
.home-screen-transition.is-vertical.is-forward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-push-in-up; }
.home-screen-transition.is-vertical.is-backward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-push-out-down; }
.home-screen-transition.is-vertical.is-backward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-push-in-down; }

.home-screen-transition.is-wipe.is-forward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-wipe-out-left; }
.home-screen-transition.is-wipe.is-forward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-wipe-in-left; }
.home-screen-transition.is-wipe.is-backward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-wipe-out-right; }
.home-screen-transition.is-wipe.is-backward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-wipe-in-right; }

.home-screen-transition.is-depth.is-forward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-depth-out; }
.home-screen-transition.is-depth.is-forward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-depth-in-forward; }
.home-screen-transition.is-depth.is-backward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-depth-in-forward; animation-direction: reverse; }
.home-screen-transition.is-depth.is-backward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-depth-in-backward; }

.home-screen-transition.is-curtain.is-forward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-curtain-close-x; }
.home-screen-transition.is-curtain.is-forward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-curtain-open-x; }
.home-screen-transition.is-curtain.is-backward.is-playing .home-screen-snapshot--outgoing { animation-name: home-screen-curtain-close-y; }
.home-screen-transition.is-curtain.is-backward.is-playing .home-screen-snapshot--incoming { animation-name: home-screen-curtain-open-y; }

@keyframes home-screen-push-in-up { from { transform: translate3d(0, 12%, 0); opacity: .5; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes home-screen-push-out-up { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(0, -9%, 0); opacity: .34; } }
@keyframes home-screen-push-in-down { from { transform: translate3d(0, -12%, 0); opacity: .5; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes home-screen-push-out-down { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(0, 9%, 0); opacity: .34; } }

@keyframes home-screen-wipe-in-left { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes home-screen-wipe-out-left { from { opacity: 1; } to { opacity: .08; } }
@keyframes home-screen-wipe-in-right { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes home-screen-wipe-out-right { from { opacity: 1; } to { opacity: .08; } }

@keyframes home-screen-depth-in-forward { from { transform: perspective(1200px) scale(.86); opacity: 0; filter: blur(5px); } to { transform: perspective(1200px) scale(1); opacity: 1; filter: blur(0); } }
@keyframes home-screen-depth-in-backward { from { transform: perspective(1200px) scale(1.13); opacity: 0; filter: blur(4px); } to { transform: perspective(1200px) scale(1); opacity: 1; filter: blur(0); } }
@keyframes home-screen-depth-out { from { transform: perspective(1200px) scale(1); opacity: 1; } to { transform: perspective(1200px) scale(1.12); opacity: 0; } }

@keyframes home-screen-curtain-open-x { from { clip-path: inset(0 50%); transform: scaleX(.98); } to { clip-path: inset(0); transform: scaleX(1); } }
@keyframes home-screen-curtain-close-x { from { clip-path: inset(0); } to { clip-path: inset(0 50%); } }
@keyframes home-screen-curtain-open-y { from { clip-path: inset(50% 0); transform: scaleY(.98); } to { clip-path: inset(0); transform: scaleY(1); } }
@keyframes home-screen-curtain-close-y { from { clip-path: inset(0); } to { clip-path: inset(50% 0); } }

@media (max-width: 640px) {
  .site-v3.home-page .scene-section.scene-chapters[data-home-screen] { padding: 8px 0; }
  .site-v3.home-page .scene-chapters__layout { width: calc(100% - 24px); }
  .site-v3.home-page .scene-chapters__header { gap: 8px; margin-bottom: 8px; padding-bottom: 8px; }
  .site-v3.home-page .scene-chapters__header h2 { font-size: 27px; }
  .site-v3.home-page .scene-chapters__header p { max-width: 52%; font-size: 10px; }
  .site-v3.home-page .scene-chapters__pages { border: 0; }
  .site-v3.home-page .scene-chapter__inner { width: calc(100% - 32px); padding: 28px 0 max(54px, calc(env(safe-area-inset-bottom) + 46px)); }
  .site-v3.home-page .scene-chapter__title { max-width: min(100%, 236px); }
  .site-v3.home-page .scene-chapter__title-text { font-size: clamp(30px, 8vw, 38px); }
  .site-v3.home-page .scene-chapter__copy { max-width: calc(100% - 8px); }
  .site-v3.home-page .scene-chapter__headline { font-size: 13px; line-height: 1.5; }
  .site-v3.home-page .scene-chapter__summary { font-size: 11px; line-height: 1.55; }
  .site-v3.home-page .scene-chapter__cta { min-height: 40px; margin-top: 8px; padding-inline: 13px; font-size: 12px; }

  .site-v3.home-page .home-section[data-home-screen],
  .site-v3.home-page .home-about-section[data-home-screen],
  .site-v3.home-page .site-footer[data-home-screen] { padding-block: 14px; }

  .site-v3.home-page .home-torch-section[data-home-screen] { padding: 0; }
  .site-v3.home-page .home-torch-section .home-torch-hero { height: 100%; min-height: 0; max-height: none; }
  .site-v3.home-page .home-torch-section .home-torch-hero__copy { width: 100%; padding: clamp(42px, 8vh, 68px) 22px 0; }
  .site-v3.home-page .home-torch-section .home-torch-hero__copy h2 { max-width: 340px; font-size: clamp(40px, 10vw, 52px); }
  .site-v3.home-page .home-torch-section .home-torch-hero__copy > p:not(.home-torch-hero__eyebrow) { max-width: 300px; margin-top: 12px; font-size: 14px; }
  .site-v3.home-page .home-torch-section .home-torch-hero__cta { min-height: 42px; margin-top: 12px; }
  .site-v3.home-page .home-torch-section .home-torch-route { bottom: 56px; height: min(220px, 30vh); }

  .site-v3.home-page .home-about-section[data-home-screen] { padding-inline: 0; }
  .site-v3.home-page .home-about-section .shell { width: calc(100% - 36px); }
  .site-v3.home-page .home-about-section__head { grid-template-columns: minmax(0,1fr) auto; gap: 10px 14px; padding-bottom: 13px; }
  .site-v3.home-page .home-about-section__head h2 { margin-top: 5px; font-size: 32px; }
  .site-v3.home-page .home-about-section__head > p { grid-column: 1 / -1; grid-row: 2; font-size: 13px; line-height: 1.6; }
  .site-v3.home-page .home-about-section__link { grid-column: 2; grid-row: 1; align-self: end; min-height: 38px; padding-bottom: 2px; }
  .site-v3.home-page .home-about-section__intro { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; gap: 14px; padding-block: 14px 0; }
  .site-v3.home-page .home-about-section__photo img { aspect-ratio: 4 / 3; }
  .site-v3.home-page .home-about-section__photo figcaption { margin-top: 5px; font-size: 10px; text-align: left; }
  .site-v3.home-page .home-about-section__copy { padding-right: 0; }
  .site-v3.home-page .home-about-section__copy .eyebrow { font-size: 9px; }
  .site-v3.home-page .home-about-section__copy h3 { margin: 7px 0 8px; font-size: 19px; line-height: 1.35; }
  .site-v3.home-page .home-about-section__copy > p:not(.eyebrow) { font-size: 12px; line-height: 1.6; }
  .site-v3.home-page .home-about-section__copy a { min-height: 40px; gap: 6px; margin-top: 8px; font-size: 12px; }

  .site-v3.home-page .site-footer .footer-grid { padding-bottom: 12px; }
  .site-v3.home-page .site-footer .footer-grid h3 { margin-bottom: 8px; }
  .site-v3.home-page .site-footer .footer-grid > div:not(.footer-brand-block) { gap: 7px; }

  .site-v3.home-page .home-screen-progress { left: 14px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px 9px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-screen-transition .home-screen-snapshot { animation-duration: 1ms !important; }
}

/* Keep the eight business scenarios inside the second screen; join About and the footer into one final screen. */
.site-v3.home-page .home-ending-screen[data-home-screen] {
  display: grid;
  grid-template-rows: minmax(0, 2.3fr) minmax(180px, 1fr);
  overflow: hidden;
  background: #fff;
}

.site-v3.home-page .home-ending-screen > .home-about-section {
  display: block;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  padding: clamp(10px, 1.5vh, 18px) 0;
}

.site-v3.home-page .home-ending-screen .home-about-section .shell {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.site-v3.home-page .home-ending-screen .home-about-section__head {
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 20px;
  padding-bottom: 10px;
}

.site-v3.home-page .home-ending-screen .home-about-section__head h2 { margin-top: 5px; font-size: clamp(26px, 2.5vw, 34px); }
.site-v3.home-page .home-ending-screen .home-about-section__head > p { font-size: 13px; line-height: 1.55; }
.site-v3.home-page .home-ending-screen .home-about-section__link { min-height: 38px; }

.site-v3.home-page .home-ending-screen .home-about-section__intro {
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: 10px 0 0;
  border-bottom: 0;
}

.site-v3.home-page .home-ending-screen .home-about-section__photo { display: flex; height: auto; min-width: 0; min-height: 0; flex-direction: column; }
.site-v3.home-page .home-ending-screen .home-about-section__photo img { height: min(47vh, 435px); min-height: 0; flex: 0 1 auto; aspect-ratio: auto; object-fit: cover; }
.site-v3.home-page .home-ending-screen .home-about-section__copy { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; justify-content: center; align-self: center; }
.site-v3.home-page .home-ending-screen .home-about-section__photo figcaption { margin-top: 4px; font-size: 10px; }
.site-v3.home-page .home-ending-screen .home-about-section__copy h3 { margin: 6px 0 8px; font-size: clamp(20px, 2vw, 27px); line-height: 1.35; }
.site-v3.home-page .home-ending-screen .home-about-section__copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.6; }
.site-v3.home-page .home-ending-screen .home-about-section__copy a { min-height: 38px; margin-top: 6px; }

.site-v3.home-page .home-ending-screen > .site-footer {
  display: flex;
  height: 100%;
  min-height: 0;
  max-height: none;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
}

.site-v3.home-page .home-ending-screen .footer-grid {
  width: min(1360px, calc(100% - 48px));
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, .82fr) minmax(0, 1.35fr);
  align-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  padding-bottom: 0;
}

.site-v3.home-page .home-ending-screen .footer-grid > div { min-width: 0; }
.site-v3.home-page .home-ending-screen .footer-grid h3 { margin-bottom: 10px; }
.site-v3.home-page .home-ending-screen .footer-grid > .footer-brand-block > p { font-size: 12px; line-height: 1.6; }
.site-v3.home-page .home-ending-screen .footer-grid a:not(.brand) { font-size: 11px; line-height: 1.5; }
.site-v3.home-page .home-ending-screen .footer-qrcode { width: 60px; height: 60px; margin-top: 4px; }
.site-v3.home-page .home-ending-screen .footer-bottom { min-height: 46px; flex: 0 0 auto; }
.site-v3.home-page[data-home-screen-step="7"] .home-screen-progress { top: calc(var(--home-screen-header-height) + 8px); bottom: auto; }

@media (max-width: 860px) {
  .site-v3.home-page .home-ending-screen .home-about-section__head { grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr) auto; gap: 12px; }
  .site-v3.home-page .home-ending-screen .home-about-section__head > p { grid-column: auto; grid-row: auto; }
  .site-v3.home-page .home-ending-screen .home-about-section__intro { gap: 16px; }
  .site-v3.home-page .home-ending-screen .home-about-section__photo img { height: min(36vh, 320px); aspect-ratio: auto; }
  .site-v3.home-page .home-ending-screen .footer-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 10px;
  }
  .site-v3.home-page .home-ending-screen .footer-grid h3 { margin-bottom: 6px; font-size: 12px; }
  .site-v3.home-page .home-ending-screen .footer-grid a:not(.brand) { font-size: 10px; line-height: 1.35; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:not(.footer-brand-block) { gap: 5px; }
  .site-v3.home-page .home-ending-screen .footer-contact { grid-template-columns: 54px minmax(0, 1fr); gap: 2px 7px; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode { width: 54px; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode img { width: 54px; height: 54px; padding: 3px; }
}

@media (max-width: 640px) {
  .site-v3.home-page .home-ending-screen > .home-about-section { padding: 8px 0; }
  .site-v3.home-page .home-ending-screen .home-about-section .shell {
    width: calc(100% - 28px);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 10px;
  }
  .site-v3.home-page .home-ending-screen .home-about-section__head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
    padding-bottom: 7px;
  }
  .site-v3.home-page .home-ending-screen .home-about-section__head h2 { margin-top: 3px; font-size: 25px; }
  .site-v3.home-page .home-ending-screen .home-about-section__head > p { grid-column: 1 / -1; grid-row: 2; font-size: 10px; line-height: 1.35; }
  .site-v3.home-page .home-ending-screen .home-about-section__link { grid-column: 2; grid-row: 1; min-height: 30px; gap: 5px; font-size: 11px; }
  .site-v3.home-page .home-ending-screen .home-about-section__intro { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 5px; }
  .site-v3.home-page .home-ending-screen .home-about-section__photo { height: auto; align-self: stretch; }
  .site-v3.home-page .home-ending-screen .home-about-section__photo img { height: clamp(130px, 21vh, 175px); min-height: 0; flex: 0 0 auto; aspect-ratio: auto; object-fit: cover; }
  .site-v3.home-page .home-ending-screen .home-about-section__photo figcaption { margin-top: 3px; font-size: 8px; }
  .site-v3.home-page .home-ending-screen .home-about-section__copy .eyebrow { font-size: 8px; }
  .site-v3.home-page .home-ending-screen .home-about-section__copy h3 { margin: 4px 0 5px; font-size: clamp(14px, 4vw, 17px); line-height: 1.3; }
  .site-v3.home-page .home-ending-screen .home-about-section__copy > p:not(.eyebrow) { font-size: 10px; line-height: 1.4; }
  .site-v3.home-page .home-ending-screen .home-about-section__copy a { min-height: 28px; gap: 5px; margin-top: 3px; font-size: 10px; }

  .site-v3.home-page .home-ending-screen > .site-footer { padding-top: 0; }
  .site-v3.home-page .home-ending-screen .footer-grid {
    width: calc(100% - 28px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-content: center;
    gap: 7px 8px;
    padding-bottom: 5px;
    white-space: normal;
  }
  .site-v3.home-page .home-ending-screen .footer-brand-block { grid-column: 1; grid-row: 1; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .site-v3.home-page .home-ending-screen .footer-solutions { grid-column: 2; grid-row: 2; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(4) { grid-column: 3; grid-row: 2; }
  .site-v3.home-page .home-ending-screen .footer-brand-block .brand b { font-size: 16px; }
  .site-v3.home-page .home-ending-screen .footer-grid > .footer-brand-block > p { margin-top: 4px; font-size: 9px; line-height: 1.35; }
  .site-v3.home-page .home-ending-screen .footer-grid > .footer-brand-block > small { display: none; }
  .site-v3.home-page .home-ending-screen .footer-grid h3 { margin-bottom: 3px; font-size: 10px; }
  .site-v3.home-page .home-ending-screen .footer-grid a:not(.brand) { margin: 0; padding-block: 0; font-size: 9px; line-height: 1.2; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:not(.footer-brand-block) { gap: 3px; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(2),
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(4) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 2px 5px;
  }
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(2) h3,
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(4) h3 { grid-column: 1 / -1; }
  .site-v3.home-page .home-ending-screen .footer-solutions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 5px !important; }
  .site-v3.home-page .home-ending-screen .footer-solutions h3 { grid-column: 1 / -1; }
  .site-v3.home-page .home-ending-screen .footer-contact {
    display: grid !important;
    grid-column: 2 / 4;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 2px 6px !important;
    align-content: start;
  }
  .site-v3.home-page .home-ending-screen .footer-contact h3 { grid-column: 1 / -1; }
  .site-v3.home-page .home-ending-screen .footer-contact > a { grid-column: 1; white-space: normal; overflow-wrap: anywhere; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode { grid-column: 2; grid-row: 2 / span 4; width: 48px; height: auto; margin: 0; align-self: center; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode img { width: 40px; height: 40px; margin-inline: auto; padding: 3px; }
  .site-v3.home-page .home-ending-screen .footer-qrcode figcaption { margin-top: 2px; font-size: 7px; text-align: center; white-space: nowrap; }
  .site-v3.home-page .home-ending-screen .footer-bottom { display: grid; width: calc(100% - 28px); min-height: 0; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 2px 8px; padding-block: 5px 0; font-size: 8px; }
  .site-v3.home-page .home-ending-screen .footer-bottom > span { margin: 0; }
  .site-v3.home-page .home-ending-screen .footer-bottom div { grid-column: 1 / -1; width: auto; flex-wrap: nowrap; justify-content: space-between; gap: 4px 8px; margin: 0; }
  .site-v3.home-page .home-ending-screen .footer-bottom div a { margin: 0; white-space: nowrap; }
  .site-v3.home-page .home-ending-screen .footer-bottom div a { font-size: 8px; }
}

@media (max-width: 640px) and (max-height: 700px) {
  .site-v3.home-page .home-ending-screen[data-home-screen] { grid-template-rows: minmax(0, 2.3fr) minmax(0, 1fr); }
  .site-v3.home-page .home-ending-screen > .site-footer { padding-top: 0; }
  .site-v3.home-page .home-ending-screen .footer-grid { gap: 3px 6px; padding-bottom: 3px; }
  .site-v3.home-page .home-ending-screen .footer-brand-block .brand b { font-size: 15px; }
  .site-v3.home-page .home-ending-screen .footer-grid > .footer-brand-block > p { font-size: 7.5px; line-height: 1.18; }
  .site-v3.home-page .home-ending-screen .footer-grid h3 { margin-bottom: 2px; font-size: 9px; }
  .site-v3.home-page .home-ending-screen .footer-grid a:not(.brand) { font-size: 8px; line-height: 1.1; }
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(2),
  .site-v3.home-page .home-ending-screen .footer-grid > div:nth-child(4) { gap: 1px 3px; }
  .site-v3.home-page .home-ending-screen .footer-solutions { gap: 1px 3px !important; }
  .site-v3.home-page .home-ending-screen .footer-contact { grid-template-columns: minmax(0, 1fr) 42px; gap: 1px 4px !important; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode { width: 42px; }
  .site-v3.home-page .home-ending-screen .footer-contact .footer-qrcode img { width: 36px; height: 36px; }
  .site-v3.home-page .home-ending-screen .footer-qrcode figcaption { font-size: 6px; }
  .site-v3.home-page .home-ending-screen .footer-bottom { gap: 1px 6px; padding-top: 3px; font-size: 7px; line-height: 1.1; }
  .site-v3.home-page .home-ending-screen .footer-bottom div { gap: 2px 6px; }
  .site-v3.home-page .home-ending-screen .footer-bottom div a { font-size: 7px; }
}
