:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: rgba(226, 235, 246, 0.74);
  --faint: rgba(226, 235, 246, 0.54);
  --deep: #06111f;
  --navy: #0a1a2f;
  --panel: rgba(16, 33, 57, 0.72);
  --panel-solid: #13233c;
  --line: rgba(226, 235, 246, 0.16);
  --line-strong: rgba(226, 235, 246, 0.26);
  --amber: #f8b832;
  --amber-strong: #ff9f1c;
  --focus: #ffd166;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
  background: #071525;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  background-color: #071525;
  background:
    radial-gradient(circle at 16% 34%, rgba(40, 132, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 94%, rgba(248, 184, 50, 0.12), transparent 26%),
    radial-gradient(circle at 9% 98%, rgba(38, 121, 232, 0.12), transparent 22%),
    linear-gradient(180deg, var(--deep) 0%, #08182d 58%, #071525 82%, #06111f 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

main {
  position: relative;
  z-index: 1;
  overflow: clip;
  background: transparent;
}

main::before,
main::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.58;
  pointer-events: none;
}

main::before {
  top: 360px;
  left: max(-260px, calc(50% - 900px));
  background: rgba(35, 123, 255, 0.22);
}

main::after {
  right: max(-260px, calc(50% - 920px));
  bottom: -180px;
  background: rgba(248, 184, 50, 0.14);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 30;
  border-radius: 8px;
  background: #fff;
  color: var(--deep);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

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

.hero {
  position: relative;
  z-index: 1;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.14) saturate(1.06) contrast(1.03);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background:
    radial-gradient(circle at 76% 46%, rgba(248, 184, 50, 0.06), transparent 27%),
    radial-gradient(circle at 46% 42%, rgba(72, 145, 255, 0.04), transparent 31%),
    linear-gradient(90deg, rgba(3, 9, 18, 0.42) 0%, rgba(5, 14, 28, 0.26) 36%, rgba(5, 14, 28, 0.04) 66%, rgba(5, 14, 28, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 9, 18, 0.03) 0%, rgba(3, 9, 18, 0) 48%, rgba(6, 17, 31, 0.5) 100%);
}

.hero::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, transparent 78%, var(--deep) 100%);
}

.site-header,
.hero__inner {
  width: min(1480px, calc(100% - 96px));
  margin: 0 auto;
}

.section__inner,
.site-footer__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 760;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.52);
  padding: 4px;
  backdrop-filter: blur(18px);
}

.language-switcher a {
  min-width: 34px;
  border-radius: 7px;
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  background: rgba(255, 159, 28, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 159, 28, 0.72),
    0 10px 26px rgba(255, 159, 28, 0.12);
  color: #fff;
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: calc(88svh - 78px);
  padding: 32px 0 76px;
}

.hero__copy {
  max-width: 650px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--amber-strong);
  font-size: 15px;
  font-weight: 850;
  text-transform: none;
}

h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(58px, 8.4vw, 128px);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}

.headline-dot {
  color: var(--amber-strong);
}

.headline-line {
  display: block;
}

.hero__lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-width: 188px;
  min-height: 58px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #05070a;
  color: #fff;
  padding: 9px 15px;
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.store-badge:hover {
  background: #121820;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.store-badge:active {
  transform: translateY(1px) scale(0.99);
}

.store-badge__icon {
  width: 28px;
  min-width: 28px;
  color: #fff;
}

.store-badge__text {
  display: grid;
  line-height: 1.05;
  white-space: nowrap;
}

.store-badge small {
  font-size: 11px;
  font-weight: 650;
}

.store-badge strong {
  font-size: 19px;
  font-weight: 800;
}

.hero__note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.hero__note a {
  font-weight: 750;
  text-underline-offset: 4px;
}

.phone-frame {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 460 / 960;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.42));
  isolation: isolate;
}

.phone-frame__screen {
  position: absolute;
  top: 2.5%;
  left: 4.347826%;
  z-index: 1;
  display: block;
  width: 91.304348%;
  height: 95%;
  overflow: hidden;
  border-radius: 11.4% / 5.25%;
  background: #02060d;
}

.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.phone-frame__chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.phone-frame--feature {
  width: min(100%, 354px);
  justify-self: center;
}

.phone-frame--secondary {
  width: min(100%, 272px);
  filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.34));
}

.section {
  position: relative;
  z-index: 1;
  padding: 86px 0;
  overflow: visible;
  background: transparent;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(78px);
  pointer-events: none;
}

.section::before {
  top: 3%;
  left: max(-240px, calc(50% - 880px));
  width: 420px;
  height: 420px;
  background: rgba(18, 96, 190, 0.18);
}

.section::after {
  right: max(-230px, calc(50% - 880px));
  bottom: -130px;
  width: 520px;
  height: 520px;
  background: rgba(248, 184, 50, 0.16);
}

.section__inner {
  position: relative;
  z-index: 1;
}

