:root {
  --green: #087443;
  --green-dark: #065a35;
  --green-soft: #eaf6ef;
  --blue: #155eef;
  --blue-dark: #004eeb;
  --blue-soft: #eef4ff;
  --coral: #e34850;
  --coral-soft: #fff0f1;
  --amber: #b54708;
  --amber-soft: #fff7e8;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: #dfe5ec;
  --white: #fff;
  --gray: #f5f7f9;
  --gray-2: #eef1f4;
  --radius: 8px;
  --shadow: 0 18px 46px rgba(16, 24, 40, .10);
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 15px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(21, 94, 239, .25); outline-offset: 3px; }
.wrap { width: min(var(--wrap), calc(100% - 44px)); margin: 0 auto; }
.icon { width: 20px; height: 20px; stroke-width: 1.9; flex: 0 0 auto; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(223,229,236,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nav-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 780; }
.site-brand img { width: 36px; height: 36px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 28px; color: var(--ink-2); font-size: 14px; font-weight: 620; }
.site-nav a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-nav { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue); color: white; font-weight: 740; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blue-dark); }
.btn.secondary { border-color: var(--line); background: var(--white); color: var(--ink-2); }
.btn.secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn.green { border-color: var(--green); background: var(--green); }
.btn.green:hover { background: var(--green-dark); }
.btn.text { border-color: transparent; background: transparent; color: var(--blue); padding: 0 4px; }
.btn.text:hover { background: var(--blue-soft); }

