:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5a667b;
  --line: #d8dfeb;
  --soft: #f3f6fb;
  --panel: #ffffff;
  --navy: #0e1933;
  --navy-2: #182747;
  --accent: #2347a8;
  --accent-2: #17357f;
  --danger: #8f2b2b;
  --success: #1f6845;
  --warning: #815508;
  --shadow: 0 20px 55px rgba(27, 43, 77, .12);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, select { font: inherit; }
img, svg { max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,25,51,.96); color: #fff; border-bottom: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(12px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 230px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #6d7fae; border-radius: 10px; font-weight: 800; font-size: 12px; letter-spacing: .05em; }
.brand-copy strong { display: block; font-size: 16px; line-height: 1.15; }
.brand-copy small { color: #b9c4df; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 21px; }
.nav a { color: #d7def0; text-decoration: none; font-size: 14px; }
.nav a:hover { color: #fff; }
.language-select { min-width: 145px; color: #fff; background: #172441; border: 1px solid #586b96; border-radius: 10px; padding: 9px 32px 9px 11px; }
.hero { background: linear-gradient(145deg, #f3f6fb 0%, #fff 58%, #eef2f8 100%); border-bottom: 1px solid var(--line); }
.hero-inner { min-height: 670px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); align-items: center; gap: 60px; padding-block: 74px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 820px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.047em; }
.hero-subtitle { margin: 22px 0 0; max-width: 690px; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.48; color: #39455c; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { appearance: none; border: 0; border-radius: 11px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover:not([aria-disabled="true"]) { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 10px 22px rgba(35,71,168,.23); }
.button-primary:hover:not([aria-disabled="true"]) { background: var(--accent-2); }
.button-secondary { background: #fff; color: var(--ink); border: 1px solid #c9d2e2; }
.button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.hero-price { margin-top: 15px; color: var(--muted); font-size: 14px; }
.hero-price strong { color: var(--ink); font-size: 18px; }
.fact-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.fact-pill { padding: 7px 10px; border: 1px solid #cdd6e6; background: rgba(255,255,255,.8); border-radius: 999px; color: #4a566d; font-size: 13px; }
.product-window { border: 1px solid #cfd7e6; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(.7deg); }
.window-bar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy); color: #fff; }
.window-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 8px; height: 8px; border-radius: 999px; background: #7180a6; }
.window-body { padding: 22px; background: #f5f7fb; }
.mock-kicker { color: var(--accent); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.mock-title { margin: 5px 0 16px; font-size: 24px; line-height: 1.2; }
.mock-card { background: #fff; border: 1px solid #d9e0eb; border-radius: 12px; padding: 14px; margin-top: 10px; }
.mock-label { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.mock-progress { height: 7px; border-radius: 99px; background: #e4e9f2; margin-top: 10px; overflow: hidden; }
.mock-progress span { display: block; width: 60%; height: 100%; background: var(--accent); }
.permission-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #e5e9f0; }
.permission-row:last-child { border-bottom: 0; }
.permission-row strong { font-size: 13px; }
.permission-row small { display: block; color: var(--muted); font-size: 11px; }
.level { border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.level.allowed { background: #e7f3ec; color: var(--success); }
.level.exact { background: #fff1d6; color: var(--warning); }
.level.owner { background: #eeeaf9; color: #5a3a93; }
.mock-warning { margin-top: 13px; padding: 12px; border-left: 4px solid #d89b19; background: #fff8e8; font-size: 12px; }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item { padding: 21px 18px; border-right: 1px solid var(--line); text-align: center; }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span { color: var(--muted); font-size: 12px; }
.section { padding-block: 92px; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-header { max-width: 760px; margin-bottom: 42px; }
.section h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -.035em; }
.section-lead { margin: 15px 0 0; color: var(--muted); font-size: 18px; }
.problem-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.problem-quote { margin: 0; padding: 30px; color: #fff; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 25px; line-height: 1.42; }
.problem-list { display: grid; gap: 12px; }
.problem-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.problem-item b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #e8edf7; color: var(--accent); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card h3 { margin: 13px 0 8px; font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.card-number { color: var(--accent); font-weight: 850; font-size: 14px; letter-spacing: .08em; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.workflow-step { position: relative; min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.workflow-step::before { counter-increment: steps; content: counter(steps); position: absolute; top: 22px; right: 22px; color: #cbd4e5; font-size: 45px; font-weight: 900; line-height: 1; }
.workflow-step h3 { margin: 45px 0 8px; font-size: 22px; }
.workflow-step p { margin: 0; color: var(--muted); }
.files-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.file-card { padding: 15px 16px; border: 1px solid #d6deea; background: #fff; border-radius: 10px; }
.file-card code { color: #22345d; font-size: 12px; overflow-wrap: anywhere; }
.local-first { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dark-card { padding: 32px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.dark-card h3 { margin: 0 0 14px; font-size: 27px; }
.dark-card p { color: #c8d2e9; }
.check-list { list-style: none; padding: 0; margin: 19px 0 0; display: grid; gap: 10px; }
.check-list li::before { content: "✓"; margin-inline-end: 9px; color: #89e0b6; font-weight: 900; }
.boundary-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.boundary-card h3 { margin: 0 0 14px; font-size: 27px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.audience-card.good { background: #f4faf7; border-color: #c9e4d5; }
.audience-card.bad { background: #fbf6f6; border-color: #e6cccc; }
.audience-card h3 { margin-top: 0; }
.audience-card ul { padding-inline-start: 20px; margin-bottom: 0; }
.price-panel { display: grid; grid-template-columns: 1fr 360px; gap: 42px; align-items: center; padding: 42px; border: 1px solid var(--line); background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.price-panel h2 { font-size: clamp(32px, 4vw, 52px); }
.price-box { padding: 28px; border-radius: 18px; background: var(--navy); color: #fff; }
.price-value { font-size: 46px; font-weight: 900; letter-spacing: -.04em; }
.price-note { color: #c8d1e7; }
.price-box .button { width: 100%; margin-top: 20px; }
.price-details { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #d7ddef; font-size: 14px; }
.price-details li::before { content: "•"; color: #89a6ef; margin-inline-end: 8px; }
.system-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.system-item { padding: 17px 19px; border: 1px solid var(--line); border-radius: 12px; }
.system-item strong { display: block; }
.system-item span { color: var(--muted); }
.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 750; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.final-cta { padding-block: 86px; background: var(--navy); color: #fff; text-align: center; }
.final-cta h2 { margin: 0 auto; max-width: 780px; font-size: clamp(34px, 5vw, 58px); line-height: 1.1; }
.final-cta p { color: #c9d2e6; font-size: 18px; }
.final-cta .hero-actions { justify-content: center; }
.site-footer { background: #0a1226; color: #c7d0e4; padding-block: 38px 90px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
.footer-links a { font-size: 13px; color: #d7deed; }
.footer-note { max-width: 680px; color: #95a2bd; font-size: 12px; }
.checkout-status { margin-top: 12px; color: #737f94; font-size: 12px; }
.mobile-buy { display: none; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 22px rgba(24,39,71,.1); }
.mobile-buy .button { width: 100%; }
.legal-shell { min-height: 100vh; background: var(--soft); }
.legal-header { background: var(--navy); color: #fff; padding: 24px 0; }
.legal-main { padding: 46px 0 80px; }
.legal-document { max-width: 920px; margin: 0 auto; padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.legal-document h1 { font-size: clamp(32px, 5vw, 50px); }
.legal-document h2 { margin-top: 35px; font-size: 22px; }
.legal-document p, .legal-document li { color: #3f4a60; }
.notice { padding: 14px 16px; border-left: 4px solid var(--accent); background: #eef3ff; color: #33446b; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.legal-table th, .legal-table td { padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; text-align: start; }
.legal-table th { width: 31%; background: #f4f6fa; }
.back-link { color: #fff; }
[dir="rtl"] .workflow-step::before { right: auto; left: 22px; }
[dir="rtl"] .brand, [dir="rtl"] .window-brand { flex-direction: row-reverse; }
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .product-window { max-width: 650px; transform: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .problem-grid, .local-first, .price-panel { grid-template-columns: 1fr; }
  .feature-grid, .workflow, .files-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 62px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .language-select { min-width: 112px; max-width: 132px; }
  .hero-inner { padding-block: 48px; }
  h1 { font-size: clamp(38px, 13vw, 57px); }
  .hero-subtitle { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .trust-grid, .feature-grid, .workflow, .files-grid, .audience-grid, .system-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 1px solid var(--line); }
  .section { padding-block: 66px; }
  .problem-quote { font-size: 21px; }
  .price-panel { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .mobile-buy { display: block; }
  .site-footer { padding-bottom: 110px; }
  .legal-document { padding: 25px 20px; border-radius: 12px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; }
}
.footer-grid > * { min-width: 0; }
.footer-note code { overflow-wrap: anywhere; word-break: break-all; white-space: normal; }
@media (max-width: 720px) {
  .footer-links { width: 100%; gap: 10px 14px; }
  .footer-links a { overflow-wrap: anywhere; }
}
.hero h1, .section-header h2 { overflow-wrap: anywhere; }
