:root {
  color-scheme: dark;
  --bg: #15121f;
  --bg-raised: #1c1830;
  --surface: #231e3a;
  --screen: #0f0d1b;
  --line: #352f52;
  --line-strong: #4d4575;
  --text: #f0ecff;
  --muted: #aaa3c8;
  --violet: #8f72ff;
  --violet-deep: #5b3bd6;
  --lavender: #d6cbff;
  --logo-gradient: linear-gradient(100deg, #8a63f0, #4c32d6);
  --amber: #f3b44f;
  --display: "Bahnschrift", "DIN Alternate", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", sans-serif;
  --body: system-ui, "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html, body, main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lavender); text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { color: white; text-decoration-thickness: .14em; }
a, summary { -webkit-tap-highlight-color: #8f72ff33; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-stretch: 80%; font-weight: 700; }
h2 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.04; letter-spacing: -.015em; }
h3 { font-size: 21px; line-height: 1.25; }
p { max-width: 66ch; }
::selection { background: var(--violet-deep); color: white; }
.container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 10px 18px; color: var(--text); background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: relative; z-index: 2; }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 25px; }
.brand:hover { color: white; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a, .header-download { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: white; }
.header-download { padding: 8px 16px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 9px; }
.header-download:hover { border-color: var(--violet); background: #8f72ff1a; }

/* Hero: headline on the left, the boot screen on the right */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 56px; padding-block: 56px 104px; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 70%; height: 110%; background: radial-gradient(closest-side, #6a48f04d, transparent); pointer-events: none; animation: glow-breathe 6s ease-in-out infinite alternate; }
h1 { font-size: clamp(54px, 5.6vw, 88px); line-height: .93; letter-spacing: -.025em; }
.hero-intro { max-width: 28em; margin-top: 28px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 52px; padding: 13px 23px; font-weight: 650; font-size: 15px; line-height: 1.4; border-radius: 10px; text-decoration: none; transition: filter 150ms ease, background-color 150ms ease; }
.button-primary { color: white; background: var(--logo-gradient); box-shadow: 0 10px 30px -10px #6a48f0; }
.button-primary:hover { color: white; filter: brightness(1.12); }
.text-link { font-size: 15px; font-weight: 650; }
.availability { max-width: none; margin-top: 18px; color: var(--muted); font-size: 13px; }

/* Boot screen: powers on, lists the images, then the selection keeps moving through them */
.boot { --row: 44px; --gap: 4px; position: relative; }
.boot-screen { position: relative; overflow: hidden; padding: 22px 24px 20px; background: var(--screen); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 40px 120px -30px #6a48f099, inset 0 1px 0 #ffffff12; font-family: var(--mono); transform-origin: 50% 50%; animation: boot-power 650ms cubic-bezier(.2, .8, .2, 1) both; }
.boot-screen::after { content: ""; position: absolute; inset: -40% 0 auto; height: 40%; background: linear-gradient(transparent, #8f72ff2e 70%, #d6cbff55 98%, transparent); pointer-events: none; animation: boot-scan 1100ms 250ms ease-in both; }
.boot-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; animation: boot-row 400ms 450ms ease-out both; }
.boot-brand { color: var(--text); font-weight: 700; }
.boot-menu { position: relative; }
.boot-cursor { position: absolute; top: 0; left: 0; right: 0; height: var(--row); border-radius: 8px; background: var(--logo-gradient); box-shadow: 0 6px 24px -6px #6a48f0; transform-origin: left center; animation: boot-cursor-in 380ms 1050ms cubic-bezier(.2, .8, .2, 1) both, boot-cycle 9s 2.6s ease-in-out infinite; }
.boot-list { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--gap); }
.boot-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--row); padding-inline: 14px; color: #ece7ff; font-size: 14px; white-space: nowrap; animation: boot-row 360ms ease-out both; animation-delay: 600ms; }
.boot-list li:nth-child(2) { animation-delay: 720ms; }
.boot-list li:nth-child(3) { animation-delay: 840ms; }
.boot-name { overflow: hidden; text-overflow: ellipsis; }
.boot-kind { flex: 0 0 auto; color: #c9bff0; font-size: 12px; }
.boot-hint { margin-top: 18px; color: var(--muted); font-size: 12px; animation: boot-row 400ms 1000ms ease-out both; }
.boot-hint::after { content: ""; display: inline-block; width: .6em; height: 1.1em; margin-left: 6px; vertical-align: -.2em; background: var(--violet); animation: boot-caret 1.1s steps(1) infinite; }
kbd { display: inline-block; min-width: 22px; margin-right: 4px; padding: 1px 6px; font: inherit; text-align: center; color: var(--text); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; }
.boot-hint kbd:nth-of-type(3) { margin-left: 14px; }
.boot figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; }
@keyframes boot-power { from { opacity: 0; transform: scale(.97, .9); filter: brightness(2.2); } 60% { opacity: 1; } }
@keyframes boot-scan { from { transform: translateY(0); } to { transform: translateY(380%); } }
@keyframes boot-row { from { opacity: 0; transform: translateY(5px); } }
@keyframes boot-cursor-in { from { scale: 0 1; opacity: 0; } }
@keyframes boot-cycle {
  0%, 24% { translate: 0 0; }
  30%, 54% { translate: 0 calc(var(--row) + var(--gap)); }
  60%, 84% { translate: 0 calc(2 * (var(--row) + var(--gap))); }
  92%, 100% { translate: 0 0; }
}
@keyframes boot-caret { 50% { opacity: 0; } }
@keyframes glow-breathe { from { opacity: .55; } to { opacity: 1; } }

/* Drive map */
.drive { padding-bottom: 104px; }
.drive-bar { position: relative; display: flex; min-height: 150px; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; }
.part { padding: 22px 26px; }
.part-data { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.part-name { font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 23px; line-height: 1.1; }
.part-name span { margin-left: 8px; font-family: var(--body); font-stretch: normal; font-weight: 500; font-size: 14px; color: var(--muted); }
.part-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.part-files li { padding: 6px 11px; font-family: var(--mono); font-size: 13px; color: var(--lavender); background: #8f72ff1f; border: 1px solid #8f72ff40; border-radius: 6px; }
.part-efi { flex: 0 0 140px; display: flex; align-items: flex-end; color: var(--muted); border-left: 1px solid var(--line-strong); background: repeating-linear-gradient(135deg, transparent 0 7px, #ffffff08 7px 8px), var(--screen); }
.part-efi .part-name { font-size: 17px; }
.drive-map .backup-notice { position: relative; margin-top: 14px; padding-top: 16px; display: flex; align-items: flex-start; gap: 12px; color: #f6d9a8; font-size: 15px; border-top: 3px solid var(--amber); }
.drive-map .backup-notice::before, .drive-map .backup-notice::after { content: ""; position: absolute; top: -13px; width: 3px; height: 13px; background: var(--amber); }
.drive-map .backup-notice::before { left: 0; }
.drive-map .backup-notice::after { right: 0; }
.backup-notice p { max-width: none; }
.backup-notice svg { flex: 0 0 auto; color: var(--amber); margin-top: 1px; }
.backup-notice strong { margin-right: 4px; color: var(--amber); }
.drive-map figcaption { margin-top: 8px; padding-left: 34px; color: var(--muted); font-size: 14px; max-width: 70ch; }

/* Capabilities */
.capabilities { padding-bottom: 104px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.section-heading > p { margin-top: 20px; color: var(--muted); font-size: 17px; }
.capability-list { display: flex; flex-direction: column; }
.capability { display: flex; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.capability:first-child { padding-top: 6px; border-top: 0; }
.capability svg { flex: 0 0 36px; width: 36px; color: var(--violet); margin-top: 2px; }
.capability p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Setup */
.setup-section { background: var(--bg-raised); border-block: 1px solid var(--line); }
.setup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "intro phone" "steps phone" "req phone"; column-gap: 96px; row-gap: 44px; padding-block: 96px; }
.setup-intro { grid-area: intro; }
.setup-intro > p { margin-top: 20px; color: var(--muted); }
.requirements { grid-area: req; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 24px; }
.requirements h3 { font-size: 20px; }
.requirements ul { margin: 14px 0 18px; padding-left: 20px; font-size: 14px; columns: 2 16em; column-gap: 32px; }
.requirements li { margin-block: 0 8px; padding-left: 2px; break-inside: avoid; }
.requirements li::marker { color: var(--violet); }
.small-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.setup-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.setup-steps li { position: relative; display: flex; gap: 24px; padding-bottom: 38px; }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: linear-gradient(#8f72ff80, #8f72ff14); }
.step-number { flex: 0 0 40px; height: 40px; display: grid; place-items: center; background: var(--logo-gradient); color: white; border-radius: 10px; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: 20px; }
.setup-steps h3 { padding-top: 7px; }
.setup-steps p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Phone: plays the app's install flow; the matching step lights up with each screen.
   One 16s cycle, four 4s screens, phased with negative delays so everything starts at once. */
.phone { --cycle: 16s; grid-area: phone; align-self: start; justify-self: center; position: sticky; top: 40px; display: grid; place-items: center; width: 400px; height: 640px; }
.phone::before { content: ""; position: absolute; width: 400px; height: 400px; top: 160px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #9b7ff2, #6a48f0 60%, #4c32d6); opacity: .9; }
.phone-body { position: relative; width: 286px; height: 600px; padding: 9px; border-radius: 40px; background: #0d0b16; border: 1px solid #a993f0; box-shadow: 0 50px 90px -30px #000c; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 31px; background: #1c1b22; color: #e9e6f0; font-family: Roboto, var(--body); }
.app-screen { --d: 0s; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 16px 22px; opacity: 0; animation: screen-on var(--cycle) var(--d) infinite; }
.app-home { opacity: 1; }
.app-connect { --d: -12s; }
.app-review { --d: -8s; }
.app-done { --d: -4s; }
.app-title { font-size: 18px; text-align: center; margin-bottom: 6px; }
.app-logo { width: 62px; height: auto; margin-top: auto; padding: 0; filter: drop-shadow(0 0 30px #00000080); }
.app-home .app-logo { box-sizing: content-box; padding: 26px 32px; background: #16151c; border-radius: 50%; }
.app-button { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 20px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.app-primary, .app-danger { color: #ece6ff; background: #4b3a8c; box-shadow: 0 6px 14px -6px #000; }
.app-home .app-primary { margin-top: 28px; margin-bottom: auto; }
.app-outline { color: #d9d4e4; border: 1px solid #5d5869; }
.app-tonal { color: #e8e2ff; background: #3d3b46; }
.app-force { margin-top: auto; }
.app-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; background: #2c2b33; border-radius: 16px; }
.app-card-title { font-size: 13px; font-weight: 600; }
.app-device { margin-top: 6px; font-size: 13px; }
.app-id { margin-top: 2px; font-size: 11px; color: #a8a2b6; font-style: italic; }
.app-stick { flex: 0 0 auto; }
.app-note { margin-top: auto; font-size: 11px; color: #a8a2b6; text-align: center; }
.app-card-small { display: block; padding: 11px 14px; }
.app-arrow { font-size: 20px; line-height: 1; color: #d9d4e4; }
.app-warning { width: 100%; padding: 12px 14px; color: #ffe9e6; font-size: 12px; background: #8b1a1a; border-radius: 14px; }
.app-warning p + p { margin-top: 4px; }
.app-actions { display: flex; gap: 10px; margin-top: auto; }
.app-progress { width: 100%; height: 6px; margin-top: 18px; overflow: hidden; background: #2c2b33; border-radius: 3px; }
.app-progress span { display: block; height: 100%; background: linear-gradient(90deg, #8a63f0, #b9a6ff); transform-origin: left; animation: progress-fill var(--cycle) var(--d) infinite; }
.app-success { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-block: auto; text-align: center; color: #9be6b8; animation: success-in var(--cycle) var(--d) infinite; }
.app-success .app-card-title { color: #e9e6f0; font-size: 15px; }
/* A tap lands on the screen's main button partway through each screen */
.tap { animation: tap-press var(--cycle) var(--d) infinite; }
.tap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #ffffff; opacity: 0; animation: tap-ripple var(--cycle) var(--d) infinite; }
.setup-steps li .step-number, .setup-steps li h3 { animation: step-on var(--cycle, 16s) infinite; }
.setup-steps li h3 { animation-name: step-title; }
.setup-steps li:nth-child(2) :is(.step-number, h3) { animation-delay: -12s; }
.setup-steps li:nth-child(3) :is(.step-number, h3) { animation-delay: -8s; }
.setup-steps li:nth-child(4) :is(.step-number, h3) { animation-delay: -4s; }
@keyframes screen-on { 0% { opacity: 0; translate: 14px 0; } 3%, 23% { opacity: 1; translate: 0 0; } 26%, 100% { opacity: 0; translate: -14px 0; } }
@keyframes tap-press { 0%, 13% { scale: 1; } 14.5% { scale: .94; } 16%, 100% { scale: 1; } }
@keyframes tap-ripple { 0%, 13% { opacity: 0; scale: .3; } 14% { opacity: .35; scale: .5; } 19%, 100% { opacity: 0; scale: 3; } }
@keyframes progress-fill { 0%, 3% { scale: 0 1; } 13%, 100% { scale: 1 1; } }
@keyframes success-in { 0%, 13% { opacity: 0; translate: 0 8px; } 16%, 100% { opacity: 1; translate: 0 0; } }
@keyframes step-on { 0%, 24% { box-shadow: 0 0 0 5px #8f72ff33, 0 8px 22px -6px #6a48f0; } 28%, 100% { color: var(--muted); background: var(--surface); box-shadow: none; } }
@keyframes step-title { 0%, 24% { color: white; } 28%, 100% { color: var(--text); } }

/* Channels */
.channels { padding-block: 96px 48px; }
.channels .section-heading { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 70px; }
.channels .section-heading p { margin-top: 0; }
.channel-table-wrap { margin-top: 36px; border: 1px solid var(--line-strong); border-radius: 14px; overflow: auto; background: var(--bg-raised); }
.channel-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.channel-table th, .channel-table td { padding: 18px 24px; width: 33.333%; }
.channel-table thead th { font-family: var(--display); font-stretch: 80%; font-size: 20px; background: var(--surface); }
.channel-table tbody th { font-weight: 600; }
.channel-table tbody td { color: var(--muted); }
.channel-table tbody tr { border-top: 1px solid var(--line); }
.experimental { font-family: var(--body); font-stretch: normal; font-weight: 600; font-size: 11px; color: #1d1405; margin-left: 8px; padding: 3px 8px; background: var(--amber); border-radius: 5px; white-space: nowrap; vertical-align: middle; }
.channel-note { margin-top: 16px; }

/* FAQ */
.faq-section { padding-block: 48px 104px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-intro > p { color: var(--muted); margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 0; font-weight: 600; font-size: 16px; line-height: 1.5; min-height: 56px; }
.faq-list summary:hover { color: white; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 15px; color: var(--violet); font-size: 24px; font-weight: 400; line-height: 1.3; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] summary { color: var(--lavender); }
.faq-list details p { padding: 0 32px 20px 0; color: var(--muted); font-size: 15px; }

/* Downloads: the one full-colour band, in the logo's gradient */
.downloads-section { padding-block: 80px; color: white; background: radial-gradient(120% 140% at 85% 0%, #8a63f0, #4c32d6 55%, #2c1d86); }
.download-layout { display: grid; grid-template-columns: 1.3fr .8fr; align-items: center; gap: 96px; }
.download-layout h2 { font-size: clamp(44px, 5.6vw, 72px); }
.download-logo { width: 64px; height: auto; margin-bottom: 22px; filter: drop-shadow(0 10px 24px #1a0f5c99); animation: logo-float 5s ease-in-out infinite alternate; }
@keyframes logo-float { from { translate: 0 0; rotate: -3deg; } to { translate: 0 -8px; rotate: 3deg; } }
.download-layout > div > p { margin-top: 14px; color: #e6defe; }
.button-light { margin-top: 28px; color: #22183f; background: white; }
.button-light:hover { color: #22183f; background: var(--lavender); }
.downloads-section :focus-visible { outline-color: white; }
.play-status { padding: 26px 28px; background: #150f3a59; border: 1px solid #ffffff33; border-radius: 14px; }
.play-status svg { margin-bottom: 12px; color: white; }
.play-status h3 { font-size: 24px; }
.play-status > p { margin-top: 4px; font-weight: 650; font-size: 15px; color: var(--amber); }
.play-status > span { display: block; margin-top: 12px; font-size: 14px; color: #ddd3fb; max-width: 34ch; }

/* Footer */
.site-footer { padding-block: 40px; display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.site-footer .brand { font-size: 21px; }
.footer-about p { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.site-footer nav { display: flex; gap: 26px; padding-top: 6px; }
.site-footer nav a { font-size: 13px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.site-footer nav a:hover, .site-footer nav a[aria-current] { color: white; }

/* Privacy page */
.privacy-main { padding-block: 64px 104px; }
.privacy-heading { max-width: 820px; margin-bottom: 48px; }
.privacy-heading h1 { font-size: clamp(46px, 6vw, 84px); }
.privacy-heading > p { margin-top: 24px; color: var(--muted); font-size: 18px; }
.privacy-jump { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; font-weight: 600; }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; }
.policy-article { max-width: 780px; padding: 44px 48px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 18px; }
.policy-article h2 { margin-top: 44px; margin-bottom: 20px; font-size: 38px; }
.policy-article article > h2:first-child { margin-top: 0; }
.policy-article h3 { margin-top: 34px; margin-bottom: 12px; font-size: 24px; color: var(--lavender); }
.policy-article p { margin-bottom: 18px; color: #d3cdea; }
.policy-article a { overflow-wrap: anywhere; }
.policy-article .effective-date { color: var(--muted); font-size: 14px; }
.hosting-policy { border-top: 1px solid var(--line-strong); margin-top: 40px; padding-top: 4px; }
.privacy-sidebar { position: sticky; top: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; }
.privacy-sidebar h3 { font-size: 20px; }
.privacy-sidebar p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.privacy-sidebar a { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 40px; }
  .boot-list li { font-size: 13px; }
  .capabilities, .setup-layout, .faq-section { gap: 50px; }
  .download-layout { gap: 60px; }
  .privacy-layout { gap: 44px; grid-template-columns: minmax(0, 1fr) 220px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 40px 72px; gap: 8px; }
  .hero::before { right: -20px; top: 40%; width: calc(100% + 40px); height: 60%; }
  .boot { max-width: 560px; }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 14px; min-height: 0; flex-wrap: wrap; padding-block: 16px 4px; }
  .brand { font-size: 23px; }
  .brand img { width: 36px; height: 36px; }
  .main-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
  .header-download { margin-left: auto; padding: 6px 13px; font-size: 13px; min-height: 40px; }
  h1 { font-size: clamp(46px, 12.5vw, 76px); }
  .hero-intro { font-size: 18px; margin-top: 20px; }
  .hero-actions { margin-top: 26px; }
  .boot { --row: 40px; }
  .boot-screen { padding: 18px 16px 16px; }
  .boot-list li { padding-inline: 11px; font-size: 12px; }
  .boot-top, .boot-hint, .boot-kind { font-size: 11px; }
  .drive { padding-bottom: 64px; }
  .drive-bar { min-height: 0; }
  .part { padding: 16px; }
  .part-name { font-size: 19px; }
  .part-name span { display: block; margin: 2px 0 0; }
  .part-files li { font-size: 12px; padding: 5px 9px; }
  .part-efi { flex-basis: 52px; padding: 14px 0; justify-content: center; align-items: center; }
  .part-efi .part-name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15px; }
  .drive-map figcaption { padding-left: 0; }
  .backup-notice strong { display: block; }
  .capabilities, .setup-layout, .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .capabilities { padding-bottom: 64px; }
  .capability { gap: 18px; }
  .setup-layout { padding-block: 64px; grid-template-areas: "intro" "phone" "steps" "req"; }
  .phone { position: relative; top: auto; width: 100%; height: 540px; }
  .phone::before { width: 330px; height: 330px; top: 130px; }
  .phone-body { width: 252px; height: 520px; border-radius: 36px; }
  .phone-screen { border-radius: 28px; }
  .requirements { padding: 20px; }
  .setup-steps li { gap: 16px; padding-bottom: 30px; }
  .channels { padding-top: 64px; padding-bottom: 30px; }
  .channels .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .channel-table th, .channel-table td { padding: 14px 12px; font-size: 13px; }
  .channel-table thead th { font-size: 17px; vertical-align: top; }
  .experimental { display: block; margin: 5px 0 0; width: fit-content; padding: 2px 6px; font-size: 10px; }
  .faq-section { padding-block: 28px 64px; }
  .faq-intro > p { margin-top: 14px; }
  .downloads-section { padding-block: 56px; }
  .download-layout { grid-template-columns: 1fr; gap: 32px; }
  .play-status > span { max-width: 48ch; }
  .site-footer { flex-direction: column; gap: 16px; padding-block: 30px; }
  .site-footer nav { padding-top: 0; }
  .privacy-main { padding-block: 40px 64px; }
  .privacy-heading { margin-bottom: 32px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-article { padding: 26px 20px; }
  .policy-article h2 { font-size: 30px; }
  .privacy-sidebar { position: static; max-width: 420px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .main-nav a { font-size: 13px; }
  .channel-table th, .channel-table td { padding-inline: 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Scroll-linked motion where the browser supports it: Ventoy is written across the drive,
   then the boot images land on it; the setup line draws itself as you read the steps. */
@supports (animation-timeline: view()) {
  .drive-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--lavender); box-shadow: 0 0 18px 4px #8f72ffaa; pointer-events: none; animation: write-head linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
  .part-data { background: linear-gradient(90deg, #8f72ff22, #8f72ff00) no-repeat; animation: write-fill linear both; animation-timeline: view(); animation-range: entry 10% entry 95%; }
  .part-files li { animation: file-land linear both; animation-timeline: view(); animation-range: entry 40% entry 80%; }
  .part-files li:nth-child(2) { animation-range: entry 55% entry 92%; }
  .part-files li:nth-child(3) { animation-range: entry 70% entry 100%; }
  .setup-steps li:not(:last-child)::before { transform-origin: top; animation: line-draw linear both; animation-timeline: view(); animation-range: entry 60% cover 50%; }
}
@keyframes write-head { from { left: 0; opacity: 1; } 92% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes write-fill { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@keyframes file-land { from { opacity: 0; translate: 0 10px; scale: .94; } }
@keyframes line-draw { from { transform: scaleY(0); } }
