@font-face {
  font-family: Onest;
  src: url("../fonts/Onest-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url("../fonts/Onest-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url("../fonts/Onest-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #1c1c1c;
  --muted: #707075;
  --surface: #f6f6f6;
  --line: #e1e1e4;
  --gutter: clamp(32px, 8.5vw, 124px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Onest, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #85858a;
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.container {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
h2 {
  font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.skip-link {
  position: absolute;
  z-index: 20;
  left: 24px;
  top: 12px;
  padding: 12px 20px;
  background: #fff;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}

/* First screen. The image uses the same composition as the approved mock. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  color: #fff;
  background: #202020;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.015) translateY(var(--parallax, 0px));
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgb(28 28 28 / 85%) 0,
      rgb(28 28 28 / 50%) 72px,
      transparent 230px
    ),
    linear-gradient(
      90deg,
      rgb(28 28 28 / 65%) 0,
      rgb(28 28 28 / 48%) 38%,
      rgb(28 28 28 / 14%) 62%,
      transparent 78%
    );
}
.site-header {
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-right: 32px;
}
.brand {
  display: block;
  width: 280px;
  height: 58px;
  overflow: hidden;
  flex: none;
}
.brand .brand-wordmark {
  width: 280px;
  max-width: none;
  height: 112px;
  margin-top: -26px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.site-nav a {
  transition: opacity 0.2s;
}
.site-nav a:hover {
  opacity: 1;
  color: #ddd;
}
.site-nav .nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 16px;
  font-weight: 500;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.site-nav .nav-download:hover {
  color: #fff;
  background: rgb(255 255 255 / 20%);
  border-color: rgb(255 255 255 / 85%);
  box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
  transform: translateY(-1px);
}
.site-nav .nav-download:active {
  background: rgb(255 255 255 / 28%);
  transform: translateY(0);
}
.hero-content {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 0 40px;
}
.hero h1 {
  font-size: clamp(62px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  max-width: 680px;
}
.hero h1 span {
  display: block;
}
.hero-content > p {
  font-size: 22px;
  line-height: 1.5;
  color: #ededed;
  margin-block: 30px 32px;
  max-width: 570px;
}
.button {
  min-height: 52px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.button:hover {
  background: #414141;
  box-shadow: 0 10px 22px rgb(0 0 0 / 18%);
  transform: translateY(-3px);
}
.button:active {
  background: #3a3a3a;
  box-shadow: none;
  transform: translateY(0) scale(0.985);
}
.button--light {
  width: 310px;
  min-height: 61px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding-inline: 32px;
}
.button--light:hover {
  background: #e5e5e5;
  box-shadow: 0 10px 24px rgb(0 0 0 / 24%);
}
.button--light:active {
  background: #d8d8d8;
  box-shadow: none;
}

/* App benefits and the product demonstration share one visual baseline. */
.features {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 96px;
}
.features-copy {
  padding-top: 0;
}
.features-copy h2 {
  margin-bottom: 40px;
}
.feature-list {
  display: grid;
  gap: 54px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f2f2f2;
}
.feature-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.4s;
}
.feature:hover .feature-icon img {
  transform: translateY(-3px) rotate(-5deg);
}
.feature h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  margin: 4px 0 10px;
  letter-spacing: -0.035em;
}
.feature p {
  font-size: 19px;
  line-height: 1.45;
  color: var(--muted);
}
.app-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  position: relative;
  display: block;
  flex: none;
  width: 350px;
  aspect-ratio: 863/1706;
  padding: 0;
  border: 0;
  border-radius: 48px;
  background: transparent;
  filter: drop-shadow(14px 24px 20px #0003);
  transform-style: preserve-3d;
  animation: phone-float 7s ease-in-out infinite;
}
.phone-display {
  width: 84.4%;
  height: 92.6%;
  position: absolute;
  top: 3.8%;
  left: 7.8%;
  border-radius: 12% / 5.5%;
  overflow: hidden;
  background: white;
  transform: translateZ(1px);
}
.demo-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.45s,
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.demo-status {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 7%;
  object-fit: cover;
  object-position: top;
}
.phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translateZ(2px);
}
.demo-screen.is-current {
  opacity: 1;
  transform: translateX(0);
}
.phone.is-paused {
  animation-play-state: paused;
}

/* Equal QR versions and quiet zones keep the three columns consistent. */
.download {
  background: var(--surface);
  padding-block: 96px;
}
.section-intro {
  text-align: center;
  margin-bottom: 44px;
}
.section-intro h2 {
  font-size: 56px;
}
.section-intro p {
  font-size: 22px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.4;
}
.stores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: #fff;
}
.store-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 80px;
  flex: none;
}
.store-brand > img {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.store-brand p {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  margin-top: 5px;
  color: var(--muted);
}
.store-brand h3 {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.store-symbol--rustore {
  filter: grayscale(1) contrast(4.1);
}
.store-qr {
  width: 225px;
  height: 225px;
  object-fit: contain;
  background: transparent;
}
.store > .button {
  width: 100%;
  padding-inline: 14px;
  white-space: nowrap;
  font-size: 16px;
}
.documents {
  padding-block: 96px;
}
.documents h2 {
  font-size: 50px;
  margin-bottom: 28px;
}
.document-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
}
.document-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.document-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  line-height: 1.4;
  color: #686870;
  transition: color 0.2s;
}
.document-list a > img {
  flex: none;
  width: 20px;
  opacity: 0.65;
  transition: transform 0.2s;
}
.document-list a:hover {
  color: var(--ink);
}
.document-list a:hover > img {
  transform: translateX(4px);
  opacity: 1;
}
.site-footer {
  border-top: 1px solid var(--line);
  color: #747478;
  font-size: 16px;
}
.site-footer > .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
}
.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* All content stays visible before JS and in full-page captures. */
.has-entered {
  animation: enter 0.65s both;
}
@keyframes enter {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotateX(2deg) rotateY(-8deg) rotateZ(-0.8deg);
  }
  50% {
    transform: translateY(-9px) rotateX(-1deg) rotateY(-3deg) rotateZ(0.6deg);
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  :root {
    --gutter: 7vw;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-content {
    padding-block: 0 32px;
  }
  .hero-content > p {
    font-size: 18px;
    max-width: 465px;
  }
  .hero-content .button {
    font-size: 16px;
    width: 310px;
    min-height: 61px;
  }
  .brand {
    width: 220px;
    height: 50px;
  }
  .brand .brand-wordmark {
    width: 220px;
    height: 88px;
    margin-top: -20px;
  }
  .site-nav {
    gap: 24px;
  }
  .features {
    gap: 40px;
    padding-block: 76px;
  }
  .features-copy {
    padding-top: 0;
  }
  .features h2 {
    font-size: 42px;
    margin-bottom: 40px;
  }
  .feature-list {
    gap: 32px;
  }
  .feature {
    gap: 20px;
  }
  .feature-icon {
    width: 64px;
    height: 64px;
  }
  .feature-icon img {
    width: 30px;
    height: 30px;
  }
  .feature h3 {
    font-size: 21px;
  }
  .feature p {
    font-size: 16px;
  }
  .phone {
    width: 304px;
  }
  .store {
    padding: 28px 20px 24px;
  }
  .store-brand h3 {
    font-size: 25px;
  }
  .store-brand > img {
    width: 38px;
    height: 38px;
  }
  .store-brand {
    gap: 16px;
  }
  .store-brand p {
    font-size: 14px;
  }
  .store-qr {
    width: 190px;
    height: 190px;
  }
  .store > .button {
    font-size: 16px;
  }
  .document-columns {
    gap: 48px;
  }
  .document-list a {
    font-size: 16px;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }
  .hero-photo {
    height: 45dvh;
    max-height: 520px;
    top: auto;
    bottom: 0;
    object-position: 75% top;
    transform: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
  }
  .site-header {
    height: 88px;
    gap: 16px;
    padding-right: var(--gutter);
  }
  .brand {
    width: 176px;
    height: 42px;
  }
  .brand .brand-wordmark {
    width: 176px;
    height: 70px;
    margin-top: -15px;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav > a:not(.nav-download) {
    display: none;
  }
  .site-nav .nav-download {
    padding: 0 18px;
    font-size: 14px;
  }
  .hero-content {
    display: block;
    flex: none;
    padding-block: clamp(20px, 4dvh, 42px) 0;
  }
  .hero h1 {
    font-size: clamp(39px, 10.5vw, 62px);
    line-height: 0.98;
    max-width: 100%;
  }
  .hero-content > p {
    font-size: 16px;
    max-width: 350px;
    margin-block: 24px 26px;
    line-height: 1.5;
  }
  .desktop-break {
    display: none;
  }
  .hero-content > .button {
    width: min(100%, 310px);
    min-height: 61px;
    font-size: 16px;
    padding: 12px 24px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-block: 80px 96px;
  }
  .features-copy {
    padding-top: 0;
  }
  .features h2 {
    font-size: 35px;
    margin-bottom: 40px;
  }
  .feature-list {
    gap: 32px;
  }
  .feature {
    gap: 20px;
  }
  .feature-icon {
    width: 52px;
    height: 52px;
  }
  .feature-icon img {
    width: 25px;
    height: 25px;
  }
  .feature h3 {
    font-size: 19px;
    margin-top: 2px;
  }
  .feature p {
    font-size: 15px;
    line-height: 1.5;
  }
  .app-demo {
    padding-block: 12px 16px;
  }
  .phone {
    width: min(82vw, 320px);
  }
  .download {
    padding-block: 80px;
  }
  .section-intro {
    margin-bottom: 40px;
  }
  .section-intro h2 {
    font-size: 34px;
  }
  .section-intro p {
    font-size: 15px;
    max-width: 260px;
    margin-inline: auto;
  }
  .stores {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .store {
    padding: 24px;
    gap: 18px;
  }
  .store-brand {
    height: 76px;
    width: 230px;
    gap: 16px;
  }
  .store-brand h3 {
    font-size: 24px;
  }
  .store-brand > img {
    width: 36px;
    height: 36px;
  }
  .store-brand p {
    font-size: 14px;
  }
  .store-qr {
    display: none;
  }
  .store > .button {
    font-size: 16px;
    max-width: 420px;
    min-height: 52px;
  }
  .documents {
    padding-block: 80px;
  }
  .documents h2 {
    font-size: 32px;
    margin-bottom: 24px;
  }
  .document-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .document-list a {
    min-height: 62px;
    font-size: 14px;
  }
  .site-footer > .container {
    padding-block: 28px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 20px;
  }
  .brand {
    width: 155px;
  }
  .brand .brand-wordmark {
    width: 155px;
    height: 62px;
    margin-top: -11px;
  }
  .site-nav .nav-download {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .features h2 {
    font-size: 32px;
  }
  .feature {
    gap: 14px;
  }
  .feature-icon {
    width: 44px;
    height: 44px;
  }
  .feature h3 {
    font-size: 17px;
  }
  .section-intro h2 {
    font-size: 30px;
  }
}
@media (max-width: 900px) and (max-height: 700px) {
  .site-header {
    height: 76px;
  }
  .hero-content {
    padding-block: 20px 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-content > p {
    font-size: 14px;
    line-height: 1.45;
    margin-block: 18px 20px;
  }
  .hero-content > .button {
    min-height: 52px;
  }
  .hero-photo {
    height: 40dvh;
  }
}
@media (max-width: 900px) and (max-height: 600px) {
  .hero-photo {
    height: 38dvh;
  }
}
@media (min-width: 901px) and (max-height: 650px) {
  .site-header {
    height: 84px;
  }
  .hero-content {
    padding-block: 8px 24px;
  }
  .hero h1 {
    font-size: clamp(52px, 10dvh, 65px);
  }
  .hero-content > p {
    font-size: 18px;
    margin-block: 20px 24px;
  }
  .hero-content > .button {
    min-height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-photo {
    transform: none;
  }
}
