:root {
  --blue: #0557c2;
  --blue-dark: #063172;
  --red: #c9272f;
  --gold: #f7c948;
  --ink: #16213e;
  --muted: #5d6980;
  --line: #dfe7f3;
  --bg: #f6f9fd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(5, 87, 194, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 229px;
  max-width: 46vw;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 71px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(5, 87, 194, 0.78), rgba(6, 49, 114, 0.86) 56%, rgba(201, 39, 47, 0.72)),
    url("img/1_bg.7a113671.png") center / cover no-repeat,
    radial-gradient(circle at 80% 20%, rgba(247, 201, 72, 0.55), transparent 34%);
  color: var(--white);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow),
.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 20px);
}

.about .lead,
.download .lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--blue-dark);
  background: var(--gold);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.store-link {
  display: inline-flex;
  width: min(220px, 100%);
  margin-top: 4px;
  border-radius: 8px;
}

.store-link:focus-visible {
  outline: 3px solid rgba(5, 87, 194, 0.35);
  outline-offset: 4px;
}

.store-badge {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.store-link:hover .store-badge {
  filter: drop-shadow(0 10px 20px rgba(6, 49, 114, 0.18));
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.hero-art img {
  position: absolute;
  display: block;
  max-width: 100%;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.22));
}

.hero-left-img {
  left: 0;
  bottom: 0;
  width: min(330px, 52%);
}

.hero-right-img {
  right: 0;
  top: 18%;
  width: min(360px, 58%);
}

.contact-cards span,
.benefit span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  color: var(--blue-dark);
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  font-weight: 800;
}

.note-one {
  left: 0;
  top: 28%;
}

.note-two {
  right: 0;
  bottom: 24%;
}

.about {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 54%, rgba(255, 255, 255, 0.68)),
    url("img/2_bg.d1cb4ebb.png") center / cover no-repeat;
}

.how {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("img/4_bg.a21fc8fb.png") right 18% bottom 18% / min(42vw, 520px) auto no-repeat,
    var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: center;
}

.feature-grid {
  grid-column: 1 / -1;
}

.about-copy {
  grid-column: 1;
}

.about-visual {
  grid-column: 2;
  width: min(420px, 100%);
  justify-self: end;
  filter: drop-shadow(0 24px 44px rgba(6, 49, 114, 0.16));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-grid,
.steps,
.contact-cards {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.feature-card,
.benefit,
.steps article,
.contact-cards div,
.legal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(6, 49, 114, 0.08);
}

.feature-card {
  padding: 24px;
}

.feature-icon,
.steps span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card p,
.legal-panel p {
  color: var(--muted);
}

.download {
  background:
    linear-gradient(180deg, rgba(247, 201, 72, 0.2), rgba(246, 249, 253, 0.88)),
    url("img/3_bg.81d66b93.png") center / cover no-repeat,
    var(--bg);
}

.download .split {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr) minmax(260px, 0.65fr);
}

.download-visual {
  position: relative;
  isolation: isolate;
  min-height: 430px;
}

.download-art,
.phone-frame,
.screen {
  position: absolute;
  display: block;
  filter: drop-shadow(0 20px 35px rgba(6, 49, 114, 0.18));
}

.download-art {
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(430px, 118%);
  opacity: 0.95;
  transform: translate(-50%, -50%);
}

.phone-frame {
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 240px;
  transform: translate(-50%, -50%);
}

.screen-one {
  left: 2%;
  top: 8%;
  z-index: 4;
  width: 142px;
  border-radius: 20px;
}

.screen-two {
  right: 0;
  bottom: 6%;
  z-index: 4;
  width: 142px;
  border-radius: 20px;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit {
  padding: 24px;
  border-left: 6px solid var(--red);
}

.benefit strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.how-visual {
  width: min(300px, 100%);
  justify-self: center;
  filter: drop-shadow(0 22px 42px rgba(6, 49, 114, 0.18));
}

.steps article {
  position: relative;
  min-height: 180px;
  padding: 26px;
  overflow: hidden;
}

.steps article::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 49, 114, 0.92), rgba(5, 87, 194, 0.82)),
    url("img/5_bg2.40816c46.png") center / cover no-repeat;
}

.contact h2 {
  color: var(--white);
}

.contact-cards div,
.legal-panel {
  padding: 22px;
  color: var(--ink);
}

.contact-cards strong {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}

.legal-panel {
  background: rgba(255, 255, 255, 0.96);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.legal-links a {
  padding: 10px 12px;
  color: var(--blue);
  background: #edf3fb;
  border-radius: 8px;
  font-weight: 800;
}

footer {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 470px;
  }

  .about-grid,
  .about-copy,
  .download .split,
  .how-layout {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .about-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .about-visual {
    justify-self: center;
    max-width: 330px;
  }

  .download-visual {
    min-height: 360px;
  }

  .note-one {
    left: 8px;
  }

  .note-two {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 185px;
    max-width: 58vw;
  }

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .floating-note {
    font-size: 13px;
  }

  .hero-art {
    min-height: 330px;
  }

  .hero-left-img {
    width: 54%;
  }

  .hero-right-img {
    width: 58%;
  }

  .phone-frame {
    width: 205px;
  }

  .screen-one,
  .screen-two {
    width: 116px;
  }
}
