:root {
  --bg: #0f1115;
  --surface: #181b22;
  --surface-2: #1f232c;
  --text: #e9ecf1;
  --muted: #9aa0aa;
  --accent: #c6a36a;
  --border: #262a33;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #f6f6f8;
    --surface-2: #eeeef2;
    --text: #111111;
    --muted: #555a64;
    --accent: #8a6a3a;
    --border: #e3e3e8;
  }
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Legal pages (privacy / terms) — same as before ─────────────────── */
.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 22px 80px;
}
header.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}
header.top .brand {
  font-weight: 700;
  letter-spacing: -0.2px;
  font-size: 18px;
}
header.top .brand .dot { color: var(--accent); }
h1 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin: 8px 0 4px;
}
.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
h2 {
  font-size: 22px;
  margin: 32px 0 10px;
  letter-spacing: -0.3px;
}
h3 { font-size: 16px; margin: 22px 0 6px; }
p, li { font-size: 15.5px; color: var(--text); }
a { color: var(--accent); }
ul { padding-left: 22px; }
.contact {
  margin-top: 36px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── Landing page (body.landing) ────────────────────────────────────── */
body.landing { line-height: 1.55; }
body.landing a { text-decoration: none; }
body.landing h1,
body.landing h2,
body.landing h3 { letter-spacing: -0.6px; line-height: 1.15; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}
.nav .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}
.nav .brand .dot { color: var(--accent); }
.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--accent); }
.lang-switch summary svg { color: var(--muted); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.5);
  z-index: 30;
}
.lang-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: background .12s ease;
}
.lang-menu a:hover { background: var(--surface-2); color: var(--accent); }
.lang-menu a.active { background: var(--accent); color: var(--bg); }
@media (max-width: 480px) {
  .lang-switch summary span { display: none; }
  .lang-menu { right: -40px; min-width: 200px; }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  isolation: isolate;
}
.hero > .hero-copy,
.hero > .hero-videos { position: relative; z-index: 2; }

/* ── Hero scrolling marquee background ──────────────────────────────── */
/* Full-bleed: escapes the .hero max-width and runs edge-to-edge. */
.hero-marquee {
  position: absolute;
  top: -40px;
  bottom: -40px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 0 18px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .55;
  -webkit-mask-image:
    radial-gradient(ellipse 42% 78% at 50% 50%, transparent 0%, transparent 28%, rgba(0,0,0,.55) 55%, #000 85%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    radial-gradient(ellipse 42% 78% at 50% 50%, transparent 0%, transparent 28%, rgba(0,0,0,.55) 55%, #000 85%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-composite: intersect;
}
@media (prefers-color-scheme: light) {
  .hero-marquee { opacity: .65; }
}
.hero-marquee .m-col { overflow: hidden; }
.hero-marquee .m-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}
.hero-marquee .m-track img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,.4);
}
.hero-marquee .m-col-1 .m-track { animation: marquee-up 42s linear infinite; }
.hero-marquee .m-col-2 .m-track { animation: marquee-down 50s linear infinite; transform: translateY(-50%); }
.hero-marquee .m-col-3 .m-track { animation: marquee-up 38s linear infinite; }
.hero-marquee .m-col-4 .m-track { animation: marquee-down 54s linear infinite; transform: translateY(-50%); }
.hero-marquee .m-col-5 .m-track { animation: marquee-up 46s linear infinite; }
@keyframes marquee-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes marquee-down {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee .m-track { animation: none !important; }
}
.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 16px;
}
.hero-copy h1 {
  font-size: 64px;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero-copy .lede {
  color: var(--muted);
  font-size: 19px;
  max-width: 520px;
  margin: 0 0 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--text) 35%, transparent);
}
.cta-primary:hover { transform: translateY(-1px); }
.cta-primary svg { flex-shrink: 0; }
.cta-primary span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cta-primary .cta-small { font-size: 11px; opacity: .85; letter-spacing: .3px; }
.cta-primary strong { font-size: 18px; letter-spacing: -.2px; }
.cta-primary.big { padding: 18px 30px; }
.cta-primary.big strong { font-size: 21px; }

.cta-secondary {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: border-color .15s ease;
}
.cta-secondary:hover { border-color: var(--accent); }
.trust { color: var(--muted); font-size: 13px; margin: 10px 0 0; }

.hero-videos {
  position: relative;
  height: 620px;
  perspective: 1200px;
}
.hero-videos .phone-frame {
  position: absolute;
  width: 280px;
  height: 580px;
  padding: 10px;
  background: linear-gradient(160deg, #1a1d24, #0a0b0f);
  border-radius: 38px;
  box-shadow:
    0 40px 90px -28px rgba(0,0,0,.65),
    0 0 0 1.5px rgba(255,255,255,.06) inset,
    0 0 0 1px rgba(0,0,0,.4);
  transition: transform .4s ease;
  overflow: hidden;
}
.hero-videos .phone-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  background: #000;
}
.hero-videos .phone-back {
  top: 20px;
  right: 30px;
  transform: rotate(7deg);
}
.hero-videos .phone-front {
  top: 60px;
  right: 230px;
  transform: rotate(-5deg);
  z-index: 2;
}

/* ── Shared section shell for landing ───────────────────────────────── */
body.landing section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
}
body.landing section h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.6px;
}
body.landing .section-lede {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 36px;
}

/* ── Before / after ─────────────────────────────────────────────────── */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.ba-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}
.ba-card .ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  aspect-ratio: 6 / 7;
}
.ba-card .ba-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-card figcaption {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.ba-card figcaption span:last-child { color: var(--accent); }

/* ── Videos ─────────────────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}
.video-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.5);
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.video-card figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ── How it works ───────────────────────────────────────────────────── */
.how .steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how .steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}
.how .step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 800;
  margin-bottom: 18px;
}
.how h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.4px;
  color: var(--text);
}
.how p { color: var(--muted); margin: 0; }

/* ── Features ───────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -.3px;
}
.feat p { color: var(--muted); margin: 0; font-size: 15px; }

/* ── Screens row ────────────────────────────────────────────────────── */
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.screens-row img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 20px 60px -25px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
  display: block;
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.final-cta {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 100px;
}
.final-cta h2 { margin-bottom: 4px; }
.final-cta p { color: var(--muted); margin: 0 0 28px; font-size: 18px; }

/* ── Site footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer .footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.site-footer .muted { color: var(--muted); }
.site-footer .small { font-size: 13px; text-align: right; }
.site-footer .footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.site-footer .footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.site-footer .footer-links a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 32px; text-align: left; }
  .hero-marquee { grid-template-columns: repeat(3, 1fr); opacity: .25; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
  .hero-marquee .m-col-4, .hero-marquee .m-col-5 { display: none; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy .lede { font-size: 17px; }
  .hero-videos { height: 460px; margin: 0 auto; max-width: 460px; }
  .hero-videos .phone-frame { width: 210px; height: 430px; }
  .hero-videos .phone-back { right: 18%; top: 20px; }
  .hero-videos .phone-front { right: 42%; top: 50px; }
  body.landing section { padding: 56px 24px; }
  body.landing section h2 { font-size: 30px; }
  .ba-grid, .how .steps, .feat-grid, .video-grid { grid-template-columns: 1fr; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer .small { text-align: center; }
  .site-footer .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .nav { padding: 12px 18px; }
  .hero-copy h1 { font-size: 36px; }
  body.landing section h2 { font-size: 26px; }
  .cta-primary.big { padding: 16px 22px; }
  .cta-primary.big strong { font-size: 18px; }
}
