:root {
  color-scheme: light;
  --navy-950: #06172b;
  --navy-900: #08213e;
  --navy-800: #0b315b;
  --blue: #2f80ed;
  --blue-bright: #55a6ff;
  --sky: #dcecff;
  --paper: #f5f3ed;
  --surface: #fffdf8;
  --ink: #102237;
  --muted: #647184;
  --line: rgba(16, 34, 55, 0.14);
  --green: #21ad5b;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(6, 23, 43, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--shell);
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #fff;
}

.header-action {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 68% 28%, rgba(47, 128, 237, 0.25), transparent 32%),
    linear-gradient(135deg, var(--navy-950) 0%, #082440 52%, #0a3158 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.road-lines {
  position: absolute;
  left: -9vw;
  bottom: -38%;
  width: 69vw;
  aspect-ratio: 1;
  border: 1px solid rgba(105, 180, 255, 0.2);
  border-radius: 42% 58% 60% 40%;
  transform: rotate(17deg);
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.012),
    0 0 0 91px rgba(105, 180, 255, 0.08),
    0 0 0 190px rgba(255, 255, 255, 0.008),
    0 0 0 191px rgba(105, 180, 255, 0.05);
}

.hero-shell {
  width: var(--shell);
  min-height: 100svh;
  margin: 0 auto;
  padding: 118px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  align-items: center;
  gap: clamp(44px, 7vw, 108px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: hero-copy-in 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 20px;
  color: #8fc4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #1d6fd6;
}

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

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(44px, 5.25vw, 74px);
  font-weight: 720;
  line-height: 1.01;
}

h1 em {
  color: #87c0ff;
  font-style: normal;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.6vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 52px;
  padding: 0 23px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(47, 128, 237, 0.26);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #4292fb;
  box-shadow: 0 20px 42px rgba(47, 128, 237, 0.34);
}

.text-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  margin-left: 5px;
  transition: margin-left 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  margin-left: 9px;
}

.hero-points {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 650;
}

.hero-points span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  display: inline-block;
  background: var(--blue-bright);
}

.hero-visual {
  min-height: 650px;
  position: relative;
  z-index: 2;
  animation: hero-visual-in 900ms 100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #102b49;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.42);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 38%;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #102b49;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-front {
  top: 14px;
  right: 8%;
  width: min(305px, 63%);
  aspect-ratio: 1080 / 2340;
  transform: rotate(2.5deg);
}

.phone-back {
  left: 2%;
  bottom: 20px;
  width: min(258px, 54%);
  aspect-ratio: 1080 / 2340;
  opacity: 0.83;
  transform: rotate(-7deg);
}

.focus-note {
  position: absolute;
  z-index: 3;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(7, 26, 49, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.focus-note-top {
  top: 17%;
  left: -4%;
}

.focus-note-bottom {
  right: -1%;
  bottom: 15%;
}

.focus-icon,
.focus-check {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}

.focus-check {
  background: var(--green);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span:last-child {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: cue 1.8s ease-in-out infinite;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.method {
  padding: 130px 0 120px;
  background: var(--paper);
}

.method .section-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(60px, 10vw, 150px);
}

.section-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}

.section-heading h2,
.feature-copy h2,
.closing h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
}

.section-heading > p:last-child {
  max-width: 500px;
  color: var(--muted);
  font-size: 17px;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  padding: 31px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
}

.method-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-number,
.feature-index {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-list h3 {
  margin: -5px 0 8px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.method-list p {
  max-width: 490px;
  margin-bottom: 0;
  color: var(--muted);
}

.features {
  background: var(--surface);
}

.feature {
  min-height: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature-copy {
  padding: clamp(80px, 10vw, 150px) max(40px, calc((100vw - 1180px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h2 {
  max-width: 600px;
  margin-top: 18px;
}

.feature-copy > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
}

.feature-copy ul {
  max-width: 560px;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-copy li {
  padding: 15px 0 15px 25px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: #405064;
  font-size: 14px;
  font-weight: 650;
}

.feature-copy li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.feature-media {
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.image-stage {
  width: 100%;
  height: 100%;
  min-height: 820px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 23, 43, 0.18), transparent 32%);
}

.image-stage img {
  width: min(440px, 76%);
  height: auto;
  margin-bottom: -28%;
  border: 8px solid rgba(255, 255, 255, 0.75);
  border-bottom: 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 44px 90px rgba(4, 21, 39, 0.35);
}

.image-stage-light {
  background:
    radial-gradient(circle at 80% 10%, rgba(47, 128, 237, 0.18), transparent 31%),
    #dce8f4;
}

.image-stage-blue {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(145deg, #0a2d51, #0e548e);
}

.image-stage-map {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.45), transparent 18%),
    linear-gradient(145deg, #d8e7d5, #b8d1cb);
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 145px 0;
  background:
    radial-gradient(circle at 78% 15%, rgba(74, 161, 255, 0.24), transparent 30%),
    var(--navy-950);
  color: #fff;
}

.closing::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -320px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.02), 0 0 0 150px rgba(255, 255, 255, 0.015);
}

.closing-shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 {
  max-width: 850px;
}

.closing p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
}

.button-light {
  background: #fff;
  color: var(--navy-950);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--sky);
}

.site-footer {
  padding: 52px 0;
  background: #04111f;
  color: #fff;
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-decoration: none;
}

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

.footer-shell > p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 980px) {
  .hero-shell {
    padding-top: 130px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(620px, 100%);
    min-height: 610px;
    margin: 0 auto;
  }

  .method .section-shell {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .section-heading {
    position: static;
  }

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

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .feature-copy {
    padding: 92px max(24px, calc((100vw - 760px) / 2));
  }

  .image-stage,
  .feature {
    min-height: auto;
  }

  .image-stage {
    height: 720px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .nav-shell {
    height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .brand svg {
    width: 29px;
    height: 29px;
  }

  .header-action {
    padding: 8px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
    padding: 112px 0 72px;
    gap: 46px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

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

  .phone-front {
    right: 5%;
    width: 58%;
  }

  .phone-back {
    left: 4%;
    width: 49%;
  }

  .focus-note {
    min-width: 0;
    padding: 10px 12px;
    font-size: 10px;
  }

  .focus-note-top {
    top: 22%;
    left: 0;
  }

  .focus-note-bottom {
    right: 0;
    bottom: 13%;
  }

  .focus-icon,
  .focus-check {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .scroll-cue {
    display: none;
  }

  .method {
    padding: 88px 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .closing h2 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .method-list li {
    grid-template-columns: 45px 1fr;
    gap: 14px;
  }

  .feature-copy {
    padding: 80px 20px 68px;
  }

  .image-stage {
    height: 610px;
  }

  .image-stage img {
    width: min(340px, 78%);
    margin-bottom: -31%;
    border-width: 6px;
    border-radius: 30px 30px 0 0;
  }

  .closing {
    padding: 100px 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
