/* © Choutes. All rights reserved. */
/* ==========================================================================
   ChoutesOS — website stylesheet v2 ("Volt")
   Idea: speed. The logo's lightning slash becomes the signature: skewed buttons,
   a bolt behind the hero, an aurora that drifts, a spotlight that follows the cursor.
   Dark is the default; the theme follows the device until the visitor uses the toggle.
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #06050f; --bg-alt: #0a0820; --surface: #100d29; --surface-2: #19143d; --line: rgba(165, 139, 255, .18); --line-strong: rgba(165, 139, 255, .38);
  --text: #f2f0ff; --muted: #a9a3d6; --accent: #7447ff; --accent-strong: #5f2cff; --accent-soft: #a58bff; --flash: #d9cfff;
  --on-accent: #fff; --ok: #4ade80; --warn: #fbbf24; --bad: #f87171; --focus: #c4b3ff;
  --header-bg: rgba(12, 9, 31, .66); --header-solid: #0d0a27; --code-bg: #0a0820; --glow: rgba(116, 71, 255, .5);
  --h-grad: linear-gradient(180deg, #ffffff 10%, #cdc1ff 100%);
  --font-display: "Unbounded", "Sora", "Bahnschrift", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 22px; --r-sm: 12px; --skew: -10deg; --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ff; --bg-alt: #ebe8fd; --surface: #ffffff; --surface-2: #e7e3fb; --line: rgba(75, 0, 255, .14); --line-strong: rgba(75, 0, 255, .34);
  --text: #15103a; --muted: #565088; --accent: #5b21ff; --accent-strong: #4a0fe6; --accent-soft: #6a3dff; --flash: #4b00ff;
  --ok: #15803d; --warn: #a16207; --bad: #b91c1c; --focus: #4b00ff; --header-bg: rgba(255, 255, 255, .72); --header-solid: #ffffff; --code-bg: #15103a; --glow: rgba(91, 33, 255, .32);
  --h-grad: linear-gradient(180deg, #15103a 20%, #4b00ff 130%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: var(--text); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 600; }
ul, ol { padding-left: 1.2em; }
code, kbd { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
html[lang="en"] [data-l="ms"], html[lang="ms"] [data-l="en"] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* scroll progress (added by fx.js) */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 90; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--flash)); box-shadow: 0 0 14px var(--glow); pointer-events: none; }

/* ---------- Buttons: skewed like the logo slash ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: var(--on-accent); font: 700 1rem var(--font-body); letter-spacing: .01em; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  border-radius: 8px; transform: skewX(var(--skew)); box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(20deg) translateX(0); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover { color: #fff; transform: skewX(var(--skew)) translateY(-3px); box-shadow: 0 18px 40px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:hover::after { transform: skewX(20deg) translateX(520%); }
.btn:active { transform: skewX(var(--skew)) translateY(0); }
.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: color-mix(in srgb, var(--surface-2) 70%, transparent); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: color-mix(in srgb, var(--accent) 24%, var(--surface-2)); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent-soft), 0 16px 34px -14px var(--glow); }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: .95rem; }
.btn--soon, .btn--soon:hover { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--muted); cursor: not-allowed; box-shadow: inset 0 0 0 1.5px var(--line-strong); transform: skewX(var(--skew)); }
.btn--soon::after { display: none; }
.btn--block { width: 100%; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; padding-block: 10px; } }

/* ---------- Header: floating glass bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 12px; pointer-events: none; }
.site-header .wrap { position: relative; display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 0 14px 0 20px; max-width: calc(var(--wrap) + 40px); width: calc(100% - 2 * clamp(12px, 3vw, 28px));
  background: var(--header-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 14px 40px -18px rgba(0, 0, 0, .6); pointer-events: auto; transition: min-height .3s var(--ease), box-shadow .3s; }
.site-header.is-scrolled .wrap { min-height: 58px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 18px 50px -16px rgba(0, 0, 0, .75); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.brand img { width: 38px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand b { font: 700 1.2rem var(--font-display); letter-spacing: -.02em; line-height: 1; }
.brand b em { color: var(--accent-soft); font-style: normal; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 9px 13px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .94rem; white-space: nowrap; border-radius: 10px; transition: color .2s, background .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--flash)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 3px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: none; color: var(--muted); font: 700 .78rem var(--font-body); padding: 6px 11px; cursor: pointer; letter-spacing: .04em; border-radius: 8px; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; cursor: pointer; background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--surface-2); transform: rotate(-12deg); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-cta, .nav-scrim { display: none; }
@media (hover: none) { .icon-btn:hover { transform: none; background: color-mix(in srgb, var(--surface) 80%, transparent); } }
@media (max-width: 1160px) {
  /* phone / tablet menu: solid bar (no blur needed), panel that scrolls on short screens */
  .site-header .wrap { background: var(--header-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; background: var(--header-solid); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, .7); display: none; padding: 8px 12px 14px; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav.is-open { display: block; animation: drop .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: 14px 10px; font-size: 1.05rem; border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--accent-soft); }
  .nav a::after { display: none; }
  .nav .nav-cta { display: block; border-top: 0; padding-top: 12px; }
  .nav .nav-cta .btn { display: inline-flex; width: 100%; color: #fff; padding: 0 22px; font-size: 1rem; }
  .nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(3, 2, 10, .55); touch-action: none; }
  .nav-scrim.is-on { display: block; animation: fade .25s ease; }
  .header-tools { margin-left: auto; }
  .header-cta { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 1399px) { .header-cta { display: none; } }
