:root {
  color-scheme: light dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --page: #f6f8fd;
  --surface: #fff;
  --soft: #edf2ff;
  --tint: #e1eaff;
  --ink: #152039;
  --muted: #4e5c76;
  --line: #d7e0f0;
  --accent: #274bc7;
  --cta: #274dcc;
  --cta-hover: #1c3caf;
  --on-cta: #fff;
  --focus: #4269e9;
  --shadow: 0 20px 70px #22365b15;
  background: var(--page);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101626;
    --surface: #171f32;
    --soft: #1a2540;
    --tint: #233557;
    --ink: #f0f4fd;
    --muted: #aebbd4;
    --line: #2e3c58;
    --accent: #a7bcff;
    --cta: #a7bcff;
    --cta-hover: #c6d4ff;
    --on-cta: #111c39;
    --focus: #a0b7ff;
    --shadow: 0 20px 70px #060b1940;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[id] { scroll-margin-top: 20px; }
h1, h2, h3, p, figure, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
button { font: inherit; }
.shell { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 12px 18px; background: var(--surface); }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; }
.header { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 750; letter-spacing: -.045em; flex: none; }
.header nav, .footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 2px 28px; }
.header nav a, .footer-links a, .back-top { padding-block: 11px; font-size: 14px; font-weight: 630; color: var(--muted); }
.header nav a:hover, .footer-links a:hover, .back-top:hover { color: var(--accent); }
h1, h2, h3 { letter-spacing: -.048em; }
h2 { font-size: clamp(29px, 4vw, 50px); line-height: 1.07; font-weight: 730; text-wrap: balance; }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.2fr); align-items: center; gap: clamp(25px, 3vw, 46px); padding-block: clamp(50px, 6vw, 90px) 34px; }
.platform { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--accent); font-size: 13px; font-weight: 690; }
.platform:hover { background: var(--tint); }
.windows-mark { width: 12px; height: 12px; background:
    linear-gradient(currentColor, currentColor) left top / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 5px 5px no-repeat; }
