:root {
  color-scheme: light;
  --bg: #f7f6fb; --white: #fff; --text: #211b36; --muted: #554e69;
  --line: #ded8eb; --accent: #513585; --accent-dark: #39225f;
  --ink: #21183f; --ink-light: #eee8ff; --amber: #f8d683;
  --shadow: 0 7px 22px rgb(46 29 78 / 7%);
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; font: 16px/1.6 "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg) }
a { color: inherit; text-decoration: none }
:focus-visible { outline: 3px solid #8653be; outline-offset: 4px }
.hero :focus-visible { outline-color: var(--amber) }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; min-width: 0 }
section[id] { scroll-margin-top: 96px }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line) }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 19px; font-weight: 800 }
.logo-mark { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 9px; background: var(--ink); color: var(--amber); font-size: 14px; letter-spacing: .04em }
.menu { display: flex; gap: 4px; padding: 5px 0; font-size: 15px; color: var(--muted) }
.menu a { padding: 8px 11px; border-radius: 8px; white-space: nowrap }
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent-dark); background: #f1eafa }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: var(--white); font: inherit; font-weight: 700; text-align: center; transition: background .16s, border-color .16s }
.btn:hover:not(:disabled) { background: var(--accent-dark) }
.btn-small { font-size: 14px; min-height: 38px; padding: 7px 12px }
.btn-ghost { background: var(--white); color: var(--accent-dark); border-color: #bfb0d5 }
.btn-ghost:hover:not(:disabled) { background: #eee6f8 }
.btn-unavailable:disabled { background: #efebf5; color: #5c536d; border: 1px dashed #aa9cba; box-shadow: none; cursor: not-allowed }
.hero { padding: clamp(46px,7vw,86px) 0 clamp(40px,6vw,67px); background: radial-gradient(ellipse at 86% 22%, #473067, transparent 56%), var(--ink); color: var(--ink-light) }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); align-items: center; gap: clamp(26px,5vw,62px) }
.hero h1 { color: var(--white) }
.hero .lead { color: #e2d9f3 }
.hero a.btn { color: #312244; background: var(--amber) }
.hero a.btn:hover { background: #ffe4a8 }
.hero .btn-unavailable:disabled { color: #eee2f9; background: #392b54; border-color: #b3a0cf }
.badge, .format { display: inline-flex; align-self: flex-start; width: fit-content; padding: 4px 10px; border-radius: 6px; background: #ece3f8; color: #4a2d78; font-size: 13px; font-weight: 700 }
.badge { margin-bottom: 17px }
.hero .badge { background: #483859; color: #ffe2a6 }
h1,h2 { text-wrap: balance }
h1 { margin: 0 0 18px; font-size: clamp(31px,4.4vw,60px); line-height: 1.09; letter-spacing: -.032em; overflow-wrap: break-word }
h2 { margin: 0 0 13px; font-size: clamp(24px,3vw,37px); line-height: 1.16; letter-spacing: -.025em }
.lead,.page-head p,.section-desc { max-width: 770px; margin: 0; font-size: clamp(16px,2vw,19px); color: var(--muted) }
.actions,.trust { display: flex; flex-wrap: wrap; gap: 10px }
.actions { margin-top: 23px }
.center { justify-content: center }
.trust { margin-top: 23px; gap: 8px }
.trust span { padding: 5px 9px; border: 1px solid #76658f; border-radius: 6px; background: #ffffff0f; color: #f2eafb; font-size: 13px }
.hero-card { min-width: 0; padding: 13px; border: 1px solid #78648f; border-radius: 15px; background: #ffffff0f; box-shadow: 0 18px 37px #160e2c70 }
.terminal-bar { display: flex; gap: 6px; padding: 4px 3px 11px }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c8b3e4 }
.terminal-bar span:first-child { background: var(--amber) }
.hero-card pre { margin: 0; padding: 15px; min-width: 0; border-radius: 8px; background: #19112f; color: #f4e7fd; font: 14px/1.65 ui-monospace, Consolas, monospace; overflow: auto }
.section { padding-block: clamp(32px,5vw,62px) }
.cards { display: grid; gap: 15px; margin-top: 22px }
.six,.three { grid-template-columns: repeat(3,minmax(0,1fr)) }
.os-grid { grid-template-columns: repeat(4,minmax(0,1fr)) }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 132px; padding: 19px; border: 1px solid var(--line); border-top: 3px solid #cbb8e4; border-radius: 12px; background: var(--white); box-shadow: var(--shadow); transition: border-color .16s, box-shadow .16s }
a.card:hover { border-color: #9474bb; box-shadow: 0 10px 26px rgb(46 29 78 / 13%) }
.card b { font-size: 19px; line-height: 1.27 }
.card span,.card p { margin: 0; color: var(--muted) }
.card em,.card > a { color: var(--accent-dark); font-style: normal; font-weight: 700 }
.card em,.card > .btn { margin-top: auto }
.card > .btn { align-self: flex-start }
.card > a:hover,.footer a:hover,.editorial-link:hover { text-decoration: underline }
.editorial-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .15em }
.download-card { min-height: 158px }
.os-card { border-top-color: #ba8f44 }
.os-card .format { background: #fff0d2; color: #644406 }
.darkband,.page-head { background: #eee8f7; border-block: 1px solid var(--line) }
.page-head { padding: clamp(34px,6vw,68px) 0 clamp(29px,5vw,48px) }
.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; align-items: start }
.notice,.checklist,.faq-inline details,.timeline div { padding: 17px 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--white) }
.notice { border-left: 4px solid #a47730; margin-top: 20px }
.checklist p { margin: 0 0 8px }
.checklist p:last-child { margin-bottom: 0 }
.faq-inline details { margin: 10px 0 }
.faq-inline p,.timeline p { color: var(--muted); margin: 7px 0 0 }
summary { font-weight: 700; cursor: pointer }
.timeline { display: grid; gap: 12px; max-width: 860px; margin: auto }
.timeline b { font-size: 18px }
.footer { padding: 33px 0 19px; background: var(--ink); color: #e1d7f0; border-top: 1px solid #564269 }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px }
.footer h3 { margin: 0 0 9px; color: var(--white); font-size: 17px }
.footer a { display: block; margin: 5px 0 }
.footer-logo { color: var(--white) }
.footer-logo .logo-mark { background: #4d376c }
.copyright { margin-top: 22px; padding-top: 14px; border-top: 1px solid #665377; font-size: 14px }
@media (max-width: 900px) {
  .nav { gap: 9px; min-height: 63px; flex-wrap: wrap; padding-block: 10px }
  .menu { order: 3; width: 100%; overflow-x: auto; padding: 5px 5px 6px }
  .os-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .hero-grid { grid-template-columns: 1fr }
  .hero-card { max-width: 500px }
  section[id] { scroll-margin-top: 138px }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 32px) }
  .six,.three { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .split { grid-template-columns: 1fr; gap: 16px }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .footer-grid > :first-child { grid-column: 1 / -1 }
}
@media (max-width: 430px) {
  .six,.three,.os-grid { grid-template-columns: 1fr }
  .card { min-height: auto }
  .actions .btn { width: 100% }
  .menu a { padding-inline: 8px }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important } }
