:root{
  --red:#E60012;
  --red-dark:#C0000F;
  --ink:#1a1a1c;
  --muted:#6b6b70;
  --bg:#ffffff;
  --bg-soft:#faf7f5;
  --card:#ffffff;
  --line:#ececee;
  --radius:20px;
  --shadow:0 10px 40px rgba(0,0,0,.08);
  --shadow-lg:0 24px 70px rgba(230,0,18,.16);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
video{max-width:100%}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.btn{
  display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:15px;
  padding:12px 22px;border-radius:999px;transition:transform .15s ease,box-shadow .15s ease;
}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 8px 24px rgba(230,0,18,.28)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(230,0,18,.36)}
.btn-ghost{border:1.5px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--red);color:var(--red)}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px;letter-spacing:-.02em}
.brand img{width:34px;height:34px;border-radius:9px}
.nav-links{display:flex;align-items:center;gap:28px}
.nav-links a{color:var(--muted);font-size:15px;font-weight:500}
.nav-links a:hover{color:var(--ink)}
.nav-cta{display:flex;align-items:center;gap:14px}
@media(max-width:720px){.nav-links{display:none}}

/* hero */
.hero{position:relative;overflow:hidden;background:
  radial-gradient(1200px 500px at 80% -10%,rgba(230,0,18,.10),transparent 60%),
  linear-gradient(180deg,#fff, var(--bg-soft))}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding-top:72px;padding-bottom:72px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--red);
  background:rgba(230,0,18,.08);padding:6px 14px;border-radius:999px;margin-bottom:22px}
.hero h1{font-size:56px;line-height:1.08;letter-spacing:-.03em;font-weight:800}
.hero h1 .accent{color:var(--red)}
.hero p.lead{font-size:20px;color:var(--muted);margin:22px 0 32px;max-width:30em}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hero-note{margin-top:18px;font-size:13px;color:var(--muted)}
.phone{
  justify-self:center;width:300px;border-radius:44px;padding:12px;background:#0d0d0f;
  box-shadow:var(--shadow-lg);position:relative;
}
.phone::before{content:"";position:absolute;top:20px;left:50%;transform:translateX(-50%);width:96px;height:26px;background:#0d0d0f;border-radius:0 0 16px 16px;z-index:2}
.phone .screen{position:relative;width:100%;aspect-ratio:1320/2868;border-radius:33px;overflow:hidden;background:#0d0d0f}
.phone .screen img,.phone .screen video,.phone .screen panime-widget{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border:0}
.phone .screen panime-widget canvas,.phone .screen panime-widget img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:860px){
  .hero .wrap{grid-template-columns:1fr;text-align:center;gap:36px}
  .hero p.lead{margin-left:auto;margin-right:auto}
  .hero-cta{justify-content:center}
  .hero h1{font-size:42px}
}

/* section */
.section{padding:88px 0}
.section.soft{background:var(--bg-soft)}
.section-head{text-align:center;max-width:640px;margin:0 auto 52px}
.section-head h2{font-size:38px;letter-spacing:-.02em;font-weight:800}
.section-head p{color:var(--muted);font-size:18px;margin-top:14px}

/* features */
.features{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.feature{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px;transition:transform .18s ease,box-shadow .18s ease}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.feature .ico{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:26px;background:rgba(230,0,18,.08);margin-bottom:18px}
.feature h3{font-size:20px;font-weight:700}
.feature p{color:var(--muted);margin-top:8px;font-size:15.5px}
@media(max-width:680px){.features{grid-template-columns:1fr}}

/* shots */
.shots{display:flex;gap:22px;overflow-x:auto;padding:8px 4px 24px;scroll-snap-type:x mandatory}
.shots figure{flex:0 0 auto;width:240px;scroll-snap-align:center}
.shots img{border-radius:26px;border:1px solid var(--line);box-shadow:var(--shadow)}
.shots figcaption{text-align:center;color:var(--muted);font-size:14px;margin-top:14px;font-weight:500}

/* privacy banner */
.privacy-cta{background:linear-gradient(135deg,#1a1a1c,#2b2b30);color:#fff;border-radius:28px;padding:56px 48px;text-align:center}
.privacy-cta h2{font-size:32px;letter-spacing:-.02em}
.privacy-cta p{color:rgba(255,255,255,.72);max-width:44em;margin:16px auto 28px;font-size:17px}
.privacy-cta .btn-primary{background:#fff;color:var(--ink)}
.privacy-cta .btn-primary:hover{box-shadow:0 12px 30px rgba(0,0,0,.35)}

/* embed / developers */
.embed-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:860px){.embed-grid{grid-template-columns:1fr}}
.embed-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;min-width:0}
.embed-t{font-size:13px;font-weight:700;color:var(--muted);padding:12px 16px;border-bottom:1px solid var(--line)}
.code{margin:0;padding:16px;font:12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;
  background:#1a1a1c;color:#e6e6e8;overflow-x:auto;white-space:pre;flex:1}
.code .tok{color:#ff8a8a}
.embed-note{text-align:center;color:var(--muted);font-size:14px;margin-top:26px}
.embed-note a{color:var(--red);font-weight:600}

/* footer */
.footer{border-top:1px solid var(--line);padding:44px 0;color:var(--muted);font-size:14px}
.footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;align-items:center}
.footer .fbrand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700}
.footer .fbrand img{width:26px;height:26px;border-radius:7px}
.footer a{color:var(--muted)}.footer a:hover{color:var(--red)}
.footer nav{display:flex;gap:22px;flex-wrap:wrap}

/* legal page */
.legal{max-width:760px;margin:0 auto;padding:64px 24px 96px}
.legal h1{font-size:40px;letter-spacing:-.02em;font-weight:800}
.legal .meta{color:var(--muted);margin:10px 0 40px}
.legal h2{font-size:22px;margin:36px 0 12px;font-weight:700}
.legal p,.legal li{color:#37373b;font-size:16px}
.legal ul{margin:12px 0 12px 22px}
.legal li{margin:6px 0}
.legal .back{display:inline-block;margin-bottom:32px;color:var(--red);font-weight:600}
.legal .lead-box{background:var(--bg-soft);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:14px;padding:18px 22px;margin:8px 0 8px}