@media (max-width: 440px) { .header-tools { gap: 6px; } .seg button { padding: 6px 8px; } .icon-btn { width: 38px; height: 38px; } .site-header .wrap { gap: 8px; padding-left: 14px; } .brand b { font-size: 1.05rem; } .brand img { width: 32px; } }
@media (max-width: 340px) { .brand b { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 14%, var(--bg-alt) 86%, transparent); }
.section--alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 58px); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); letter-spacing: -.03em; background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 16px 7px 12px; font-size: .86rem; font-weight: 700; color: var(--flash); border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(6px); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 12px var(--accent-soft); animation: pulse 2.4s ease-in-out infinite; }
.eyebrow.is-soon::before { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.eyebrow.is-ok::before { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 96px); isolation: isolate; margin-top: -80px; padding-top: calc(80px + clamp(48px, 7vw, 96px)); }
.hero::before { content: ""; position: absolute; inset: -12%; z-index: -2; animation: drift 18s ease-in-out infinite alternate;
  background: radial-gradient(42% 52% at 76% 38%, color-mix(in srgb, var(--accent) 52%, transparent), transparent 70%), radial-gradient(30% 40% at 6% 6%, color-mix(in srgb, var(--accent-soft) 24%, transparent), transparent 70%), radial-gradient(26% 34% at 56% 100%, color-mix(in srgb, #2e6bff 26%, transparent), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image: linear-gradient(color-mix(in srgb, var(--accent-soft) 14%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 14%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000, transparent 75%); }
@keyframes drift { to { transform: translate3d(-3%, 4%, 0) scale(1.1); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.7rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 22px; }
.hero h1 .ln { display: block; color: var(--text); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero h1 .ln { background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 37rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 24px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; margin: 0; }
.hero-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 24%, transparent); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; font-size: .88rem; font-weight: 700; border-radius: 99px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); transition: box-shadow .25s, transform .25s var(--ease); }
.chips li:hover { box-shadow: inset 0 0 0 1px var(--accent-soft); transform: translateY(-2px); }
.chips svg { width: 1.1em; height: 1.1em; color: var(--accent-soft); }
.hero-art { position: relative; perspective: 1400px; }
.hero-bolt { position: absolute; right: -9%; top: -20%; width: 52%; aspect-ratio: 1; z-index: 0; pointer-events: none; filter: drop-shadow(0 0 40px var(--glow)); }
.hero-bolt i { position: absolute; inset: 0; background: linear-gradient(160deg, var(--flash), var(--accent) 55%, var(--accent-strong)); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); animation: boltFloat 6s ease-in-out infinite; }
@keyframes boltFloat { 50% { transform: translate3d(-6px, 10px, 0) rotate(-2deg); } }
.shot-frame { position: relative; z-index: 1; padding: 36px 8px 8px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 36%, var(--surface)), var(--surface) 60%); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 50px 100px -30px var(--glow), 0 20px 40px -20px rgba(0, 0, 0, .6); transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.shot-frame::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 36px; border-radius: 20px 20px 0 0;
  background: radial-gradient(circle at 20px 18px, #ff5f57 0 5px, transparent 5.5px), radial-gradient(circle at 40px 18px, #febc2e 0 5px, transparent 5.5px), radial-gradient(circle at 60px 18px, #28c840 0 5px, transparent 5.5px); }
.shot-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .09) 50%, transparent 62%); background-size: 260% 100%; background-position: 140% 0; animation: sheen 7s ease-in-out 2.4s infinite; }
@keyframes sheen { 0%, 60% { background-position: 140% 0; } 100% { background-position: -60% 0; } }
.shot-frame img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: #05040d; border-radius: 12px 12px 14px 14px; }
.hero-tag { position: absolute; z-index: 3; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; background: var(--header-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 16px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4), inset 0 0 0 1px var(--line-strong); transform: translateZ(60px); }
.hero-tag img { width: 38px; height: auto; }
.hero-tag b { display: block; font: 700 .95rem var(--font-display); line-height: 1.25; letter-spacing: -.01em; }
.hero-tag small { color: var(--muted); font-size: .82rem; font-family: var(--font-mono); }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero-tag { left: 10px; bottom: 14px; } .hero-bolt { right: -4%; top: -14%; } }

