:root {
  color-scheme: light;
  --ink: #142339;
  --muted: #50617a;
  --blue: #2458d9;
  --line: #dbe3ec;
  --wash: #f4f7fb;
  --ease: cubic-bezier(.2,.75,.2,1);
  --support-right: max(16px, env(safe-area-inset-right));
  --support-bottom: max(16px, env(safe-area-inset-bottom));
  --support-height: 46px;
  font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  color: var(--ink);
  background: white;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box }
body, h1, h2, h3, p, ul { margin: 0 }
body { -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none }
button, summary { font: inherit; cursor: pointer }
button, a, summary { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px solid #5299ff; outline-offset: 4px }
[hidden] { display: none !important }
.wrap { width: min(1180px, 90%); margin-inline: auto }
section[id], main, #demo { scroll-margin-top: 84px }
.skip { position: fixed; z-index: 30; left: 15px; top: -100px; padding: 12px; color: white; background: var(--blue) }
.skip:focus { top: 10px }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: middle }

.site-header { position: sticky; top: 0; z-index: 10; background: #ffffffef; border-bottom: 1px solid #e7ecf2; backdrop-filter: blur(15px) }
.site-header.scrolled { box-shadow: 0 4px 20px #172d500b }
.header-inner, .brand, nav, .header-actions, .release-meta, .demo-controls, .demo-label, .plan-title, .footer { display: flex; align-items: center }
.header-inner { min-height: 70px; justify-content: space-between; gap: 18px }
.brand { flex-shrink: 0; gap: 6px; font-size: 1.22rem; letter-spacing: -.03em }
.brand img { width: 37px; height: 40px }
nav { gap: clamp(12px,1.5vw,32px) }
nav a { color: #435269; font-size: .94rem; font-weight: 600; padding-block: 9px; white-space: nowrap }
nav a:hover, nav a[aria-current="location"] { color: var(--blue) }
nav a[aria-current="location"] { text-decoration: underline; text-underline-offset: 7px }
.header-actions { gap: 12px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 21px; border: 1px solid transparent; border-radius: 10px; font-size: 1rem; line-height: 1.45; font-weight: 650; transition: background .2s, transform .2s var(--ease), box-shadow .2s }
.btn:hover { transform: translateY(-2px) }
.btn:active { transform: none }
.primary { color: white; background: var(--blue); box-shadow: 0 5px 12px -8px #1b389b88 }
.primary:hover { background: #1647c0 }
.secondary { background: white; color: #244985; border-color: #c4d3e8 }
.secondary:hover { background: #f1f6ff; border-color: #89a6d3 }
.compact { min-height: 39px; padding: 8px 15px; border-radius: 9px; font-size: .9rem }
.menu-toggle { display: none; width: 38px; height: 38px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px }

.chapter[id] {
  --header-height: 71px;
  --accent: var(--blue);
  scroll-margin-top: var(--header-height);
  padding-block: clamp(34px,4.8vw,68px);
}
.chapter.security { --accent: #13645c }
.translation { background: radial-gradient(ellipse at 78% 20%,#eaf1ff,transparent 60%),#fafbff }
.chapter-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(22px,3vw,38px) }
.chapter-copy { width: min(100%,44rem); margin-inline: auto; text-align: center }
.chapter-copy > :is(h1,h2) { color: var(--accent); font-size: clamp(3rem,5vw,4.8rem); line-height: 1.12; font-weight: 800; letter-spacing: -.055em }
.chapter-copy > p { margin-top: 12px; color: var(--muted); font-size: clamp(1rem,1.4vw,1.14rem); line-height: 1.65; text-wrap: pretty }
.chapter-help { margin-top: 12px; color: var(--muted); font-size: .9375rem }
.chapter-help summary { color: var(--accent); width: fit-content; margin-inline: auto; font-weight: 600; padding-block: 5px }
.chapter-help p { max-width: 31rem; margin: 5px auto 0; line-height: 1.7 }
.chapter-layout > .demo { min-height: clamp(375px,49vw,545px) }
.chapter .guard-features { border-top: 1px solid #cadeD6; padding-top: clamp(20px,2vw,31px) }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px,4.2vw,60px); border: 1px solid #cfdef2; border-radius: 22px; background: radial-gradient(ellipse at 90% 0%,#dae9ff,transparent 68%),#f3f7fe }
.download-copy { display: flex; align-items: center; gap: clamp(14px,2.2vw,30px) }
.windows-mark { flex: none; display: grid; place-items: center; width: clamp(54px,6vw,80px); aspect-ratio: 1; color: white; background: linear-gradient(140deg,#5189ff,#214fcb); border-radius: 20%; box-shadow: 0 12px 24px -14px #2254bf }
.windows-mark .icon { width: 48%; height: 48% }
.download-copy h2 { font-size: clamp(1.7rem,2.5vw,2.35rem); letter-spacing: -.04em }
.release-meta { gap: 8px; margin-top: 5px; color: var(--muted); font-size: 1rem }
.version-tag { padding: 2px 8px; border-radius: 5px; color: #294c85; background: #dfeaff; font-size: .82rem }
.header-actions .btn { white-space: nowrap }
#account-dialog { position: fixed; width: min(380px,calc(100% - 32px)); max-height: calc(100% - 32px); padding: 28px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 32px 90px #10254540 }
#account-dialog::backdrop { background: #0d1d38a1 }
#account-dialog:has(#account-payments:not([hidden])) { width: min(900px,calc(100% - 24px)); padding: clamp(18px,3vw,34px) }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px }
#close-account { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: var(--wash); font-size: 1.4rem; line-height: 1 }
#account-description { margin: 6px 0 22px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere }
#account-form { display: grid; gap: 8px }
#account-form label { font-size: .9rem; font-weight: 650 }
#account-form input:not([type=checkbox]) { width: 100%; min-height: 44px; padding: 9px 12px; margin-bottom: 6px; border: 1px solid #b9c8da; border-radius: 8px; color: var(--ink); background: white; font: inherit }
#account-code-field, #account-confirm-field { display: grid; gap: 8px }
.password-entry { position: relative; margin-bottom: 6px }
#account-form .password-entry input { margin: 0; padding-right: 48px }
.password-entry input::-ms-reveal { display: none }
.password-eye { position: absolute; inset: 1px 1px 1px auto; width: 42px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer }
.password-eye:hover, .password-eye:focus-visible { color: var(--blue) }
.password-eye .icon { width: 20px; height: 20px }
.password-entry input[type=text] + .password-eye::after { content: ''; position: absolute; width: 22px; height: 2px; background: currentColor; box-shadow: 0 -1px white; transform: rotate(45deg) }
#account-form input[aria-invalid=true] { border-color: #ae2638 }
#account-confirm-error { margin: -4px 0 2px; font-size: .875rem; color: #ae2638 }
#account-form .account-remember { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 32px; color: var(--muted); font-weight: 500; cursor: pointer }
.account-remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue) }
.account-code-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 8px }
#account-send-code { min-height: 44px; white-space: nowrap }
#account-send-code:disabled { cursor: default }
#account-submit { margin-top: 4px }
#account-dialog button:disabled { opacity: .65; cursor: wait }
.account-switch { justify-self: center; border: 0; padding: 7px; background: transparent; color: var(--blue); font-size: .9rem }
#account-status:not(:empty) { margin-top: 12px; font-size: .9rem; line-height: 1.55; color: var(--muted) }
#account-status.error { color: #a32b35 }
#account-payments { display: grid; gap: 16px }
.member-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
.member-summary > div { display: grid; gap: 4px; background: #f0f5ff; border-radius: 10px; padding: 12px }
.member-summary span, .payment-copy span { font-size: .85rem; color: var(--muted) }
.member-summary strong { min-width: 0; font-size: .96rem; overflow-wrap: anywhere }
#payment-status { color: var(--muted); font-size: .9rem; line-height: 1.5 }
#payment-status:empty { display: none }
#payment-create, #payment-pending { display: grid; gap: 9px }
#payment-plans { width: 100%; max-width: none; margin-top: 5px }
#payment-plans .plan { --plan-padding: clamp(16px,2.25vw,22px) }
#payment-plans .plan-features { gap: 8px; padding-block: 15px 18px }
#payment-plans .plan.is-requested { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) }
#payment-pending { padding: clamp(14px,2.2vw,22px); border: 1px solid var(--line); border-radius: 14px }
#payment-cancel-panel { display: grid; gap: 8px; padding: 12px; background: #fff4f4; border-radius: 9px }
.payment-cancel-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap }
.btn.danger { background: #a82e40; color: white }
.btn.danger:hover { background: #872235 }
.payment-note, #payment-order-info { color: var(--muted); font-size: .88rem; line-height: 1.55 }
#payment-instructions { display: grid; gap: 9px }
.payment-target { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px }
.payment-details { display: grid; gap: 9px; flex: 1 1 280px; min-width: 0 }
.payment-qr { margin: 0 auto; max-width: 100%; padding: 0 8px 9px; display: grid; justify-items: center; border: 1px solid var(--line); border-radius: 9px; background: white }
.payment-qr canvas { width: 222px; max-width: 100%; height: auto; image-rendering: pixelated }
.payment-qr figcaption { color: var(--muted); font-size: .8rem; text-align: center }
.payment-copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #f7faff }
.payment-copy > div { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere }
#payment-amount { color: #b91c1c; font-size: 1.35rem; font-variant-numeric: tabular-nums }
.payment-copy code { font-size: .88rem }
.payment-copy button { flex: none }
.payment-history { border-top: 1px solid var(--line); padding-top: 12px }
.payment-history-head { display: flex; align-items: center; justify-content: space-between; gap: 8px }
#payment-orders { display: grid; gap: 9px; list-style: none; padding: 9px 0 0; font-size: .9rem; color: var(--muted) }
.payment-order { display: flex; justify-content: space-between; gap: 8px }
.payment-order > span { min-width: 0; overflow-wrap: anywhere }
.payment-order .paid { color: #167668; font-weight: 650 }
#account-logout { justify-self: start }

.demo { position: relative; isolation: isolate; display: grid; gap: 16px; min-width: 0; padding: clamp(18px,2.2vw,32px); overflow: hidden; color: white; background: #071434; border: 1px solid #182e50; border-radius: 24px; box-shadow: 0 22px 44px -25px #18355c80 }
.demo-globe { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center }
.demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg,#06122be6 0%,#0716306b 51%,#03102e08 83%),linear-gradient(0deg,#07142ee6 0%,transparent 43%); pointer-events: none }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px }
.demo-label { gap: 8px; font-size: clamp(1.05rem,1.4vw,1.25rem); font-weight: 650; color: #f5f8ff }
.demo-label .icon { color: #88e9cd }
.messages { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: clamp(212px,25vw,310px) }
.bubble { max-width: 90%; width: fit-content; padding: 12px 18px; border: 1px solid; box-shadow: 0 7px 20px #02102933 }
.incoming { margin-left: 3%; color: #172945; background: #fdfefe; border-color: white; border-radius: 15px 15px 15px 3px }
.outgoing { align-self: flex-end; margin-right: 3%; color: #fff; background: #2559ce; border-color: #6590e9; border-radius: 15px 15px 3px 15px }
.speaker { display: block; font-size: .78rem; font-weight: 600; color: #5c6c84 }
.outgoing .speaker { color: #e0ebff }
.bubble strong { display: block; font-size: clamp(1.14rem,1.55vw,1.45rem); line-height: 1.4; margin-block: 4px }
.translated-line { display: flex; align-items: center; gap: 6px; font-size: .93rem; line-height: 1.5; color: #385c85 }
.outgoing .translated-line { color: #f1f6ff }
.translated-line .icon { width: .98em; height: .98em }
.demo-controls { gap: 10px; justify-content: space-between; border-top: 1px solid #a7c4ff42; padding-top: 13px }
.demo-controls > span { font-size: .83rem; color: #d6e6ff }
.demo-options { display: flex; flex-wrap: wrap; gap: 4px }
.demo-options button { color: #e3edff; background: #10234ad9; border: 1px solid #8ea9de61; padding: 5px 11px; border-radius: 7px; font-size: .85rem; line-height: 1.4; transition: background .18s, color .18s }
.demo-options button:hover { background: #264774 }
.demo-options button[aria-pressed="true"] { color: #16305c; background: #edf5ff; border-color: #edf5ff }
.replay { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 5px 0; background: transparent; color: #e2edff; font-size: .875rem }
.replay:hover { text-decoration: underline }
.replay .icon { width: .86em }
#demo .demo-top { flex-wrap: wrap; row-gap: 8px }
#demo { grid-template-rows: auto 1fr auto }
#demo :is(.messages,.composer) { width: min(100%,900px); margin-inline: auto }
.reply-slot { width: 100%; display: flex; justify-content: flex-end }
.reply-slot .bubble { overflow-wrap: anywhere }
.composer { padding-top: 12px; border-top: 1px solid #a7c4ff42 }
.composer-heading, .composer-row { display: flex; align-items: center; gap: 8px }
.composer-heading { justify-content: space-between; margin-bottom: 6px; font-size: .875rem; color: #e1ebff }
.composer-row { border: 1px solid #c6d6ec; border-radius: 11px; background: #fff; padding: 4px }
.composer-row:focus-within, .is-typing .composer-row { outline: 2px solid #84aefa; outline-offset: 2px }
.composer-row input { flex: 1; min-width: 0; padding: 7px 9px; border: 0; outline: 0; border-radius: 7px; color: var(--ink); background: transparent; font: inherit; font-size: 1rem }
.composer-row input::placeholder { color: #67768d }
.composer-row button { flex: none; min-height: 38px; border: 0; border-radius: 7px; padding-inline: 16px; background: var(--blue); color: white; font-weight: 650; transition: transform .15s, background .15s }
.composer-row button:disabled { background: #e4eaf3; color: #5e6c81; cursor: default }
.composer-row button:is(:active,.demo-press) { transform: scale(.93); background: #1741ac }
#send-status:not(:empty) { margin-top: 6px; color: #f5f7ff; font-size: .875rem }
@keyframes show-reply { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: no-preference) { #sent-bubble:not([hidden]) { animation: show-reply .3s var(--ease) } }
.guard-demo { --signal: #88edcc; grid-template-rows: auto 1fr auto; background: radial-gradient(ellipse at 50% 40%,#16594f 0%,#0b3737 45%,#09282c 100%); border-color: #16514f }
.guard-demo::before { background: radial-gradient(#99efe92e .8px,transparent 1px); background-size: 15px 15px; mask-image: linear-gradient(0deg,transparent,#000 30%,#000 75%,transparent) }
.guard-demo .demo-label .icon { color: #8de6d0 }
.member-label { color: #defff4; font-size: .79rem; border: 1px solid #9bead34f; border-radius: 100px; padding: 2px 9px }
.guard-stage { display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px }
.guard-symbol { --size: clamp(78px,12vw,136px); position: relative; display: grid; place-items: center; width: var(--size); aspect-ratio: 1; border-radius: 50%; color: var(--signal); border: 1px solid currentColor; background: #092d31; box-shadow: 0 0 28px #73ddbc21; margin: 20px 0 }
.guard-symbol::before, .guard-symbol::after { content: ""; position: absolute; inset: -11%; border: 1px solid currentColor; border-radius: 50%; opacity: .25 }
.guard-symbol::after { inset: -22%; opacity: .12 }
.guard-symbol .icon { width: 52%; height: 52% }
.guard-stage strong { font-size: clamp(1.45rem,2.45vw,2rem); line-height: 1.4 }
.guard-stage > span { color: #d3e9e6; font-size: .94rem }
.guard-demo .demo-controls { border-color: #a7e2d33d }
.guard-demo .demo-controls > span { color: #d7eee8 }
.guard-control { border: 1px solid #a2e3cc85; padding: 5px 13px; border-radius: 7px; color: #e8fff6; background: #185147; font-size: .875rem; line-height: 1.4 }
.guard-control:hover { background: #256354 }
.guard-demo.is-alert { --signal: #ffb89d; background: radial-gradient(ellipse at 50% 40%,#633c40,#3a2934 55%,#232435) }
.guard-demo.is-alert .guard-symbol { background: #492e31 }
@keyframes guard-ring { from { transform: scale(.85); opacity: .8 } to { transform: scale(1.24); opacity: 0 } }
@media (prefers-reduced-motion: no-preference) { .guard-demo.is-alert .guard-symbol::after { animation: guard-ring .75s ease-out 2 } }
.security { border-bottom: 1px solid var(--line); background: linear-gradient(112deg,#f3faf7,#fafcfb) }
.guard-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px }
.guard-features article { display: flex; align-items: flex-start; gap: 12px }
.guard-features article > .icon { width: 37px; height: 37px; padding: 8px; border-radius: 10px; background: #d9eee6; color: #236458 }
.guard-features h3 { margin-bottom: 6px; font-size: 1.16rem }
.guard-features p { color: var(--muted); line-height: 1.7 }

.platform-strip { border-block: 1px solid var(--line); background: white }
.platforms-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 28px; padding-block: 28px }
.platforms-inner h2 { padding-right: 24px; border-right: 1px solid var(--line); font-size: 1rem; font-weight: 650; color: var(--muted) }
.platforms-inner ul { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); list-style: none; gap: 18px 8px; padding: 0 }
.platforms-inner li { display: grid; place-items: center }
.platforms-inner img { display: block; width: min(100%,42px); aspect-ratio: 1; object-fit: contain; border-radius: 10px }
.platforms-inner .platform-glyph { padding: 7px }
.platforms-inner .ddsms { background: #000 }
.section { padding-block: clamp(44px,4.8vw,74px) }
.section-title, .guide h2 { margin: 0; font-size: clamp(1.7rem,2.5vw,2.35rem); letter-spacing: -.05em; line-height: 1.3 }
.section-title { margin-bottom: 24px }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px }
.feature-card { background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s }
@media (hover: hover) { .feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -20px #172f585c } }
.card-body { padding: 18px 21px 22px }
.card-body h3 { margin: 0; font-size: 1.2rem }
.card-body p, .plan p, .questions p { color: var(--muted); line-height: 1.7; font-size: 1rem }
.card-body p { margin-top: 5px }
.platform-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px }
.platform-icon img { width: 69%; height: 69% }
.whatsapp { background: #16b960 }.telegram { background: #259bd8 }.line { background: #05b84b }
.instagram { background: radial-gradient(circle at 32% 99%,#ffcd53 0%,#fb7c3b 22%,#d83387 54%,#7744cb 88%) }
.discord { background: #5965e8 }.messenger { background: linear-gradient(165deg,#ce45bd,#6056fe 54%,#1b94ff) }
.feature-art { position: relative; overflow: hidden; height: 148px; isolation: isolate; display: grid; place-content: center }
.feature-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg,#557fc117 1px,transparent 1px),linear-gradient(#557fc117 1px,transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(ellipse at center,black,transparent 85%) }
.art-chat { background: linear-gradient(130deg,#e4edff,#edf3ff) }
.mini-message { display: flex; align-items: center; gap: 8px; justify-self: start; transform: translateX(-16px) rotate(-4deg); border: 1px solid #d3dff7; background: white; border-radius: 10px 10px 10px 2px; padding: 9px 14px; box-shadow: 0 5px 10px #375da716; color: #293f66; font-size: .91rem; font-weight: 600 }
.mini-message span { font: 650 .69rem/1 "Segoe UI",sans-serif; color: #4960a2; background: #ecf1fd; padding: 4px; border-radius: 3px }
.mini-message.translated { background: #3973f4; color: white; border-color: #4b82f8; justify-self: end; margin-top: 6px; transform: translateX(21px) rotate(2deg); border-radius: 10px 10px 2px 10px }
.art-accounts { background: linear-gradient(125deg,#e7f5f4,#e6f1f5) }
.account-stack { position: relative; width: 157px; height: 81px; transform: rotate(-5deg) }
.account-sheet { position: absolute; inset: 0; border-radius: 10px; border: 1px solid #bddbd8 }
.sheet-back { background: #b7dcd9; transform: translate(13px,-8px) rotate(10deg) }
.sheet-middle { background: #e1f3ef; transform: translate(6px,-4px) rotate(5deg) }
.sheet-front { background: white; padding: 12px; font-size: .8rem; color: #2c5967; box-shadow: 0 5px 12px #386f6e22 }
.sheet-front > .icon { margin-right: 5px }
.account-line { display: block; height: 1px; background: #e2ecee; margin-block: 7px }
.account-apps { display: flex; gap: 8px }.account-apps .platform-icon { width: 18px; height: 18px; border-radius: 5px }
.art-reply { background: linear-gradient(130deg,#edebff,#f2edff) }
.reply-tile { width: 144px; padding: 13px 17px 16px; background: white; border: 1px solid #d8d5f5; border-radius: 12px; transform: translate(-6px,-1px) rotate(-5deg); box-shadow: 0 5px 14px #66569f1c; color: #6052ad; font-size: .86rem }
.reply-tile .icon { margin-right: 5px }.mini-line { display: block; height: 4px; width: 90%; background: #dbd9f2; margin-top: 9px; border-radius: 3px }.mini-line.short { width: 62%; margin-top: 5px }
.reply-chip { position: absolute; bottom: 24%; left: 50%; background: #7463d9; border: 1px solid #897be2; padding: 5px 10px; border-radius: 7px; transform: rotate(3deg); display: flex; align-items: center; gap: 5px; color: white; font-size: .75rem }
.pricing { border-block: 1px solid var(--line); background: linear-gradient(180deg,#f0f5ff,#f8faff) }
.pricing .section-title { margin-bottom: 30px; text-align: center }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 20px; margin-inline: auto }
.plan-grid:not(:has(.plan:nth-child(3))) { max-width: 742px }
.plan-grid:not(:has(.plan:nth-child(2))) { max-width: 360px }
.plan { --plan-padding: clamp(20px,2.35vw,28px); min-width: 0; display: flex; flex-direction: column; border: 1px solid #cddcf0; border-radius: 18px; background: white; box-shadow: 0 8px 24px #2345760b; overflow: hidden; overflow-wrap: anywhere; transition: border-color .18s, box-shadow .18s }
.plan:hover, .plan:focus-within { border-color: #96b4e8; box-shadow: 0 12px 28px #23457617 }
.plan-summary { display: flex; flex: 1 0 auto; flex-direction: column; padding: var(--plan-padding); background: linear-gradient(155deg,#eaf2ff,white 86%) }
.plan-title { gap: 10px; line-height: 1.3 }
.plan-title h3 { font-size: 1.43rem; letter-spacing: -.025em }
.plan-title .icon { box-sizing: content-box; width: 19px; height: 19px; padding: 7px; border-radius: 9px; color: var(--blue); background: #dce9ff }
.plan-price { display: flex; gap: 7px; flex-wrap: wrap; align-items: baseline; margin-block: 15px 9px; color: var(--muted); font-size: .9rem }
.plan-price strong { color: var(--blue); line-height: 1.15 }
.plan-amount { font-size: clamp(2.35rem,4vw,3rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em }
.plan-price .pending { font-size: 1.55rem }
.plan p { margin-bottom: 17px; font-size: .93rem }
.plan .plan-settlement { color: var(--muted); font-size: .875rem }
.plan-link { align-self: stretch; margin-top: auto; padding: 9px 14px; min-height: 44px; font-size: .93rem }
.plan-features { display: grid; gap: 12px; padding: 20px var(--plan-padding) 24px; list-style: none; border-top: 1px solid #e4ebf6 }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; color: #354a65; line-height: 1.5; font-size: .95rem }
.plan-features .icon { margin-top: .16em; color: #157266 }
.guide { padding-block: 42px }
.guide-inner { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 32px }
.guide h2 { font-size: clamp(1.45rem,2vw,1.85rem) }
.questions details { border-bottom: 1px solid var(--line) }
.questions details:first-child { border-top: 1px solid var(--line) }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; padding: 14px 0; font-size: 1rem; font-weight: 620 }
.questions summary::-webkit-details-marker { display: none }
.questions summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; color: var(--blue) }
.questions details[open] summary::after { content: "−" }.questions p { padding-bottom: 15px }
.questions p a { color: var(--blue); text-decoration: underline; text-underline-offset: .18em }
.support-launcher { position: fixed; right: var(--support-right); bottom: var(--support-bottom); z-index: 11; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: var(--support-height); padding-inline: 15px; color: white; background: var(--blue); border: 1px solid #ffffff65; border-radius: 24px; box-shadow: 0 4px 16px #17398838; font-size: .92rem; font-weight: 650 }
.support-launcher:hover { background: #1647c0 }
.support-launcher .icon { width: 20px; height: 20px }
#support { position: fixed; inset: auto var(--support-right) calc(var(--support-bottom) + var(--support-height) + 10px) auto; width: min(288px,calc(100% - var(--support-right) - 12px)); max-height: calc(100% - var(--support-bottom) - var(--support-height) - 24px); overflow-y: auto; margin: 0; padding: 18px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px #17335729 }
@media (prefers-reduced-motion: no-preference) { #support:popover-open { animation: show-reply .18s var(--ease) } }
.support-head { display: flex; align-items: center; gap: 10px }
.support-head h2 { font-size: 1.05rem }
.support-close { display: grid; place-items: center; margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--muted); background: var(--wash); font-size: 1.25rem; line-height: 1 }
.telegram-mark { display: grid; flex: none; place-items: center; border-radius: 10px; width: 36px; height: 36px; background: #2087bf }
.telegram-mark img { width: 59%; height: 59% }
.contact-details { display: grid; justify-items: start; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); overflow-wrap: anywhere; min-width: 0 }
.contact-details .btn { max-width: 100% }
.contact-details > span { color: var(--muted); font-size: .92rem }
.qr { display: block; width: 136px; height: 136px; object-fit: contain; padding: 5px; border-radius: 8px; background: white }
.footer { justify-content: space-between; gap: 12px; min-height: 68px; padding-right: calc(var(--support-right) + 76px); color: #596a80; font-size: .86rem }
.footer a:hover { color: var(--blue) }

.privacy-main { min-height: calc(100svh - 70px); padding-block: clamp(24px,5vw,60px); background: linear-gradient(#edf4ff,#f7f9fc 360px) }
.privacy-card { width: min(860px, 90%); margin-inline: auto; padding: clamp(22px,5vw,58px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 16px 44px -34px #24498565 }
.privacy-intro h1 { font-size: clamp(2rem,4vw,3.25rem); line-height: 1.18; letter-spacing: -.04em }
.privacy-date { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem }
.privacy-card p, .privacy-card li { color: #354a65; line-height: 1.8; overflow-wrap: anywhere }
.privacy-intro p { margin-top: 16px }
.privacy-card section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line) }
.privacy-card h2 { margin-bottom: 10px; font-size: clamp(1.17rem,2.3vw,1.48rem); line-height: 1.35 }
.privacy-card ul { display: grid; gap: 8px; padding-left: 1.25em }
.privacy-card :is(p, ul) + p { margin-top: 10px }
.privacy-card a { color: var(--blue); text-decoration: underline; text-underline-offset: .2em }

@media (max-width: 960px) {
  .platforms-inner { grid-template-columns: minmax(0,1fr); gap: 18px }.platforms-inner h2 { border: 0; padding: 0 }
  .card-body { padding: 16px }.feature-grid { gap: 13px }
}
@media (max-width: 930px) {
  .chapter[id] { --header-height: 63px }
  .header-inner { min-height: 62px }.header-actions { gap: 7px }
  .menu-toggle { display: grid; place-items: center }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 9px 5% 12px; color: var(--ink); background: white; border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #14223810 }
  nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px }nav a { padding: 12px }
}
@media (max-width: 760px) {
  .chapter[id] { padding-block: 30px }
  .chapter-copy > :is(h1,h2) { font-size: clamp(2.55rem,8vw,3.5rem) }
  .chapter-copy > p { margin-top: 10px }
  .guard-features { grid-template-columns: 1fr; gap: 18px }
  .platforms-inner ul { grid-template-columns: repeat(5,minmax(0,1fr)) }
  .feature-grid { grid-template-columns: 1fr }.feature-card { display: grid; grid-template-columns: 32% minmax(0,1fr); align-items: stretch }
  .feature-art { height: 110px }.card-body { align-self: center }
  .guide-inner { grid-template-columns: 1fr; gap: 16px }
}
@media (max-width: 500px) {
  .plan-grid { grid-template-columns: minmax(0,1fr); gap: 14px }
  .wrap { width: 90% }.brand { font-size: 1.08rem }.brand img { width: 32px }.compact { font-size: .82rem; padding-inline: 10px }
  .download-panel { align-items: stretch; flex-direction: column; gap: 20px }
  .demo { gap: 11px; border-radius: 17px; padding: 16px }
  .messages { gap: 8px }.bubble { padding: 9px 13px }.incoming,.outgoing { margin-inline: 0 }
  .platforms-inner { padding-block: 22px }
  .feature-card { grid-template-columns: minmax(84px,32%) 1fr }.card-body { padding: 12px 14px }.card-body h3 { font-size: 1.08rem }
  .card-body p { font-size: .95rem }.feature-art { min-height: 104px; height: 100% }
  .feature-art > * { scale: .68 }.mini-message { white-space: nowrap }.reply-chip { left: 28% }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important }
}
