:root {
  --brand: #7b76b8;
  --brand-deep: #5d58a0;
  --brand-soft: #ecebf7;
  --bg: #f2f2f6;
  --card: #ffffff;
  --ink: #111114;
  --muted: #6c6c76;
  --line: #e4e4ea;
  --tint: rgba(16, 14, 34, 0.5);
  --radius: 22px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.kicker { font-size: 15px; font-weight: 600; color: var(--brand); letter-spacing: 0.01em; margin-bottom: 10px; }
.kicker-light { color: rgba(255, 255, 255, 0.86); }
.lead { font-size: 20px; line-height: 1.5; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 242, 246, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: #e3e3ea; border-radius: 9px; padding: 2px; }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--muted); padding: 5px 10px; border-radius: 7px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }

/* Phone frame */
.phone {
  background: #1b1b1f;
  padding: 10px;
  border-radius: 48px;
  box-shadow: inset 0 0 0 1.5px #2c2c32, 0 30px 60px -20px rgba(30, 26, 70, 0.35);
}
.phone img { border-radius: 38px; width: 100%; }

/* Hero */
.hero { position: relative; padding-top: 72px; }
.hero-photo {
  position: absolute; inset: 0 0 auto 0; height: 640px;
  background: linear-gradient(var(--tint), var(--tint)), url("assets/photos/201-wide.jpg") center 60% / cover;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.hero-text { color: #fff; padding-top: 56px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em; }
.hero .lead { margin-top: 22px; max-width: 30em; color: rgba(255, 255, 255, 0.86); }
.hero-device { display: flex; justify-content: center; }
.hero-device .phone { width: 340px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  height: 52px; padding: 0 18px 0 14px; min-width: 176px;
  border-radius: 12px; text-decoration: none; color: #fff;
  background: #0b0b0d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.store-icon { width: 24px; height: 24px; flex: none; display: block; }
.store-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.store small {
  font-size: 9px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72;
}
.store strong { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; margin-top: 3px; }
a.store:hover { transform: translateY(-1px); background: #000; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3); }
a.store:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Stats */
.stats-section { margin-top: 56px; position: relative; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.stats div { padding: 28px 20px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); line-height: 1.05; }
.stats span { font-size: 15px; color: var(--muted); }

/* Section heads */
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; font-weight: 800; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-note { max-width: 25em; color: var(--muted); font-size: 17px; }

/* Features */
.features { padding: 120px 0 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature-flip .feature-text { order: 2; }
.feature-text { position: relative; max-width: 470px; }
.feature-flip .feature-text { justify-self: end; }
.big-num {
  display: block; font-size: 120px; font-weight: 800; line-height: 0.9; letter-spacing: -0.05em;
  color: var(--brand); opacity: 0.1; margin-bottom: -34px;
}
.feature-text h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; font-weight: 800; }
.feature-text > p:not(.kicker) { margin-top: 16px; font-size: 18px; color: var(--muted); }
.facts { list-style: none; margin: 26px 0 0; padding: 0; background: var(--card); border-radius: 16px; }
.facts li { padding: 14px 18px; font-size: 15px; font-weight: 500; }
.facts li + li { border-top: 1px solid var(--line); }
.feature-device { display: flex; justify-content: center; }
.feature-device .phone { width: 300px; }

/* Stage cards */
.stages { padding: 100px 0 110px; }
.stages .section-head { margin-bottom: 36px; }
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(28px, calc((100vw - var(--wrap)) / 2 + 28px)) 8px;
  scroll-padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px));
}
.cards::-webkit-scrollbar { display: none; }
@media (min-width: 961px) {
  .cards {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto;
    overflow: visible; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; gap: 22px;
  }
}
.cards:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.card { scroll-snap-align: start; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: #ddd center / cover; }
.badge {
  position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, 0.94);
  border-radius: 8px; padding: 3px 9px; font-size: 13px; font-weight: 700; color: var(--brand);
}
.card-body { position: relative; padding: 18px 20px 20px; min-height: 124px; }
.card-num {
  position: absolute; right: 14px; bottom: 6px; font-size: 72px; font-weight: 800; line-height: 1;
  letter-spacing: -0.05em; color: var(--brand); opacity: 0.08;
}
.card h3 { position: relative; font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
.card p { position: relative; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Safety */
.safety { padding: 110px 0; background: #fff; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.safety-text h3 + p { margin-bottom: 34px; }
.safety-text > p:not(.kicker) { margin-top: 14px; font-size: 18px; color: var(--muted); }
.safety-text h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; font-weight: 800; }
.safety-text .big-num { font-size: 96px; margin-bottom: -28px; }
.safety-devices { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.safety-devices .phone { width: 250px; }
.safety-devices .phone:last-child { margin-top: 70px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 90px; }
.trust div { background: var(--bg); border-radius: var(--radius); padding: 28px; }
.trust h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { padding: 110px 0; }
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-size: 17px; font-weight: 600; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid #b4b4bd; border-bottom: 2px solid #b4b4bd;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* CTA */
.cta { position: relative; padding: 130px 0; color: #fff; text-align: center; overflow: hidden; }
.cta-photo {
  position: absolute; inset: 0;
  background: linear-gradient(var(--tint), var(--tint)), url("assets/photos/403-wide.jpg") center 55% / cover;
}
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.cta .lead { margin-top: 16px; color: rgba(255, 255, 255, 0.86); }
.cta .store-buttons { justify-content: center; }

/* Footer */
.footer { padding: 40px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.footer-links a:hover { color: var(--ink); }
.footer-note { width: 100%; color: #9a9aa3; font-size: 13px; border-top: 1px solid var(--line); padding-top: 20px; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { padding-top: 24px; }
  .hero-device .phone { width: 280px; }
  .hero-photo { height: 560px; }
  .feature, .safety-grid, .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-flip .feature-text { order: 0; justify-self: start; }
  .feature-text { max-width: none; }
  .feature { padding: 36px 0; }
  .feature-device .phone { width: 260px; }
  .section-head-row { display: block; }
  .section-note { margin-top: 14px; }
  .trust { grid-template-columns: 1fr; }
  .faq-inner { gap: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 56px; gap: 12px; }
  .brand span { font-size: 16px; }
  .btn-sm { padding: 7px 13px; }
  .hero { padding-top: 40px; }
  .lead { font-size: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats strong { font-size: 36px; }
  .features { padding-top: 90px; }
  .big-num { font-size: 92px; margin-bottom: -26px; }
  .cards { grid-auto-columns: 78vw; padding: 4px 20px 8px; scroll-padding: 0 20px; }
  .safety-devices .phone { width: 46%; }
  .safety-devices .phone:last-child { margin-top: 40px; }
  .phone { border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 30px; }
  .store { min-width: 0; flex: 1 1 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
