:root {
  --ink: #10253d;
  --muted: #5b7289;
  --deep: #152a46;
  --ice: #e9f8ff;
  --ice-strong: #bcecff;
  --snow: #f8fdff;
  --line: rgba(53, 119, 162, 0.22);
  --gold: #f6b62a;
  --teal: #19c5d8;
  --rose: #ef4f8d;
  --shadow: 0 22px 60px rgba(17, 58, 92, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(246, 182, 42, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 26%, rgba(25, 197, 216, 0.22), transparent 26rem),
    linear-gradient(180deg, #f3fbff 0%, #ffffff 46%, #edf8ff 100%);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248, 253, 255, 0.88);
  box-shadow: 0 12px 36px rgba(17, 58, 92, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #5d3700;
  background: linear-gradient(145deg, #ffe275, var(--gold));
  box-shadow: inset 0 -4px 0 rgba(108, 65, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 110px clamp(18px, 5vw, 76px) 56px;
  overflow: hidden;
  color: #ffffff;
  background: #0d2239;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 29, 51, 0.76) 0%, rgba(9, 29, 51, 0.38) 42%, rgba(9, 29, 51, 0.1) 100%),
    linear-gradient(180deg, rgba(9, 29, 51, 0.08) 58%, rgba(9, 29, 51, 0.8) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(12, 49, 83, 0.5);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.hero-text {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-action,
.secondary-action,
.policy-links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-action {
  color: #122744;
  background: linear-gradient(145deg, #ffe27a, var(--gold));
  box-shadow: 0 14px 30px rgba(246, 182, 42, 0.35);
}

.secondary-action,
.policy-links a {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stat {
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.82);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(62px, 10vw, 118px) clamp(18px, 5vw, 76px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 100px;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-copy .eyebrow,
.section-heading .eyebrow,
.closing-section .eyebrow {
  color: #0b8dab;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, var(--teal), #1d6ad8);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(145deg, var(--rose), #8951ff);
}

.feature-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.62;
}

.gallery-section {
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 37, 61, 0.94), rgba(14, 35, 58, 0.96)),
    url("images/2.png") center / cover;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.gallery-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-shell {
  position: relative;
}

.screenshot-track {
  display: grid;
  grid-auto-columns: minmax(232px, 340px);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 2px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screenshot {
  margin: 0;
  scroll-snap-align: center;
}

.screenshot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.84);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.screenshot figcaption {
  min-height: 54px;
  padding: 14px 6px 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.45;
}

.gallery-button {
  position: absolute;
  z-index: 4;
  top: 42%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.gallery-button:hover {
  background: rgba(246, 182, 42, 0.92);
}

.gallery-button.prev {
  left: 0;
}

.gallery-button.next {
  right: 0;
}

.progress-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(234, 248, 255, 0.94)),
    repeating-linear-gradient(135deg, rgba(25, 197, 216, 0.08) 0 1px, transparent 1px 18px);
}

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

.timeline-item {
  padding: 24px;
}

.timeline-item span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #5d3700;
  background: linear-gradient(145deg, #ffe27a, var(--gold));
  font-weight: 900;
}

.closing-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 9vw, 92px) clamp(18px, 5vw, 76px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(18, 39, 68, 0.88), rgba(16, 82, 113, 0.72)),
    url("images/1.png") center 34% / cover;
}

.closing-section h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 5vw, 76px);
  color: #d8e8f4;
  background: #10253d;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 150px;
  }

  .intro-band,
  .split-section,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    display: block;
  }

  .section-copy {
    position: static;
    margin-bottom: 28px;
  }

  .closing-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 220px;
    line-height: 1.15;
  }

  .hero {
    min-height: 88vh;
    padding-top: 142px;
    background-position: center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(9, 29, 51, 0.28) 0%, rgba(9, 29, 51, 0.42) 38%, rgba(9, 29, 51, 0.86) 100%);
  }

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

  .intro-band,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .screenshot-track {
    grid-auto-columns: minmax(230px, 78vw);
    padding-inline: 0;
  }

  .gallery-button {
    display: none;
  }

  .primary-action,
  .secondary-action,
  .policy-links a {
    width: 100%;
  }
}
