/* Palette and type of the Windows app (UI/Theme.cs, Assets/desktop.js): the download page is part of the same product.
   The hero band is the university portal's own blue; everything below it stays light and quiet. */
:root {
  --accent: #1b5fa6; --accent-hover: #154d88; --accent-ink: #1b5fa6; --on-accent: #fff;
  --accent-soft: #d3e2f5; --selected: #e6effa;
  --ink: #16283b; --muted: #536476; --bg: #f1f4f7; --bg-alt: #e7eef7; --surface: #fff;
  --border: #d9e1ea; --line: #e3e9f0; --track: #e1e9f3; --thumb: #fff;
  --warn-bg: #fff3e0; --warn-ink: #5e3b00; --warn-icon: #a35f00;
  --band: #164a86; --band-deep: #123e72; --band-ink: #fff; --band-muted: #cddcf0; --band-line: rgba(255, 255, 255, .28);
  --shadow: 0 1px 2px rgba(22, 40, 59, .06), 0 2px 8px rgba(22, 40, 59, .06);
  --font: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Cascadia Mono', Consolas, 'SFMono-Regular', Menlo, 'DejaVu Sans Mono', monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #2c6fc0; --accent-hover: #3a7ed0; --accent-ink: #84b6ef; --on-accent: #fff;
    --accent-soft: #243c5c; --selected: #1f3350;
    --ink: #e6ebf1; --muted: #a3b0be; --bg: #14191f; --bg-alt: #18212c; --surface: #1d232b;
    --border: #333d49; --line: #2b343f; --track: #26303b; --thumb: #36414e;
    --warn-bg: #3a2b12; --warn-ink: #f3d6a2; --warn-icon: #f0b45a;
    --band: #10304f; --band-deep: #0c253f; --band-muted: #b6c8de; --band-line: rgba(255, 255, 255, .22);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 10px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/26px var(--font); }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sprite { display: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--surface); color: var(--ink); }
.skip:focus { top: 12px; }

/* Header, on the band */
.top { background: var(--band); color: var(--band-ink); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--band-muted); font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--band-ink); background: rgba(255, 255, 255, .1); }
.top :focus-visible, .hero :focus-visible { outline-color: #fff; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.lang button {
  height: 34px; min-width: 42px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent;
  color: var(--band-muted); font: 600 14px/1 var(--font); cursor: pointer;
}
.lang button:hover { color: var(--band-ink); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--band-deep); }

