:root {
  --blue: #0030cf;
  --ink: #17191f;
  --muted: #626875;
  --line: #e8ebf0;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --footer: #071128;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(17, 25, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 235, 240, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 138px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #343944;
  font-weight: 600;
}

.primary-nav a:not(.button) {
  transition: color 180ms ease;
}

.primary-nav a:not(.button):hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 48, 207, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 48, 207, 0.28);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.button-light {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 62px;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), #fff 84%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-media video {
  width: min(1030px, 100%);
  height: 640px;
  object-fit: cover;
  border-radius: 0 0 26px 26px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-bottom: 20px;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
}

.eyebrow {
  margin: 0;
  color: #79808d;
  font-size: 14px;
  font-weight: 600;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.store-links a {
  transition: transform 180ms ease;
}

.store-links a:hover {
  transform: translateY(-2px);
}

.store-links img {
  height: 48px;
}

.wallet-button {
  min-width: 190px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.app-copy h2,
.footer-brand h2 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.icon-button:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.icon-button img {
  width: 18px;
}

.testimonial-viewport {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 390px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 28px;
  scrollbar-width: thin;
}

.testimonial-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(17, 25, 39, 0.07);
  scroll-snap-align: start;
}

.testimonial-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 22px;
}

.testimonial-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.testimonial-card p {
  margin: 0;
  color: #414957;
}

.app-section {
  overflow: hidden;
  color: #fff;
  background: var(--blue);
  padding-bottom: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 52px;
}

.app-copy {
  padding: 80px 0 120px;
}

.app-copy p {
  max-width: 570px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.store-links-left {
  justify-content: center;
}

.phone-wrap {
  position: relative;
  align-self: end;
}

.phone-wrap::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: 112%;
  height: 42%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(48px);
  transform: rotate(-6deg);
}

.phone-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 620px;
}

.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 72px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
  gap: 50px;
  align-items: start;
}

.footer-brand img {
  width: 138px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}

.footer-brand h2 {
  max-width: 560px;
  font-size: clamp(28px, 4vw, 46px);
}

.footer-brand p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.subscribe-form {
  display: grid;
  gap: 14px;
}

.subscribe-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.subscribe-row input {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.subscribe-row input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: #fff;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #b9f7cf;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 28px;
  padding: 58px 0 42px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav a {
    padding: 13px 12px;
  }

  .primary-nav .button {
    margin-top: 8px;
  }

  .nav-open .primary-nav {
    display: flex;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media video {
    height: 540px;
  }

  .app-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .app-copy {
    padding: 28px 0 0;
    text-align: center;
  }

  .app-copy p {
    margin-inline: auto;
  }

  .store-links-left {
    justify-content: center;
  }

  .phone-wrap img {
    min-width: 0;
    width: min(760px, 120%);
    margin-inline: auto;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 620px) {
  .container,
  .testimonial-viewport {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 62px 0;
  }

  .site-header {
    padding: 12px 0;
  }

  .brand img {
    width: 120px;
  }

  .hero {
    min-height: 610px;
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-media video {
    width: 125%;
    height: 440px;
  }

  .store-links img {
    height: 44px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-viewport {
    grid-auto-columns: minmax(276px, 88vw);
  }

  .testimonial-card {
    min-height: 360px;
    padding: 24px;
  }

  .app-copy p {
    font-size: 18px;
  }

  .subscribe-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
