:root {
  --brand: #f37f43;
  --ink: #322f2e;
  --muted: #524f55;
  --footer: #dbe5ff;
  --page-width: 1440px;
  --page-height: 900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF UI Text", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.home-shell {
  position: relative;
  width: min(100%, var(--page-width));
  min-height: var(--page-height);
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
}

.h5-bg,
.h5-fox,
.logo-h5 {
  display: none;
}

.web-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 730px;
  height: 900px;
  object-fit: contain;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 60px;
  right: 60px;
  left: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  width: 310px;
  height: 80px;
  text-decoration: none;
}

.logo-web {
  width: 310px;
  height: 80px;
}

.support-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 72px;
  color: var(--ink);
  font-family: "SF UI Text", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.support-entry span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 56px;
  background: #ffc34d;
  border: 1px solid #ffffff;
  border-radius: 100px;
  box-shadow: 0 4px 4px rgba(255, 184, 122, 0.25);
}

.hero {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: absolute;
  top: 240px;
  left: 120px;
  width: 742px;
}

.hero h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 span:first-child {
  color: var(--ink);
}

.hero h1 span:last-child {
  margin-top: 8px;
  color: var(--brand);
}

.hero p {
  width: 741px;
  margin: 32px 0 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.store-actions {
  position: absolute;
  z-index: 2;
  top: 570px;
  left: 120px;
  display: flex;
  width: 214px;
  height: 70px;
}

.store-badge {
  display: block;
  flex: 0 0 214px;
  width: 214px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

.store-badge img {
  width: 214px;
  height: 70px;
}

.brand:focus-visible,
.support-entry:focus-visible,
.store-badge:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(243, 127, 67, 0.45);
  outline-offset: 4px;
}

.site-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 89px;
  background: var(--footer);
}

.footer-inner {
  position: relative;
  width: 956.5px;
  height: 20px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.footer-inner p {
  position: absolute;
  top: 1.5px;
  margin: 0;
  white-space: nowrap;
}

.footer-inner p:first-child {
  left: 0;
  width: 264px;
}

.footer-inner p:nth-child(2) {
  left: 352px;
  width: 273px;
}

.site-footer nav {
  position: absolute;
  top: 0;
  left: 713px;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 243.5px;
  height: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.site-footer nav span {
  display: block;
  width: 1.5px;
  height: 16px;
  background: var(--muted);
}

.site-footer a {
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  html,
  body {
    background: #ffffff;
  }

  .home-shell {
    width: min(100%, 390px);
    min-height: 844px;
    margin: 0 auto;
  }

  .web-bg,
  .logo-web {
    display: none;
  }

  .h5-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 844px;
    object-fit: cover;
  }

  .site-header {
    top: 80px;
    right: 32px;
    left: 32px;
  }

  .brand,
  .logo-h5 {
    width: 140px;
    height: 36px;
  }

  .logo-h5 {
    display: block;
  }

  .support-entry {
    width: 132px;
    height: 36px;
    font-size: 14px;
  }

  .support-entry span {
    width: 120px;
    height: 36px;
  }

  .h5-fox {
    position: absolute;
    z-index: 2;
    top: 148px;
    left: 50%;
    display: block;
    width: 128px;
    height: 128px;
    transform: translateX(-50%);
  }

  .hero {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .hero-copy {
    top: 276px;
    left: 50px;
    width: 290px;
    text-align: center;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero h1 span:last-child {
    margin-top: 0;
    line-height: 1.5;
  }

  .hero p {
    width: 290px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.3;
  }

  .store-actions {
    top: 506px;
    left: 50%;
    display: block;
    width: 214px;
    height: 70px;
    transform: translateX(-50%);
    z-index: 4;
  }

  .store-actions .store-badge {
    position: absolute;
    left: 0;
    top: 0;
  }

  .site-footer {
    top: 616px;
    bottom: auto;
    height: 74px;
    background: transparent;
  }

  .footer-inner {
    width: 274px;
    height: 74px;
    margin: 0 auto;
    font-size: 14px;
  }

  .footer-inner p {
    top: auto;
    left: 0;
    width: 274px;
    text-align: center;
    white-space: nowrap;
  }

  .footer-inner p:first-child {
    top: 36px;
    left: 0;
    width: 274px;
  }

  .footer-inner p:nth-child(2) {
    top: 57px;
    left: 0;
    width: 274px;
  }

  .site-footer nav {
    top: 0;
    left: 0;
    justify-content: center;
    gap: 13px;
    width: 274px;
  }
}

@media (min-width: 901px) and (max-width: 1439px) {
  body {
    min-height: calc(900px * (100vw / 1440));
  }

  .home-shell {
    width: 1440px;
    min-height: 900px;
    transform: scale(calc(100vw / 1440));
    transform-origin: top left;
  }
}

@media (max-width: 389px) {
  .home-shell {
    transform-origin: top center;
  }

  .site-header {
    right: max(20px, 8.2vw);
    left: max(20px, 8.2vw);
  }

  .support-entry {
    width: 116px;
    font-size: 13px;
  }

  .support-entry span {
    width: 108px;
  }

  .hero-copy {
    left: 50%;
    transform: translateX(-50%);
  }

  .store-actions {
    transform: translateX(-50%);
  }
}
