:root {
  --ink: #11142d;
  --muted: #62677c;
  --paper: #f7f8fc;
  --white: #ffffff;
  --line: #dde0e9;
  --violet: #6d31f3;
  --violet-dark: #4b19c8;
  --mint: #52e6ac;
  --cyan: #54c8ec;
  --radius: 8px;
  --page: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: var(--page);
  height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px 0 16px;
  color: var(--white);
  background: rgba(17, 20, 45, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: background .2s ease, top .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(17, 20, 45, .94);
  box-shadow: 0 8px 32px rgba(17, 20, 45, .16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  width: fit-content;
}

.brand img {
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a,
.footer-links a {
  transition: opacity .2s ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  opacity: .65;
}

.header-download {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.header-download svg {
  width: 16px;
  height: 16px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: min(850px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #4020a1;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  overflow: hidden;
  background: #f2eafe;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 58%;
  background: #171239;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 52px auto 0;
}

.hero-app {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 34px;
}

.hero-app img {
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.hero-app span,
.hero-app small {
  display: block;
}

.hero-app span {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.hero-app small {
  margin-top: 3px;
  color: #cac5dd;
  font-size: 13px;
}

.hero h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-content > p {
  max-width: 580px;
  margin-bottom: 34px;
  color: #d9d5e7;
  font-size: 19px;
  line-height: 1.55;
}

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

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--violet);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.05;
  box-shadow: 0 12px 28px rgba(58, 18, 145, .25);
  transition: transform .2s ease, background .2s ease;
}

.play-button:hover {
  transform: translateY(-2px);
  background: var(--violet-dark);
}

.play-button small {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 500;
}

.play-mark {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--mint);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #26213c;
  font-size: 13px;
  font-weight: 700;
}

.hero-note svg {
  width: 19px;
  height: 19px;
  color: var(--violet);
}

.intro {
  width: var(--page);
  padding: 108px 0 120px;
  margin: auto;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--mint);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.intro h2,
.screens h2,
.launcher h2,
.download-band h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p,
.launcher-copy > p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list article {
  position: relative;
  min-height: 308px;
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line);
}

.feature-list article:last-child {
  border-right: 0;
}

.feature-list svg {
  width: 30px;
  height: 30px;
  margin-bottom: 44px;
  color: var(--violet);
  stroke-width: 1.7;
}

.feature-number {
  position: absolute;
  top: 42px;
  right: 30px;
  color: #a2a6b7;
  font-size: 12px;
  font-weight: 700;
}

.feature-list h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.screens {
  padding: 104px 0 120px;
  color: var(--white);
  background: #15172b;
  overflow: hidden;
}

.screens-heading {
  width: var(--page);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto 54px;
}

.screens-heading h2 {
  max-width: 700px;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid #4b4e61;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.slider-controls button:hover {
  color: var(--ink);
  background: var(--mint);
}

.slider-controls svg {
  width: 19px;
  height: 19px;
}

.screen-track {
  width: 100%;
  display: flex;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screen-track::-webkit-scrollbar {
  display: none;
}

.screen-track figure {
  flex: 0 0 min(340px, 76vw);
  margin: 0;
  scroll-snap-align: start;
}

.screen-track img {
  width: 100%;
  aspect-ratio: 405 / 720;
  object-fit: cover;
  border-radius: var(--radius);
  background: #ebe5fa;
}

.screen-track figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
  color: #d0d2dc;
  font-size: 14px;
}

.screen-track figcaption span {
  color: var(--mint);
  font-weight: 700;
}

.launcher {
  width: var(--page);
  min-height: 760px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: center;
  padding: 110px 0;
  margin: auto;
}

.launcher-copy h2 {
  margin-bottom: 28px;
}

.launcher-copy ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-weight: 600;
}

.launcher-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.launcher-copy li svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  color: var(--violet-dark);
  background: var(--mint);
  border-radius: 50%;
  stroke-width: 3;
}

.launcher-visual {
  position: relative;
  min-height: 620px;
  background: var(--cyan);
  overflow: hidden;
}

.launcher-visual::before {
  content: "GEOVISTA";
  position: absolute;
  top: 28px;
  left: 34px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}

.launcher-visual img {
  position: absolute;
  width: 48%;
  border-radius: 22px;
  box-shadow: 0 24px 58px rgba(17, 20, 45, .24);
}

.launcher-main {
  right: 8%;
  top: 12%;
  transform: rotate(3deg);
}

.launcher-secondary {
  left: 6%;
  bottom: -24%;
  transform: rotate(-5deg);
}

.download-band {
  width: var(--page);
  min-height: 250px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 46px 54px;
  margin: 0 auto 110px;
  color: var(--white);
  background: var(--violet-dark);
}

.download-band > img {
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.download-band > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

.download-band h2 {
  max-width: 600px;
  font-size: clamp(30px, 3.5vw, 48px);
}

.play-button-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: none;
}

.play-button-light:hover {
  color: var(--white);
}

footer {
  width: var(--page);
  display: grid;
  grid-template-columns: .8fr 1.2fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 32px 50px;
  padding: 50px 0;
  margin: auto;
  border-top: 1px solid var(--line);
}

.footer-brand {
  grid-row: 1;
}

footer p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

footer > small {
  grid-column: 1 / -1;
  color: #898d9d;
  font-size: 12px;
}

@media (max-width: 900px) {
  :root {
    --page: calc(100% - 32px);
  }

  .desktop-nav,
  .header-download {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    justify-self: end;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-button svg {
    width: 23px;
    height: 23px;
  }

  .mobile-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    background: #17192c;
    border-radius: var(--radius);
    box-shadow: 0 16px 36px rgba(0,0,0,.24);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu a {
    padding: 13px 12px;
    border-bottom: 1px solid #34364a;
    font-weight: 600;
  }

  .mobile-menu a:last-child {
    color: var(--mint);
    border-bottom: 0;
  }

  .hero {
    min-height: 860px;
    align-items: flex-end;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
  }

  .hero-photo img {
    object-position: center top;
  }

  .hero-shade {
    inset: auto 0 0;
    width: 100%;
    height: 66%;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    background: rgba(23, 18, 57, .96);
  }

  .hero-content {
    margin: 0 auto 58px;
  }

  .hero h1 {
    max-width: 650px;
  }

  .hero-note {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .intro-grid p {
    max-width: 680px;
  }

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

  .feature-list article {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-list article:last-child {
    border-bottom: 0;
  }

  .launcher {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .launcher-copy {
    max-width: 680px;
  }

  .download-band {
    grid-template-columns: auto 1fr;
  }

  .download-band .play-button {
    grid-column: 2;
    justify-self: start;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  footer > small {
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  :root {
    --page: calc(100% - 28px);
  }

  .site-header {
    top: 10px;
    height: 58px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-shade {
    height: 70%;
  }

  .hero-content {
    margin-bottom: 42px;
  }

  .hero-app {
    margin-bottom: 22px;
  }

  .hero-app img {
    width: 54px;
    height: 54px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 12vw, 57px);
  }

  .hero-content > p {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 20px;
  }

  .text-link {
    min-height: 52px;
  }

  .intro {
    padding: 58px 0 84px;
  }

  .intro-grid {
    margin-bottom: 46px;
  }

  .intro h2,
  .screens h2,
  .launcher h2 {
    font-size: 38px;
  }

  .feature-list article {
    padding: 30px 24px;
  }

  .screens {
    padding: 78px 0 86px;
  }

  .screens-heading {
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .slider-controls {
    display: none;
  }

  .screen-track {
    gap: 14px;
    padding-inline: 14px;
  }

  .screen-track figure {
    flex-basis: 78vw;
  }

  .launcher {
    min-height: 0;
    padding: 80px 0;
  }

  .launcher-visual {
    min-height: 480px;
  }

  .launcher-visual img {
    width: 55%;
  }

  .download-band {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 26px;
    margin-bottom: 74px;
  }

  .download-band > img {
    width: 68px;
    height: 68px;
  }

  .download-band .play-button {
    grid-column: 1;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  footer p,
  footer > small {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

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