﻿:root{
  --bg:#0b1220;
  --panel:#0f172a;
  --card:#111c33;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --line:rgba(148,163,184,.18);
  --shadow:0 18px 40px rgba(0,0,0,.35);
  --r:16px;
  --c1:#312E81;
  --c2:#6D28D9;
  --c3:#C4B5FD;
  --grad:linear-gradient(135deg,var(--c1),var(--c2) 55%,var(--c3));
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  background:radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.06), transparent 60%),
             radial-gradient(900px 500px at 85% 10%, rgba(255,255,255,.05), transparent 55%),
             var(--bg);
  color:var(--text);
  line-height:1.6;
}
.preload *{transition:none!important;animation:none!important}
.container{max-width:1140px;margin:0 auto;padding:0 18px}
.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:16px;top:16px;width:auto;height:auto;padding:10px 12px;background:#fff;color:#000;border-radius:10px;z-index:9999}

.header{position:sticky;top:0;z-index:20;background:rgba(11,18,32,.75);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header__inner{display:flex;align-items:center;gap:14px;min-height:72px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.nav{margin-left:auto;display:flex;align-items:center;gap:16px}
.nav a{color:var(--text);text-decoration:none;font-weight:600;opacity:.88}
.nav a:hover{opacity:1}
.nav .is-active{opacity:1}

.nav-toggle{display:none;margin-left:auto;background:transparent;border:1px solid var(--line);border-radius:12px;padding:10px;cursor:pointer}
.nav-toggle span{display:block;width:20px;height:2px;background:rgba(229,231,235,.9);margin:4px 0;border-radius:2px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:14px;border:1px solid transparent;
  text-decoration:none;font-weight:800;letter-spacing:.2px;
  user-select:none;cursor:pointer;transform:translateZ(0);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{transform:translateY(1px) scale(.99)}
.btn--primary{
  background:var(--grad);
  color:#0b1220;
  box-shadow:0 16px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.btn--primary:hover{filter:saturate(1.08) brightness(1.05);transform:translateY(-1px)}
.btn--secondary{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.16);
  color:var(--text);
  box-shadow:0 12px 24px rgba(0,0,0,.25);
}
.btn--secondary:hover{background:rgba(255,255,255,.09);transform:translateY(-1px)}
.btn--ghost{
  background:transparent;border-color:rgba(255,255,255,.16);color:var(--text)
}
.btn--ghost:hover{background:rgba(255,255,255,.06)}
.btn--soft{
  background:rgba(255,255,255,.06);border-color:transparent;color:var(--text)
}
.btn--soft:hover{background:rgba(255,255,255,.09)}
.btn--mini{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.btn--mini:hover{background:rgba(255,255,255,.09)}

.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero__bg{position:absolute;inset:0;opacity:.95}
.hero__bg img{width:100%;height:100%;object-fit:cover}
.hero__inner{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;padding:56px 0}
.hero h1{font-size:44px;line-height:1.15;margin:0 0 14px}
.lead{font-size:18px;color:rgba(229,231,235,.9);margin:0 0 18px;max-width:56ch}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 14px}
.tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.tag{
  font-weight:800;font-size:12px;color:rgba(229,231,235,.92);
  padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05)
}

.section{padding:54px 0}
.section--alt{background:rgba(255,255,255,.03);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.section__head h2{margin:0;font-size:28px}
.muted{color:var(--muted)}
.small{font-size:13px}
.center{text-align:center;margin-top:16px}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--r);
  padding:18px;
  box-shadow:0 14px 32px rgba(0,0,0,.22);
}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.list{margin:10px 0 0;padding-left:18px}
.list li{margin:8px 0}
.inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

.feature h3{margin:10px 0 6px}
.feature p{margin:0;color:var(--muted)}
.feature__icon{display:block}

.download{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}
.download__panel{position:relative;overflow:hidden}
.download__title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pill{
  font-size:12px;font-weight:900;letter-spacing:.2px;
  padding:6px 10px;border-radius:999px;color:#0b1220;background:var(--grad)
}
.download__actions{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 10px}

.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.steps li{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:14px}
.steps--inline{grid-template-columns:1fr}
.step__num{
  width:34px;height:34px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#0b1220;font-weight:900;background:var(--grad);flex:0 0 auto
}

.faq{display:grid;gap:10px}
.faq__item{border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden}
.faq__q{
  width:100%;text-align:left;background:transparent;border:0;color:var(--text);
  padding:14px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-weight:900;cursor:pointer
}
.faq__q:hover{background:rgba(255,255,255,.04)}
.faq__a{padding:0 14px 14px;color:var(--muted)}
.faq__chev{opacity:.85;transition:transform .18s ease}
.faq__item.is-open .faq__chev{transform:rotate(180deg)}

.footer{padding:34px 0;border-top:1px solid var(--line);background:rgba(11,18,32,.7)}
.footer__grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:16px;margin-bottom:18px}
.footer__title{font-weight:900;margin-bottom:8px}
.footer__links{display:grid;gap:6px}
.footer__links a{color:rgba(229,231,235,.9);text-decoration:none;opacity:.88}
.footer__links a:hover{opacity:1}
.footer__bottom{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}

