@property --hero-glow { syntax: "<color>"; inherits: true; initial-value: #1c5a8a66; }
:root {
  color-scheme: dark;
  --bg: #0b111a;
  --surface: #111b27;
  --raised: #182433;
  --text: #f0f4f8;
  --muted: #a6b4c5;
  --accent: #79e0bf;
  --blue: #8bbcff;
  --line: #2a3747;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hero-glow: #1c5a8a66;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 650; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
code { font-family: Consolas, monospace; font-size: .94em; color: var(--text); overflow-wrap: anywhere; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a, summary, label, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
::selection { background: var(--accent); color: #0b211b; }
.shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 108px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; line-height: 1.6; font-weight: 650; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 20px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.status-dot.pulse { animation: pulse 2.4s ease-out infinite; }
.section-intro { font-size: 18px; margin-top: 24px; max-width: 540px; line-height: 1.75; }
.fine-print { font-size: 13px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 550; line-height: 1.6; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link > span[aria-hidden="true"] { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover > span[aria-hidden="true"] { transform: translateX(3px); }
.inline-links { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 650; line-height: 1.5; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0b271e; border-color: var(--accent); box-shadow: 0 8px 24px #79e0bf26; }
.button-primary:hover { background: #a1f1d5; border-color: #a1f1d5; box-shadow: 0 12px 30px #79e0bf40; }
.button-secondary { background: #15202d; border-color: #394b60; color: var(--text); }
.button-secondary:hover { background: #1d2b3b; border-color: #63819c; }
.skip-link { position: absolute; z-index: 30; top: 12px; left: 20px; padding: 10px 20px; color: #10231d; background: var(--accent); border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg); transition: background .25s, box-shadow .25s, border-color .25s; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 18px; font-weight: 650; white-space: nowrap; letter-spacing: -.035em; }
.brand img { flex: 0 0 auto; }
.site-nav { display: flex; gap: 24px; align-items: center; margin-left: auto; font-size: 13px; }
.site-nav a { position: relative; padding-block: 6px; color: #bdc9d8; transition: color .18s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.site-nav a[aria-current]::after { transform: scaleX(1); }
.nav-download { border: 1px solid #466254; border-radius: 7px; color: var(--accent); padding: 9px 16px; font-size: 13px; white-space: nowrap; transition: background .18s, border-color .18s; }
.nav-download:hover { background: #172d29; border-color: var(--accent); }

/* Hero */
.hero { padding-block: 84px 72px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -40px 0 0 30%; background: radial-gradient(closest-side, var(--hero-glow), transparent); transition: --hero-glow 1.2s var(--ease); pointer-events: none; }
.release-badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px; padding: 5px 14px 5px 5px; border: 1px solid #2f5a4d; border-radius: 99px; background: #10251f; color: #c9eadf; font-size: 12px; line-height: 1.5; transition: border-color .2s, background .2s; }
.release-badge:hover { border-color: var(--accent); background: #143027; }
.badge-new { flex-shrink: 0; padding: 2px 10px; border-radius: 99px; background: var(--accent); color: #0b271e; font-size: 11px; font-weight: 650; }
.badge-arrow { flex-shrink: 0; transition: transform .2s var(--ease); }
.release-badge:hover .badge-arrow { transform: translateX(3px); }
.hero h1 { font-size: clamp(44px, 4.5vw, 68px); line-height: 1.03; font-weight: 700; letter-spacing: -.05em; }
.hero h1 > span { color: var(--accent); }
.hero h1 > .hero-kicker { display: block; margin-bottom: 16px; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
.hero-description { font-size: 17px; line-height: 1.8; margin-top: 25px; max-width: 520px; }
.hero-description a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero-video-sites { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 16px; color: var(--blue); font-size: 12px; line-height: 1.8; }
.hero-video-sites > span { color: #7e98b5; }
.hero-video-sites:hover { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { padding-inline: 18px; font-size: 13px; }
.hero-version { font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.hero-copy > * { animation: rise .7s var(--ease) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-copy > :nth-child(6) { animation-delay: .3s; }

/* Hero theme stack */
.theme-stack { min-width: 0; animation: rise 1s .18s var(--ease) backwards; }
.stack-frames { position: relative; aspect-ratio: 1280 / 860; margin-top: 8%; }
.stack-frame { position: absolute; inset: 0; overflow: hidden; border: 1px solid #3d5265; border-radius: 12px; background: #16222d; box-shadow: 0 28px 70px #0006; transform-origin: 50% 0; transition: transform .9s var(--ease), filter .9s var(--ease), box-shadow .9s; }
.stack-frame img { width: 100%; height: 100%; object-fit: cover; }
.stack-frame[data-pos="0"] { z-index: 3; }
.stack-frame[data-pos="1"] { z-index: 2; transform: translateY(-5.5%) scale(.94); filter: brightness(.55) saturate(.85); box-shadow: 0 14px 40px #0005; }
.stack-frame[data-pos="2"] { z-index: 1; transform: translateY(-11%) scale(.88); filter: brightness(.35) saturate(.7); box-shadow: none; }
.stack-frame[data-pos="3"] { z-index: 0; transform: translateY(-14%) scale(.82); opacity: 0; pointer-events: none; }
.js .stack-frame:not([data-pos="0"]) { cursor: pointer; }
.theme-stack figcaption { padding-top: 18px; }
.stack-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.stack-controls[hidden] { display: none; }
.stack-chip, .stack-toggle { height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #33465a; border-radius: 99px; background: #121d29; color: #b9c7d6; font: 12px/1 "Segoe UI", Arial, sans-serif; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.stack-chip { gap: 8px; padding: 0 14px 0 4px; }
.stack-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.stack-toggle { min-width: 64px; padding: 0 14px; background: transparent; }
.stack-chip:hover, .stack-toggle:hover { border-color: #5b7a96; color: var(--text); transform: translateY(-1px); }
.stack-chip[aria-pressed="true"] { border-color: var(--accent); background: #152b25; color: var(--text); }
.stack-chip:focus-visible, .stack-toggle:focus-visible { outline-offset: 2px; border-radius: 99px; }
.stack-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: #b3c0cf; font-size: 11px; line-height: 1.6; }
.stack-caption a { color: var(--accent); white-space: nowrap; }
.stack-caption a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* What's new strip */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.highlights a { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 20px 46px 20px 22px; background: var(--surface); transition: background .2s; }
.highlights a::after { content: "→" / ""; position: absolute; top: 20px; right: 20px; color: #6f8aa3; transition: transform .2s var(--ease), color .2s; }
.highlights a:hover { background: var(--raised); }
.highlights a:hover::after { color: var(--accent); transform: translateX(3px); }
.highlight-version { font: 11px/1.6 Consolas, monospace; color: var(--accent); }
.highlights strong { font-size: 15px; line-height: 1.4; }
.highlights a > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.55; }

/* Custom themes */
.themes-section { margin-top: 84px; background: linear-gradient(180deg, #0e1824, var(--bg)); border-block: 1px solid #1f2c3b; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.themes-intro { max-width: 470px; font-size: 16px; }
.theme-demo { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 40px; align-items: center; min-width: 0; margin: 44px 0 0; padding: 0; border: 0; }
.theme-panel { padding: 24px; border: 1px solid #3b4e64; border-radius: 14px; background: linear-gradient(145deg, #1b2b3e, #111b27 65%); box-shadow: 0 22px 60px #0003; }
.theme-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.theme-card { display: block; min-width: 0; overflow: hidden; border: 1px solid #33465a; border-radius: 9px; background: #0d1520; color: #c9d5e2; font-size: 12px; line-height: 1.5; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.theme-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.theme-card > span { display: flex; align-items: center; gap: 6px; padding: 7px 10px; }
.theme-card:hover { border-color: #5b7a96; transform: translateY(-2px); }
.theme-card:hover img { transform: scale(1.05); }
#theme-aurora:checked ~ .theme-panel label[for="theme-aurora"], #theme-neon:checked ~ .theme-panel label[for="theme-neon"], #theme-reactor:checked ~ .theme-panel label[for="theme-reactor"], #theme-moonveil:checked ~ .theme-panel label[for="theme-moonveil"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); color: var(--text); }
#theme-aurora:checked ~ .theme-panel label[for="theme-aurora"] > span::before, #theme-neon:checked ~ .theme-panel label[for="theme-neon"] > span::before, #theme-reactor:checked ~ .theme-panel label[for="theme-reactor"] > span::before, #theme-moonveil:checked ~ .theme-panel label[for="theme-moonveil"] > span::before { content: "✓"; color: var(--accent); }
#theme-aurora:focus-visible ~ .theme-panel label[for="theme-aurora"], #theme-neon:focus-visible ~ .theme-panel label[for="theme-neon"], #theme-reactor:focus-visible ~ .theme-panel label[for="theme-reactor"], #theme-moonveil:focus-visible ~ .theme-panel label[for="theme-moonveil"] { outline: 3px solid var(--blue); outline-offset: 3px; }
.own-card { cursor: default; }
.own-card:hover { border-color: #33465a; transform: none; }
.own-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; color: #7f97ad; font-size: 26px; background: repeating-linear-gradient(45deg, #121c28 0 8px, #0f1822 8px 16px); }
.theme-strength { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: #b6c4d3; font-size: 12px; }
.strength-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 9px; background: #26384b; }
.strength-bar i { display: block; width: 80%; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #4aa58a, var(--accent)); }
.theme-points { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.6; }
.theme-points li { position: relative; padding-left: 18px; }
.theme-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.theme-viewer { position: relative; aspect-ratio: 1280 / 860; overflow: hidden; border: 1px solid #3d5265; border-radius: 14px; background: #16222d; box-shadow: 0 30px 70px #0007; }
.theme-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .6s var(--ease), transform 1.2s var(--ease), visibility 0s .6s; }
#theme-aurora:checked ~ .theme-viewer .aurora-shot, #theme-neon:checked ~ .theme-viewer .neon-shot, #theme-reactor:checked ~ .theme-viewer .reactor-shot, #theme-moonveil:checked ~ .theme-viewer .moonveil-shot { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.themes-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.themes-bottom .visual-caption { margin: 0; max-width: 760px; text-align: left; }
.themes-bottom .text-link { flex-shrink: 0; }

/* Video */
.video-section { border-bottom: 1px solid var(--line); }
.video-intro { max-width: 465px; font-size: 16px; }
.video-sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.video-site { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px 24px; background: #121e2a; border: 1px solid #344458; border-radius: 10px; transition: background .18s, border-color .18s, transform .25s var(--ease); }
.video-site:hover { background: #192939; border-color: #6080a0; transform: translateY(-3px); }
.video-mark { display: grid; place-items: center; width: 40px; height: 36px; border-radius: 8px; font-size: 22px; font-weight: 700; line-height: 1; margin-bottom: 22px; transition: transform .25s var(--ease); }
.video-site:hover .video-mark { transform: scale(1.08); }
.youtube-mark { color: #ffaaa7; background: #4e2930; font-size: 18px; }
.bilibili-mark { color: #9edbff; background: #203f57; }
.tiktok-mark { color: #9cf2e7; background: #203e43; font-size: 26px; }
.twitch-mark { color: #d5bbff; background: #3d2d58; font-size: 17px; letter-spacing: -.05em; }
.video-site h3 { font-size: 23px; }
.video-site p { font-size: 13px; margin-block: 14px 24px; }
.video-detail { margin-top: auto; color: var(--accent); font-size: 11px; display: inline-flex; gap: 8px; align-items: center; }
.video-site:hover .video-detail { text-decoration: underline; text-underline-offset: 4px; }
.video-streams { display: flex; align-items: center; justify-content: space-between; gap: 38px; border: 1px solid #344458; border-radius: 10px; padding: 26px 28px; margin-top: 18px; background: #101c28; }
.video-streams h3 { font-size: 18px; }
.video-streams p { font-size: 13px; margin-top: 10px; max-width: 690px; }
.stream-links { display: flex; gap: 12px; flex-shrink: 0; }
.stream-links a { display: flex; align-items: center; gap: 12px; font-size: 12px; border: 1px solid #3d556d; background: #192b3e; border-radius: 6px; padding: 12px 15px; transition: background .18s, border-color .18s; }
.stream-links a:hover { border-color: var(--blue); background: #233b52; }
.stream-links a > span { color: #adcae8; font-size: 11px; }
.video-limits { font-size: 12px; line-height: 1.8; margin-top: 22px; }
.video-limits a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Web Grabber */
.grabber { display: grid; grid-template-columns: .88fr 1.12fr; gap: 88px; align-items: center; }
.grabber-copy .text-link { margin-top: 20px; }
.workflow-description { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; }
.step-number { color: var(--accent); font: 12px/1.8 Consolas, monospace; border: 1px solid #34534b; border-radius: 6px; padding: 4px 8px; }
.workflow-description h3 { font-size: 18px; margin-bottom: 8px; }
.workflow-description p { font-size: 14px; }
.grabber-copy > .fine-print { margin-top: 22px; }
.grabber-demo { min-width: 0; padding: 26px; margin: 0; border: 1px solid #3b4e64; border-radius: 14px; background: linear-gradient(145deg, #1b2b3e, #111b27 65%); box-shadow: 0 22px 60px #0003; }
.demo-heading { display: flex; gap: 12px; align-items: center; }
.demo-heading strong { font-size: 16px; }
.demo-heading div > span { display: block; color: #b1bfd0; font-size: 12px; }
.demo-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #27425e; }
.demo-modes { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-top: 24px; border: 1px solid #34445a; border-radius: 8px; background: #101925; }
.demo-modes label { padding: 9px 12px; border-radius: 5px; color: #b6c4d6; text-align: center; cursor: pointer; font-size: 13px; transition: background .18s; }
.demo-modes label:hover { background: #22354b; color: #fff; }
#demo-files:checked ~ .demo-modes label[for="demo-files"], #demo-offline:checked ~ .demo-modes label[for="demo-offline"] { background: #294058; color: #f5f9ff; box-shadow: 0 1px 5px #0003; }
#demo-files:focus-visible ~ .demo-modes label[for="demo-files"], #demo-offline:focus-visible ~ .demo-modes label[for="demo-offline"] { outline: 3px solid var(--blue); outline-offset: 2px; }
.demo-url { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 22px; padding: 11px 12px; background: #0e1722; border: 1px solid #2e4054; border-radius: 6px; color: #bccbdd; font: 11px/1.6 Consolas, monospace; }
.demo-url > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.example-label { font: 10px/1.5 "Segoe UI", sans-serif; margin-left: auto; color: var(--accent); border: 1px solid #325b50; padding: 1px 5px; border-radius: 4px; }
.demo-panel { display: none; }
#demo-files:checked ~ .files-panel, #demo-offline:checked ~ .offline-panel { display: block; animation: panel-in .45s var(--ease); }
.demo-summary { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-block: 22px 12px; font-size: 12px; }
.demo-summary > span { font-size: 10px; color: #9aafc4; }
.demo-file { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-top: 1px solid #2a3b4e; }
.sample-check { color: var(--accent); border: 1px solid #3c7466; border-radius: 3px; background: #19372e; width: 15px; height: 15px; display: grid; place-items: center; font-size: 10px; line-height: 1; }
.file-type { display: inline-grid; place-items: center; width: 34px; height: 38px; flex-shrink: 0; font-size: 8px; font-weight: 650; border-radius: 5px; letter-spacing: .01em; }
.pdf { color: #ffbbb6; background: #543433; }
.zip { color: #c9c2ff; background: #383558; }
.png { color: #90e3bf; background: #254a3d; }
.html { color: #9dceff; background: #25415d; }
.demo-file > div { min-width: 0; flex: 1; }
.demo-file strong { font-size: 12px; display: block; overflow-wrap: anywhere; }
.demo-file div > span { display: block; color: #a6b7c9; font-size: 10px; }
.file-size { color: #afc0d2; font-size: 10px; white-space: nowrap; }
.demo-result { display: flex; align-items: center; gap: 8px; background: #17332b; color: #a0e7cb; border: 1px solid #2e5849; padding: 10px 12px; border-radius: 6px; margin-top: 14px; font-size: 11px; }
.site-tree { min-height: 195px; padding: 8px 0; }
.site-tree > div { display: flex; align-items: center; gap: 12px; color: #bdd0df; font-size: 12px; }
.site-tree .tree-child { margin-left: 8px; padding: 5px 0 5px 22px; border-left: 1px solid #3a5166; }
.tree-child .file-type { width: 31px; height: 26px; }
.tree-note { color: var(--accent); font-size: 10px; margin-left: auto; }
.visual-caption { font-size: 11px; text-align: center; margin-top: 16px; color: #93a5b9; }

/* Hosting */
.hosting-section { background: #101924; border-block: 1px solid #233344; }
.hosting-intro { max-width: 440px; }
.hosting-intro > p { font-size: 16px; margin-top: 15px; }
.development-tag { font-size: 11px; color: #b7d3ff; background: #1b2d48; padding: 6px 11px; border-radius: 5px; border: 1px solid #35537a; display: inline-block; }
.availability-note { font-size: 13px; line-height: 1.8; padding-left: 16px; border-left: 2px solid #5881b7; margin-block: 32px; max-width: 980px; }
.availability-note strong { color: #c8dcf7; }
.torrent-risk { border-left-color: #e9b56d; background: #e9b56d0a; padding: 16px 20px; border-radius: 0 8px 8px 0; }
.torrent-risk strong { color: #f2cb93; }
.hosting-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #344458; border-radius: 12px; overflow: hidden; }
.hosting-card { min-width: 0; padding: 30px 28px; display: flex; flex-direction: column; background: #121e2a; transition: background .25s; }
.hosting-card:hover { background: #152332; }
.hosting-card + .hosting-card { border-left: 1px solid #344458; }
.hosting-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.hosting-brand h3 { font-size: 22px; }
.hosting-brand div > span { font-size: 11px; color: #a0b3c8; }
.host-monogram { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; font-size: 25px; font-weight: 700; line-height: 1; border-radius: 10px; transition: transform .25s var(--ease); }
.hosting-card:hover .host-monogram { transform: rotate(-4deg) scale(1.06); }
.mega-mark { background: #492630; color: #ff9b9e; }
.transfer-mark { background: #d7e9f5; color: #152b3f; font-size: 23px; letter-spacing: -.09em; padding-right: 3px; }
.page-mark { background: #224636; color: var(--accent); }
.hosting-card > p { font-size: 14px; }
.hosting-card ul { padding-left: 17px; margin: 20px 0 24px; font-size: 12px; color: #aebed0; line-height: 1.8; }
.hosting-card li + li { margin-top: 6px; }
.hosting-card li::marker { color: #7398b7; }
.hosting-card .text-link { margin-top: auto; font-size: 12px; }
.hosting-bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 25px; }
.hosting-bottom > p { max-width: 830px; font-size: 12px; }
.hosting-bottom > a { flex-shrink: 0; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.feature-grid article { position: relative; border-top: 1px solid var(--line); padding-top: 24px; }
.feature-grid article::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature-grid article:hover::before { transform: scaleX(1); }
.feature-symbol { color: var(--accent); font: 32px/1.1 "Segoe UI", sans-serif; display: block; margin-bottom: 22px; }
.feature-grid h3 { font-size: 19px; line-height: 1.35; }
.feature-grid p { font-size: 14px; margin-top: 14px; }
.feature-grid .fine-print { font-size: 12px; }
.feature-grid .text-link { font-size: 12px; margin-top: 16px; }

/* Scripting */
.scripting { border-top: 1px solid var(--line); }
.scripting-overview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.script-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.script-role { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid #344458; border-radius: 10px; background: var(--surface); }
.provider-role { border-color: #426b5d; background: linear-gradient(140deg, #152c27, #111e25); }
.role-label { color: var(--accent); font: 11px/1.6 Consolas, monospace; letter-spacing: .035em; }
.script-role h3 { margin-top: 18px; font-size: 21px; }
.script-role p { font-size: 14px; margin-block: 14px 22px; }
.script-role .text-link { margin-top: auto; font-size: 13px; }
.provider-scope { margin-top: 18px; max-width: 920px; }
.script-starter { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; margin-top: 40px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #101b27; }
.starter-copy { min-width: 0; }
.starter-copy .eyebrow { margin-bottom: 12px; }
.starter-copy h3 { font-size: 25px; max-width: 400px; }
.starter-copy p:not(.eyebrow) { font-size: 14px; margin-top: 15px; }
.starter-copy .text-link { margin-top: 20px; font-size: 13px; }
.starter-code { min-width: 0; border: 1px solid #31485b; border-radius: 9px; overflow: hidden; background: #0b141e; }
.code-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 12px 18px; border-bottom: 1px solid #253749; color: #c6d4e2; font: 11px/1.5 Consolas, monospace; }
.code-heading span:last-child { color: var(--accent); }
.starter-code pre { margin: 0; padding: 22px 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.9 Consolas, monospace; }
.starter-code code { font: inherit; }
.lua-comment { color: #93a8bd; }
.lua-keyword { color: #b8a6ff; }
.lua-string { color: #8dd7b8; }
.script-access { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 28px; }
.script-access > p { max-width: 690px; flex: 1 1 360px; font-size: 13px; }
.script-access .text-link { font-size: 13px; }
.check-list { display: grid; gap: 14px; margin: 28px 0 26px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #3c7466; border-radius: 6px; background: #19372e; color: var(--accent); font-size: 11px; line-height: 1; }
.scripting-preview { min-width: 0; overflow: hidden; border: 1px solid #3d5265; border-radius: 12px; background: #16222d; box-shadow: 0 28px 70px #0005; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.scripting-preview:hover { transform: translateY(-4px); box-shadow: 0 36px 80px #0007; }
.scripting-preview a { display: block; overflow: hidden; }
.scripting-preview img { width: 100%; transition: transform .8s var(--ease); }
.scripting-preview:hover img { transform: scale(1.015); }
.preview-chrome { height: 40px; display: flex; align-items: center; justify-content: space-between; padding-inline: 16px; gap: 10px; color: #a5b8c8; font-size: 9px; letter-spacing: .1em; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #546c7c; }
.chrome-tag { padding: 1px 6px; border: 1px solid #325b50; border-radius: 4px; color: var(--accent); font: 9px/1.5 Consolas, monospace; letter-spacing: .08em; }
figcaption { padding: 12px 16px; color: #b3c0cf; font-size: 11px; line-height: 1.6; }
.scripting-preview figcaption { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #314251; }
.scripting-preview figcaption > span:last-child { color: var(--accent); white-space: nowrap; }

/* Browser */
.browser-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.browser-preview { min-width: 0; border: 1px solid #3a4f63; border-radius: 10px; overflow: hidden; background: #14212d; }
.browser-preview img { width: 100%; }
.browser-preview figcaption { display: flex; justify-content: space-between; }
.screenshot-slide[hidden], .slideshow-controls[hidden], .slideshow-message[hidden] { display: none; }
.screenshot-slide:not([hidden]) { animation: fade-in .45s var(--ease); }
.screenshot-slide > a { display: block; aspect-ratio: 8 / 5; background: #1d272c; }
.screenshot-slide img { width: 100%; height: 100%; object-fit: contain; }
.screenshot-slide figcaption { height: 64px; align-items: center; gap: 12px; }
.screenshot-slide figcaption > span { flex-shrink: 0; }
.slideshow-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid #314251; background: #111e29; }
.slideshow-controls button { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 32px; padding: 0 8px; border: 1px solid #40586c; border-radius: 5px; color: #d7e8f6; background: #1b3041; cursor: pointer; font: 11px/1.4 "Segoe UI", Arial, sans-serif; transition: background .18s, border-color .18s; }
.slideshow-controls button:hover { background: #2a455b; border-color: #78a6c8; }
.slideshow-controls .slideshow-toggle { min-width: 51px; }
.slideshow-controls button:focus-visible { outline-offset: 2px; }
.slideshow-controls svg { width: 17px; height: 17px; }
.slideshow-dots, .slideshow-navigation { display: flex; align-items: center; gap: 5px; }
.slideshow-dots button { border-color: transparent; background: transparent; min-width: 25px; padding: 0; }
.slideshow-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7792a9; transition: width .25s var(--ease), background .25s; }
.slideshow-dots button[aria-pressed="true"]::before { width: 16px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 0 3px #79e0bf24; }
.slideshow-count { font-size: 10px; color: #b5c9d9; min-width: 32px; margin-right: 4px; white-space: nowrap; }
.slideshow-message { font-size: 12px; padding: 10px 14px; color: #f4c2a3; border-top: 1px solid #40536a; }
.browser-names { font-size: 14px; font-weight: 550; color: #d2e0ef; margin-block: 24px; }
.browser-names > span { margin-inline: 8px; color: #65839c; }
.browser-copy > .fine-print { margin-top: 20px; max-width: 420px; }

/* What's new */
.whats-new { border-top: 1px solid var(--line); }
.release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.release-card { position: relative; min-width: 0; overflow: hidden; padding: 28px 26px; border: 1px solid #2c3c4f; border-radius: 12px; background: var(--surface); transition: border-color .25s, background .25s, transform .25s var(--ease); }
.release-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--blue)); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.release-card:first-child { border-color: #426b5d; background: linear-gradient(130deg, #152c27, #111e25); }
.release-card:hover { border-color: #4a6680; transform: translateY(-3px); }
.release-card:hover::before { transform: scaleX(1); }
.release-version { display: inline-block; padding: 3px 8px; border: 1px solid #34534b; border-radius: 6px; color: var(--accent); font: 12px/1.6 Consolas, monospace; }
.release-card h3 { margin-block: 18px 14px; font-size: 19px; line-height: 1.3; }
.release-card ul { margin: 0; padding-left: 17px; color: #aebed0; font-size: 13px; line-height: 1.7; }
.release-card li + li { margin-top: 6px; }
.release-card li::marker { color: #7398b7; }

/* Downloads */
.download-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.release-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #bfd4cc; border: 1px solid #365349; background: #12291f; border-radius: 6px; padding: 9px 14px; white-space: nowrap; transition: border-color .18s; }
.release-pill:hover { border-color: var(--accent); }
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.download-option { background: #111c28; border: 1px solid #344558; border-radius: 12px; padding: 30px 34px; transition: border-color .25s, box-shadow .25s; }
.download-option:hover { border-color: #4d647c; box-shadow: 0 18px 50px #0004; }
.download-option.recommended { background: linear-gradient(130deg, #152c27, #111e25); border-color: #426b5d; }
.download-option.recommended:hover { border-color: #5a9480; }
.option-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.platform-icon { width: 29px; height: 29px; fill: currentColor; stroke: none; color: var(--accent); }
.folder-icon { stroke: var(--blue); stroke-width: 1.4; fill: none; }
.option-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #adbfcc; }
.download-option h3 { font-size: 26px; }
.download-option p { font-size: 14px; margin-block: 12px 24px; max-width: 360px; }
.download-option .button { width: 100%; }
.package-buttons { display: grid; gap: 10px; }
.platform-wordmark { color: #b7dacb; font-size: 22px; font-weight: 700; }
.package-guide { display: block; margin-top: 14px; text-align: center; font-size: 12px; }
.package-detail { display: block; font-size: 11px; color: #a5b8c8; margin-top: 12px; text-align: center; }
.download-note { display: flex; gap: 13px; margin-block: 22px 35px; padding-inline: 3px; color: var(--blue); }
.download-note p { font-size: 12px; }
.download-note a, .faq p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.additional-downloads { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 28px; }
.additional-downloads h3 { font-size: 17px; }
.additional-downloads p { font-size: 12px; margin-block: 10px 12px; max-width: 540px; }
.additional-downloads a { color: var(--blue); font-size: 12px; }
.additional-downloads a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Getting started and FAQ */
.getting-started { padding: 38px 42px; border: 1px solid #2c3c4f; border-radius: 12px; background: #111b27; }
.getting-started .eyebrow { margin-bottom: 12px; }
.getting-started h2 { font-size: 31px; }
.steps { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.steps li > span { color: #7f9db8; font: 12px/1.5 Consolas, monospace; }
.steps h3 { font-size: 18px; margin-block: 10px; }
.steps p { font-size: 13px; }
.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 23px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 15px; font-weight: 550; cursor: pointer; line-height: 1.6; transition: color .18s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary > span { color: #819ab2; font-size: 20px; line-height: 1.2; transition: transform .25s var(--ease); }
.faq details[open] summary > span { transform: rotate(45deg); }
.faq details > p { margin-bottom: 23px; font-size: 14px; max-width: 700px; }
.faq details[open] > p { animation: fade-down .35s var(--ease); }
.site-footer { border-top: 1px solid var(--line); padding-block: 34px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.site-footer .brand { font-size: 16px; }
.site-footer p { font-size: 11px; margin-top: 10px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #a9bdd0; }
.site-footer nav a:hover { color: var(--accent); }

/* Standalone pages */
.page-hero { padding-block: 76px 20px; }
.page-hero h1 { max-width: 900px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.04em; }
.page-hero .section-intro { max-width: 720px; }
.page-note { margin-block: 40px; font-size: 13px; line-height: 1.8; }

/* Motion. site.js adds .motion only when JavaScript runs and reduced motion is off. */
.reveal-group > .reveal:nth-child(2) { --reveal-delay: .08s; }
.reveal-group > .reveal:nth-child(3) { --reveal-delay: .16s; }
.reveal-group > .reveal:nth-child(4) { --reveal-delay: .24s; }
.motion .reveal:not(.is-visible) { opacity: 0; }
.motion .reveal.is-visible { animation: reveal .8s var(--ease) var(--reveal-delay, 0s) backwards; }
@keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-down { from { opacity: 0; translate: 0 -6px; } }
@keyframes panel-in { from { opacity: 0; translate: 0 8px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #79e0bf80; } 70%, 100% { box-shadow: 0 0 0 7px #79e0bf00; } }

@media (min-width: 901px) {
  html { scroll-padding-top: 96px; }
  .site-header { position: sticky; top: 0; background: #0b111ad6; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  .site-header.is-scrolled { background: #0b111aeb; border-color: #314256; box-shadow: 0 10px 30px #0006; }
}
@media (min-width: 1151px) { .feature-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1600px) { .hero { padding-block: 104px 90px; } }
@media (max-width: 1150px) {
  .shell { width: calc(100% - 56px); }
  .header-inner { gap: 20px; }
  .site-nav { gap: 17px; }
  .hero { gap: 32px; padding-block: 64px; }
  .hero h1 { font-size: 49px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 13px; font-size: 12px; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .theme-demo { gap: 28px; }
  .theme-panel { padding: 20px; }
  .grabber { gap: 45px; }
  .hosting-card { padding: 25px 22px; }
  .hosting-brand { gap: 10px; }
  .hosting-brand h3 { font-size: 19px; }
  .scripting-overview { gap: 45px; }
  .browser-section { gap: 45px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .video-sites { grid-template-columns: repeat(2, 1fr); }
  .video-streams { flex-direction: column; align-items: flex-start; gap: 20px; }
  .release-card { padding: 24px 22px; }
  .section-space { padding-block: 85px; }
  .themes-section { margin-top: 64px; }
}
@media (max-width: 900px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 12px 18px; padding-block: 18px 6px; min-height: 0; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 4px 22px; margin-left: 0; }
  .site-nav a { padding-block: 8px; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero::before { inset: 30% 0 0; }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: 62px; }
  .hero-actions .button { padding-inline: 21px; font-size: 14px; }
  .hero-description { max-width: 570px; }
  .theme-stack { width: 100%; max-width: 780px; }
  .theme-demo { grid-template-columns: 1fr; gap: 24px; }
  .theme-viewer { order: -1; }
  .theme-cards { grid-template-columns: repeat(4, 1fr); }
  .themes-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .grabber { grid-template-columns: 1fr; gap: 38px; }
  .grabber-copy { max-width: 640px; }
  .grabber-visual { width: 100%; max-width: 650px; margin-inline: auto; }
  .split-heading { align-items: flex-start; gap: 30px; }
  .video-intro, .themes-intro { max-width: 320px; }
  .hosting-intro { max-width: 320px; }
  .hosting-grid { grid-template-columns: 1fr; }
  .hosting-card + .hosting-card { border-left: none; border-top: 1px solid #344458; }
  .hosting-card { padding: 28px; }
  .hosting-brand h3 { font-size: 24px; }
  .hosting-card ul { columns: 2; column-gap: 32px; }
  .hosting-card li { break-inside: avoid; }
  .hosting-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .scripting-overview { grid-template-columns: 1fr; gap: 36px; }
  .script-roles { grid-template-columns: 1fr; }
  .script-starter { grid-template-columns: 1fr; gap: 26px; }
  .scripting-copy { max-width: 640px; }
  .scripting-preview { max-width: 700px; }
  .browser-section { grid-template-columns: 1fr; gap: 36px; }
  .browser-copy { grid-row: 1; }
  .browser-preview { max-width: 650px; }
  .browser-copy .fine-print { max-width: 620px; }
  .release-grid { grid-template-columns: 1fr; gap: 16px; }
  .download-option { padding: 26px; }
  .additional-downloads { gap: 32px; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { padding-block: 16px 4px; }
  .brand { font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
  .site-nav { gap: 0 18px; font-size: 12px; }
  .nav-download { padding: 6px 11px; font-size: 12px; }
  .hero { padding-block: 44px 40px; gap: 26px; }
  .release-badge { align-items: flex-start; border-radius: 14px; font-size: 11px; }
  .hero h1 { font-size: clamp(40px, 10vw, 56px); }
  .hero-description { font-size: 16px; margin-top: 20px; }
  .hero-video-sites { font-size: 11px; gap: 4px 6px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { width: 100%; font-size: 14px; }
  .hero-version { gap: 8px; font-size: 10px; }
  .stack-chip, .stack-toggle { height: 32px; font-size: 11px; }
  .stack-chip { gap: 6px; padding-right: 11px; }
  .stack-chip img { width: 24px; height: 24px; }
  .stack-toggle { min-width: 56px; padding-inline: 11px; }
  .stack-caption { font-size: 10px; }
  .highlights a { padding: 16px 30px 16px 16px; }
  .highlights a::after { top: 16px; right: 14px; }
  .highlights strong { font-size: 14px; }
  .highlights a > span:last-child { font-size: 11px; }
  .themes-section { margin-top: 48px; }
  .theme-panel { padding: 16px 14px; border-radius: 10px; }
  .theme-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .theme-viewer { border-radius: 10px; }
  .themes-intro { max-width: none; font-size: 15px; }
  .section-space { padding-block: 64px; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  h2 { font-size: 34px; }
  .section-intro { font-size: 16px; margin-top: 20px; }
  .workflow-description { gap: 14px; margin-top: 24px; }
  .workflow-description h3 { font-size: 17px; }
  .grabber-demo { padding: 18px 14px; border-radius: 10px; }
  .demo-url { font-size: 9px; gap: 6px; padding: 10px 8px; }
  .demo-summary { margin-block: 20px 10px; font-size: 11px; }
  .demo-summary > span { font-size: 9px; }
  .demo-file { gap: 8px; }
  .file-type { width: 30px; height: 34px; }
  .demo-file strong { font-size: 11px; }
  .demo-file div > span { font-size: 9px; }
  .file-size { font-size: 9px; }
  .demo-result { font-size: 10px; padding: 10px; }
  .visual-caption { font-size: 10px; }
  .site-tree > div { font-size: 11px; gap: 8px; }
  .tree-note { font-size: 9px; }
  .split-heading { flex-direction: column; gap: 24px; }
  .video-intro { max-width: none; font-size: 15px; }
  .video-sites { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .video-site { padding: 22px; }
  .video-mark { margin-bottom: 18px; }
  .video-streams { padding: 22px; }
  .stream-links { flex-wrap: wrap; width: 100%; }
  .stream-links a { flex: 1 1 125px; justify-content: space-between; }
  .hosting-intro { max-width: none; }
  .hosting-intro > p { font-size: 15px; }
  .availability-note { font-size: 12px; margin-block: 25px; }
  .hosting-card { padding: 25px 20px; }
  .hosting-card ul { columns: auto; }
  .hosting-card > p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .feature-symbol { float: left; width: 28px; margin: 0 16px 10px 0; font-size: 28px; }
  .feature-grid h3 { min-height: 34px; padding-top: 3px; font-size: 18px; }
  .feature-grid p { clear: both; }
  .check-list li { font-size: 13px; }
  .script-role { padding: 22px; }
  .script-starter { padding: 22px 18px; }
  .starter-code pre { font-size: 12px; padding: 18px 14px; }
  .preview-chrome { height: 32px; padding-inline: 10px; font-size: 7px; }
  .scripting-preview figcaption { font-size: 9px; padding: 9px 10px; gap: 5px; }
  .browser-names { font-size: 13px; }
  .slideshow-controls { gap: 6px; padding-inline: 8px; }
  .browser-names > span { margin-inline: 5px; }
  .release-card { padding: 22px 20px; }
  .release-card h3 { font-size: 18px; }
  .download-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .download-options { grid-template-columns: 1fr; gap: 18px; }
  .download-option { padding: 26px 22px; }
  .additional-downloads { grid-template-columns: 1fr; gap: 28px; }
  .getting-started { padding: 28px 22px; }
  .getting-started h2 { font-size: 28px; }
  .steps { grid-template-columns: 1fr; gap: 22px; margin-block: 25px; }
  .steps li { padding-left: 36px; position: relative; }
  .steps li > span { position: absolute; left: 0; top: 2px; }
  .steps h3 { margin-top: 0; }
  .getting-started > .text-link { font-size: 12px; }
  .faq summary { font-size: 14px; padding-block: 20px; }
  .faq details > p { font-size: 13px; }
  .site-footer nav { gap: 12px 18px; font-size: 11px; }
}
.browser-store-links img { flex: 0 0 auto; }
.browser-store-links { gap: 12px; margin-bottom: 20px; }
@media (max-width: 420px) {
  .highlights { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover, .video-site:hover, .release-card:hover, .scripting-preview:hover, .theme-card:hover, .stack-chip:hover, .stack-toggle:hover { transform: none; }
  .theme-card:hover img, .scripting-preview:hover img, .video-site:hover .video-mark, .hosting-card:hover .host-monogram { transform: none; }
}
@media print {
  .site-header { position: static; }
  .reveal { opacity: 1 !important; animation: none !important; }
  .stack-controls { display: none; }
}
@media (forced-colors: active) {
  .button, .demo-modes label, .release-pill, .stack-chip, .stack-toggle, .theme-card { border: 1px solid ButtonText; }
  #demo-files:checked ~ .demo-modes label[for="demo-files"], #demo-offline:checked ~ .demo-modes label[for="demo-offline"] { outline: 2px solid Highlight; }
  #theme-aurora:checked ~ .theme-panel label[for="theme-aurora"], #theme-neon:checked ~ .theme-panel label[for="theme-neon"], #theme-reactor:checked ~ .theme-panel label[for="theme-reactor"], .stack-chip[aria-pressed="true"] { outline: 2px solid Highlight; }
  .sample-check, .status-dot { forced-color-adjust: none; }
}