/* hero entrance: one orchestrated sequence (fx.js adds .js and .hero-go) */
.js .hero-copy > *, .js .hero-art { opacity: 0; }
.js .hero h1 .ln { transform: translateY(46%) skewY(3deg); opacity: 0; }
.js .hero-bolt i { opacity: 0; }
.hero-go .hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hero-go .hero-copy > h1 { opacity: 1; animation: none; }
.hero-go .hero h1 .ln, .hero-go h1 .ln { animation: lineUp 1s var(--ease) both; animation-delay: calc(var(--l, 0) * 120ms + 140ms); }
.hero-go .hero-art { animation: stageIn 1.3s var(--ease) .25s both; }
.hero-go .hero-bolt i { animation: boltIn 1.1s var(--ease) .7s both, boltFloat 6s ease-in-out 1.8s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { opacity: 0; transform: translateY(46%) skewY(3deg); } to { opacity: 1; transform: none; } }
@keyframes stageIn { from { opacity: 0; transform: translateY(50px) rotateX(10deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes boltIn { from { opacity: 0; transform: translate3d(60px, -50px, 0) scale(.7); } to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-alt) 70%, transparent); padding-block: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.marquee li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 1.05rem var(--font-display); letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.marquee li::after { content: ""; width: 14px; height: 18px; background: var(--accent-soft); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Spotlight (cursor glow, positions set by fx.js) ---------- */
.card, .feat, .cmp, .dl, .steps li, .faq details, .checker, .notice { position: relative; }
.card::after, .feat::after, .cmp::after, .dl::after, .steps li::after, .faq details::after, .checker::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent-soft) 22%, transparent), transparent 65%); }
.card:hover::after, .feat:hover::after, .cmp:hover::after, .dl:hover::after, .steps li:hover::after, .faq details:hover::after, .checker:hover::after { opacity: 1; }