.page-hero{padding:42px 0 12px}
.page-hero h1{margin:0;font-size:34px}
.prose h2{margin:8px 0 8px}
.prose p{margin:10px 0}
.prose code{background:rgba(255,255,255,.06);padding:2px 6px;border-radius:8px;border:1px solid rgba(255,255,255,.12)}

.to-top{
  position:fixed;right:16px;bottom:16px;z-index:30;
  width:44px;height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);color:var(--text);
  box-shadow:0 14px 28px rgba(0,0,0,.25);
  display:none;cursor:pointer;
  transition:transform .15s ease, background .15s ease, opacity .15s ease;
}
.to-top:hover{background:rgba(255,255,255,.10);transform:translateY(-1px)}
.to-top:active{transform:translateY(1px)}
.to-top.is-show{display:inline-flex;align-items:center;justify-content:center}

.fade-in{opacity:0;transform:translateY(6px);transition:opacity .45s ease, transform .45s ease}
.fade-in.is-in{opacity:1;transform:none}
/* --- Upgrade: dual download buttons + trust pills --- */
.download-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:10px 0 10px;
}
.download-actions .btn{min-width:160px}

.btn--ios{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.18);
  color:var(--text);
  box-shadow:0 12px 24px rgba(0,0,0,.22);
}
.btn--ios:hover{background:rgba(255,255,255,.08);transform:translateY(-1px)}

.download-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.trust-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:rgba(229,231,235,.92);
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
}
.trust-pill--strong{
  border-color:rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}
.download-copy{
  margin-top:10px;
  color:var(--muted);
  font-size:13px;
}
/* --- Refine: download section layout + better mobile --- */
.hero__media img{max-width:100%;height:auto}

.download-lead{
  margin:10px 0 6px;
  color:rgba(229,231,235,.90);
  font-weight:700;
}
.download-preview{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
  opacity:.95;
}
.download-preview img{
  width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

@media (max-width:768px){
  .download-actions{width:100%}
  .download-actions .btn{flex:1 1 100%; width:100%; min-width:0}
  .download-preview{grid-template-columns:1fr; gap:12px}
  .hero__inner{grid-template-columns:1fr}
}
/* --- Dedupe refactor: hero variants + visual separation --- */
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.hero-actions .btn{min-width:160px}

.hero-main{width:100%;height:auto;border-radius:18px;border:1px solid rgba(255,255,255,.10);box-shadow:0 22px 46px rgba(0,0,0,.38)}

.hero--split{padding:56px 0;border-bottom:1px solid var(--line)}
.hero--split .hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center}
.hero--split .hero-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.trust-card{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.trust-ico{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-weight:900}

.hero--nav{padding:50px 0;border-bottom:1px solid var(--line)}
.hero--nav .hero__top{text-align:center;max-width:860px;margin:0 auto}
.hero--nav .hero-actions{justify-content:center}
.hero--nav .hero__cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.nav-card{padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03))}
.nav-card__hd{font-weight:900;margin-bottom:6px}
.hero--nav .hero__art{margin-top:16px;opacity:.98}

