:root{
  --bg:#f5f7fa;
  --surface:#ffffff;
  --ink:#101114;
  --ink-soft:#26282d;
  --muted:#5b6370;
  --muted-2:#8a909a;
  --cobalt:#1657d9;
  --cobalt-soft:#e8efff;
  --cobalt-deep:#0d3aa0;
  --tomato:#ef3f2e;
  --yellow:#ffd84d;
  --lines:#d9e0ea;
  --lines-soft:#eaeef3;
  --tg:#229ed9;
  --tg-bg:#17212b;
  --tg-bubble-in:#182533;
  --tg-bubble-out:#2b5278;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif;
  font-feature-settings:"ss01","cv11";
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  font-size:16px;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none}

.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.mono{font-family:ui-monospace,Consolas,"SF Mono",monospace;letter-spacing:0.02em}

.container{max-width:1240px;margin:0 auto;padding:0 32px}
@media (max-width:720px){.container{padding:0 20px}}

/* HEADER */
.site-header{position:sticky;top:0;z-index:10;background:rgba(245,247,250,0.92);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--lines)}
.site-header .row{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px}
.nav{display:flex;align-items:center;gap:28px}
.nav a{font-size:14px;color:var(--ink-soft)}
.nav a:hover{color:var(--cobalt)}
.nav .tg-link{display:inline-flex;align-items:center;gap:6px;color:var(--ink-soft)}
.nav .tg-link svg{width:16px;height:16px}
.nav .tg-link:hover{color:var(--tg)}
.nav .cta{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:2px;background:var(--ink);color:#fff;font-size:14px;font-weight:500}
.nav .cta:hover{background:var(--cobalt)}
@media (max-width:820px){.nav{gap:14px}.nav a:not(.cta):not(.tg-link){display:none}}
@media (max-width:540px){.nav .tg-link span{display:none}}

/* HERO */
.hero{padding:64px 0 96px;border-bottom:1px solid var(--lines)}
.hero-meta{font-family:ui-monospace,Consolas,monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);margin-bottom:24px;display:flex;align-items:center;gap:12px}
.hero-meta::before{content:"";width:24px;height:1px;background:var(--cobalt)}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:center}
.hero h1{font-family:Georgia,serif;font-weight:400;font-size:60px;line-height:1.05;letter-spacing:-0.015em;color:var(--ink)}
.hero h1 em{font-style:italic;color:var(--cobalt);font-weight:400}
.hero p.lead{margin-top:24px;font-size:18px;line-height:1.55;color:var(--muted);max-width:540px}
.hero p.lead b{color:var(--ink-soft);font-weight:600}
.hero-actions{margin-top:36px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 22px;border-radius:2px;font-size:15px;font-weight:500;transition:transform 0.15s ease,background 0.15s ease}
.btn-primary{background:var(--tg);color:#fff}
.btn-primary:hover{background:#1a87b9}
.btn-primary svg{width:16px;height:16px}
.btn-ghost{color:var(--ink);border:1px solid var(--lines);background:var(--surface)}
.btn-ghost:hover{border-color:var(--ink)}

.hero-art{position:relative}
.hero-art .stack{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center}
.before-stack{display:flex;flex-direction:column;gap:10px;position:relative}
.before-shot{width:96px;height:128px;background:var(--surface);border:1px solid var(--lines);padding:6px;box-shadow:0 6px 14px -8px rgba(16,17,20,0.2);position:relative}
.before-shot .ph{width:100%;height:100%;border-radius:1px;background:linear-gradient(135deg,#7a4a2a 0%,#3a2418 100%)}
.before-shot:nth-child(2){transform:translateX(8px) rotate(-2deg)}
.before-shot:nth-child(2) .ph{background:linear-gradient(135deg,#3d5a3a 0%,#1f2e1f 100%)}
.before-shot:nth-child(3){transform:translateX(-4px) rotate(1.5deg)}
.before-shot:nth-child(3) .ph{background:linear-gradient(135deg,#8a6a3a 0%,#3a2a1a 100%)}
.before-shot .corner{position:absolute;top:-8px;right:-8px;background:var(--ink);color:#fff;font-family:ui-monospace,Consolas,monospace;font-size:9px;letter-spacing:0.06em;padding:3px 6px;border-radius:1px;text-transform:uppercase}
.before-label{position:absolute;left:0;bottom:-32px;font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.flow-arrow{display:flex;flex-direction:column;align-items:center;gap:6px;justify-self:center}
.flow-arrow .a{font-family:Georgia,serif;font-size:36px;color:var(--cobalt);line-height:1}
.flow-arrow .l{font-family:ui-monospace,Consolas,monospace;font-size:9px;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted)}
.after-frame{background:var(--surface);border:1px solid var(--lines);padding:14px;box-shadow:0 24px 60px -30px rgba(16,17,20,0.3),0 2px 4px rgba(16,17,20,0.04);position:relative}
.after-frame img{width:100%;height:auto;display:block}
.after-frame .meta{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:11px;color:var(--muted);font-family:ui-monospace,Consolas,monospace;letter-spacing:0.08em;text-transform:uppercase}
.after-frame .meta .accent{color:var(--cobalt)}
.after-frame .badge-after{position:absolute;top:-12px;left:14px;background:var(--cobalt);color:#fff;font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:0.1em;padding:4px 10px;text-transform:uppercase}
@media (max-width:1000px){.hero{padding:48px 0 64px}.hero-grid{grid-template-columns:1fr;gap:64px}.hero h1{font-size:42px}.hero p.lead{font-size:16px}}
@media (max-width:520px){.hero-art .stack{grid-template-columns:1fr;gap:32px}.before-stack{flex-direction:row;justify-content:center}.flow-arrow{transform:rotate(90deg)}}

/* STRIP */
.strip{border-bottom:1px solid var(--lines);background:var(--surface)}
.strip .row{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}
.strip .cell{padding:0 24px;border-left:1px solid var(--lines-soft)}
.strip .cell:first-child{border-left:0;padding-left:0}
.strip .k{font-family:Georgia,serif;font-size:28px;color:var(--ink);line-height:1}
.strip .v{margin-top:8px;font-size:13px;color:var(--muted);line-height:1.4}
@media (max-width:720px){.strip .row{grid-template-columns:repeat(2,1fr);gap:24px 0}.strip .cell{padding:0 16px}.strip .cell:nth-child(3){border-left:0;padding-left:0}}

/* SECTION */
.section{padding:96px 0;border-bottom:1px solid var(--lines)}
.section.dark{background:var(--ink);color:#fff;border-bottom:0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:48px}
.section-head .left{max-width:680px}
.section-head .kicker{font-family:ui-monospace,Consolas,monospace;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--cobalt);margin-bottom:16px;display:flex;align-items:center;gap:10px}
.section-head .kicker::before{content:"";width:18px;height:1px;background:var(--cobalt)}
.section.dark .section-head .kicker{color:#7ea7ff}
.section.dark .section-head .kicker::before{background:#7ea7ff}
.section-head h2{font-family:Georgia,serif;font-weight:400;font-size:42px;line-height:1.12;letter-spacing:-0.01em;color:var(--ink)}
.section.dark .section-head h2{color:#fff}
.section.dark .section-head h2 em{color:#7ea7ff;font-style:italic}
.section-head .right{font-size:14px;color:var(--muted);max-width:340px;line-height:1.55;text-align:right}
.section.dark .section-head .right{color:#b2b7c0}
@media (max-width:820px){.section{padding:64px 0}.section-head{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:32px}.section-head .right{text-align:left}.section-head h2{font-size:32px}}

/* TIERS */
.tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:stretch}
.tier{background:var(--surface);border:1px solid var(--lines);padding:28px;display:flex;flex-direction:column;gap:16px;position:relative;transition:border-color 0.2s ease,transform 0.2s ease}
.tier:hover{border-color:#c5cdd9;transform:translateY(-2px)}
.tier.flag{border:1.5px solid var(--cobalt);background:linear-gradient(180deg,#fbfcfe 0%,#ffffff 100%);box-shadow:0 24px 50px -28px rgba(22,87,217,0.35)}
.tier .badge{position:absolute;top:-11px;left:24px;background:var(--cobalt);color:#fff;font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:0.12em;padding:4px 10px;text-transform:uppercase}
.tier .num{font-family:Georgia,serif;font-size:32px;color:var(--cobalt);line-height:1}
.tier .title{font-family:Georgia,serif;font-size:22px;color:var(--ink);line-height:1.2}
.tier .io{display:flex;flex-direction:column;gap:10px;margin-top:4px;font-size:13px;line-height:1.5}
.tier .io .label{display:block;font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted-2);margin-bottom:2px}
.tier .io .v{color:var(--ink-soft)}
.tier .who{font-size:12px;color:var(--muted);line-height:1.5;border-top:1px dashed var(--lines);padding-top:14px;margin-top:auto}
.tier .price{font-family:Georgia,serif;font-size:18px;color:var(--ink)}
.tier .price small{font-family:"Inter",sans-serif;font-size:12px;color:var(--muted);font-weight:400}
.tier .act{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;background:var(--ink);color:#fff;font-size:13px;border-radius:2px;font-weight:500}
.tier.flag .act{background:var(--cobalt)}
.tier .act:hover{background:var(--cobalt)}
.tier.flag .act:hover{background:var(--cobalt-deep)}
@media (max-width:1100px){.tiers{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.tiers{grid-template-columns:1fr}}

/* TELEGRAM */
.tg-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:80px;align-items:center}
@media (max-width:1000px){.tg-grid{grid-template-columns:1fr;gap:48px}}
.tg-copy h3{font-family:Georgia,serif;font-weight:400;font-size:32px;color:#fff;line-height:1.15;letter-spacing:-0.005em;margin-bottom:16px}
.tg-copy h3 em{font-style:italic;color:#7ea7ff}
.tg-copy p{color:#b2b7c0;font-size:15px;line-height:1.6;max-width:480px}
.tg-copy ul{list-style:none;margin-top:24px;display:flex;flex-direction:column;gap:12px}
.tg-copy ul li{display:flex;gap:12px;font-size:14px;color:#d6d9df;line-height:1.55}
.tg-copy ul li::before{content:"";flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--tg);margin-top:8px}
.tg-copy .tg-cta{display:inline-flex;align-items:center;gap:10px;margin-top:28px;padding:14px 22px;background:var(--tg);color:#fff;font-weight:500;font-size:15px;border-radius:2px}
.tg-copy .tg-cta:hover{background:#1a87b9}
.tg-copy .tg-cta svg{width:18px;height:18px}

.chat{background:var(--tg-bg);border-radius:8px;overflow:hidden;box-shadow:0 30px 80px -30px rgba(0,0,0,0.6);border:1px solid #243544;max-width:420px;justify-self:end;width:100%}
@media (max-width:1000px){.chat{justify-self:center}}
.chat-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#202b36;border-bottom:1px solid #28384a}
.chat-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#1657d9 0%,#0d3aa0 100%);display:flex;align-items:center;justify-content:center;color:#fff;font-family:Georgia,serif;font-size:16px;font-weight:400}
.chat-name{color:#fff;font-size:14px;font-weight:500;line-height:1.2}
.chat-status{color:#7d8f9f;font-size:11px;line-height:1.2;margin-top:1px}
.chat-body{padding:16px;display:flex;flex-direction:column;gap:10px;background:var(--tg-bg);min-height:340px}
.msg{max-width:80%;padding:8px 12px;border-radius:10px;font-size:13.5px;line-height:1.4;position:relative;color:#e8eaed}
.msg.in{background:var(--tg-bubble-in);align-self:flex-start;border-bottom-left-radius:2px}
.msg.out{background:var(--tg-bubble-out);align-self:flex-end;border-bottom-right-radius:2px}
.msg .time{display:block;text-align:right;font-size:10px;color:#8a99a8;margin-top:4px}
.msg.out .time{color:#a8c5e0}
.msg.voice{display:flex;align-items:center;gap:10px;min-width:200px}
.msg.voice .play{width:30px;height:30px;border-radius:50%;background:#fff;color:var(--tg-bubble-out);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px}
.msg.voice .wave{flex:1;display:flex;align-items:center;gap:2px;height:24px}
.msg.voice .wave span{display:block;width:2px;background:#a8c5e0;border-radius:1px}
.msg.voice .wave span:nth-child(1){height:8px}
.msg.voice .wave span:nth-child(2){height:14px}
.msg.voice .wave span:nth-child(3){height:20px}
.msg.voice .wave span:nth-child(4){height:12px}
.msg.voice .wave span:nth-child(5){height:18px}
.msg.voice .wave span:nth-child(6){height:22px}
.msg.voice .wave span:nth-child(7){height:10px}
.msg.voice .wave span:nth-child(8){height:16px}
.msg.voice .wave span:nth-child(9){height:8px}
.msg.voice .wave span:nth-child(10){height:14px}
.msg.voice .wave span:nth-child(11){height:18px}
.msg.voice .wave span:nth-child(12){height:10px}
.msg.voice .wave span:nth-child(13){height:6px}
.msg.voice .dur{font-size:11px;color:#a8c5e0;margin-left:4px}
.msg.photo{padding:4px;background:var(--tg-bubble-in)}
.msg.photo .photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:200px}
.msg.photo .photo-grid div{aspect-ratio:1;border-radius:4px}
.msg.photo .photo-grid div:nth-child(1){background:linear-gradient(135deg,#7a4a2a,#3a2418)}
.msg.photo .photo-grid div:nth-child(2){background:linear-gradient(135deg,#3d5a3a,#1f2e1f)}
.msg.photo .photo-grid div:nth-child(3){background:linear-gradient(135deg,#8a6a3a,#3a2a1a)}
.msg.photo .photo-grid div:nth-child(4){background:linear-gradient(135deg,#a55a3a,#4a2618)}
.msg.photo .caption{padding:6px 8px 4px;font-size:12px;color:#b2b7c0}
.msg .link{display:inline-block;margin-top:4px;color:#7ea7ff;border-bottom:1px solid #3a4a60}

/* CASES */
.cases{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.case{background:var(--surface);border:1px solid var(--lines);display:flex;flex-direction:column;transition:transform 0.2s ease,box-shadow 0.2s ease,border-color 0.2s ease}
.case:hover{transform:translateY(-3px);border-color:#c5cdd9;box-shadow:0 16px 40px -24px rgba(16,17,20,0.25)}
.case-img{aspect-ratio:4/3;overflow:hidden;background:var(--lines-soft)}
.case-img img{width:100%;height:100%;object-fit:cover;display:block}
.case-body{padding:24px;display:flex;flex-direction:column;gap:8px;flex:1}
.case-meta{display:flex;justify-content:space-between;align-items:center;font-family:ui-monospace,Consolas,monospace;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.case-meta .num{color:var(--cobalt)}
.case h3{font-family:Georgia,serif;font-weight:400;font-size:22px;color:var(--ink);letter-spacing:-0.005em}
.case p{font-size:14px;color:var(--muted);line-height:1.55;margin-top:4px}
.tag{display:inline-block;padding:2px 8px;background:var(--cobalt-soft);color:var(--cobalt);font-family:ui-monospace,Consolas,monospace;font-size:10px;letter-spacing:0.08em;text-transform:uppercase;border-radius:2px}
@media (max-width:900px){.cases{grid-template-columns:1fr;gap:20px}}

/* PROCESS MINI */
.process-mini{background:var(--surface)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--lines);border-bottom:1px solid var(--lines)}
.step{padding:28px 24px;border-right:1px solid var(--lines-soft);display:flex;flex-direction:column;gap:10px}
.step:last-child{border-right:0}
.step .n{font-family:Georgia,serif;font-size:26px;color:var(--cobalt);line-height:1}
.step h4{font-family:Georgia,serif;font-weight:400;font-size:17px;color:var(--ink);line-height:1.25}
.step p{font-size:13px;color:var(--muted);line-height:1.5}
@media (max-width:900px){.steps{grid-template-columns:repeat(2,1fr)}.step{border-bottom:1px solid var(--lines-soft)}.step:nth-child(odd){border-right:1px solid var(--lines-soft)}.step:nth-child(2n){border-right:0}.step:nth-last-child(-n+2){border-bottom:0}}
@media (max-width:520px){.steps{grid-template-columns:1fr}.step,.step:nth-child(odd){border-right:0}}

/* FINAL CTA */
.final-cta{background:var(--ink);color:#fff;padding:64px 48px;display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;border-radius:0}
.final-cta h2{font-family:Georgia,serif;font-weight:400;font-size:38px;line-height:1.12;letter-spacing:-0.005em;color:#fff}
.final-cta h2 em{color:#7ea7ff;font-style:italic}
.final-cta p{margin-top:16px;font-size:15px;color:#b2b7c0;line-height:1.6;max-width:480px}
.final-cta .acts{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.final-cta .btn-tg{display:inline-flex;align-items:center;gap:10px;padding:16px 24px;background:var(--tg);color:#fff;font-weight:500;font-size:15px;border-radius:2px}
.final-cta .btn-tg:hover{background:#1a87b9}
.final-cta .btn-tg svg{width:18px;height:18px}
.final-cta .or{font-size:12px;color:#80858f;font-family:ui-monospace,Consolas,monospace;letter-spacing:0.06em;text-transform:uppercase}
.final-cta .ghost-link{color:#d6d9df;font-size:14px;border-bottom:1px solid #3a4a60}
.final-cta .ghost-link:hover{color:#7ea7ff;border-color:#7ea7ff}
@media (max-width:900px){.final-cta{grid-template-columns:1fr;gap:32px;padding:40px 28px}.final-cta h2{font-size:30px}}

/* FOOTER */
.site-footer{padding:48px 0 64px;color:var(--muted)}
.site-footer .row{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.site-footer .meta{font-size:13px;line-height:1.6}
.site-footer .meta a{color:var(--ink-soft);border-bottom:1px solid var(--lines)}
.site-footer .meta a:hover{color:var(--cobalt);border-color:var(--cobalt)}
.site-footer .stamp{font-family:ui-monospace,Consolas,monospace;font-size:11px;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted-2)}