.hero { padding: clamp(66px, 8vw, 106px) 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr); gap: 58px; align-items: center; }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 6.2vw, 78px); line-height: .98; font-weight: 800; letter-spacing: 0; }
.hero-lead { max-width: 590px; margin: 25px 0 28px; color: var(--ink-2); font-size: 19px; line-height: 1.62; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.trust-line { display: flex; align-items: center; gap: 9px; margin-top: 32px; color: var(--muted); font-size: 13px; }
.trust-line .icon { color: var(--green); }
.product-preview { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.preview-top { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.preview-brand { display: flex; align-items: center; gap: 8px; font-weight: 740; }
.preview-brand img { width: 26px; height: 26px; }
.active-control { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 12px; }
.active-control strong { color: var(--green); }
.fake-toggle { width: 36px; height: 20px; position: relative; border-radius: 999px; background: var(--green); }
.fake-toggle::after { content: ""; position: absolute; width: 14px; height: 14px; right: 3px; top: 3px; border-radius: 50%; background: white; }
.preview-body { display: grid; grid-template-columns: 126px minmax(0, 1fr); min-height: 440px; background: var(--gray); }
.preview-side { padding: 15px 10px; border-right: 1px solid var(--line); background: #fbfcfd; }
.preview-nav-item { min-height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 8px; border-radius: 5px; color: var(--muted); font-size: 11px; }
.preview-nav-item.active { background: var(--blue-soft); color: var(--blue); font-weight: 720; }
.preview-main { min-width: 0; padding: 14px; }
.map-panel, .rules-panel { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.map-panel { padding: 12px; }
.map-panel strong { display: block; margin-bottom: 5px; font-size: 12px; }
.map-panel img { width: 100%; aspect-ratio: 3 / 1.45; display: block; object-fit: cover; object-position: center; }
.map-legend { display: flex; gap: 14px; color: var(--muted); font-size: 10px; }
.legend-key { display: inline-flex; align-items: center; gap: 5px; }
.legend-key::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.legend-key.blocked::before { background: var(--coral); }
.rules-panel { margin-top: 10px; overflow: hidden; }
.rules-title { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 740; }
.demo-rule { min-height: 45px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 10px; }
.demo-rule:last-child { border-bottom: 0; }
.demo-rule > .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.demo-rule.blocked > .icon { background: var(--coral-soft); color: var(--coral); }
.demo-rule strong, .demo-rule span { display: block; }
.demo-rule span { color: var(--muted); }
.rule-result { color: var(--green) !important; font-weight: 700; }
.blocked .rule-result { color: var(--coral) !important; }
.next-hint { padding: 42px 0; border-top: 1px solid var(--line); background: var(--gray); }
.next-hint .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.next-hint h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.next-hint p { margin: 0; color: var(--muted); font-size: 17px; }

.section { padding: 82px 0; }
.section.gray { background: var(--gray); }
.section.green-soft { background: var(--green-soft); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; letter-spacing: 0; }
.section-head p { margin: 15px 0 0; color: var(--muted); font-size: 17px; }
.capability-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability { min-height: 240px; padding: 28px 26px; border-right: 1px solid var(--line); }
.capability:last-child { border-right: 0; }
.capability .icon { color: var(--green); margin-bottom: 25px; }
.capability h3 { margin: 0 0 8px; font-size: 18px; }
.capability p { margin: 0; color: var(--muted); font-size: 14px; }
.availability-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; color: var(--amber); font-size: 12px; }
.availability-note .icon { margin: 0; color: var(--amber); }
.workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 250px; gap: 0; align-items: stretch; }
.flow-step { position: relative; padding: 6px 34px 10px 0; }
.flow-step:not(:nth-child(4))::after { content: ""; position: absolute; top: 46px; right: 10px; width: 16px; height: 1px; background: #98a2b3; }
.flow-step:not(:nth-child(4))::before { content: ""; position: absolute; top: 42px; right: 7px; border-left: 5px solid #98a2b3; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.flow-icon { width: 80px; height: 80px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--green); }
.flow-step strong { display: block; line-height: 1.35; }
.flow-step p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.flow-number { display: inline-grid; width: 22px; height: 22px; place-items: center; margin-right: 5px; border-radius: 50%; background: var(--green); color: white; font-size: 11px; }
.privacy-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.privacy-block .icon { width: 42px; height: 42px; padding: 10px; margin-bottom: 12px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.privacy-block h3 { margin: 0 0 7px; }
.privacy-block p { margin: 0; color: var(--muted); font-size: 13px; }
.privacy-block ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; text-align: left; font-size: 12px; }
.privacy-block li { display: flex; align-items: center; gap: 7px; }
.privacy-block li .icon { width: 15px; height: 15px; padding: 0; margin: 0; background: none; }
.setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 250px; gap: 24px; align-items: start; }
.setup-step { position: relative; padding-top: 14px; border-top: 2px solid var(--line); }
.setup-step b { width: 30px; height: 30px; position: absolute; top: -16px; left: 0; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; }
.setup-step .icon { margin: 28px 0 16px; color: var(--green); }
.setup-step h3 { margin: 0 0 7px; font-size: 17px; }
.setup-step p { margin: 0; color: var(--muted); font-size: 13px; }
.guide-box { padding: 20px; border: 1px solid #b2ccff; border-radius: var(--radius); background: var(--blue-soft); }
.guide-box .icon { color: var(--blue); }
.guide-box h3 { margin: 10px 0 5px; }
.guide-box p { margin: 0 0 12px; color: #1849a9; font-size: 13px; }
.guide-box a { color: var(--blue); font-weight: 740; }

.price-controls { width: min(340px, 100%); display: grid; grid-template-columns: 1fr 1fr; margin: 0 auto 24px; }
.price-controls button { min-height: 40px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); cursor: pointer; font-weight: 700; }
.price-controls button:first-child { border-radius: 6px 0 0 6px; }
.price-controls button:last-child { border-radius: 0 6px 6px 0; }
.price-controls button.active { border-color: var(--green); background: var(--green); color: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { min-height: 500px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.price-card h3 { margin: 0; font-size: 21px; }
.price { margin: 14px 0 2px; font-size: 42px; line-height: 1; font-weight: 800; }
.price small { color: var(--muted); font-size: 13px; font-weight: 500; }
.price-card > p { min-height: 48px; margin: 8px 0 0; color: var(--muted); }
.price-list { list-style: none; margin: 18px 0 25px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.price-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--ink-2); font-size: 14px; }
.price-list .icon { width: 17px; height: 17px; color: var(--green); }
.price-card .btn { margin-top: auto; }
.pricing-foot { max-width: 900px; margin: 20px auto 0; color: var(--muted); text-align: center; font-size: 13px; }
.pricing-foot strong { color: var(--ink-2); }

.faq-wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-intro h2 { margin: 0; font-size: 38px; line-height: 1.12; }
.faq-intro p { color: var(--muted); }
.faq-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.faq-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; font-weight: 720; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 800px; margin: -2px 0 20px; color: var(--muted); }
.install-band { padding: 38px 0; background: var(--green); color: white; }
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .7fr); gap: 42px; align-items: center; }
.install-grid h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.install-grid p { margin: 8px 0 0; color: #d9f2e5; }
.shop-form { display: flex; gap: 9px; }
.shop-form input { min-width: 0; flex: 1; min-height: 46px; padding: 0 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; background: var(--white); color: var(--ink); }
.shop-form .btn { border-color: #8fb1ff; }
.form-error { grid-column: 1 / -1; margin-top: 7px; color: #ffe0df; font-size: 12px; }
.footer { padding: 44px 0 34px; background: #182230; color: #d0d5dd; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, .7fr)); gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-size: 17px; font-weight: 760; }
.footer-brand img { width: 34px; height: 34px; background: white; border-radius: 6px; }
.footer p { max-width: 360px; color: #98a2b3; font-size: 13px; }
.footer h3 { margin: 0 0 11px; color: white; font-size: 13px; }
.footer-links { display: grid; gap: 8px; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid #344054; color: #98a2b3; font-size: 12px; }

.page-hero { padding: 76px 0 54px; border-bottom: 1px solid var(--line); background: var(--gray); }
.page-hero .wrap { max-width: 930px; }
.page-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 70px); line-height: 1; }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--ink-2); font-size: 19px; }
.content-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; padding: 60px 0 90px; }
.toc { position: sticky; top: 98px; display: grid; gap: 7px; padding-right: 18px; border-right: 1px solid var(--line); }
.toc strong { margin-bottom: 5px; font-size: 12px; text-transform: uppercase; color: var(--muted); }
.toc a { padding: 6px 0; color: var(--muted); font-size: 13px; }
.toc a:hover { color: var(--blue); }
.article section { scroll-margin-top: 100px; padding: 0 0 48px; }
.article h2 { margin: 0 0 13px; font-size: 31px; line-height: 1.2; }
.article h3 { margin: 30px 0 8px; font-size: 19px; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-left: 22px; }
.article li + li { margin-top: 8px; }
.note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; padding: 14px 15px; border: 1px solid #b2ccff; border-radius: 6px; background: var(--blue-soft); color: #1849a9; }
.note.warn { border-color: #f7c66a; background: var(--amber-soft); color: #7a2e0e; }
.note .icon { margin-top: 2px; }
.instruction { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.instruction b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; }
.instruction h3 { margin: 3px 0 5px; }
.instruction p { margin: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding: 68px 0 90px; }
.support-form { display: grid; gap: 15px; }
.support-form label { display: grid; gap: 6px; color: var(--ink-2); font-weight: 700; }
.support-form input, .support-form select, .support-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.support-form input, .support-form select { min-height: 44px; padding: 0 12px; }
.support-form textarea { min-height: 160px; padding: 11px 12px; resize: vertical; }
.support-side { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--gray); }
.support-side h2 { margin-top: 0; font-size: 21px; }
.support-side p { color: var(--muted); }
.support-side a { color: var(--blue); font-weight: 700; }

@media (max-width: 980px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 16px 22px 22px; border-bottom: 1px solid var(--line); background: var(--white); flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav.open { display: flex; }
  .mobile-nav { display: grid; }
  .nav-actions > .btn.secondary { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-preview { max-width: 780px; }
  .capability-rail { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .privacy-block { grid-column: 1 / -1; }
  .flow-step::after, .flow-step::before { display: none; }
  .setup-steps { grid-template-columns: repeat(3, 1fr); }
  .guide-box { grid-column: 1 / -1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .install-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; grid-template-columns: repeat(2, 1fr); padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .toc strong { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .site-brand { font-size: 16px; }
  .nav-actions > .btn { display: none; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-actions, .shop-form { flex-direction: column; }
  .hero-actions .btn, .shop-form .btn { width: 100%; }
  .preview-body { grid-template-columns: 1fr; min-height: 0; }
  .preview-side { display: none; }
  .preview-main { padding: 9px; }
  .next-hint .wrap { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 62px 0; }
  .capability-rail, .workflow, .setup-steps, .pricing-grid { grid-template-columns: 1fr; }
  .capability { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .privacy-block { grid-column: auto; }
  .price-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .toc { grid-template-columns: 1fr; }
  .toc strong { grid-column: auto; }
}
