:root {
  --bg: #0b0b0e;
  --card: #131317;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #3d8bff;
  --blue-deep: #1f5fd6;
  --script: #8fb8ff;
  --text: #ffffff;
  --body: #d4d4dc;
  --muted: #9a9aa6;
  --radius: 28px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--script); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  flex-wrap: wrap;
}
.nav .logo img { height: 40px; width: auto; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.nav ul a { color: var(--muted); font-size: 15px; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Headline styles that match the App Store previews */
.kicker {
  color: var(--muted);
  font-weight: 300;
  font-size: 20px;
  margin: 0 0 6px;
}
.headline {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.45), 0 0 60px rgba(255, 255, 255, 0.18);
}
.headline .s {
  font-family: "Kalam", "Comic Sans MS", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: 1.12em;
  line-height: 0.9;
  color: var(--script);
  text-shadow: 0 0 18px rgba(110, 165, 255, 0.75), 0 0 48px rgba(61, 139, 255, 0.45);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  border: 0;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #4f97ff; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #ededf0; }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 56px 0 0;
  overflow: hidden;
}
.hero::before, .cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.6px, transparent 2.3px);
  background-size: 46px 46px;
}
.hero::after, .cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(160, 200, 255, 0.95) 1.8px, transparent 2.5px),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(61, 139, 255, 0.55), transparent 70%),
    linear-gradient(to bottom, transparent, rgba(31, 95, 214, 0.35));
  background-size: 46px 46px, 100% 100%, 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 30%, #000 72%, transparent 100%);
}
.hero .wrap, .cta .wrap { position: relative; z-index: 1; }
.hero .headline { max-width: 900px; margin: 0 auto; }
.hero p.lead {
  color: var(--body);
  font-weight: 300;
  font-size: 19px;
  max-width: 560px;
  margin: 26px auto 0;
}
.hero .actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .phone {
  position: relative;
  margin: 54px auto 0;
  width: min(360px, 78vw);
}
.hero .phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 52px;
  box-shadow: 0 0 60px 10px rgba(110, 165, 255, 0.5), 0 0 140px 40px rgba(61, 139, 255, 0.3);
  pointer-events: none;
}
.hero .phone img { position: relative; width: 100%; border-radius: 52px; }
.hero .phone-clip { position: relative; z-index: 1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent); margin-top: -220px; padding-top: 230px; height: calc(min(360px, 78vw) * 1.8 + 384px); }
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Feature cards */
.features { padding: 70px 0 40px; }
.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 720px;
}
.card .text { padding: 40px 28px 10px; text-align: center; }
.card .kicker { font-size: 17px; }
.card .headline { font-size: clamp(38px, 3.6vw, 48px); }
.card .shot { margin-top: auto; }
.card .shot img { width: 100%; }
.card.flip .text { padding: 14px 28px 44px; margin-top: auto; }
.card.flip .shot { margin-top: 0; }

/* How it works */
.how { padding: 60px 0 20px; text-align: center; }
.how h2 {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(30px, 4vw, 40px);
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}
.how .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.how .step {
  border-top: 2px solid var(--blue);
  padding-top: 18px;
}
.how .step strong { display: block; font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.how .step p { margin: 0; color: var(--body); font-weight: 300; }

/* Final CTA */
.cta {
  position: relative;
  text-align: center;
  padding: 110px 0 120px;
  margin-top: 60px;
  overflow: hidden;
}
.cta .headline { max-width: 900px; margin: 0 auto; }
.cta .actions { margin-top: 34px; display: flex; justify-content: center; }
.cta .logo-mark { width: 140px; margin: 0 auto 26px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
.footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer img { height: 30px; width: auto; opacity: 0.9; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer .mail { margin-top: 18px; }

/* Legal / support pages */
.doc { padding: 40px 0 80px; }
.doc .inner { max-width: 720px; }
.doc h1 {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(38px, 6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.doc .updated { color: var(--muted); margin: 0 0 30px; }
.doc h2 {
  font-weight: 600;
  font-size: 22px;
  margin: 40px 0 12px;
}
.doc p, .doc li { color: var(--body); font-size: 17px; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 24px; margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc li ul { margin-top: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1020px) {
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .how .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { justify-content: center; text-align: center; }
  .nav ul { gap: 18px; justify-content: center; }
  .features .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .hero p.lead { font-size: 17px; }
  .kicker { font-size: 17px; }
  .footer .row { justify-content: center; text-align: center; }
  .footer ul { justify-content: center; }
}

.nav ul a.nav-get { color: #fff; background: var(--blue); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav ul a.nav-get:hover { background: #4f97ff; }
.nav ul { align-items: center; }