.hero--kpi{padding:56px 0;border-bottom:1px solid var(--line)}
.hero--kpi .hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}
.kpi{padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.kpi__n{font-weight:900;color:rgba(229,231,235,.92)}
.kpi__t{font-weight:900;margin-top:6px}

.hero--poster{padding:48px 0;border-bottom:1px solid var(--line);text-align:center}
.hero--poster .hero__poster{margin:14px auto 0;max-width:980px}
.hero--poster .hero-actions{justify-content:center;margin-top:14px}
.poster-hints{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.hint{padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);font-weight:900;font-size:12px}

.hero--cards{padding:54px 0;border-bottom:1px solid var(--line)}
.hero--cards .hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}
.card-stack{position:relative}
.stack-card{position:absolute;inset:auto 18px 18px auto;width:240px;height:120px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);box-shadow:0 18px 40px rgba(0,0,0,.28)}
.stack-card:nth-child(1){transform:translate(-40px,-30px) rotate(-3deg)}
.stack-card:nth-child(2){transform:translate(-18px,-10px) rotate(2deg)}
.stack-card:nth-child(3){transform:translate(0,12px) rotate(-1deg)}

/* FAQ visual variants (same markup, different feel) */
body.site--site02 .faq__item{border-radius:22px}
body.site--site03 .faq__item{border-left:4px solid rgba(255,255,255,.14);border-radius:14px}
body.site--site04 .faq__item{background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03))}
body.site--site07 .faq__q{font-weight:800}
body.site--site09 .faq__item{border-style:dashed}

/* mobile: true reflow */
@media (max-width:992px){
  .hero--split .hero__grid,
  .hero--kpi .hero__grid,
  .hero--cards .hero__grid{grid-template-columns:1fr}
  .hero--split .hero-trust{grid-template-columns:1fr}
  .hero-main{max-height:280px;object-fit:cover}
}
@media (max-width:768px){
  .hero-actions .btn{flex:1 1 100%;width:100%;min-width:0}
  .hero--nav .hero__cards{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
}
/* --- Dedupe round2: de-buttonize download + richer layouts --- */
.download__panel .download-actions .btn{
  box-shadow:none;
  filter:none;
  opacity:.92;
}
.download__panel .btn--primary{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  color:var(--text);
}
.download__panel .btn--ios{
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.22);
}
.download__panel .btn--primary:hover,
.download__panel .btn--ios:hover{transform:none;filter:none}