.section__head {
  max-width: 820px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.section__lead {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  grid-auto-rows: minmax(146px, auto);
  align-items: stretch;
  gap: 16px;
}

.value-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(23, 41, 68, 0.76), rgba(11, 25, 45, 0.64)),
    rgba(13, 29, 52, 0.64);
  padding: clamp(22px, 2.5vw, 30px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.value-card:first-child {
  grid-row: span 2;
  display: flex;
  min-height: 322px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 184, 50, 0.15), transparent 33%),
    linear-gradient(145deg, rgba(25, 46, 76, 0.82), rgba(10, 23, 42, 0.68)),
    rgba(13, 29, 52, 0.64);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(248, 184, 50, 0.09), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(74, 144, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.value-card h3 {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.18;
}

.value-card:first-child h3 {
  display: grid;
  max-width: 450px;
  gap: 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
}

.value-card__number {
  display: inline-flex;
  align-items: center;
  color: var(--amber);
  font-size: 15px;
  font-weight: 860;
  letter-spacing: 0.04em;
}

.value-card:first-child .value-card__number {
  font-size: 17px;
}

.value-card p {
  position: relative;
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(30px, 7vw, 82px);
  align-items: center;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding-top: 72px;
}

.product-feature--screens {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr);
  margin-top: 56px;
}

.product-copy {
  max-width: 540px;
}

.product-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.mountain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mountain-list span {
  border-radius: 999px;
  background: rgba(248, 184, 50, 0.14);
  color: rgba(255, 235, 190, 0.94);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 760;
}

.screenshot-pair {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
}

.screenshot-pair .phone-frame:nth-child(2) {
  margin-top: 54px;
}

.closing {
  position: relative;
  z-index: 1;
  padding: 74px 0 84px;
  overflow: visible;
  background: transparent;
}

.closing::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: -300px;
  right: max(-280px, calc(50% - 930px));
  z-index: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: rgba(248, 184, 50, 0.18);
  filter: blur(84px);
  pointer-events: none;
}

.closing::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: max(-280px, calc(50% - 920px));
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(34, 118, 230, 0.16);
  filter: blur(76px);
  pointer-events: none;
}

.closing .section__inner {
  position: relative;
  z-index: 1;
}

.closing__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(23, 41, 68, 0.76), rgba(11, 25, 45, 0.64)),
    rgba(13, 29, 52, 0.64);
  padding: clamp(28px, 5vw, 48px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.closing__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(248, 184, 50, 0.09), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(74, 144, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.closing__panel > * {
  position: relative;
}

.closing__panel h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

.closing__panel p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  background: var(--amber);
  color: #17110a;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: #ffc54d;
}

.closing-actions {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: min(100%, 238px);
}

.closing-actions .store-badge {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 0;
  background: transparent;
  color: var(--muted);
  margin-top: -1px;
  padding: 0 0 calc(34px + env(safe-area-inset-bottom));
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}

.footer-brand__mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
  font-weight: 720;
}

.footer-links a {
  text-decoration: none;
}

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

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--deep);
  color: #fff;
}

.not-found__box {
  max-width: 620px;
}

.not-found__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 24px;
  font-weight: 850;
}

.not-found__brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.not-found h1 {
  font-size: 56px;
}

.not-found p {
  color: var(--muted);
  font-size: 20px;
}

@media (max-width: 1020px) {
  .product-feature,
  .product-feature--screens,
  .closing__panel {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(100%, 310px);
  }

  .phone-frame--feature {
    justify-self: start;
  }

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

  .value-card,
  .value-card:first-child {
    grid-row: auto;
    min-height: auto;
    justify-content: flex-start;
  }

  .value-card:first-child h3 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .screenshot-pair {
    justify-content: flex-start;
  }

  .closing-actions {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero__inner,
  .section__inner,
  .site-footer__inner {
    width: min(100% - 32px, 1160px);
  }

  .hero {
    min-height: 100svh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 9, 18, 0.7) 0%, rgba(5, 14, 28, 0.42) 54%, rgba(5, 14, 28, 0.26) 100%),
      linear-gradient(180deg, rgba(3, 9, 18, 0.58) 0%, rgba(5, 14, 28, 0.32) 46%, rgba(6, 17, 31, 0.94) 100%);
  }

  .hero__image {
    object-position: 55% center;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }

  .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav > a {
    text-align: center;
  }

  .language-switcher {
    grid-column: 1 / -1;
    width: 100%;
  }

  .language-switcher a {
    flex: 1;
  }

  .hero__inner {
    align-items: flex-end;
    min-height: calc(100svh - 144px);
    gap: 34px;
    padding: 44px 0 58px;
  }

  .hero__copy {
    max-width: 560px;
  }

  h1 {
    max-width: 420px;
    font-size: clamp(54px, 16vw, 74px);
  }

  .hero__lead {
    max-width: 440px;
    font-size: 19px;
  }

  .section {
    padding: 60px 0;
  }

  .product-feature {
    margin-top: 48px;
    padding-top: 48px;
  }

  .screenshot-pair {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .screenshot-pair .phone-frame:nth-child(2) {
    margin-top: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 520px) {
  .store-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-badge {
    min-width: 0;
    min-height: 54px;
    width: 100%;
    gap: 8px;
    padding: 8px 10px;
  }

  .store-badge__icon {
    width: 22px;
    min-width: 22px;
  }

  .store-badge small {
    font-size: 9px;
  }

  .store-badge strong {
    font-size: 15px;
  }

  .closing-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .phone-frame--feature {
    justify-self: center;
  }

  .phone-frame {
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  .site-header,
  .hero__inner,
  .section__inner,
  .site-footer__inner {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 20px;
  }

  h1 {
    font-size: 43px;
  }

  .store-badge {
    gap: 6px;
    padding: 8px;
  }

  .store-badge__icon {
    width: 20px;
    min-width: 20px;
  }

  .store-badge small {
    font-size: 8px;
  }

  .store-badge strong {
    font-size: 13px;
  }

  .hero__inner {
    padding-bottom: 36px;
  }

  .section {
    padding: 36px 0 54px;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .phone-frame {
    width: min(100%, 278px);
  }
}

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