:root {
  --blue: #305cea;
  --black: #000000;
  --white: #ffffff;
  --graphite: #16181d;
  --fog: #ebebeb;
  --muted: #61646d;
  --line: rgba(22, 24, 29, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --section: clamp(68px, 9vw, 128px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 142px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  color: rgba(22, 24, 29, 0.78);
}

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

.site-nav .nav-cta {
  min-width: 112px;
  padding: 10px 15px;
  color: var(--white);
  text-align: center;
  background: var(--blue);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--graphite);
  border: 0;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(48px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--graphite);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4.8vw, 5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.hero-text,
.section-copy > p,
.download-copy p,
.final-cta p,
.security-copy p,
.route-band-copy p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 154px;
  padding: 0 22px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(48, 92, 234, 0.22);
}

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

.button.secondary {
  color: var(--graphite);
  background: var(--white);
  border-color: var(--line);
}

.button.dark {
  color: var(--white);
  background: var(--graphite);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 42px 0 0;
}

.signal-row div {
  padding-top: 14px;
  border-top: 3px solid var(--blue);
}

.signal-row dt {
  color: var(--graphite);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.signal-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 8% 4% 4% 10%;
  content: "";
  background: rgba(48, 92, 234, 0.2);
  filter: blur(48px);
}

.hero-media img {
  position: relative;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--fog);
}

.trust-strip div {
  min-height: 118px;
  padding: 28px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(22, 24, 29, 0.12);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip > div > span,
.plan-card p,
.store-button > span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trust-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--graphite);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  line-height: 1.05;
}

.split,
.app-section,
.tag-section,
.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-card,
.plan-card,
.feature-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-card {
  min-height: 260px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 58px;
  color: var(--white);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 600;
  background: var(--blue);
  border-radius: 50%;
}

.step-card p,
.feature-list p,
.plan-card > span {
  margin: 14px 0 0;
  color: var(--muted);
}

.app-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 5vw, 80px);
  padding-left: clamp(20px, 5vw, 80px);
  background: var(--graphite);
}

.app-section h2,
.app-section h3,
.security-section h2,
.download-section h2,
.final-cta h2,
.route-band-copy h2 {
  color: var(--white);
}

.app-section .section-copy > p,
.feature-list p,
.security-copy p,
.download-copy p,
.final-cta p,
.route-band-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.app-visual img,
.tag-visual img,
.security-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

.feature-list article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.route-band {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}

.route-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-band-copy {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 128px) 0;
}

.tag-section .button {
  margin-top: 32px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
}

.plan-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 28px;
}

.plan-card.featured {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.plan-card.featured h3,
.plan-card.featured p,
.plan-card.featured span,
.plan-card.featured a {
  color: var(--white);
}

.plan-card h3 {
  margin-top: 18px;
}

.plan-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
}

.security-section {
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding-right: clamp(20px, 5vw, 80px);
  padding-left: clamp(20px, 5vw, 80px);
  background: var(--black);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section) 0;
}

.download-section h2,
.download-section p {
  color: var(--graphite);
}

.download-section p {
  color: var(--muted);
}

.store-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.store-button {
  display: flex;
  min-height: 84px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  color: var(--white);
  background: var(--graphite);
  border-radius: var(--radius);
}

.store-button strong {
  margin-top: 3px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.48rem;
  line-height: 1;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto var(--section);
  padding: clamp(34px, 5vw, 58px);
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--graphite);
}

.site-footer img {
  width: 148px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .split,
  .app-section,
  .tag-section,
  .security-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    order: -1;
  }

  .app-section .section-copy {
    order: -1;
  }

  .hero-media img {
    max-height: 560px;
  }

  .trust-strip,
  .plans,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-section,
  .security-section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img,
  .site-footer img {
    width: 148px;
  }

  .section,
  .route-band-copy,
  .download-section,
  .final-cta {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.45rem);
  }

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

  .button {
    width: 100%;
  }

  .signal-row,
  .trust-strip,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(22, 24, 29, 0.12);
  }

  .step-card {
    min-height: 220px;
  }

  .route-band {
    min-height: 620px;
  }

  .final-cta {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
