:root{
  --bg:#f0f2f5;--card:#fff;--ink:#1c2b33;--text:#1c1e21;--muted:#65676b;--border:#dadde1;--soft:#e4e6eb;
  --blue:#0866ff;--blue-d:#0759e0;--blue-50:#e7f0ff;--navy:#1c2b33;
  --green:#31a24c;--green-50:#e6f4ea;--red:#e41e3f;--red-50:#fdebee;--amber-50:#fff4d6;
  --line:1px solid var(--border);--r:16px;
  --shadow:0 1px 2px rgba(0,0,0,.06),0 4px 14px -6px rgba(0,0,0,.12);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;font-size:16px;padding-bottom:84px;-webkit-font-smoothing:antialiased}
h1,h2,h3{color:var(--ink);letter-spacing:-.02em;line-height:1.15}
a{color:inherit}
img,video{max-width:100%;display:block}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.ic{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* header */
.topbar{background:#fff;border-bottom:1px solid var(--soft);position:sticky;top:0;z-index:30}
.top{display:flex;align-items:center;justify-content:space-between;height:56px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;text-decoration:none;color:var(--ink)}
.logo-mark{width:32px;height:32px;border-radius:9px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px}
.top-link{font-size:14px;font-weight:600;color:var(--blue);text-decoration:none}

/* buttons */
.btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:12px 20px;border:0;border-radius:999px;background:var(--blue);color:#fff;font-family:inherit;font-size:17px;font-weight:600;line-height:1.1;text-decoration:none;cursor:pointer;transition:background .15s}
.btn:hover{background:var(--blue-d)}
.btn:active{transform:scale(.99)}
.btn:disabled{opacity:.75;cursor:default}
.btn-ghost{background:var(--soft);color:var(--ink)}
.btn-ghost:hover{background:#d8dadf}
.btn-green{background:var(--green)}
.btn-green:hover{background:#2b9143}

/* hero */
.hero-band{background:#fff;border-bottom:1px solid var(--soft)}
.hero{display:grid;gap:22px;padding:22px 0 28px}
.badge{display:inline-flex;align-items:center;gap:6px;background:var(--blue-50);color:var(--blue);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}
.hero h1{font-size:clamp(32px,8.6vw,54px);font-weight:800;margin:14px 0 12px}
.hero h1 span{color:var(--blue)}
.lead{font-size:17px;color:var(--muted);max-width:560px}
.price-card{background:var(--card);border:var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:18px;margin-top:20px}
.price-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-bottom:2px}
.price-now{font-size:40px;font-weight:800;color:var(--ink);letter-spacing:-.03em;line-height:1.1}
.price-old{font-size:19px;font-weight:500;color:var(--muted);text-decoration:line-through}
.price-off{background:var(--green-50);color:#1e7b34;font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px}
.price-note{font-size:14px;color:var(--muted);margin-bottom:16px}
.pay-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 8px;margin-top:12px;font-size:13px;color:var(--muted)}
.pay-row b{color:var(--ink);font-weight:700}
.app{display:inline-flex;align-items:center;background:var(--bg);border-radius:6px;padding:3px 8px;font-weight:600;font-size:12.5px;color:var(--ink)}
.ticks{display:grid;gap:8px;margin-top:14px;font-size:14.5px;color:var(--text)}
.ticks li{list-style:none;display:flex;gap:10px;align-items:flex-start}
.ticks .ic{width:20px;height:20px;color:var(--green);stroke-width:2.6;margin-top:1px}
.members-line{display:flex;align-items:center;gap:8px;margin-top:10px;font-weight:600;color:var(--ink);font-size:15px}

/* hero video (only when video_url is set) */
.chat{background:#fff;border:var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;max-width:440px;width:100%;justify-self:center}

/* sections */
section{padding:30px 0}
section.white{background:#fff;border-top:1px solid var(--soft);border-bottom:1px solid var(--soft)}
.sec-title{font-size:clamp(26px,6.8vw,38px);font-weight:800;margin-bottom:6px}
.sec-sub{color:var(--muted);font-size:16px;margin-bottom:20px;max-width:620px}
.icon-dot{width:40px;height:40px;border-radius:50%;background:var(--blue-50);color:var(--blue);display:grid;place-items:center;flex:none}
.grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.tile{background:var(--card);border:var(--line);border-radius:14px;padding:14px}
.tile .icon-dot{margin-bottom:10px}
.tile h3{font-size:16px;font-weight:700;margin-bottom:3px}
.tile p{font-size:13.5px;color:var(--muted);line-height:1.4}

.list{display:grid;gap:10px}
.row{display:flex;gap:14px;align-items:flex-start;background:var(--card);border:var(--line);border-radius:14px;padding:14px}
.row h3{font-size:17px;font-weight:700;margin-bottom:2px}
.row p{font-size:14.5px;color:var(--muted)}

.who{display:flex;flex-wrap:wrap;gap:8px}
.who span{background:#fff;border:var(--line);border-radius:999px;padding:8px 14px;font-weight:600;font-size:14.5px;color:var(--ink)}

.steps{display:grid;gap:10px}
.step{display:flex;gap:14px;align-items:center;background:var(--card);border:var(--line);border-radius:14px;padding:14px}
.step-n{flex:none;width:40px;height:40px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:700;font-size:17px}
.step h3{font-size:17px;font-weight:700}
.step p{font-size:14.5px;color:var(--muted)}

.offer{background:var(--navy);color:#fff;border-radius:20px;padding:24px 18px}
.offer .sec-title{color:#fff}
.offer .sec-sub{color:#b0b8bf}
.offer .price-card{border:0}

.faq{background:#fff;border:var(--line);border-radius:var(--r);overflow:hidden}
.faq details+details{border-top:1px solid var(--soft)}
.faq summary{list-style:none;cursor:pointer;padding:16px 48px 16px 16px;font-weight:600;font-size:16px;color:var(--ink);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{position:absolute;right:16px;top:50%;margin-top:-11px;color:var(--muted);transition:transform .2s}
.faq details[open] summary .ic{transform:rotate(180deg)}
.faq details p{padding:0 16px 16px;color:var(--muted);font-size:15px}

footer{padding:26px 0 30px;font-size:13px;color:var(--muted);background:#fff;border-top:1px solid var(--soft)}
footer a{font-weight:600;color:var(--blue);text-decoration:none}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px;font-size:14px}

/* sticky bar */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--soft);box-shadow:0 -2px 10px rgba(0,0,0,.06);padding:10px 16px calc(10px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:14px;transform:translateY(110%);transition:transform .25s}
.sticky.show{transform:none}
.sticky .p{flex:none;line-height:1.15}
.sticky .p b{font-size:22px;font-weight:800;color:var(--ink);display:block}
.sticky .p s{font-size:13px;color:var(--muted)}
.sticky .btn{min-height:48px;font-size:16px}

/* checkout sheet */
.sheet-bg{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:60;opacity:0;pointer-events:none;transition:opacity .2s}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:61;background:#fff;border-radius:18px 18px 0 0;padding:8px 16px calc(18px + env(safe-area-inset-bottom));transform:translateY(105%);transition:transform .25s ease;max-height:94vh;overflow:auto;box-shadow:0 -4px 24px rgba(0,0,0,.12)}
.sheet::before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--border);margin:0 auto 10px}
.open .sheet-bg{opacity:1;pointer-events:auto}
.open .sheet{transform:none}
.sheet-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.sheet-h h2{font-size:22px;font-weight:800}
.x{width:36px;height:36px;border:0;border-radius:50%;background:var(--soft);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.sheet .sum{display:flex;justify-content:space-between;align-items:center;background:var(--bg);border-radius:12px;padding:12px 14px;margin:10px 0 16px;font-weight:600;font-size:14.5px;color:var(--ink)}
.sheet .sum b{font-size:20px;font-weight:800}
.field{margin-bottom:14px}
.field label{display:block;font-weight:600;font-size:14px;margin-bottom:6px;color:var(--ink)}
.field input,.field select,.field textarea{width:100%;height:50px;border:1px solid #ccd0d5;border-radius:10px;background:#fff;padding:0 14px;font-family:inherit;font-size:16px;font-weight:500;color:var(--text);outline:none;transition:border-color .15s,box-shadow .15s}
.field textarea{height:auto;min-height:88px;padding:12px 14px;line-height:1.45}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-50)}
.phone{display:flex;align-items:stretch}
.phone span{display:grid;place-items:center;padding:0 12px;border:1px solid #ccd0d5;border-right:0;border-radius:10px 0 0 10px;background:var(--bg);font-weight:600;color:var(--ink)}
.phone input{border-radius:0 10px 10px 0}
.hint{font-size:12.5px;color:var(--muted);margin-top:5px}
.err{display:none;background:var(--red-50);color:#b0122f;border-radius:10px;padding:10px 12px;font-size:14px;font-weight:500;margin-bottom:12px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.secure{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;color:var(--muted);margin-top:12px}
.secure .ic{width:15px;height:15px}

/* simple pages */
.card-page{max-width:520px;margin:20px auto 0}
.status-ico{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin-bottom:14px}
.status-ico .ic{width:30px;height:30px;stroke-width:2.6}
.s-ok{background:var(--green-50);color:var(--green)}.s-wait{background:var(--amber-50);color:#b7791f}.s-bad{background:var(--red-50);color:var(--red)}
.big-title{font-size:clamp(28px,7.4vw,38px);font-weight:800;margin-bottom:8px}
.box{background:#fff;border:var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:16px;margin:16px 0}
.kv{display:flex;justify-content:space-between;gap:10px;font-size:14.5px;padding:5px 0}
.kv span{color:var(--muted)}
.kv b{text-align:right;word-break:break-all;color:var(--ink);font-weight:600}
.spin{width:22px;height:22px;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:sp .8s linear infinite;display:inline-block;vertical-align:middle}
@keyframes sp{to{transform:rotate(360deg)}}

@media (min-width:900px){
  body{padding-bottom:0}
  .hero{grid-template-columns:1.1fr .9fr;align-items:center;gap:48px;padding:48px 0 56px}
  .hero.solo{grid-template-columns:minmax(0,640px)}
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .offer{display:grid;grid-template-columns:1fr 420px;gap:32px;align-items:center;padding:40px}
  .sticky{display:none}
  .sheet{left:50%;right:auto;bottom:50%;width:440px;border-radius:18px;transform:translate(-50%,60%);opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;padding-top:18px}
  .sheet::before{display:none}
  .open .sheet{transform:translate(-50%,50%);opacity:1;pointer-events:auto}
  section{padding:48px 0}
}
@media (max-width:359px){.grid{grid-template-columns:1fr}}