.trust-matrix,.trust-flag,.trust-split,.trust-band,.trust-metrics,.trust-lite,.trust-pro,.trust-steps,.trust-cards,.trust-enterprise{margin-top:12px}
.trust-grid--3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.trust-note{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.trust-note__hd{font-weight:900;margin-bottom:6px}
.trust-row--head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:10px}
.trust-flag{border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.trust-flag__line{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.trust-rows{display:grid;gap:8px}
.trust-split{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.trust-kicker{font-weight:900}
.trust-item{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.trust-item:first-child{border-top:0;padding-top:0}
.ico{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.trust-band{border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.trust-band__title{font-weight:900;margin-bottom:10px}
.trust-band__cols{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.trust-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.metric{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.metric__t{font-weight:900;margin-bottom:6px}
.trust-lite{display:flex;gap:12px;align-items:center;border:1px dashed rgba(255,255,255,.18);border-radius:18px;padding:14px;background:rgba(255,255,255,.02)}
.trust-lite__bar{width:6px;height:56px;border-radius:999px;background:var(--grad)}
.trust-pro{border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.pill-soft{display:inline-flex;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);font-weight:900;font-size:12px}
.trust-list{margin:10px 0 0;padding-left:18px}
.trust-steps{border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.trust-steps__title{font-weight:900;margin-bottom:10px}
.trust-steps__ol{margin:0;padding-left:18px}
.trust-cards__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
.tc{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.tc__k{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-weight:900}
.trust-enterprise{border:1px solid rgba(255,255,255,.10);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.te__title{font-weight:900;margin-bottom:10px}
.te__cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.te__h{font-weight:900;margin-bottom:6px}

.hero-main-inpage{margin:14px 0 6px}
.hero-main-inpage .hero-main{width:100%;height:auto;border-radius:18px;border:1px solid rgba(255,255,255,.10);box-shadow:0 22px 46px rgba(0,0,0,.38);max-height:320px;object-fit:cover}

/* Tutorial variants */
.timeline{position:relative;margin:0;padding:0}
.tl__item{display:grid;grid-template-columns:22px 1fr;gap:12px;padding:12px 0;border-top:1px solid rgba(255,255,255,.08)}
.tl__item:first-child{border-top:0;padding-top:0}
.tl__dot{width:14px;height:14px;border-radius:999px;margin-top:4px;background:var(--grad)}
.tl__n{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);margin-right:10px;font-weight:900}
.hzflow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hz__step{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.hz__n{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;background:var(--grad);color:#0b1220;margin-bottom:8px}
.numblocks{display:grid;gap:12px}
.nb{display:flex;gap:12px;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.nb__n{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:900;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}

/* FAQ variants */
body.faq--dense .faq__q{padding:12px 14px}
body.faq--dense .faq__a{padding:0 14px 12px}
body.faq--spacious .faq__item{padding:6px;border-radius:22px;background:rgba(255,255,255,.02)}
body.faq--spacious .faq__q{padding:16px 16px}
body.faq--spacious .faq__a{padding:0 16px 16px}
body.faq--group .faq{display:grid;gap:14px}
body.faq--group .faq__item{border-width:2px}

/* Hero image rhythm tweaks */
body.site--site02 .hero-main{max-height:240px}
body.site--site05 .hero-main{max-height:240px}
body.site--site07 .hero-main{max-height:260px}
body.site--site04 .hero__poster .hero-main{max-height:420px}
body.site--site09 .hero__poster .hero-main{max-height:380px}

/* Mobile spacing tuning */
@media (max-width:768px){
  .hero-actions{margin-top:14px;gap:14px}
  .hero-trust,.trust-matrix,.trust-split,.trust-cards,.trust-enterprise{margin-top:16px}
  .trust-grid--3,.trust-band__cols,.trust-metrics,.trust-cards__grid,.te__cols,.hzflow{grid-template-columns:1fr}
  .download__panel{padding:16px}
}
/* --- Dedupe round3: page note line under lead --- */
.page-note{margin-top:10px;max-width:70ch;line-height:1.55;opacity:.92}
@media (max-width:768px){.page-note{margin-top:12px}}
/* --- Round4: inner download.html secondary CTA in prose --- */
.card.prose .download-actions.download-actions--secondary .btn{box-shadow:none;filter:none;opacity:.92}
.card.prose .download-actions--secondary .btn--primary{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:var(--text)}
.card.prose .download-actions--secondary .btn--ios{background:rgba(255,255,255,.04);border:1px dashed rgba(255,255,255,.22)}
.card.prose .download-actions--secondary .btn--primary:hover,.card.prose .download-actions--secondary .btn--ios:hover{transform:none;filter:none}
/* --- Hero phone image (index) --- */
img.hero-phone{
  width:100%;
  height:auto;
  max-width:100%;
  object-fit:contain;
  max-height:min(420px,48vh);
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 40px rgba(0,0,0,.32);
  display:block;
  margin:0 auto;
}
@media (max-width:768px){
  img.hero-phone{max-height:min(260px,40vh)}
}