/* Hero: text on the band, the Windows window rising from its lower edge, the phone in front */
.hero { background: linear-gradient(180deg, var(--band) 0%, var(--band-deep) 100%); color: var(--band-ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 56px; align-items: end; padding-top: 40px; }
.hero-text { align-self: center; padding-bottom: 72px; }
.kicker { color: var(--band-muted); font-size: 15px; line-height: 22px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.lede { margin-top: 18px; color: var(--band-muted); font-size: 18px; line-height: 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.hero-button {
  display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 24px 8px 20px; border-radius: 12px;
  background: #fff; color: var(--band-deep); text-decoration: none; box-shadow: 0 6px 20px rgba(4, 18, 36, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-button:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(4, 18, 36, .34); }
.hero-button .icon { width: 24px; height: 24px; color: #1b5fa6; }
.hero-button-text { display: flex; flex-direction: column; }
.hero-button-verb { font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap; }
.hero-button-meta { color: #4b5d70; font-size: 13px; line-height: 18px; }
.hero-other { display: inline-flex; align-items: center; height: 44px; color: #fff; font-weight: 500; white-space: nowrap; }
.hero-note { margin-top: 16px; max-width: 34em; color: var(--band-ink); font-size: 15px; line-height: 22px; }
.hero-platforms { margin-top: 28px; color: var(--band-muted); font-size: 14px; line-height: 22px; }

/* The window and the phone hang over the band's lower edge onto the page; the section after the hero leaves room for them. */
.hero-visual { position: relative; z-index: 1; margin-bottom: -112px; padding: 0 0 28px 48px; }
.window { position: relative; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 70px rgba(2, 12, 26, .4); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding-left: 12px; background: #fff; color: #16283b; font-size: 12px; border-bottom: 1px solid #e3e9f0; }
.window-bar span { flex: 1; }
.window-bar i { position: relative; width: 44px; height: 34px; }
.window-bar i::before { content: ''; position: absolute; left: 17px; top: 16px; width: 10px; height: 1px; background: #16283b; }
.w-max::before { top: 12px !important; height: 9px !important; background: none !important; border: 1px solid #16283b; box-sizing: border-box; }
.w-close::before, .w-close::after { content: ''; position: absolute; left: 16px; top: 16px; width: 12px; height: 1px; background: #16283b; transform: rotate(45deg); }
.w-close::after { transform: rotate(-45deg); }
.window-shot { display: block; width: 100%; }
.phone {
  position: absolute; left: 0; bottom: 0; width: 25%; padding: 6px; border-radius: 26px;
  background: #0b1624; box-shadow: 0 24px 50px rgba(2, 12, 26, .5);
}
.phone img { display: block; width: 100%; border-radius: 20px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.hero + .section { padding-top: 176px; }
h2 { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.005em; }
.section-lede { margin-top: 10px; max-width: 46em; color: var(--muted); font-size: 17px; line-height: 27px; }

/* Tabs: one segmented control, 44 px like the app's site controls */
.tabs { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 4px; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--track); }
.tabs[hidden] { display: none; }
.tabs button {
  height: 44px; padding: 0 20px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  font: 600 16px/1 var(--font); white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--thumb); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(22, 40, 59, .14); }
.tabs-small { margin-top: 24px; }

.panel { margin-top: 20px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 4px; }
.panel-title { font-size: 22px; line-height: 30px; font-weight: 600; margin-bottom: 16px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.panel-lede { max-width: 48em; }
.js .panel + .panel { margin-top: 20px; }

.choices { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.seg-track { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--track); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--thumb); color: var(--accent-ink); box-shadow: 0 1px 3px rgba(22, 40, 59, .14); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.hint { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 21px; }
.hint[hidden] { display: none; }
.warning { display: flex; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-size: 15px; line-height: 22px; }
.warning[hidden] { display: none; }
.warning .icon { margin-top: 1px; color: var(--warn-icon); }
.note { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--selected); font-size: 15px; line-height: 23px; }

.files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.file { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; }
#file-setup { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.file-head { display: flex; align-items: center; gap: 10px; }
.file h4, .android h4, .manual h4 { font-size: 18px; line-height: 26px; font-weight: 600; }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.file > p { color: var(--muted); font-size: 15px; line-height: 23px; }
.needs { color: var(--muted); font-size: 15px; line-height: 23px; }
.needs ul { margin: 4px 0 0; padding-left: 20px; }
.file-get { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; }
.file-size { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.filename { display: block; padding: 6px 10px; border-radius: 6px; background: var(--track); color: var(--muted); font-size: 13px; line-height: 19px; overflow-wrap: anywhere; }
.filename:empty, .filename[hidden] { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--accent-ink);
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { background: var(--selected); border-color: var(--accent); }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button-large { min-height: 52px; padding: 0 24px; font-size: 17px; }
.button[hidden] { display: none; }

.sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sum[hidden] { display: none; }
.sum-label { grid-column: 1 / -1; color: var(--muted); font-size: 13px; line-height: 18px; font-weight: 600; }
.sum-value { font-size: 12.5px; line-height: 19px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); color: var(--accent-ink); font: 600 14px/1 var(--font); white-space: nowrap; cursor: pointer;
}
.copy:hover { background: var(--selected); }
.copy .icon { width: 18px; height: 18px; }

/* File name and checksums fold under a small summary: most people only need the button. */
.check { border-bottom: 0; }
.check[hidden] { display: none; }
.check > summary { min-height: 40px; padding: 8px 32px 8px 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.check > summary:hover { color: var(--ink); }
.check[open] > summary { margin-bottom: 4px; }
.check .sum { padding-top: 0; border-top: 0; }
.check > * + * { margin-top: 12px; }

.details { margin-top: 20px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative; display: flex; align-items: center; min-height: 52px; padding: 12px 40px 12px 0;
  font-weight: 600; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease;
}
details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details > p, details > .command { margin-bottom: 14px; color: var(--muted); }
.command { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 10px; background: var(--track); }
.command code { flex: 1 1 260px; color: var(--ink); font-size: 13.5px; overflow-wrap: anywhere; }
.release { margin-top: 18px; color: var(--muted); font-size: 15px; }

.android { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.android-main { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.android-main > .file-get { margin-top: 0; }
/* Version, size and Android version run long in Kazakh: this line may wrap. */
#apk-meta { white-space: normal; }
.steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-left: 40px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; line-height: 28px; text-align: center;
}
.qr { width: 236px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: center; }
.qr img { display: block; width: 196px; height: 196px; margin: 0 auto; border-radius: 6px; background: #fff; }
.qr figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 20px; }
.is-phone .qr { display: none; }

.browsers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.browser { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; }
.browser-icon { width: 32px; height: 32px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.browser-text { display: flex; flex-direction: column; }
.browser h4 { font-size: 17px; line-height: 24px; font-weight: 600; }
.browser-store { color: var(--muted); font-size: 14px; line-height: 20px; }
.browser .status, .browser .button { grid-column: 1 / -1; }
.browser .status { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: var(--track); color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.browser .status[hidden] { display: none; }
.manual { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; padding: 20px; border: 1px dashed var(--border); border-radius: 12px; }
.manual[hidden] { display: none; }
.manual .file-get { margin-top: 0; }

/* Screenshots */
.shots { margin-top: 24px; }
.shots[hidden] { display: none; }
/* Windows pictures are tiles of one shape, cropped from the top left; the viewer shows them whole. */
.shots-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.shots-wide .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.shots-wide .shot-contain img { object-fit: contain; object-position: center; background: var(--bg); padding: 12px; }
.shots-tall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.shots-extension { grid-template-columns: repeat(2, minmax(0, 260px)); }
.shots-note { grid-column: 1 / -1; color: var(--muted); }
.shot { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 14px; line-height: 20px; text-decoration: none; }
.shot img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.shots-tall .shot img { border-radius: 18px; }
.shot:hover img { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(22, 40, 59, .14); }
.shot:hover .caption { color: var(--ink); }

/* Why: three plain points, lighter than the safety cards below */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.why-item { padding-top: 16px; border-top: 3px solid var(--accent); }
.why-item h3 { font-size: 19px; line-height: 28px; font-weight: 600; margin-bottom: 8px; }
.why-item p { color: var(--muted); }

/* Data and security */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.fact { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.fact h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin-bottom: 8px; }
.fact p { color: var(--muted); font-size: 15px; line-height: 24px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }

/* Questions */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq summary { font-size: 17px; min-height: 60px; }
.faq details > p { max-width: 46em; line-height: 26px; }

/* Privacy policy page */
.policy[hidden] { display: none; }
.policy + .policy { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.policy h1 { font-size: 32px; line-height: 40px; font-weight: 600; }
.policy h2 { margin-top: 32px; font-size: 21px; line-height: 28px; }
.policy p, .policy ul { margin-top: 12px; max-width: 46em; }
.policy ul { padding-left: 22px; }
.policy li + li { margin-top: 8px; }
.policy code { padding: 1px 6px; border-radius: 5px; background: var(--track); font-size: 14px; }
.policy-date { color: var(--muted); }
.policy-page .lang { margin-left: auto; }

/* Footer */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; line-height: 22px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links span { color: var(--muted); }

/* Screenshot viewer */
.viewer { width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.viewer::backdrop { background: rgba(6, 14, 26, .82); }
.viewer-frame { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.viewer img { display: block; min-height: 0; width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; background: var(--bg); }
.viewer-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.viewer-caption { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }
.viewer-count { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-button:hover { background: var(--selected); }
.icon-button[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-text { padding-bottom: 0; }
  .hero-visual { max-width: 760px; padding-left: 64px; }
  .browsers { grid-template-columns: minmax(0, 1fr); }
  .browser { grid-template-columns: auto minmax(0, 1fr) minmax(0, 240px); }
  .browser .status, .browser .button { grid-column: auto; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .files { grid-template-columns: minmax(0, 1fr); }
  .android { grid-template-columns: minmax(0, 1fr); }
  .qr { display: none; }
  .shots-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots-tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots-extension { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 17px; }
  .top-row { min-height: 60px; gap: 12px; }
  .hero-grid { padding-top: 24px; }
  .hero h1 { font-size: 30px; line-height: 36px; }
  .lede { font-size: 16px; line-height: 25px; }
  .cta { flex-direction: column; align-items: stretch; }
  .hero-button { justify-content: center; }
  .hero-other { justify-content: center; }
  .hero-visual { padding: 0; margin-bottom: -200px; }
  .window { display: none; }
  .phone { position: relative; left: auto; bottom: auto; width: 220px; margin: 0 auto; }
  .section { padding: 48px 0; }
  .hero + .section { padding-top: 248px; }
  h2 { font-size: 26px; line-height: 32px; }
  .section-lede { font-size: 16px; line-height: 25px; }
  .tabs { display: grid; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .tabs button { padding: 0 8px; font-size: 15px; }
  .panel { padding: 18px 16px; border-radius: 14px; }
  .choices { flex-direction: column; }
  .seg-track { display: grid; width: 100%; }
  .seg span { padding: 0 8px; font-size: 14px; }
  .file { padding: 16px; }
  .file-get .button { flex: 1 1 100%; }
  .browser { grid-template-columns: auto minmax(0, 1fr); }
  .browser .status, .browser .button { grid-column: 1 / -1; }
  .shots-wide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shots-tall { gap: 16px; }
  .viewer-bar { flex-wrap: wrap; }
  .viewer-caption { order: -1; flex-basis: 100%; }
  .viewer-count { margin-right: auto; }
}
/* Side by side, the two file cards share rows: both download buttons sit on one line, and an opened checksum
   fold grows only the last row, so neither button moves. Setup has no requirements, so its row 3 stays empty. */
@media (min-width: 821px) {
  @supports (grid-template-rows: subgrid) {
    .files { grid-template-rows: repeat(5, auto); }
    .file { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; }
    .file > .file-get { grid-row: 4; margin-top: 0; }
    .file > .check { grid-row: 5; }
  }
}
/* «Windows 7, 8 және 8.1» does not fit beside its neighbour on a phone: the two systems stack instead of wrapping. */
@media (max-width: 480px) {
  .seg-system .seg-track { grid-auto-flow: row; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .hero-visual, .tabs, .shots, .viewer, .lang { display: none !important; }
  .panel[hidden], .shots[hidden] { display: block !important; }
}
