:root {
  color-scheme: dark;
  --bg: #171c21;
  --bg-soft: #1c2228;
  --surface: #222a31;
  --surface-2: #2a333b;
  --line: rgba(206, 218, 229, 0.16);
  --line-strong: rgba(206, 218, 229, 0.28);
  --text: #f4f7f9;
  --text-soft: #c1cad2;
  --muted: #8c97a1;
  --mint: #76d8bd;
  --blue: #78c7ff;
  --amber: #ffd36f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 24%, rgba(120, 199, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #171c21 0%, #14191e 100%);
}

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

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 100;
  border-radius: 8px;
  background: var(--text);
  color: #11161a;
  padding: 10px 14px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(23, 28, 33, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  transform: translateY(0);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 2px));
}

.site-header.is-scrolled {
  background: rgba(23, 28, 33, 0.94);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.26);
}

.brand,
.nav-links,
.header-actions,
.store-link,
.language-toggle {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.nav-links a,
.language-toggle {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.language-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.header-actions {
  justify-self: end;
  gap: 8px;
}

.store-link {
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.store-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.store-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: #35404a;
}

.store-link.primary {
  background: #dce5ee;
  color: #101418;
}

.store-link.primary:hover {
  background: #f0f5fa;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  padding: 114px 0 68px;
}

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 850;
}

.hero-line {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 25px;
  font-weight: 750;
  line-height: 1.24;
}

.hero-text {
  max-width: 470px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-logo-panel {
  min-width: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-mark {
  width: min(340px, 58%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.36));
}

.logo-caption {
  display: grid;
  gap: 4px;
  text-align: center;
}

.logo-caption strong {
  font-size: 28px;
  line-height: 1;
}

.logo-caption span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.screen-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding-top: 26px;
}

.screen-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.screen-section-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.product-stage {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #11161b;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.window-bar strong {
  margin-left: 10px;
  color: var(--text-soft);
  font-size: 14px;
}

.screen-stack {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.265;
  overflow: hidden;
}

.screen-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 720ms ease, transform 900ms ease;
}

.screen-shot.is-active {
  opacity: 1;
  transform: scale(1);
}

.screen-reveal {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(17, 22, 27, 0.68));
}

.stage-footer {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #171d22;
}

.stage-metric span,
.proof-strip span,
.focus-list article span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.stage-metric strong {
  display: block;
  margin-top: 5px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 18px;
}

.stage-controls {
  display: flex;
  gap: 7px;
}

.stage-controls button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.stage-controls button:hover,
.stage-controls button.is-active {
  background: var(--mint);
  transform: scale(1.18);
}

.proof-strip {
  width: min(calc(100% - 48px), var(--max));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip span {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 14px;
}

.section,
.final-cta,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-top: 112px;
}

.focus-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

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

.section-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-list article {
  display: grid;
  min-width: 0;
  grid-template-columns: 62px 0.64fr 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.focus-list h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.15;
}

.focus-list p {
  margin: 0;
  color: var(--text-soft);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 108px;
  padding: 32px;
  border-radius: 8px;
  background: #dce5ee;
  color: #11161a;
}

.final-cta .eyebrow {
  color: #2a5c50;
  text-transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer strong {
  color: var(--text);
  font-size: 15px;
}

.site-footer a:hover {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .focus-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    min-height: auto;
    padding-top: 112px;
  }

  .hero-logo-panel {
    min-height: 420px;
  }

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

  .hero h1 {
    font-size: 56px;
  }

  .hero-line {
    font-size: 22px;
  }

  .section-copy {
    position: static;
  }

  .focus-list article {
    grid-template-columns: 46px 1fr;
  }

  .focus-list article p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

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

  .brand span,
  .store-link.compact {
    display: none;
  }

  .hero,
  .screen-section,
  .proof-strip,
  .section,
  .final-cta,
  .site-footer {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }

  .hero-copy,
  .hero-line,
  .hero-text,
  .hero-actions {
    max-width: 340px;
    overflow-wrap: break-word;
  }

  .hero-logo-panel {
    min-height: 300px;
  }

  .logo-mark {
    width: min(210px, 62%);
  }

  .screen-section {
    padding-top: 0;
  }

  .screen-section-heading {
    display: block;
  }

  .screen-section-heading h2 {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-line {
    font-size: 20px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 17px;
  }

  .store-link.primary {
    width: 340px;
    max-width: 100%;
    padding-inline: 12px;
  }

  .window-bar {
    height: 40px;
  }

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

  .stage-controls {
    justify-content: flex-start;
  }

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

  .section {
    margin-top: 78px;
  }

  .section-copy h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .focus-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .focus-list article p {
    grid-column: auto;
  }

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

@media (max-width: 480px) {
  .hero,
  .screen-section,
  .proof-strip,
  .section,
  .final-cta,
  .site-footer {
    width: min(calc(100vw - 72px), 340px);
    max-width: min(calc(100vw - 72px), 340px);
  }

  .hero-copy,
  .hero-line,
  .hero-text,
  .hero-actions,
  .store-link.primary {
    width: 100%;
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
