@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/orbitron-500-latin.woff2') format('woff2');
}

:root {
  --bg: #09090b;
  --bg-raised: #0f0f12;
  --surface: #151518;
  --surface-2: #1c1c20;
  --line: #232327;
  --line-strong: #34343a;
  --text: #fafafa;
  --text-2: #b4b4bd;
  --text-3: #7c7c86;
  --red: #9d1917;
  --red-bright: #c42a27;
  --red-glow: rgba(196, 42, 39, 0.22);
  --radius: 20px;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Belt: the black-belt rank bar from the app header, reused as a motif ── */

.belt {
  display: inline-flex;
  justify-content: flex-end;
  width: 76px;
  height: 14px;
  border-radius: 3px;
  background: #1b1b1f;
  box-shadow: inset 0 0 0 1px #2c2c31;
  overflow: hidden;
  flex-shrink: 0;
}

.belt__rank {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  width: 30px;
  padding: 0 5px;
  background: var(--red);
}

.belt__rank i {
  width: 3px;
  background: #fff;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 30px;
}

.brand span {
  font-family: 'Orbitron', var(--font);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-size: 15px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-decoration: none;
}

.lang:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--red-bright);
}

.btn:active {
  transform: translateY(1px);
}

/* ── Type ── */

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5.4vw + 12px, 86px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 3.2vw + 14px, 58px);
  line-height: 1.02;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.accent {
  color: var(--red-bright);
}

.lead {
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
  text-wrap: pretty;
}

p {
  text-wrap: pretty;
}

/* ── Store badges ── */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: block;
  border-radius: 10px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store:hover {
  transform: translateY(-2px);
}

.store img {
  height: 54px;
  width: auto;
}

[data-os='android'] .store--play {
  order: -1;
}

.store-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.store-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-note span::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--red-bright);
  border-radius: 1px;
}

/* ── Phone frame ── */

/* Bezel is 3.4% of the phone width on every side; the aspect ratio makes the
   remaining screen area exactly 1080:2424 so screenshots are never cropped. */
.phone {
  position: relative;
  aspect-ratio: 1000 / 2160;
  border-radius: 11% / 5.1%;
  background: linear-gradient(160deg, #2e2e33 0%, #17171a 45%, #0e0e10 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 30px 60px -40px rgba(0, 0, 0, 0.8);
}

.phone::after {
  content: '';
  position: absolute;
  top: 3.55%;
  left: 50%;
  width: 3.6%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #000;
  box-shadow: inset 0 0 0 1px #222;
}

.phone img {
  position: absolute;
  left: 3.4%;
  top: 1.574%;
  width: 93.2%;
  height: 96.852%;
  object-fit: cover;
  border-radius: 8% / 3.6%;
  background: var(--bg);
}

.shot-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

/* ── Hero ── */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 45%, var(--red-glow), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero .lead {
  margin: 0 0 36px;
}

.hero__phones {
  position: relative;
  height: clamp(600px, 52vw, 720px);
}

.hero__phones .phone {
  position: absolute;
  width: 49%;
}

.hero__phones .phone--front {
  left: 0;
  top: 9%;
  z-index: 2;
}

.hero__phones .phone--back {
  right: 0;
  top: 0;
  filter: brightness(0.78);
}

/* ── Terminology ticker ── */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.ticker ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-2);
  white-space: nowrap;
}

.ticker li::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: 0 26px;
  background: var(--red);
  border-radius: 1px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── Sections ── */

.section {
  padding: clamp(80px, 10vw, 150px) 0;
}

.section--raised {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.section-head .lead {
  margin: 22px 0 0;
}

/* Problem */

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.problem p {
  margin: 0;
  font-size: clamp(18px, 0.5vw + 16px, 21px);
  color: var(--text-2);
}

.problem p + p {
  margin-top: 1em;
}

.problem strong {
  color: var(--text);
  font-weight: 600;
}

/* Steps */

.steps {
  display: grid;
  gap: clamp(72px, 9vw, 140px);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.step:nth-child(even) .step__media {
  order: -1;
}

.step__num {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.step h3 {
  font-size: clamp(28px, 1.8vw + 16px, 40px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.step p {
  margin: 0;
  color: var(--text-2);
  font-size: 18px;
  max-width: 30em;
}

.step__media {
  position: relative;
  display: flex;
  justify-content: center;
  isolation: isolate;
}

.step__media::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, var(--red-glow), transparent);
  filter: blur(20px);
  z-index: -1;
}

.step__media .phone {
  width: min(310px, 72%);
}

.step__media .shot-card {
  width: min(460px, 100%);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
}

/* Journey */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.journey__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.journey__media .phone {
  width: min(310px, 70%);
}

.journey__media .shot-card {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: min(330px, 62%);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.95);
}

.journey h2 {
  margin-bottom: 22px;
}

.journey .lead {
  margin: 0 0 40px;
}

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

.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.points .belt {
  margin-top: 6px;
  width: 44px;
}

.points .belt__rank {
  width: 20px;
  padding: 0 4px;
}

.points h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.points p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
}

.feature {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line-strong);
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red-bright);
  border-radius: 1px;
  flex-shrink: 0;
}

