:root {
  color-scheme: dark;
  --bg: #040609;
  --panel: rgba(11, 16, 22, 0.74);
  --panel-strong: rgba(15, 22, 30, 0.9);
  --line: rgba(198, 232, 255, 0.17);
  --line-strong: rgba(199, 238, 255, 0.32);
  --ink: #f4fbff;
  --muted: #9dafba;
  --soft: #c5d5de;
  --cyan: #83e7ff;
  --mint: #9df6cf;
  --amber: #f4cf8a;
  --shadow: rgba(0, 0, 0, 0.46);
  --max: 1180px;
  --gutter: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(4, 6, 9, 0.25), var(--bg) 700px),
    #040609;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

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

h1,
h2,
h3,
p,
li,
a {
  overflow-wrap: anywhere;
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, calc(var(--max) + var(--gutter) + var(--gutter)));
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.brand {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--soft);
  font-size: 0.9rem;
}

.nav-links a,
.language-switch {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.language-switch:hover {
  color: var(--ink);
}

.language-switch {
  min-width: 88px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--soft);
  font-size: 0.86rem;
  text-align: center;
  background: rgba(5, 9, 13, 0.5);
}

.hero {
  position: relative;
  display: flex;
  min-height: 88svh;
  overflow: hidden;
  padding: 128px var(--gutter) 74px;
  isolation: isolate;
  align-items: flex-end;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 9, 0), var(--bg));
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 6, 9, 0.96) 0%, rgba(4, 6, 9, 0.82) 34%, rgba(4, 6, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 11, 16, 0.2), rgba(4, 6, 9, 0.9));
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(131, 231, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 231, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 72%, transparent);
}

.hero-screen {
  position: absolute;
  width: 318px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: #05080c;
  box-shadow: 0 34px 90px var(--shadow), 0 0 54px rgba(97, 219, 255, 0.12);
  transform-origin: center;
}

.hero-screen-home {
  top: 12%;
  right: 26%;
  opacity: 0.52;
  transform: rotate(-7deg) scale(0.8);
}

.hero-screen-sphere {
  top: 2%;
  right: 12%;
  width: 430px;
  opacity: 0.95;
  transform: rotate(4deg);
}

.hero-screen-stats {
  right: -4%;
  bottom: -22%;
  opacity: 0.58;
  transform: rotate(11deg) scale(0.84);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(640px, 100%);
  min-width: 0;
  margin-right: auto;
  margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 5.4rem;
  line-height: 0.95;
  font-weight: 760;
}

.hero-subhead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 1.95rem;
  line-height: 1.14;
  font-weight: 680;
  overflow-wrap: normal !important;
  word-break: normal;
  hyphens: none;
}

.hero-body {
  max-width: 520px;
  margin: 18px 0 28px;
  color: var(--soft);
  font-size: 1.08rem;
  overflow-wrap: normal !important;
  word-break: normal;
  hyphens: none;
}

.app-store-link {
  display: inline-flex;
  width: 180px;
}

.app-store-link:focus-visible,
.language-switch:focus-visible,
.nav-links a:focus-visible,
.hero-hint:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--soft);
  background: rgba(9, 13, 19, 0.58);
  font-size: 0.86rem;
}

.hero-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 5;
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  width: min(100%, calc(var(--max) + var(--gutter) + var(--gutter)));
  margin: 0 auto;
  padding: 104px var(--gutter);
}

.section-copy {
  max-width: 780px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.08;
}

.section-copy > p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 1.04rem;
}

.feature-grid,
.step-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.feature-card,
.step-card,
.plan-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.feature-card h3,
.step-card h3,
.plan-card h3,
.screen-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.03rem;
}

.feature-card p,
.step-card p,
.plan-card p,
.screen-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.plan-card .plan-model {
  display: inline-flex;
  margin: 14px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--cyan);
  background: rgba(131, 231, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-card .plan-price {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 760;
}

.plan-card .plan-secondary-price {
  margin: 5px 0 0;
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 700;
}

.experience-section,
.privacy-section {
  border-top: 1px solid rgba(198, 232, 255, 0.08);
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-number {
  color: var(--amber) !important;
  font-weight: 700;
}

.screen-section {
  overflow: hidden;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.screen-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(9, 13, 19, 0.7);
}

.screen-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #05080c;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.screen-frame img {
  width: 100%;
  height: auto;
}

.screen-card-copy {
  padding: 18px 4px 2px;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  border-left: 2px solid var(--mint);
  padding: 14px 16px;
  color: var(--soft);
  background: rgba(157, 246, 207, 0.06);
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card:nth-child(2) {
  border-color: rgba(131, 231, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(131, 231, 255, 0.08);
}

.plan-card:nth-child(3) {
  border-color: rgba(244, 207, 138, 0.34);
}

.site-footer {
  width: min(100%, calc(var(--max) + var(--gutter) + var(--gutter)));
  margin: 0 auto;
  padding: 56px var(--gutter) 42px;
  color: var(--muted);
  border-top: 1px solid rgba(198, 232, 255, 0.1);
}

.site-footer p {
  max-width: 680px;
  margin: 0;
}

.footer-badge {
  width: 150px;
  margin-top: 22px;
}

.legal {
  margin-top: 24px !important;
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  :root {
    --gutter: 22px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding-top: 112px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 6, 9, 0.6), rgba(4, 6, 9, 0.88) 72%),
      linear-gradient(90deg, rgba(4, 6, 9, 0.88), rgba(4, 6, 9, 0.18));
  }

  .hero-screen-sphere {
    top: 8%;
    right: -12%;
    width: 360px;
  }

  .hero-screen-home {
    top: 12%;
    left: -14%;
    right: auto;
    width: 300px;
  }

  .hero-screen-stats {
    display: none;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-subhead {
    font-size: 1.55rem;
  }

  .feature-grid,
  .step-grid,
  .screen-grid,
  .plan-grid,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .site-nav {
    width: 100%;
    max-width: 100vw;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 18px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .language-switch {
    position: static;
    min-width: 74px;
    margin-left: 10px;
    padding: 7px 11px;
  }

  .hero {
    min-height: 92svh;
    padding-bottom: 58px;
  }

  .hero-screen {
    border-radius: 24px;
  }

  .hero-screen-sphere {
    width: 260px;
    right: -46%;
    opacity: 0.54;
  }

  .hero-screen-home {
    width: 200px;
    left: -42%;
    opacity: 0.34;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-content,
  .eyebrow,
  .hero-subhead,
  .hero-body {
    max-width: calc(100vw - var(--gutter) - var(--gutter));
  }

  .hero-content {
    flex: 0 1 340px;
    width: min(340px, calc(100vw - var(--gutter) - var(--gutter)));
    margin-right: 0;
    margin-left: 0;
  }

  .hero-subhead {
    max-width: 315px;
    font-size: 1.38rem;
  }

  .hero-body {
    max-width: 330px;
  }

  .hero-subhead {
    font-size: 1.1rem;
    line-height: 1.24;
    word-break: normal;
  }

  .hero-body,
  .section-copy > p:not(.section-kicker) {
    font-size: 0.92rem;
    word-break: normal;
  }

  .hero-hint {
    left: var(--gutter);
    right: auto;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .feature-card,
  .step-card,
  .plan-card,
  .screen-card {
    padding: 18px;
  }

  .screen-frame {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