.hero h1 { max-width: 11ch; font-size: clamp(51px, 5.4vw, 81px); letter-spacing: -.074em; line-height: .97; font-weight: 760; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.lead { max-width: 38ch; margin-top: 19px; color: var(--muted); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.54; }
.primary { display: inline-flex; align-items: center; gap: 14px; margin: 25px 16px 0 0; padding: 13px 17px; border-radius: 11px; background: var(--cta); color: var(--on-cta); font-size: 15px; font-weight: 690; }
.primary:hover { background: var(--cta-hover); }
.primary span { font-size: 17px; }
.hero-requirements { display: inline-block; margin-top: 13px; padding: 5px 0; color: var(--accent); font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: .24em; }
.product { position: relative; isolation: isolate; display: grid; align-items: end; width: 100%; min-width: 0; min-height: 430px; aspect-ratio: 1.47; border-radius: 25px; overflow: hidden; background: #102240; box-shadow: var(--shadow); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 54%; z-index: -2; }
.product::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(15deg, #091125bb 0%, transparent 73%); content: ""; }
.screen { position: relative; display: block; width: 71%; margin: 0 0 37px 5%; padding: 4px; border: 1px solid #dae6ff9c; border-radius: 13px; background: #9db4eb55; box-shadow: 0 17px 42px #02071997; }
.screen img { width: 100%; border-radius: 8px; }
.zoom { position: absolute; bottom: 9px; right: 9px; padding: 6px 9px; border-radius: 7px; color: #fff; background: #182747; font-size: 12px; font-weight: 670; }
.screen:hover .zoom { background: #2a4bc6; }
.product figcaption { position: absolute; bottom: 12px; left: 5%; color: #edf3ff; font-size: 12px; }

.privacy-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 17px; padding: clamp(18px, 2.7vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.privacy-summary h2 { font-size: clamp(24px, 3vw, 34px); text-wrap: wrap; }
.privacy-summary p { margin-top: 7px; color: var(--muted); line-height: 1.51; }
.privacy-detail { font-size: 14px; }
.privacy-detail a, .policy-links a, .document-body a, .document-back { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.lock-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--accent); }
.lock-mark span { position: relative; width: 19px; height: 15px; margin-top: 6px; border: 2px solid; border-radius: 4px; }
.lock-mark span::before { position: absolute; bottom: 100%; left: 3px; width: 9px; height: 8px; border: 2px solid; border-bottom: 0; border-radius: 7px 7px 0 0; content: ""; }

.guide { padding-block: clamp(49px, 7vw, 90px); }
.steps { counter-reset: steps; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 23px 0 0; }
.steps li { counter-increment: steps; min-width: 0; padding: 9px 9px 16px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.step-visual { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.7; border-radius: 12px; background: var(--tint); }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.step-photo img { object-position: 57% center; }
.step-catalog { padding: 12px 15px 0; align-items: start; }
.step-catalog picture { width: 100%; }
.step-catalog img { border-radius: 8px 8px 0 0; box-shadow: 0 8px 24px #101a402c; }
.step-complete { background: radial-gradient(ellipse at 65% 30%, #557ce9, #3657b7 57%, #243a81); padding: 14px; }
.complete-message { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: 0 10px 25px #0b174d45; color: var(--ink); font-size: 13px; }
.complete-message span { display: grid; place-items: center; background: #ccecdf; color: #125641; width: 25px; height: 25px; flex: none; border-radius: 50%; font-weight: 720; }
.complete-message small { display: block; margin-top: 3px; color: var(--muted); }
.steps h3 { margin: 13px 6px 0; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.17; }
.steps h3::before { content: counter(steps) ". "; color: var(--accent); }
.steps p { margin: 6px 6px 0; color: var(--muted); line-height: 1.49; font-size: 15px; }

.pricing, .faq, .release, .contact { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.pricing, .release { background: var(--soft); }
.faq { background: var(--surface); }
.compact-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .61fr) minmax(0, 1.4fr); gap: clamp(17px, 4.5vw, 58px); }
.compact-grid h2, .contact h2 { font-size: clamp(27px, 3.5vw, 43px); text-wrap: wrap; }
.price-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.price-pair div { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: var(--surface); }
.price-pair dt { color: var(--muted); font-size: 13px; font-weight: 640; }
.price-pair strong { display: block; margin-top: 6px; color: var(--accent); font-size: clamp(20px, 2.8vw, 33px); letter-spacing: -.048em; }
.price-pair span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
details { border-bottom: 1px solid var(--line); }
.payment-flow { margin-top: 11px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-weight: 660; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
summary:hover { color: var(--accent); }
details p { margin: 0 22px 13px 0; color: var(--muted); line-height: 1.53; }
.muted, .section-lead, .seller p { color: var(--muted); line-height: 1.5; }
.release-status { font-size: 17px; line-height: 1.5; }
.section-lead, .seller p { margin-top: 8px; }
.seller h3 { font-size: 19px; }
.seller-details { display: grid; gap: 5px; margin: 11px 0 0; font-size: 14px; line-height: 1.5; }
.seller-details div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 9px; }
.seller-details dt { font-weight: 650; }
.seller-details dd { color: var(--muted); }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 12px; font-size: 14px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; padding-block: 15px; }

.document { padding-block: clamp(33px, 6vw, 80px); }
.document-inner { max-width: 770px; }
.document-back { display: inline-block; margin-bottom: 19px; }
.document h1 { font-size: clamp(34px, 5.6vw, 62px); line-height: 1.02; overflow-wrap: anywhere; }
.document-status { margin-top: 18px; padding: 11px 14px; border-left: 3px solid var(--accent); background: var(--soft); color: var(--muted); }
.document-body h2 { margin-top: 28px; font-size: clamp(21px, 2.6vw, 29px); text-wrap: wrap; }
.document-body p { margin-top: 8px; color: var(--muted); line-height: 1.61; }

.preview { width: min(1160px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 85px #0008; }
.preview::backdrop { background: #080e20c9; backdrop-filter: blur(6px); }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; }
.preview-bar h2 { font-size: 16px; letter-spacing: 0; }
.preview-bar button { padding: 7px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: var(--soft); cursor: pointer; white-space: nowrap; }
.preview-image { overflow: auto; }
.preview-image img { width: 100%; min-width: 680px; max-width: none; }
body:has(.preview[open]) { overflow: hidden; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 23px; }
  .hero h1 { font-size: clamp(45px, 6.4vw, 63px); }
  .product { min-height: 340px; }
  .screen { width: 80%; }
}
@media (max-width: 740px) {
  .hero { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 520px; }
  .hero h1 { font-size: clamp(45px, 10vw, 70px); }
  .product { min-height: 0; aspect-ratio: 1.55; }
  .screen { width: 69%; }
  .steps { gap: 10px; }
  .step-catalog { padding: 9px 9px 0; }
}
@media (max-width: 570px) {
  .shell { width: calc(100% - 34px); }
  .header { min-height: 64px; gap: 7px; }
  .header nav, .footer-links { gap: 1px 10px; }
  .header nav a { font-size: 12px; padding-block: 7px; }
  .brand { font-size: 17px; gap: 3px; }
  .brand img { width: 31px; }
  .hero { padding-block: 34px 19px; gap: 23px; }
  .platform { margin-bottom: 14px; }
  .lead { margin-top: 13px; }
  .primary { margin-top: 17px; }
  .product { aspect-ratio: auto; border-radius: 17px; padding: 0 9px 10px; display: block; }
  .hero-photo { position: static; width: calc(100% + 18px); max-width: none; height: auto; margin-left: -9px; }
  .product::before { display: none; }
  .screen { width: 93%; margin: -28px auto 0; }
  .product figcaption { position: static; margin: 8px 3% 0; }
  .privacy-summary { gap: 11px; }
  .lock-mark { width: 31px; height: 34px; border-radius: 8px; }
  .compact-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 13px; }
  .step-catalog { padding: 12px 16px 0; }
  .footer-links { order: 1; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 355px) {
  .price-pair { gap: 7px; }
  .price-pair div { padding: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.installation { padding-block: clamp(38px, 5vw, 65px); border-top: 1px solid var(--line); }
.installation-intro { margin-top: 10px; color: var(--muted); }
.installation-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.installation-choice a { display: inline-flex; align-items: center; gap: 32px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--accent); font-weight: 660; }
.installation-choice a:hover { background: var(--tint); }
.installation-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 19px; }
.installation-guides article { padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.installation-guides h3 { font-size: clamp(23px, 3vw, 30px); line-height: 1.12; }
.installation-guides p { margin-top: 11px; line-height: 1.5; }
.installation-guides article:target { outline: 2px solid var(--accent); outline-offset: 3px; }
.answers a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 570px) {
  .installation-guides { grid-template-columns: 1fr; }
  .header { flex-wrap: wrap; padding-block: 11px; }
}