.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
}

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
}

.plan {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan--pro {
  background: linear-gradient(180deg, rgba(157, 25, 23, 0.14), rgba(157, 25, 23, 0.02) 60%), var(--surface);
  border-color: rgba(196, 42, 39, 0.45);
}

.plan__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.plan h3 {
  font-size: 34px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.plan__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0 0 14px;
}

.plan__prices strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.plan__prices span {
  display: block;
  font-size: 13px;
  color: var(--text-3);
}

.plan > p {
  margin: 0 0 24px;
  color: var(--text-2);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--text-2);
}

.plan li::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 7px;
  margin-top: 8px;
  border-left: 2px solid var(--red-bright);
  border-bottom: 2px solid var(--red-bright);
  transform: rotate(-45deg);
}

.pricing-foot {
  margin-top: 40px;
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq .section-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
  border-color: var(--red-bright);
}

.faq-list details p {
  margin: -6px 0 26px;
  max-width: 38em;
  color: var(--text-2);
}

.faq-list a {
  color: var(--text);
  text-decoration-color: var(--red-bright);
  text-underline-offset: 3px;
}

/* Final CTA */

.final {
  position: relative;
  padding: clamp(96px, 12vw, 170px) 0 clamp(80px, 10vw, 130px);
  text-align: center;
  overflow: hidden;
}

.final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 100%, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.final .wrap {
  position: relative;
}

.final img.final__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 36px;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}

.final h2 {
  font-size: clamp(38px, 4.4vw + 12px, 76px);
  max-width: 12em;
  margin: 0 auto 22px;
}

.final .lead {
  margin: 0 auto 40px;
}

.final .stores,
.final .store-note {
  justify-content: center;
}

/* Belt band that "ties off" the page */

.belt-band {
  display: flex;
  justify-content: flex-end;
  height: 34px;
  background: #151518;
  border-block: 1px solid #26262b;
}

.belt-band__rank {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: clamp(150px, 20vw, 260px);
  margin-right: clamp(40px, 12vw, 180px);
  background: var(--red);
}

.belt-band__rank i {
  width: 10px;
  background: #f4f4f5;
}

/* Footer */

.site-footer {
  padding: 44px 0 56px;
  color: var(--text-3);
  font-size: 14px;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer a {
  color: var(--text-2);
  text-decoration: none;
}

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

.site-footer .brand img {
  height: 24px;
}

.site-footer .brand span {
  font-size: 11px;
  color: var(--text);
}

/* ── Reveal on scroll (only when JS is running) ── */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .ticker__track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

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

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

  .hero .wrap,
  .problem,
  .step,
  .journey,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__phones {
    height: auto;
    aspect-ratio: 1 / 1.18;
    max-width: 520px;
    width: 100%;
    margin: 8px auto 0;
  }

  .hero__phones .phone {
    width: 48.5%;
  }

  .step:nth-child(even) .step__media {
    order: 0;
  }

  .journey__media {
    order: 1;
  }

  .faq .section-head {
    position: static;
  }

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

@media (max-width: 560px) {
  .site-header .wrap {
    height: 60px;
    gap: 16px;
  }

  .brand img {
    height: 26px;
  }

  .brand span {
    font-size: 11px;
    letter-spacing: 0.36em;
    margin-right: -0.36em;
  }

  .btn {
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

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

  .feature {
    padding: 26px 0 30px;
  }

  .store img {
    height: 48px;
  }

  .plan {
    padding: 28px 24px;
  }

  .journey__media .shot-card {
    right: -4px;
    width: 64%;
  }

  .faq-list summary {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .lang {
    display: none;
  }
}
