:root {
  --navy: #0b2545;
  --navy-deep: #061528;
  --navy-light: #1c3a60;
  --orange: #e8751a;
  --orange-dark: #c25e0f;
  --blue: #1f8fb8;
  --yellow: #f2b705;
  --ink: #1d2733;
  --muted: #536171;
  --line: #dfe5eb;
  --surface: #f3f5f8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: var(--navy);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.site-header,
footer {
  background: var(--navy);
}

.site-header {
  border-bottom: 1px solid var(--navy-light);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-content {
  min-height: 88px;
  padding-block: 16px;
}

.brand-logo {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.header-label,
.section-eyebrow {
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-label {
  color: #c9d3df;
}

.hero {
  overflow: hidden;
  padding: 64px 0 88px;
  background:
    radial-gradient(circle at 82% 45%, rgb(31 143 184 / 18%), transparent 29rem),
    var(--navy);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  background: var(--orange);
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.app-name,
.app-audience,
.hero-description,
.download-note,
.section-eyebrow,
.feature p,
.getting-started p {
  margin: 0;
}

.app-name {
  font-family: Montserrat, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.app-audience {
  color: #c9d3df;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  font-family: Montserrat, sans-serif;
  line-height: 1.12;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-description {
  max-width: 580px;
  color: #dbe3ec;
  font-size: 1.14rem;
  text-wrap: pretty;
}

.download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.download-button {
  display: flex;
  min-width: 174px;
  min-height: 60px;
  align-items: center;
  gap: 13px;
  padding: 11px 20px;
  border: 2px solid var(--white);
  border-radius: 11px;
  font-size: 1rem;
  line-height: 1.05;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.download-button svg {
  width: 24px;
  height: 27px;
  flex: 0 0 auto;
  fill: currentColor;
}

.download-button-primary {
  background: var(--white);
  color: var(--navy);
}

.download-button-secondary {
  color: var(--white);
}

.download-button:hover {
  transform: translateY(-2px);
}

.download-button-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.download-kicker,
.download-platform {
  display: block;
}

.download-kicker {
  margin-bottom: 3px;
  font-size: 0.72rem;
}

.download-platform {
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.download-note {
  color: #a9b7c7;
  font-size: 0.86rem;
}

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone {
  width: 292px;
  padding: 12px;
  border: 2px solid #233b58;
  border-radius: 48px;
  background: var(--navy-deep);
  box-shadow: 0 35px 70px rgb(0 0 0 / 38%);
  transform: rotate(2deg);
}

.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

.features,
.getting-started {
  padding: 80px 0;
}

.section-eyebrow {
  color: var(--orange-dark);
}

.features h2,
.getting-started h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.feature {
  padding-top: 20px;
  border-top: 4px solid;
}

.feature-orange {
  border-color: var(--orange);
}

.feature-blue {
  border-color: var(--blue);
}

.feature-yellow {
  border-color: var(--yellow);
}

.feature h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-size: 1.08rem;
}

.feature p,
.getting-started p {
  color: #3b4756;
}

.getting-started {
  background: var(--surface);
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #dceff6;
  color: var(--navy);
  font-family: Montserrat, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.step h3 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: 1rem;
}

.step p {
  max-width: 580px;
  font-size: 1rem;
}

.step strong {
  color: var(--ink);
}

.help-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgb(11 37 69 / 7%);
}

.help-card h2 {
  margin-top: 0;
}

.help-card p {
  margin: 10px 0 14px;
}

.help-card a {
  font-weight: 600;
}

footer {
  padding: 28px 0;
  color: #c9d3df;
  font-size: 0.88rem;
}

footer a {
  color: var(--white);
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .download-list {
    justify-content: center;
  }

  .phone {
    transform: none;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-content {
    min-height: 76px;
  }

  .brand-logo {
    height: 43px;
  }

  .header-label {
    font-size: 0.65rem;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .app-identity {
    text-align: left;
  }

  .download-list,
  .download-button {
    width: 100%;
  }

  .download-button {
    justify-content: center;
  }

  .phone {
    width: min(294px, 88vw);
  }

  .features,
  .getting-started {
    padding: 60px 0;
  }

  .help-card {
    padding: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .download-button {
    transition: none;
  }
}
