:root {
  --ink: #163246;
  --text: #4b6677;
  --muted: #78909e;
  --blue: #2396e5;
  --blue-dark: #0875bb;
  --green: #9bc31a;
  --surface: #ffffff;
  --surface-soft: #f4f9fc;
  --border: #dce9ef;
  --shadow: 0 24px 70px rgba(18, 62, 91, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f9fcfd;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(35, 150, 229, 0.42);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img,
footer img {
  display: block;
  width: 218px;
  height: auto;
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgba(35, 150, 229, 0.24);
  border-radius: 14px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 160ms ease, background 160ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 164px max(24px, calc((100vw - 1180px) / 2)) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 72px;
  background:
    radial-gradient(circle at 83% 20%, rgba(35, 150, 229, 0.12), transparent 34%),
    linear-gradient(145deg, #fff 8%, #f5fbfe 62%, #eef8fb 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(35, 150, 229, 0.16);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(234, 247, 253, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(155, 195, 26, 0.14);
}

h1 {
  margin: 26px 0 22px;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 32px;
  color: var(--text);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.55;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  min-width: 205px;
  height: 64px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  color: #fff;
  background: #122c3d;
  box-shadow: 0 12px 30px rgba(10, 35, 52, 0.2);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.store-button:hover {
  transform: translateY(-3px);
  background: #071d2b;
  box-shadow: 0 16px 34px rgba(10, 35, 52, 0.25);
}

.store-button svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  line-height: 1.05;
}

.store-button small {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.025em;
}

.store-button strong {
  font-size: 19px;
  font-weight: 730;
}

.store-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow--blue {
  top: 110px;
  right: -160px;
  width: 500px;
  height: 500px;
  background: rgba(35, 150, 229, 0.1);
}

.hero-glow--green {
  right: 32%;
  bottom: -210px;
  width: 380px;
  height: 380px;
  background: rgba(155, 195, 26, 0.1);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  z-index: 3;
  width: 278px;
  height: 566px;
  padding: 10px;
  border: 2px solid #5a7d94;
  border-radius: 47px;
  background: linear-gradient(145deg, #153f59, #071e2d);
  box-shadow: 0 40px 80px rgba(14, 64, 98, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotate(5deg);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 37px;
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  z-index: 5;
  top: 17px;
  left: 50%;
  width: 82px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #0a2739;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 42px 24px 24px;
  border-radius: 37px;
  background:
    radial-gradient(circle at 50% 41%, rgba(35, 150, 229, 0.1), transparent 35%),
    linear-gradient(155deg, #fff, #f0f8fc);
}

.phone-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transform: translateY(-2px);
}

.phone-brand img {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 22px 45px rgba(16, 71, 106, 0.2);
}

.phone-brand strong {
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -0.025em;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(35, 150, 229, 0.17);
  border-radius: 50%;
}

.orbit--one {
  width: 460px;
  height: 460px;
}

.orbit--two {
  width: 350px;
  height: 350px;
  border-color: rgba(155, 195, 26, 0.2);
}

.benefits {
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-kicker {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.download-panel h2 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.download-panel p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #fbfdfe);
  box-shadow: 0 12px 30px rgba(21, 69, 98, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(35, 150, 229, 0.25);
  box-shadow: 0 20px 42px rgba(21, 69, 98, 0.1);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 22px;
  font-weight: 900;
}

.benefit-icon--blue { color: #0878bd; background: #e7f5fc; }
.benefit-icon--green { color: #668a07; background: #eff7da; }
.benefit-icon--violet { color: #6952b6; background: #f0edfb; }
.benefit-icon--cyan { color: #168d97; background: #e3f7f7; }

.benefit-card h3 {
  margin: 21px 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.benefit-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.download-panel {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 0;
  padding: 56px 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(155, 195, 26, 0.45), transparent 31%),
    linear-gradient(130deg, #075f98, #2396e5);
  box-shadow: 0 28px 70px rgba(17, 103, 160, 0.24);
}

.section-kicker--light {
  color: #d9f4ff;
}

.download-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.store-actions--compact {
  flex: 0 0 auto;
}

.store-actions--compact a {
  min-width: 150px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.store-actions--compact a:hover {
  transform: translateY(-3px);
}

.legacy {
  width: min(1180px, calc(100% - 48px));
  margin: 38px auto 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 14px;
}

.legacy[hidden] {
  display: none;
}

.legacy a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 12px;
}

footer img {
  width: 152px;
}

footer p {
  margin-left: auto;
}

footer a {
  text-decoration: none;
}

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

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 36px);
    min-height: 76px;
  }

  .brand img {
    width: 164px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 70px;
    grid-template-columns: 1fr;
    gap: 58px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-lead {
    font-size: 17px;
  }

  .store-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: 242px;
    height: 493px;
  }

  .benefits {
    padding: 76px 20px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .download-panel {
    width: calc(100% - 32px);
    padding: 38px 24px;
    border-radius: 25px;
    text-align: center;
  }

  .download-panel .store-actions {
    width: 100%;
  }

  .store-actions--compact a {
    flex: 1 1 150px;
  }

  .legacy {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  footer {
    width: calc(100% - 40px);
    padding: 36px 0;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  footer p {
    margin: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 49px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .store-button {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