/* ---------- Cards / editions ---------- */
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.card { background: var(--surface); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 70px -30px var(--glow); }
.card-media { position: relative; aspect-ratio: 8 / 5; background: #05040d; overflow: hidden; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 50%; background: linear-gradient(0deg, var(--surface), transparent); pointer-events: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.ribbon { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 16px; font: 800 .74rem var(--font-body); letter-spacing: .06em; color: #1b1300; background: var(--warn); border-radius: 6px; transform: skewX(var(--skew)); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.ribbon--ok { background: var(--ok); color: #04210f; }
.card-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.card .tag { color: var(--accent-soft); font: 600 .8rem var(--font-mono); margin-bottom: 10px; display: block; }
.card p { color: var(--muted); }
.card-list { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 9px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.card-list svg { width: 1.1em; height: 1.1em; margin-top: .3em; color: var(--accent-soft); flex: none; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.card-credit { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.art-impasto { position: absolute; inset: 0; background:
  radial-gradient(38% 52% at 22% 70%, #e8a86f 0, transparent 70%), radial-gradient(34% 46% at 72% 28%, #7c5cff 0, transparent 70%), radial-gradient(30% 40% at 84% 78%, #3fb6a8 0, transparent 70%), radial-gradient(40% 50% at 48% 38%, #d96a8a 0, transparent 72%), #1a1440; filter: saturate(.9); animation: hue 14s ease-in-out infinite alternate; }
.art-impasto::before { content: ""; position: absolute; left: 50%; top: 9%; width: 30%; height: 7.5%; transform: translateX(-50%); background: #05040d; border-radius: 99px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.art-impasto::after { content: ""; position: absolute; left: 50%; bottom: 8%; width: 36%; height: 9%; transform: translateX(-50%); background: rgba(5, 4, 13, .72); border-radius: 18px; backdrop-filter: blur(6px); }
.art-cosmic { position: absolute; inset: 0; background:
  radial-gradient(30% 40% at 80% 20%, rgba(255, 196, 94, .85) 0, transparent 70%), radial-gradient(46% 56% at 20% 78%, #2e6bff 0, transparent 72%), radial-gradient(40% 50% at 62% 70%, #8a3dff 0, transparent 72%), linear-gradient(160deg, #0b0a24, #12103a 60%, #070616); animation: hue 16s ease-in-out infinite alternate; }
.art-cosmic::before { content: ""; position: absolute; inset: 14% 12% 26% 12%; background: rgba(8, 7, 24, .55); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); border-radius: 12px; backdrop-filter: blur(5px); }
.art-cosmic::after { content: ""; position: absolute; left: 12%; right: 12%; top: 8%; height: 5.5%; background: rgba(8, 7, 24, .78); border-radius: 8px; }
@keyframes hue { to { filter: saturate(1.15) hue-rotate(-18deg); } }
.art-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); z-index: 1; }
.art-label b { font: 700 1.2rem var(--font-display); letter-spacing: -.01em; }
.art-label span { font-size: .92rem; opacity: .9; }
.editions .card-actions { flex-direction: column; align-items: stretch; }
.editions .card-actions .btn { padding: 0 18px; }
@media (max-width: 1020px) { .editions { grid-template-columns: 1fr; } .editions .card-media { aspect-ratio: 16 / 8; } }

/* ---------- Features: bento ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feat { grid-column: span 2; background: var(--surface); padding: 30px 30px 32px; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.feat:nth-child(1) { grid-column: span 4; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--surface)), var(--surface) 70%); }
.feat:nth-child(4) { grid-column: span 4; }
.feat:nth-child(5), .feat:nth-child(6) { grid-column: span 3; }
.feat:nth-child(1)::before { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: linear-gradient(160deg, var(--flash), var(--accent)); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); opacity: .16; }
.feat:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px var(--glow); }
.feat .ico { position: relative; z-index: 1; width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 20px; background: color-mix(in srgb, var(--accent) 24%, var(--surface-2)); color: var(--flash); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform .4s var(--ease); }
.feat:hover .ico { transform: rotate(-8deg) scale(1.08); }
.feat .ico svg { width: 24px; height: 24px; }
.feat h3 { position: relative; z-index: 1; font-size: 1.15rem; margin-bottom: .4em; }
.feat p { position: relative; z-index: 1; color: var(--muted); margin: 0; font-size: 1rem; max-width: 34rem; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } .feat, .feat:nth-child(n) { grid-column: span 1; } .feat:nth-child(1) { grid-column: span 2; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feat:nth-child(n) { grid-column: span 1; } }

/* ---------- Screenshot viewer ---------- */
.viewer { display: grid; gap: 18px; }
.viewer-main { position: relative; display: block; width: 100%; border: 0; padding: 36px 8px 8px; cursor: zoom-in; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 34%, var(--surface)), var(--surface) 60%); box-shadow: inset 0 0 0 1px var(--line-strong), 0 50px 100px -40px var(--glow); }
.viewer-main::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 36px; background: radial-gradient(circle at 20px 18px, #ff5f57 0 5px, transparent 5.5px), radial-gradient(circle at 40px 18px, #febc2e 0 5px, transparent 5.5px), radial-gradient(circle at 60px 18px, #28c840 0 5px, transparent 5.5px); }
.viewer-main img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: #05040d; border-radius: 12px 12px 15px 15px; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: .3; transform: scale(.995); } }
.viewer-cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.viewer-cap b { font: 600 1.1rem var(--font-display); }
.viewer-cap span { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.thumb { border: 0; padding: 4px; cursor: pointer; background: var(--surface-2); opacity: .6; border-radius: 14px; transition: opacity .2s, background .2s, transform .3s var(--ease); }
.thumb img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; background: #05040d; border-radius: 10px; }
.thumb:hover { opacity: 1; transform: translateY(-3px); }
.thumb[aria-selected="true"] { opacity: 1; background: linear-gradient(135deg, var(--accent), var(--flash)); }
.shots-note { margin-top: 18px; color: var(--muted); font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.shots-note i { width: 9px; height: 9px; border-radius: 50%; background: var(--warn); flex: none; }
@media (max-width: 640px) { .thumbs { gap: 7px; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 4, 13, .92); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: min(1280px, 100%); max-height: 86vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; border: 0; cursor: pointer; background: var(--surface-2); color: #fff; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; transition: background .2s, transform .2s; }
.lightbox button:hover { background: var(--accent); transform: scale(1.08); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #cfc9f5; font-size: .95rem; }

/* ---------- Spec table ---------- */
.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr { transition: background .2s; }
.spec-table tr:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }
.spec-table td { font-weight: 700; font-family: var(--font-mono); font-size: .95rem; }
.spec-note { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.specs .rv .shot-frame { transform: rotate(1.5deg); }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps li { counter-increment: step; position: relative; background: var(--surface); padding: 76px 24px 26px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.steps li:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 22px; width: 44px; height: 44px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; font: 700 1.1rem var(--font-display); border-radius: 10px; transform: skewX(var(--skew)); box-shadow: 0 10px 22px -8px var(--glow); }
.steps li:not(:last-child)::before { z-index: 1; }
.steps b { display: block; font: 600 1.05rem var(--font-display); letter-spacing: -.01em; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(34px, 5vw, 60px); border-radius: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  background: radial-gradient(60% 140% at 92% 50%, rgba(116, 71, 255, .62), transparent 70%), linear-gradient(135deg, #0a0820, #1c1357); color: #f2f0ff; box-shadow: inset 0 0 0 1px rgba(165, 139, 255, .3), 0 40px 80px -40px var(--glow); }
.cta::before { content: ""; position: absolute; z-index: -1; right: 6%; top: -30%; width: 280px; height: 140%; background: linear-gradient(160deg, rgba(217, 207, 255, .22), rgba(116, 71, 255, .08)); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); animation: boltFloat 7s ease-in-out infinite; }
.cta h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: .3em; color: #fff; background: none; -webkit-text-fill-color: #fff; }
.cta p { margin: 0; color: #cfc9f5; max-width: 36rem; }
.cta .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-strong); }
.faq summary { position: relative; z-index: 1; cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font: 600 1.02rem var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 20%, var(--surface-2)) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23a58bff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E"); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { position: relative; z-index: 1; padding: 0 24px 22px; color: var(--muted); animation: faqIn .4s var(--ease); }
.faq details > div p:last-child { margin-bottom: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Page head (download / verify / legal) ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; margin-top: -80px; padding-block: calc(80px + clamp(44px, 6vw, 80px)) clamp(40px, 5vw, 64px); }
.page-head::before { content: ""; position: absolute; inset: -10%; z-index: -1; animation: drift 18s ease-in-out infinite alternate; background: radial-gradient(40% 80% at 88% 20%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%), radial-gradient(34% 60% at 0% 0%, color-mix(in srgb, var(--accent-soft) 18%, transparent), transparent 70%); }
.page-head::after { content: ""; position: absolute; right: 8%; top: 0; width: 240px; height: 100%; z-index: -1; background: linear-gradient(160deg, color-mix(in srgb, var(--flash) 26%, transparent), transparent); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); opacity: .5; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 14px; background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: rise .9s var(--ease) both; }
.page-head .lead, .page-head .crumbs, .page-head .eyebrow { animation: rise .9s var(--ease) both; }
.page-head .lead { animation-delay: .12s; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { margin-inline: 8px; opacity: .6; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 45%, var(--line)); margin-bottom: 28px; }
.notice svg { width: 24px; height: 24px; color: var(--warn); flex: none; margin-top: 2px; }
.notice b { display: block; font: 600 1.02rem var(--font-display); letter-spacing: -.01em; }
.notice p { margin: 4px 0 0; color: var(--muted); }
.notice.is-hidden { display: none; }

/* download rows */
.dl-list { display: grid; gap: 22px; }
.dl { display: grid; grid-template-columns: 320px minmax(0, 1fr); background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.dl:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 40px 70px -40px var(--glow); }
.dl-media { position: relative; background: #05040d; min-height: 100%; overflow: hidden; }
.dl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dl:hover .dl-media img { transform: scale(1.06); }
.dl-media .art-impasto, .dl-media .art-cosmic { position: absolute; inset: 0; }
.dl-body { position: relative; z-index: 1; padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.dl-title { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.dl-title h2 { font-size: 1.4rem; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; font: 800 .72rem var(--font-body); letter-spacing: .06em; color: #1b1300; background: var(--warn); border-radius: 6px; transform: skewX(var(--skew)); }
.pill--ok { background: var(--ok); color: #04210f; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--muted); font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.dl-meta b { color: var(--text); font-weight: 700; }
.hash { display: grid; gap: 6px; }
.hash > span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.hash-row { display: flex; align-items: stretch; gap: 8px; }
.hash code { flex: 1; min-width: 0; padding: 12px 16px; background: var(--code-bg); color: #d6d0ff; font-size: .84rem; line-height: 1.4; word-break: break-all; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.hash code.is-soon { color: #8a83b8; font-family: var(--font-body); font-style: italic; font-size: .95rem; }
.copy-btn { flex: none; border: 0; cursor: pointer; padding: 0 16px; font: 700 .85rem var(--font-body); background: var(--surface-2); color: var(--text); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .2s; }
.copy-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.copy-btn[hidden] { display: none; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } .dl-media { aspect-ratio: 16 / 7; min-height: 0; } }
@media (max-width: 520px) { .hash-row { flex-direction: column; } .copy-btn { min-height: 42px; } .dl-actions .btn { width: 100%; } }

/* ---------- Verify page ---------- */
.prose { max-width: 52rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose li { margin-bottom: .6em; }
.prose b, .prose strong { color: var(--text); }
.prose a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: .9em; background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 2px 7px; border-radius: 6px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; position: relative; z-index: 1; }
.tab { border: 0; cursor: pointer; padding: 11px 22px; font: 600 .95rem var(--font-body); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--muted); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--glow); }
.tabs-panel { background: var(--surface); padding: clamp(20px, 3vw, 32px); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.tabs-panel[hidden] { display: none; }
.tabs-panel p { color: var(--muted); }
.code-box { position: relative; background: var(--code-bg); border-radius: 14px; margin: 12px 0 18px; box-shadow: inset 0 0 0 1px var(--line); }
.code-box pre { margin: 0; padding: 16px 78px 16px 18px; overflow-x: auto; color: #e3defd; font: .9rem/1.65 var(--font-mono); }
.code-box .copy-btn { position: absolute; right: 8px; top: 8px; padding: 6px 12px; min-height: 0; }
.code-box .c { color: #8a83b8; }
.checker { background: var(--surface); padding: clamp(22px, 3.5vw, 40px); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 20px; }
.checker > * { position: relative; z-index: 1; }
.checker h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.checker > p { margin: 0; color: var(--muted); }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 6px; padding: 40px 20px; cursor: pointer; border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--accent-soft) 55%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); transition: background .2s, border-color .2s, transform .3s var(--ease); }
.drop:hover, .drop.is-over { background: color-mix(in srgb, var(--accent) 17%, transparent); border-color: var(--accent-soft); transform: scale(1.01); }
.drop svg { width: 40px; height: 40px; color: var(--accent-soft); animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.drop b { font: 600 1.05rem var(--font-display); }
.drop span { color: var(--muted); font-size: .95rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--muted); }
.field input[type="text"], .field select { width: 100%; min-height: 50px; padding: 10px 16px; background: var(--code-bg); color: #e3defd; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font: .88rem var(--font-mono); }
.field select { font-family: var(--font-body); font-size: 1rem; }
.field input:focus, .field select:focus { outline: 2px solid var(--focus); }
.field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.bar { height: 10px; background: var(--code-bg); border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--flash)); box-shadow: 0 0 14px var(--glow); transition: width .12s linear; }
.progress[hidden], .result[hidden] { display: none; }
.progress { display: grid; gap: 8px; }
.progress small { color: var(--muted); }
.result { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; animation: rise .5s var(--ease); }
.result svg { width: 28px; height: 28px; flex: none; }
.result b { display: block; font: 600 1.1rem var(--font-display); }
.result code { display: block; margin-top: 6px; font-size: .82rem; word-break: break-all; color: var(--text); opacity: .9; }
.result p { margin: 4px 0 0; }
.result.is-ok { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 55%, var(--line)); } .result.is-ok svg { color: var(--ok); }
.result.is-bad { background: color-mix(in srgb, var(--bad) 14%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 55%, var(--line)); } .result.is-bad svg { color: var(--bad); }
.result.is-info { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); box-shadow: inset 0 0 0 1px var(--line-strong); } .result.is-info svg { color: var(--accent-soft); }
.privacy-note { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--muted); margin: 0; }
.privacy-note svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.sum-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; }
.sum-table th, .sum-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sum-table tr:last-child td { border-bottom: 0; }
.sum-table th { color: var(--muted); font-size: .82rem; font-weight: 700; background: var(--surface-2); }
.sum-table code { word-break: break-all; font-size: .84rem; }
.sum-table .soon { color: var(--muted); font-style: italic; }
.table-scroll { overflow-x: auto; border-radius: 18px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #05040d; color: #bdb7e6; padding-block: 72px 30px; margin-top: clamp(50px, 7vw, 100px); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); }
.site-footer::after { content: ""; position: absolute; left: 50%; top: -160px; width: 720px; height: 320px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(116, 71, 255, .3), transparent); pointer-events: none; }
.site-footer .wrap { position: relative; z-index: 1; }
:root[data-theme="light"] .site-footer { background: #15103a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 600 .9rem var(--font-display); color: #fff; margin-bottom: 16px; letter-spacing: -.01em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #bdb7e6; text-decoration: none; transition: color .2s, padding .25s var(--ease); display: inline-block; }
.footer-grid a:hover { color: #fff; padding-left: 5px; }
.footer-brand img { width: 150px; margin-bottom: 14px; transition: transform .6s var(--ease); }
.footer-brand img:hover { transform: rotate(-4deg) scale(1.05); }
.footer-brand p { font-size: .95rem; max-width: 22rem; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #9892c6; }
.footer-legal p { margin: 0 0 8px; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.notfound img { width: 160px; margin: 0 auto 22px; animation: boltFloat 6s ease-in-out infinite; filter: drop-shadow(0 0 40px var(--glow)); }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); }

/* ---------- Gaming compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 28px); }
.cmp { background: var(--surface); padding: clamp(24px, 3vw, 36px); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cmp > * { position: relative; z-index: 1; }
.cmp h3 { font-size: 1.2rem; margin-bottom: .8em; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cmp li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.cmp li svg { width: 1.25em; height: 1.25em; margin-top: .25em; flex: none; }
.cmp--yes li svg { color: var(--ok); }
.cmp--no li svg { color: var(--bad); }
.cmp--yes { background: linear-gradient(160deg, color-mix(in srgb, var(--ok) 9%, var(--surface)), var(--surface) 60%); }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Requirements ---------- */
.req-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; }
.req-table th, .req-table td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.req-table thead th { font: 700 .84rem var(--font-body); color: var(--muted); background: var(--surface-2); }
.req-table thead th.is-game { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); }
.req-table tbody th { width: 20%; color: var(--muted); font-weight: 600; }
.req-table tbody tr { transition: background .2s; }
.req-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.req-table tbody td:last-child { background: color-mix(in srgb, var(--accent) 9%, transparent); font-weight: 700; }
.req-table tbody tr:last-child th, .req-table tbody tr:last-child td { border-bottom: 0; }
.req-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; color: var(--muted); font-size: .95rem; }
.req-notes li { display: flex; gap: 12px; align-items: flex-start; }
.req-notes li::before { content: ""; width: 10px; height: 14px; margin-top: .4em; background: var(--accent-soft); clip-path: polygon(100% 0, 26% 54%, 50% 54%, 0 100%, 80% 42%, 54% 42%); flex: none; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.card.rv.in, .feat.rv.in, .steps.rv.in { transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.is-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .js .hero-copy > *, .js .hero-art, .js .hero h1 .ln, .js .hero-bolt i { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee-track { transform: none; }
}
@media print { .site-header, .site-footer, .lightbox, .scroll-progress { display: none; } }

/* hero stagger order (works without JS) */
.hero-copy > :nth-child(1) { --i: 0; } .hero-copy > :nth-child(3) { --i: 3; } .hero-copy > :nth-child(4) { --i: 4; } .hero-copy > :nth-child(5) { --i: 5; } .hero-copy > :nth-child(6) { --i: 6; }
.hero h1 .ln:nth-child(2) { --l: 1; }

/* final polish */
.hero h1 { font-size: clamp(1.8rem, 3.9vw, 3.2rem); }
.hero-bolt { right: -11%; top: -24%; width: 60%; }
.hero-bolt i { opacity: .95; }
.card-actions, .dl-actions, .cta-actions { padding-inline: 6px; }
.hero-actions { padding-left: 6px; }

/* phone fix: never let the page scroll or zoom sideways */
html, body { max-width: 100%; overflow-x: clip; }
.hero, .page-head, .marquee, .site-footer { overflow: clip; }
@media (max-width: 920px) {
  .hero-bolt { display: none; }
  .hero-art { perspective: none; }
  .shot-frame { transform: none !important; transform-style: flat; will-change: auto; }
  .hero-tag { transform: none; left: 10px; }
  .specs .rv .shot-frame { transform: none; }
  .hero::before, .page-head::before { inset: 0; }
}

/* one ISO, three desktops */
.editions-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 28px; padding: 22px 26px; border-radius: 22px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); box-shadow: inset 0 0 0 1px var(--line-strong); }
.editions-cta p { margin: 0; font-size: 1.08rem; max-width: 40rem; }
.dl-links { margin-top: 4px; }
.dl-links .btn { flex: 1 1 200px; }
.dl-body .chips { margin: 4px 0 0; }
@media (max-width: 520px) { .editions-cta { padding: 20px; } .editions-cta .btn { width: 100%; } }

/* Tux penguin as the mouse cursor (mouse and trackpad only) */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, summary, label, select, .btn, .icon-btn, .thumb, .drop, [role="tab"] { cursor: url("../img/cursor.png") 6 3, url("../img/cursor-2x.png") 12 6, auto; }
  input[type="text"], textarea { cursor: text; }
}

/* animated Tux cursor (built by assets/js/cursor.js; the image cursor above is the fallback) */
html.tux-on, html.tux-on * { cursor: none !important; }
html.tux-on.tux-text input, html.tux-on.tux-text textarea { cursor: text !important; }
.tux-cursor { position: fixed; left: 0; top: 0; z-index: 2147483000; width: 38px; height: 38px; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.tux-cursor.is-on { opacity: 1; }
.tux-cursor.is-hidden { opacity: 0; }
.tux-cursor svg { display: block; overflow: visible;  }
.tx-walk { width: 100%; height: 100%; transform-origin: 50% 90%; }
.tx-pop { width: 100%; height: 100%; transform-origin: 50% 90%; transition: transform .18s var(--ease, ease); }
.tux-cursor.is-link .tx-pop { transform: scale(1.22) translateY(-2px); }
.tux-cursor.is-down .tx-pop { transform: scale(.82, .72) translateY(2px); transition-duration: .08s; }
.tux-cursor.is-click .tx-pop { animation: txClick .42s cubic-bezier(.3, 1.6, .5, 1); }
.tx-bob { width: 100%; height: 100%; transform-origin: 50% 90%; animation: txBob 1.6s ease-in-out infinite; }
.tx-eyes { transform-origin: 32px 15px; animation: txBlink 4.2s infinite; }
.tx-fl { transform-box: fill-box; }
.tx-fl.l { transform-origin: 85% 10%; } .tx-fl.r { transform-origin: 15% 10%; }
.tux-cursor.is-link .tx-fl.l { animation: txFlapL .32s ease-in-out infinite alternate; }
.tux-cursor.is-link .tx-fl.r { animation: txFlapR .32s ease-in-out infinite alternate; }
.tx-ft { transform-box: fill-box; transform-origin: 50% 50%; animation: txStep .5s ease-in-out infinite alternate; }
.tx-ft.r { animation-delay: -.25s; }
@keyframes txBob { 50% { transform: translateY(-2.5px) scale(1.03, .97); } }
@keyframes txBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes txFlapL { to { transform: rotate(28deg); } }
@keyframes txFlapR { to { transform: rotate(-28deg); } }
@keyframes txStep { to { transform: translateY(-1.2px) scaleX(1.06); } }
@keyframes txClick { 0% { transform: scale(.7, .6); } 55% { transform: scale(1.22, 1.3) translateY(-5px); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tx-bob, .tx-eyes, .tx-ft, .tux-cursor.is-link .tx-fl { animation: none; } }

.card-note { margin: 14px 6px 0; padding: 12px 14px; font-size: .9rem; line-height: 1.5; color: var(--muted); border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.card-note b { color: var(--text); }

/* USB drive and flashing tools */
.usb-note { margin-bottom: 22px; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .3s; }
.tool:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 26px 50px -30px var(--glow); }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tool h3 { margin: 0; font-size: 1.25rem; }
.tool p { margin: 0; color: var(--muted); flex: 1; }
.tool .btn { align-self: flex-start; }
@media (max-width: 920px) { .tools { grid-template-columns: 1fr; } }
.tool .pill { background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .72rem; letter-spacing: .02em; }

/* light flash where you click (assets/js/cursor.js) */
.click-fx { position: fixed; z-index: 2147482999; left: 0; top: 0; width: 0; height: 0; pointer-events: none; visibility: hidden; }
.click-fx::before, .click-fx::after { content: ""; position: absolute; left: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; opacity: 0; }
.click-fx::before { background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(190, 165, 255, .75) 22%, rgba(120, 80, 255, .35) 48%, transparent 70%); }
.click-fx::after { box-shadow: inset 0 0 0 2px rgba(200, 180, 255, .95); }
.click-fx.go { visibility: visible; }
.click-fx.go::before { animation: fxGlow .55s ease-out forwards; }
.click-fx.go::after { animation: fxRing .6s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes fxGlow { 0% { opacity: 1; transform: scale(.15); } 100% { opacity: 0; transform: scale(1); } }
@keyframes fxRing { 0% { opacity: 1; transform: scale(.1); } 100% { opacity: 0; transform: scale(.85); } }
:root[data-theme="light"] .click-fx::before { background: radial-gradient(circle, rgba(255, 255, 255, .9) 0, rgba(140, 100, 255, .7) 22%, rgba(91, 33, 255, .35) 48%, transparent 70%); }
:root[data-theme="light"] .click-fx::after { box-shadow: inset 0 0 0 2px rgba(91, 33, 255, .85); }
@media (prefers-reduced-motion: reduce) { .click-fx.go::before { animation-duration: .01ms; } .click-fx.go::after { animation-duration: .01ms; } }

/* footer switch */
.lite-toggle { display: inline-flex; align-items: center; margin: 0 0 14px; padding: 8px 14px; border: 0; border-radius: 99px; cursor: pointer; font: 600 .82rem var(--font-body); color: #cfc9f5; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.lite-toggle:hover { background: rgba(255, 255, 255, .13); }
.lite-toggle[aria-pressed="true"] { color: #fff; background: rgba(106, 61, 255, .45); }

/* ==========================================================================
   LITE MODE (html.lite): for weaker PCs. No blur, no glow animation, no continuous movement.
   Turned on automatically (see loader.js / fx.js) or with the switch in the footer.
   ========================================================================== */
html.lite *, html.lite *::before, html.lite *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; filter: none !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
html.lite .site-header .wrap { background: var(--header-solid); box-shadow: inset 0 0 0 1px var(--line-strong); transition: none; }
html.lite .hero::before, html.lite .page-head::before, html.lite .hero-bolt i, html.lite .float, html.lite .eyebrow::before, html.lite .drop svg, html.lite .shot-frame::after, html.lite .notfound img { animation: none !important; }
html.lite .marquee-track { animation: none; }
html.lite .marquee { -webkit-mask-image: none; mask-image: none; }
html.lite .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
html.lite .card:hover, html.lite .feat:hover, html.lite .tool:hover, html.lite .dl:hover, html.lite .btn:hover, html.lite .thumb:hover, html.lite .chips li:hover, html.lite .icon-btn:hover { transform: none !important; }
html.lite .btn:hover, html.lite .card:hover, html.lite .feat:hover, html.lite .tool:hover { box-shadow: none; }
html.lite .btn::after { display: none; }
html.lite .card:hover .card-media img, html.lite .dl:hover .dl-media img { transform: none; }
html.lite .hero-art, html.lite .shot-frame { transform: none !important; will-change: auto; }
html.lite .tux-cursor { will-change: auto; }
html.lite .tx-bob, html.lite .tx-eyes, html.lite .tx-ft, html.lite .tux-cursor.is-link .tx-fl { animation: none !important; }
html.lite .click-fx::before { display: none; }
html.lite .click-fx.go::after { animation-duration: .35s; }
html.lite .shot-frame, html.lite .site-header .wrap, html.lite .card, html.lite .dl, html.lite .feat, html.lite .cta { box-shadow: inset 0 0 0 1px var(--line); }
html.lite .viewer-main img { animation: none; }
html.lite main > .section, html.lite .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
