:root {
  color-scheme: light;
  --night: #10234e;
  --ink: #111f3f;
  --subtle: #455879;
  --paper: #f6f8ff;
  --line: #dfe6f7;
  --blue-light: #a9c7ff;
  --blue-soft: #e9efff;
  --wrap: 1184px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #4971ea; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.6; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; transform: translateY(-150%); padding: 10px; background: var(--paper); }
.skip:focus { transform: none; }
.site-header { color: #f5f7f7; background: var(--night); border-bottom: 1px solid #334775; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; font-weight: 760; white-space: nowrap; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; background: #3762ed; color: #fff; border-radius: 7px; width: 35px; height: 35px; font-size: 16px; font-weight: 800; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 28px; }
.site-header nav a { color: #d3def6; text-decoration: none; font-size: 14px; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue-light); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 700; }
.button span { font-size: 18px; line-height: 1; }
.button-primary { color: #fff; background: #244be5; border-color: #5479ff; }
.button-primary:hover { background: #3159ed; }
.button-outline { color: #f4f7f8; border-color: #8296c4; }
.button-outline:hover { background: #253f76; }
.header-download { min-height: 40px; }
.hero { background: var(--night); color: #f7f9ff; }
.hero-inner { position: relative; min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding-block: 74px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #dbe6ff; font-size: 13px; font-weight: 650; letter-spacing: .035em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); }
h1 { margin-top: 19px; font-size: clamp(48px, 5.3vw, 76px); line-height: .99; font-weight: 770; letter-spacing: -.077em; }
h1 em { color: var(--blue-light); font-style: normal; }
.hero-lead { max-width: 48ch; margin-top: 24px; color: #d1ddf8; font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta { margin-top: 14px; color: #bdccef; font-size: 13px; }
.hero-art {
  min-width: 0; aspect-ratio: 1.18; min-height: 380px;
  border-radius: 28px; border: 1px solid #3b5285;
  background: url("assets/cms-hero.webp") right center / cover no-repeat, radial-gradient(ellipse at 55% 55%, #3254a5, #142b5b 62%, #10234e);
}
.section { padding-block: 87px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 26px; margin-bottom: 32px; }
h2 { font-size: clamp(32px, 4vw, 53px); letter-spacing: -.06em; line-height: 1.02; font-weight: 760; }
.section-head p { max-width: 42ch; color: var(--subtle); font-size: 16px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mode { border: 1px solid var(--line); border-radius: 14px; padding: 24px 27px 29px; }
.mode-shop { background: #e9f0ff; }
.mode-catalog { background: #edf0ff; }
.mode-icon { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 19px; border-radius: 9px; color: #2148d3; background: #f9fcff; font-size: 24px; line-height: 1; }
.mode-catalog .mode-icon { color: #3c4bc4; background: #fbfbff; }
.mode h3 { font-size: 24px; letter-spacing: -.035em; }
.mode p { margin-top: 7px; max-width: 50ch; color: #374a72; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 25px; gap: 20px; }
.feature-grid article { border-top: 1px solid var(--line); padding-top: 16px; }
.feature-grid h3, .install-steps h3 { font-size: 19px; letter-spacing: -.025em; }
.feature-grid p, .install-steps p { margin-top: 6px; color: var(--subtle); font-size: 14px; }
.gallery { background: #ecf1fd; border-block: 1px solid var(--line); }
.screen { background: #fff; overflow: hidden; border: 1px solid #dbe4f8; border-radius: 13px; margin: 0; }
.screen img { width: 100%; }
.screen-main { box-shadow: 0 16px 32px #233c7415; }
.screen-main > a { display: block; background: #f2f5ff; }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.screen-grid > .screen > a { display: block; aspect-ratio: 1.72; overflow: hidden; background: #f5f7fa; }
.screen-grid img { height: 100%; object-fit: cover; object-position: top; }
.screen figcaption { display: flex; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; border-top: 1px solid #dfe7fa; padding: 12px 17px; font-size: 14px; font-weight: 670; }
.screen figcaption a { font-size: 13px; font-weight: 560; color: #3d5382; text-underline-offset: 3px; }
.install-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.install-steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.install-steps li::before { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 15px; border-radius: 50%; background: var(--blue-soft); color: #2e4ecc; counter-increment: install; content: counter(install); font-size: 13px; font-weight: 700; }
code { font: .94em ui-monospace, "Cascadia Mono", monospace; background: #eaf0fe; padding: 1px 3px; border-radius: 3px; overflow-wrap: anywhere; }
.release-section { color: #f5f8f8; background: var(--night); }
.release-inner { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; padding-block: 56px; }
.release-inner h2 { margin-block: 10px; }
.release-inner p:not(.eyebrow) { max-width: 52ch; color: #d1ddf8; }
.release-actions > div { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 12px; color: #d5e1fa; font-size: 13px; }
.release-actions > div a, .footer-inner > a:not(.brand) { text-underline-offset: 3px; }
.site-footer { border-top: 1px solid #334775; background: var(--night); color: #c4d1f0; }
.footer-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; font-size: 13px; padding-block: 13px; }
.footer-inner .brand { color: #f5f8f8; }
@media (max-width: 940px) {
  .hero-inner { min-height: 0; padding-block: 60px; }
  .hero-art { min-height: 330px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 65px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { grid-template-columns: 1fr; padding-block: 46px 22px; gap: 28px; }
  .hero-art { min-height: 0; aspect-ratio: 1.45; border-radius: 16px; }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0 12px; padding-top: 12px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 9px 14px; border-top: 1px solid #334775; margin-top: 10px; padding-block: 11px; }
  .site-header nav a { font-size: 13px; }
  .section { padding-block: 50px; }
  .section-head { display: block; margin-bottom: 23px; }
  .section-head p { margin-top: 9px; }
  .release-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(38px, 11vw, 54px); }
  .mode-grid, .screen-grid, .install-steps { grid-template-columns: 1fr; }
  .mode { padding: 20px; }
  .feature-grid { gap: 16px 12px; }
  .feature-grid h3 { font-size: 16px; }
  .hero-actions .button { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
