@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: optional; src: url('/static/fonts/InterVariable.woff2') format('woff2'); }
/* A shared, quiet foundation for the existing Newelle pages. */
:root {
    color-scheme: light dark;
    --bg-primary: #fff;
    --bg-color: #fff;
    --bg-secondary: #f5f5f5;
    --card-bg: #fff;
    --text-primary: #000;
    --text-secondary: #666;
    --border-color: #e6e6e6;
    --site-ink: #000;
    --site-paper: #fff;
    --site-muted: #666;
    --site-line: #e6e6e6;
    --site-surface: #f5f5f5;
    --site-ease: cubic-bezier(.22, 1, .36, 1);
    --site-width: 1160px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #000;
        --bg-color: #000;
        --bg-secondary: #0c0c0c;
        --card-bg: #0c0c0c;
        --text-primary: #fff;
        --text-secondary: #999;
        --border-color: #242424;
        --site-ink: #fff;
        --site-paper: #000;
        --site-muted: #999;
        --site-line: #242424;
        --site-surface: #0c0c0c;
    }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.6; background: var(--site-paper); color: var(--site-ink); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
p, pre, code, .content, input, textarea { -webkit-user-select: text; user-select: text; }
button { cursor: pointer; }
a, button, input, select, textarea { outline-offset: 5px; }
:focus-visible { outline: 2px solid #3584e4; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 3000; padding: 12px 20px; background: var(--site-ink); color: var(--site-paper); border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-footer { border-top: 1px solid var(--site-line); background: var(--site-paper); margin-top: 48px; }
.site-footer-inner { grid-template-columns: 1.5fr 1fr 1fr; max-width: 1104px; margin: auto; }
.site-footer nav { display: flex; align-items: flex-start; }
.site-footer nav a { color: var(--site-muted); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.site-footer nav a:hover { color: var(--site-ink); }
.site-copyright { max-width: 1104px; color: var(--site-muted); }
/* Preserve the centered first screen, with stable proportions at every width. */
.page-index .hero-content { max-width: 900px; }
.page-index .hero-animation { width: 100%; opacity: 1; transform: none; }
.page-index .hero-logo-container { width: min(100%, 440px); height: 300px; aspect-ratio: auto; transition: height .75s var(--site-ease); }
.page-index .hero-svg-layer { overflow: visible; }
.page-index .hero-hover-trigger { border: 0; padding: 0; border-radius: 24px; color: inherit; cursor: pointer; }
.page-index .hero-copy { margin-top: 12px; opacity: 1; filter: none; transform: none; }
.page-index .hero-logo-container.is-active + .hero-copy,
.page-index .hero-logo-container.is-hovered + .hero-copy { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.page-index .hero h1 { line-height: 1.05; letter-spacing: -.055em; margin: 0 0 18px; }
.page-index .hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--site-ink); font-weight: 400; line-height: 1.4; text-wrap: balance; }
.page-index .hero-description { font-size: 15px; line-height: 1.7; max-width: 460px; margin: 0 auto 28px; padding: 0; text-wrap: pretty; }
.page-index .cta-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.page-index .cta-buttons .btn { font-weight: 550; transition: transform .4s var(--site-ease), background .25s ease, border-color .25s ease; box-shadow: none; }
.page-index .cta-buttons .btn-primary { background: var(--site-ink); color: var(--site-paper); border: 1px solid var(--site-ink); }
.page-index .cta-buttons .btn-secondary, .page-index .cta-buttons .btn-discord { background: transparent; color: var(--site-ink); border: 1px solid var(--site-line); }
.page-index .cta-buttons .btn:hover { transform: translateY(-2px); box-shadow: none; }
.page-index .hero-chat-wrapper { transform: translateY(10px); transform-origin: top center; transition: opacity .35s ease, transform .65s var(--site-ease); }
.page-index .hero-logo-container.is-active .hero-chat-wrapper { transform: none; transition: opacity .45s ease .15s, transform .65s var(--site-ease); }
.page-index .hero-msg { box-shadow: none; transform: translateY(8px); transition: transform .5s var(--site-ease), opacity .35s ease; }
.page-index .hero-msg.show { transform: none; }
.page-index .hero-svg-layer * { transform-box: fill-box; transform-origin: center; }
.page-index .hero-tool-wrapper { transform-box: view-box; transform-origin: 0 0; }
.page-index .hero-logo-core-blue, .page-index .hero-logo-core-green { transition: transform .9s var(--site-ease); }
.page-index .hero-logo-container.is-active .hero-logo-core-blue { transform: translate(-6px, -4px) rotate(-2deg); }
.page-index .hero-logo-container.is-active .hero-logo-core-green { transform: translate(6px, 4px) rotate(2deg); }
.page-index .hero-logo-container.is-active .hero-orbit-spin,
.page-index .hero-logo-container.is-active .hero-orbit-anti { animation: none; }
.page-index .hero-logo-container.is-active .hero-float-1,
.page-index .hero-logo-container.is-active .hero-float-2,
.page-index .hero-logo-container.is-active .hero-float-3,
.page-index .hero-logo-container.is-active .hero-float-4 { animation-duration: 6s; }
.page-index .section-title { margin-bottom: 14px; }
.page-index .section-subtitle { margin-bottom: 40px; }
.page-index .fade-in, .page-index .slide-in-left, .page-index .slide-in-right, .page-index .scale-in { transform: translateY(20px); transition: opacity .75s ease, transform .9s var(--site-ease); }
.page-index .visible { transform: none; }
.page-index .carousel-image { transition: opacity .6s ease, transform .8s var(--site-ease); }
.page-index .carousel-slide.prev .carousel-image, .page-index .carousel-slide.next .carousel-image { filter: none; opacity: .3; }
.page-index .carousel-track-container { overflow: hidden; }
.page-index .carousel-slide { padding: 0; }
.page-index .carousel-btn-prev { left: 0; }
.page-index .carousel-btn-next { right: 0; }
.page-index .install-copy-btn { min-width: 44px; min-height: 44px; }
.page-index .ext-card { box-shadow: none; }
/* The same type, palette and spacing on catalogue and documentation pages. */
.page-macos { display: block; height: auto; min-height: 100svh; width: 100%; overflow: auto; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; }
.page-macos .layout-container { min-height: calc(100svh - 68px); height: auto; margin: 68px auto 0; padding-top: 64px; padding-bottom: 64px; }
.page-macos .ambient-glow { display: none; }
.page-macos .site-footer { margin-top: 0; }
.page-macos_releases { background: var(--site-paper); }
.page-404 { display: block; height: auto; min-height: 100svh; }
.page-404 .error-container { padding-top: 130px; padding-bottom: 100px; margin: auto; }
@media (max-width: 900px) {
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
    .page-index .hero { padding: 84px 24px 52px; }
    .page-index .hero-logo-container { width: min(100%, 380px); height: 260px; }
}
@media (max-width: 480px) {
    .page-index .hero-logo-container { width: min(100%, 320px); height: 220px; }
    .page-index .hero-copy { margin-top: 8px; }
    .page-index .hero h1 { font-size: 3.4rem; margin-bottom: 14px; }
    .page-index .hero-description { font-size: 14px; max-width: 300px; margin-bottom: 24px; }
    .page-index .cta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 320px; margin: auto; }
    .page-index .cta-buttons .btn-primary { grid-column: 1 / -1; }
    .page-index .cta-buttons .btn { width: 100%; padding: 12px 10px; }
    .page-index .section { padding-inline: 20px; }
    .page-index .carousel-container { padding: 8px 0 56px; }
    .page-index .carousel-btn { top: auto; bottom: 0; transform: none; }
    .page-index .carousel-btn-prev { left: calc(50% - 50px); }
    .page-index .carousel-btn-next { right: calc(50% - 50px); }
    .site-footer { padding-inline: 20px; }
    .page-macos .layout-container { padding: 60px 24px; }
}
@media (hover: none), (pointer: coarse) {
    .page-index .carousel-track-container { touch-action: pan-y; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .fade-in, .slide-in-left, .slide-in-right, .scale-in, .reveal, .release-item, .hero h1, .hero-subtitle, .hero-description, .cta-buttons { opacity: 1 !important; transform: none !important; }
}
.hero-chat-track { max-height: 100%; overflow: hidden; }
/* The scene expands visually into the copy; the first-screen layout stays fixed. */
.page-index .hero-logo-container.is-active { height: 300px; }
.page-index .hero-copy { transition: opacity .45s ease, transform .65s var(--site-ease), filter .45s ease; }
.page-index .hero-logo-container.is-active + .hero-copy { opacity: 0; transform: translateY(8px); filter: blur(3px); pointer-events: none; }
@media (max-width: 900px) {
    .page-index .hero-logo-container.is-active { height: 260px; }
}
@media (max-width: 480px) {
    .page-index .hero-logo-container.is-active { height: 220px; }
}
.page-index .hero-logo-container.is-active #hero-wrap-term { transform: translate(62px, 168px); }
.page-index .hero-logo-container.is-active #hero-wrap-gear { transform: translate(82px, 90px); }
.page-index .hero-logo-container.is-active #hero-wrap-mic { transform: translate(172px, 38px); }
.page-index .hero-logo-container.is-active #hero-wrap-puz { transform: translate(268px, 38px); }
.page-index .hero-logo-container.is-active #hero-wrap-fold { transform: translate(358px, 90px); }
.page-index .hero-logo-container.is-active #hero-wrap-glob { transform: translate(378px, 168px); }
@keyframes hero-float { from { transform: translateY(0); } to { transform: translateY(-4px); } }
.page-404 { overflow: auto; padding: 0; text-align: left; }
.page-404 .error-content { margin: auto; padding: 150px 24px 100px; min-height: 70svh; text-align: center; }
.page-404 .error-code { color: var(--site-ink); }
.page-404 .btn { background: var(--site-ink); color: var(--site-paper); box-shadow: none; }

.page-index .hero h1, .page-index .hero-subtitle, .page-index .hero-description, .page-index .cta-buttons { opacity: 1; animation: none; transform: none; }
.page-macos_releases { display: block; }
.page-macos_releases .layout-container { margin: 68px auto 0; min-height: calc(100svh - 68px); }
.page-macos_releases .ambient-glow { display: none; }
/* Navigation stays out of the introduction; after scrolling it has its own surface. */
html { scroll-behavior: auto; }
.site-footer { padding: 28px; }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer nav { flex-direction: row; flex-wrap: wrap; gap: 20px; }
.site-copyright { flex-shrink: 0; margin: 0; font-size: 12px; }
.page-index .carousel-track { transform: none; transition: none; }
.page-index .carousel-slide { grid-area: 1 / 1; }
.page-index .carousel-slide.active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.page-index .carousel-image { transform: none; opacity: 1; box-shadow: none; }
.page-index .carousel-slide.active .carousel-image { transform: none; }
.page-index .hero-msg-container.show { max-height: 320px; }
.page-index .hero-chat-track { max-height: none; overflow: visible; }
.page-stats .hero h1 { text-shadow: none; }
@media (max-width: 900px) {
    .site-footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
    .site-footer nav { gap: 14px 20px; }
}
.restore-view .fade-in, .restore-view .slide-in-left, .restore-view .slide-in-right, .restore-view .scale-in, .restore-view .release-item { opacity: 1 !important; transform: none !important; transition: none !important; }
.page-stats .hero { background: var(--site-paper); color: var(--site-ink); }
.page-stats .hero h1, .page-stats .stat-number { color: var(--site-ink); }
.page-stats .hero-subtitle, .page-stats .stat-label { color: var(--site-muted); opacity: 1; }
.page-stats .stat-card { background: var(--site-surface); border: 1px solid var(--site-line); box-shadow: none; backdrop-filter: none; }
.page-index .section > .container { padding: 0; max-width: 1104px; }
.restore-view .animate-slide-fade { opacity: 1; animation: none; }
/* Stable navigation: visible from the first paint and in the document flow. */
.page-index .hero { min-height: calc(100svh - 58px); padding: 32px 24px 48px; }
.page-index .hero h1 { font-size: clamp(3.4rem, 6vw, 4.5rem); }
.page-index .hero-chat-track { flex: 0 0 auto; }
.page-index .hero-msg-container { flex-shrink: 0; }
.page-index .video-container { border: 0; border-radius: 0; box-shadow: none; }
.page-index .section { padding: 56px 24px; overflow-x: clip; }
.page-index .section + .section { border-top: 1px solid var(--site-line); }
.page-index .section-title { text-align: center; font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin: 0 auto 12px; }
.page-index .section-subtitle { text-align: center; color: var(--site-muted); font-size: 14px; line-height: 1.6; max-width: 480px; margin: 0 auto 28px; }
.page-index #features { padding-bottom: 44px; }
.hidden { display: none !important; }
.install-layout { max-width: 880px; margin: 24px auto 0; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; text-align: left; }
.install-methods { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--site-line); padding-right: 20px; }
.install-methods .tab-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; min-height: 64px; border: 0; border-radius: 9px; background: transparent; color: var(--site-muted); text-align: left; transition: background .25s ease, color .25s ease; }
.install-methods .tab-btn.active { background: var(--site-surface); color: var(--site-ink); }
.install-methods .tab-btn:hover { color: var(--site-ink); }
.install-method-name { font-size: 14px; font-weight: 600; }
.install-method-detail { font-size: 11px; color: var(--site-muted); }
.install-panels { min-width: 0; padding: 12px 0; }
.install-panels h3 { color: var(--site-ink); font-size: 23px; line-height: 1.3; letter-spacing: -.03em; font-weight: 600; margin-bottom: 12px; }
.install-panels p { color: var(--site-muted); font-size: 14px; line-height: 1.7; max-width: 440px; margin: 0 0 20px; }
.install-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 9px; background: var(--site-ink); color: var(--site-paper); font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity .2s ease; }
.install-action:hover { opacity: .8; }
.install-action.secondary { background: var(--site-surface); color: var(--site-ink); }
.install-command-label { color: var(--site-muted); font-size: 11px; margin: 28px 0 10px; }
.install-command { display: flex; align-items: center; border: 1px solid var(--site-line); border-radius: 9px; min-width: 0; background: var(--site-paper); }
.install-command pre { flex: 1; min-width: 0; overflow-x: auto; padding: 14px 16px; margin: 0; color: var(--site-ink); font-size: 12px; line-height: 1.5; }
.install-copy-btn { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; color: var(--site-muted); background: transparent; margin-right: 4px; }
.install-copy-btn:hover { background: var(--site-surface); color: var(--site-ink); }
.install-release-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.install-release-heading a { color: var(--site-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
#releaseVersionTag { color: var(--site-muted); font: 12px ui-monospace, monospace; }
.install-channel { border: 0; padding: 7px 10px; border-radius: 6px; background: var(--site-surface); color: var(--site-muted); font-size: 11px; }
.install-channel[aria-pressed="true"] { background: var(--site-ink); color: var(--site-paper); }
.install-release-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0 24px; }
.install-release-meta dt { color: var(--site-muted); font-size: 10px; margin-bottom: 4px; }
.install-release-meta dd { margin: 0; color: var(--site-ink); font-size: 12px; }
.install-checksum { border: 0; background: transparent; color: var(--site-ink); font: 12px ui-monospace, monospace; }
.install-checksum:disabled { color: var(--site-muted); cursor: default; }
.install-secondary-link { display: inline-flex; margin-left: 16px; color: var(--site-muted); font-size: 12px; text-decoration: none; }
.page-beta .main-content { margin-top: 0; padding-top: 48px; }
.page-macos .layout-container, .page-macos_releases .layout-container { margin-top: 0; }
@media (max-width: 640px) {
    .install-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
    .install-methods { display: grid; padding: 0; border: 0; gap: 6px; }
    .install-methods .tab-btn { min-height: 44px; align-items: center; justify-content: center; padding: 12px; }
    .install-method-detail { display: none; }
    .install-method-name { font-size: 13px; }
    .install-panels { padding: 8px 0 0; }
    .install-panels h3 { font-size: 22px; }
    .install-command pre { padding-inline: 12px; }
}
@media (max-width: 480px) {
    .page-index .hero { padding: 28px 20px 40px; }
    .page-index .section { padding: 40px 20px; }
}

body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.page-index .carousel-container { display: block; padding: 0; }
.page-index .carousel-track-container { margin: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: manipulation; border-radius: 8px; }
.page-index .carousel-track-container::-webkit-scrollbar { display: none; }
.page-index .carousel-track { display: flex; gap: 16px; width: 100%; }
.page-index .carousel-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; opacity: 1; visibility: visible; transform: none; transition: none; pointer-events: auto; }
.page-index .carousel-slide.active { transition: none; }
.page-index .carousel-image { aspect-ratio: auto; border-radius: 8px; }
.carousel-controls { margin: 12px auto 0; align-items: center; justify-content: space-between; }
.carousel-position { color: var(--site-muted); font: 11px ui-monospace, monospace; }
.carousel-actions { display: flex; gap: 6px; }
.page-index .carousel-btn { position: static; display: flex; align-items: center; justify-content: center; transform: none; width: 40px; height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--site-ink); box-shadow: none; }
.page-index .carousel-btn:hover { transform: none; background: var(--site-surface); }


.page-index .ext-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 25px; height: 25px; padding: 0 5px; margin-left: 8px; border: 0; border-radius: 50%; background: var(--site-ink); color: var(--site-paper); font-size: 10px; font-weight: 500; line-height: 1; vertical-align: middle; }
.page-index #extCountNum { color: var(--site-paper); font-weight: 500; font-variant-numeric: tabular-nums; }
.page-index .ext-count-badge > i { display: none; }
/* Clipping horizontal overflow must not turn the body into a sticky scroll ancestor. */
html, body { overflow-x: clip; overflow-y: visible; }
.page-macos, .page-404 { overflow-x: clip; overflow-y: visible; }
.page-index .ext-card { background: var(--site-paper); width: 240px; border-radius: 10px; }
.page-index .ext-card:hover { transform: none; border-color: var(--site-muted); box-shadow: none; }
.page-index .ext-card-body { padding: 18px; gap: 8px; }
.page-index .ext-card-name { font-size: 13px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.page-index .ext-card-author { font-size: 11px; }
.page-index .ext-card-stars i { color: var(--site-muted); }
/* Reserve media and asynchronous card dimensions before their assets arrive. */
html { scroll-padding-top: 82px; }
[id] { scroll-margin-top: 0; }
.page-index .carousel-track-container { aspect-ratio: 16 / 9; }
.page-index .carousel-track, .page-index .carousel-slide { height: 100%; }
.page-index .carousel-slide a, .page-index .carousel-slide picture { display: block; width: 100%; height: 100%; }
.page-index .carousel-image { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.page-index .ext-card-body { height: 132px; min-height: 132px; }
.page-index .ext-carousel-skeleton { min-height: 170px; }
.page-index .ext-skel-card { width: 240px; height: 134px; border-radius: 10px; }
/* The first view keeps useful links; secondary navigation fades in in place. */
.page-index .container { width: 100%; margin-inline: auto; }
.page-index .hero-logo-container, .page-index .hero-logo-container.is-active { transition: none; }
.page-index .hero-svg-layer { transform-origin: 50% 50%; transition: transform .85s var(--site-ease); }
.page-index .hero-chat-layer { left: 7%; width: 86%; }
.page-index .hero-hover-trigger { height: 330px; }
.page-index .hero-logo-container.is-active .hero-hover-trigger { height: 580px; }
.page-index .hero-logo-container.is-active .hero-gear-spin { transform-box: fill-box; transform-origin: center; animation: hero-spin 18s linear infinite; }
.page-index .hero-logo-container.is-active .hero-mic-levels path { transform-box: fill-box; transform-origin: center; }
@keyframes mic-level { from { transform: scaleY(.4); opacity: .5; } to { transform: scaleY(1); opacity: 1; } }
@keyframes puzzle-fit { 0%, 65%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-5px) rotate(-8deg); } 40% { transform: translateY(0) rotate(0); } }
@keyframes globe-turn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
/* A quiet, continuous feature ribbon. On touch screens it is freely scrollable. */
.features-marquee { overflow: hidden; max-width: 100%; margin: 34px auto 0; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.features-marquee-track { display: flex; width: max-content; animation: feature-ribbon 100s linear infinite; }
.features-pill-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.features-pill { display: flex; align-items: center; gap: 16px; width: 310px; min-height: 92px; }
.features-pill-icon { display: flex; align-items: center; justify-content: center; width: 32px; flex-shrink: 0; color: #3584e4; font-size: 20px; }
.features-pill:nth-child(3n+1) .features-pill-icon { color: #279D66; }
.features-pill:nth-child(3n) .features-pill-icon { color: #8b6fcb; }
.features-pill-content { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.features-pill-title { color: var(--site-ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.features-pill-subtitle { color: var(--site-muted); font-size: 12px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .features-marquee:hover .features-marquee-track { animation-play-state: paused; } }
@keyframes feature-ribbon { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
    .page-index .hero { min-height: calc(100svh - 56px); }
    .page-index .hero-hover-trigger { height: 275px; }
    .page-index .hero-logo-container.is-active .hero-hover-trigger { height: 530px; }
}
@media (max-width: 640px) { .install-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) {
    .page-index .hero-chat-layer { left: 2%; width: 96%; }
    .page-index .hero-hover-trigger { height: 235px; }
    .page-index .hero-logo-container.is-active .hero-hover-trigger { height: 490px; }
}
@media (prefers-reduced-motion: reduce) {
    .features-marquee { overflow-x: auto; scrollbar-width: none; mask-image: none; }
    .features-marquee::-webkit-scrollbar { display: none; }
    .features-marquee-track { animation: none; }
    .features-pill-group[aria-hidden="true"] { display: none; }
    .features-pill-group { gap: 24px; padding-right: 0; }
    .features-pill { width: 270px; }
}
/* Catalogues share the same restrained hierarchy as the home page. */
.page-index .ext-cta-area .btn { border: 0; box-shadow: none; font-size: 13px; }
.page-index .ext-cta-area .btn i { display: none; }
.page-index .ext-cta-area .btn:hover { transform: none; }
.page-index .ext-carousel { min-height: 170px; }
/* Navigation changes with the scroll position, without moving the whole bar. */
.site-header { --nav-progress: 1; position: sticky; top: 0; z-index: 1200; background: var(--site-paper); border: 0; box-shadow: none; }
.site-nav { position: relative; max-width: 1104px; height: 58px; margin: auto; padding-inline: 24px; display: flex; align-items: center; justify-content: center; }
.site-links { display: flex; align-items: center; }
.site-links a, .site-download { font-size: 13px; font-weight: 500; color: var(--site-ink); text-decoration: none; white-space: nowrap; transition: opacity .18s ease; }
.site-links a:hover, .site-download:hover { opacity: .6; }
.site-links > a[data-section="home"] { left: 24px; }
.site-links a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-actions { display: flex; align-items: center; gap: 16px; position: absolute; }
.site-download { padding-block: 12px; font-weight: 600; }
.site-progressive { opacity: var(--nav-progress); transform: translateY(calc((1 - var(--nav-progress)) * 5px)); filter: blur(calc((1 - var(--nav-progress)) * 3px)); }
.site-header-home:not(.past-intro) .site-progressive { visibility: hidden; }
.site-github { left: max(24px, calc((100vw - 1056px) / 2)); top: 7px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--site-ink); text-decoration: none; }
.site-header-home.intro-finished .site-github { visibility: hidden; }
.site-github i { font-size: 17px; }
.site-star-count { font-size: 11px; color: var(--site-muted); font-variant-numeric: tabular-nums; }
.site-search-toggle, .site-search-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--site-ink); }
.site-search-toggle:hover, .site-search-close:hover { color: var(--site-muted); }
.site-search { position: absolute; z-index: 2; left: 50%; top: 8px; transform: translateX(-50%); width: min(600px, calc(100% - 320px)); background: var(--site-paper); }
.site-search-inner.search-box { position: relative; display: flex; align-items: center; width: 100%; margin: 0; border-radius: 7px; padding: 0; }
.site-search-inner:focus-within { border-color: var(--site-ink); }
.site-search-inner .search-input { width: 100%; min-width: 0; height: 40px; margin: 0; padding: 9px 12px; font: inherit; font-size: 14px; color: var(--site-ink); background: transparent; border: 0; border-radius: 0; outline: 0; box-shadow: none; }
.site-search-inner .search-input:focus { outline: 0; box-shadow: none; border: 0; }
.search-open .site-links { visibility: hidden; }
.search-open .site-actions { visibility: hidden; }
.search-open .site-search { animation: search-field-in .22s cubic-bezier(.22, 1, .36, 1); }
.site-search-results { position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; max-height: min(450px, 65svh); overflow-y: auto; color: var(--site-muted); background: var(--site-paper); border-radius: 7px; font-size: 13px; }
.site-search-results:not(:empty) { padding: 8px; border: 1px solid var(--site-line); }
.site-search-result { display: block; min-height: 44px; padding: 12px; color: var(--site-ink); text-decoration: none; border-radius: 4px; font-size: 13px; }
.site-search-result:hover { background: var(--site-surface); }
@keyframes search-field-in { from { opacity: 0; clip-path: inset(0 8%); } to { opacity: 1; clip-path: inset(0 0); } }
@media (max-width: 900px) {
    .site-nav { height: 56px; padding-inline: 20px; }
    .site-actions { gap: 8px; }
    .site-github { left: 20px; top: 6px; }
    .site-download { display: none; }
    .site-links { inset: 56px 0 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-y: auto; }
    .site-links a { padding: 15px 0; }
    .site-links > a[data-section="home"] { position: static; }
    .site-links .site-progressive { filter: none; transform: none; opacity: 1; }
    .site-search { top: 7px; width: calc(100% - 40px); }
}

.site-search-inner .search-input::-webkit-search-cancel-button { display: none; }
.page-macos .reveal { opacity: 1; transform: none; animation: none; }
.page-macos .tilt-container { transition: transform .65s cubic-bezier(.22, 1, .36, 1); }
.page-index .hero-description { display: block; }
.page-index .toast { pointer-events: none; background: var(--site-ink); color: var(--site-paper); font-size: 12px; }
/* Links share one centered group. New entries make room smoothly. */
.site-header-home { --nav-progress: 0; }
.site-links { gap: 0; }
.site-links > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 15px; }
.site-links > a[data-section="home"] { position: static; }
.site-links > .site-progressive { padding-inline: 0; min-width: 0; overflow: hidden; white-space: nowrap; flex-shrink: 0; filter: none; transform: none; opacity: var(--nav-progress); }
.site-links > a[data-section="home"] { width: calc(var(--nav-progress) * var(--home-width, 70px)); }
.site-links > .site-download { width: calc(var(--nav-progress) * var(--download-width, 110px)); font-size: 13px; font-weight: 500; }
.site-github { position: static; opacity: calc(1 - var(--nav-progress)); }
.site-actions { right: 24px; }
.page-index .hero-logo-container, .page-index .hero-logo-container.is-active { width: min(100%, 580px); height: 390px; }
.page-index .hero-svg-layer { height: 390px; }
.page-index .hero-tool-wrapper { transition: transform .85s cubic-bezier(.17, 1.22, .28, 1), opacity .3s ease; }
.page-index .hero-tool-wrapper path, .page-index .hero-tool-wrapper circle, .page-index .hero-tool-wrapper ellipse, .page-index .hero-tool-wrapper rect { stroke-width: 2.4px; vector-effect: non-scaling-stroke; }
.page-index .hero-logo-container.is-active #hero-wrap-term { transition-delay: 0s; }
.page-index .hero-logo-container.is-active #hero-wrap-gear { transition-delay: 0.09s; }
.page-index .hero-logo-container.is-active #hero-wrap-mic { transition-delay: 0.18s; }
.page-index .hero-logo-container.is-active #hero-wrap-puz { transition-delay: 0.27s; }
.page-index .hero-logo-container.is-active #hero-wrap-fold { transition-delay: 0.36s; }
.page-index .hero-logo-container.is-active #hero-wrap-glob { transition-delay: 0.45s; }
.page-index .hero-logo-container.is-active .hero-mic-levels path { animation: mic-wave 2.4s ease-in-out infinite; }
.hero-mic-levels path:nth-child(2) { animation-delay: -.3s !important; }
.hero-mic-levels path:nth-child(3) { animation-delay: -.6s !important; }
.page-index .hero-logo-container.is-active .hero-puzzle-fit { animation: puzzle-drift 7s ease-in-out infinite; }
.page-index .hero-logo-container.is-active .hero-meridian { animation: globe-breathe 8s ease-in-out infinite; }
@keyframes mic-wave { 0%, 100% { transform: scaleY(.7); opacity: .7; } 50% { transform: scaleY(1.45); opacity: 1; } }
@keyframes puzzle-drift { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(4deg); } }
@keyframes globe-breathe { 0%, 100% { transform: scaleX(.8); } 50% { transform: scaleX(1.2); } }
.page-index .cta-buttons { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; width: min(100%, 324px); max-width: 324px; gap: 8px; margin: 24px auto 0; }
.page-index .cta-buttons .btn { width: 100%; height: 44px; min-height: 44px; padding: 10px 12px; font-size: 12px; border-radius: 9px; gap: 8px; }
.page-index .cta-buttons .btn-primary { grid-column: auto; }
.page-index .cta-buttons .btn-secondary, .page-index .cta-buttons .btn-discord { padding: 0; }
.page-index .cta-buttons .btn-secondary i, .page-index .cta-buttons .btn-discord i { font-size: 16px; }
.page-index .hero-subtitle { margin-bottom: 0; }
@media (max-width: 900px) {
    .site-links > a[data-section="home"], .site-links > .site-download { width: auto; min-height: 44px; opacity: 1; }
    .site-links > .site-download { display: flex; }
    .site-header-home .site-github { margin-right: 8px; }
    .site-actions { right: 20px; }
    .page-index .hero-logo-container, .page-index .hero-logo-container.is-active { width: min(100%, 460px); height: 310px; }
    .page-index .hero-svg-layer { height: 310px; }
}
@media (max-width: 480px) {
    .page-index .hero-logo-container, .page-index .hero-logo-container.is-active { width: min(100%, 360px); height: 260px; }
    .page-index .hero-svg-layer { height: 260px; }
}
.page-index .cta-buttons:not(:has(.btn-discord)) { grid-template-columns: minmax(0, 1fr) 44px; width: min(100%, 272px); }
.page-index .cta-buttons .btn { justify-content: center; }
.page-index .hero-logo-container.is-active .hero-svg-layer { transform: translateY(60px) scale(1.1); }
.page-index .hero-chat-layer { top: 435px; }
.page-index .hero-hover-trigger, .page-index .hero-logo-container.is-active .hero-hover-trigger { height: 445px; }
@media (max-width: 900px) {
    .page-index .hero-logo-container.is-active .hero-svg-layer { transform: translateY(40px) scale(1.08); }
    .page-index .hero-chat-layer { top: 335px; }
    .page-index .hero-hover-trigger, .page-index .hero-logo-container.is-active .hero-hover-trigger { height: 355px; }
}
@media (max-width: 480px) {
    .page-index .hero-logo-container.is-active .hero-svg-layer { transform: translateY(30px) scale(1.04); }
    .page-index .hero-chat-layer { top: 275px; }
    .page-index .hero-hover-trigger, .page-index .hero-logo-container.is-active .hero-hover-trigger { height: 285px; }
}
.site-discord { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 44px; color: var(--site-ink); text-decoration: none; font-size: 16px; opacity: calc(1 - var(--nav-progress)); }
.site-header-home.intro-finished .site-discord { visibility: hidden; }
.page-index .cta-buttons, .page-index .cta-buttons:not(:has(.btn-discord)) { display: flex; width: fit-content; max-width: 100%; }
.page-index .cta-buttons .btn-primary { width: auto; min-width: 200px; padding-inline: 22px; }
.navigation-pending, .navigation-pending a { cursor: progress; }
/* Direct, compact navigation replaces the mobile dropdown. */
@media (max-width: 900px) {
    .site-nav { justify-content: center; }
    .site-links { position: static; display: flex; padding: 0; gap: 0; background: transparent; visibility: visible; opacity: 1; max-height: none; overflow: visible; transition: none; }
    .site-links > a { font-size: 12px; min-height: 44px; padding: 0 8px; justify-content: center; }
    .site-links > .site-progressive { opacity: var(--nav-progress); padding: 0; }
    .site-links > a[data-section="home"] { width: calc(var(--nav-progress) * var(--home-width, 52px)); }
    .site-links > .site-download { width: calc(var(--nav-progress) * var(--download-width, 85px)); font-size: 12px; }
    .search-open .site-links { visibility: hidden; }
}
.site-star-count { min-width: 24px; }
.site-star-count:empty { display: inline-flex; }
.site-search-inner.search-box { border: 0; background: var(--site-surface); }
.site-search-inner .search-input, .site-search-inner .search-input:focus, .site-search-inner .search-input:focus-visible { outline: none; box-shadow: none; }
.page-index .hero-msg { font-size: 16px; padding: 10px 14px; line-height: 1.45; }
.page-index .hero-msg.terminal { font-size: 12px; }
.page-index .hero-chat-layer { height: 260px; }
.page-index #screenshots { padding-block: 36px; }
.page-index .carousel-track-container { max-width: 720px; width: min(100%, 720px, calc(42svh * 16 / 9)); }
.page-index .carousel-container { position: relative; }
.carousel-transition-overlay { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: center; }
.carousel-transition-overlay .carousel-image { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.carousel-controls { max-width: 420px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; margin-top: 16px; }
.carousel-thumbnails { display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.carousel-thumbnails::-webkit-scrollbar { display: none; }
.carousel-thumbnail { flex: 0 0 48px; width: 48px; height: 44px; padding: 5px 0; display: flex; align-items: center; border: 0; border-radius: 3px; background: transparent; opacity: .4; transition: opacity .2s ease; }
.carousel-thumbnail img { width: 100%; height: 28px; object-fit: cover; border-radius: 3px; }
.carousel-thumbnail:hover, .carousel-thumbnail[aria-pressed="true"] { opacity: 1; }
.carousel-thumbnail[aria-pressed="true"] img { outline: 1px solid var(--site-ink); outline-offset: 2px; }
.install-panels { position: relative; }
.install-panel-out { position: absolute; top: 12px; left: 0; right: 0; background: var(--site-paper); pointer-events: none; }
.page-index .ext-cta-area .btn { background: var(--site-ink); color: var(--site-paper); min-height: 44px; padding: 12px 20px; border-radius: 9px; text-decoration: none; font-weight: 500; }
.page-index .ext-cta-area .btn:hover { text-decoration: none; opacity: .85; }
@media (max-width: 900px) {
    .page-index .hero-msg { font-size: 14px; }
}
@media (max-width: 480px) {
    .carousel-controls { gap: 8px; }
    .carousel-thumbnails { justify-content: flex-start; gap: 6px; padding-inline: 3px; }
    .carousel-thumbnail { flex-basis: 42px; width: 42px; }
    .page-index .hero-msg { font-size: 13px; padding: 9px 12px; }
    .page-index .hero-msg.terminal { font-size: 10px; }
    .install-panel-out { top: 8px; }
}
#page-content:focus { outline: none; }
.carousel-thumbnails { padding-inline: 3px; }
.carousel-transition-overlay > a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.site-header, .cta-buttons, .install-methods, .carousel-controls, .install-copy-btn { -webkit-user-select: none; user-select: none; }
.page-index .hero-hover-trigger:focus-visible { outline: none; }
.page-index .hero-hover-trigger::after { content: ''; position: absolute; left: calc(50% - 12px); bottom: 8px; width: 24px; height: 2px; border-radius: 2px; background: var(--site-muted); opacity: 0; }
.page-index .hero-hover-trigger:focus-visible::after { opacity: .7; }

.page-index .ext-card { position: relative; isolation: isolate; overflow: hidden; }
.page-index .ext-card .extension-poster { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; mask-image: linear-gradient(#000, transparent); pointer-events: none; }

.page-index .carousel-wrapper { margin: 24px auto 0; }
.page-index #screenshots .section-title { font-size: clamp(26px, 3vw, 32px); }
.page-index #installation { padding-block: 36px; }
.page-index .video-container { transform: none; opacity: 1; }
.video-poster { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .55s ease; }
.video-ready .video-poster { opacity: 0; }
.install-panels .tab-content { transform: none; animation: none; }

html:has(#installation:target) .site-header-home { --nav-progress: 1; }
html:has(#installation:target) .site-header-home .site-progressive { visibility: visible; }

.carousel-position:not(.sr-only) { grid-column: 2; text-align: center; font-size: 10px; margin-top: -4px; }

@media (max-width: 600px) {
    .page-stats .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .page-stats .stat-card { padding: 18px 12px; }
    .page-stats .stat-number { font-size: 24px; }
    .page-stats .stat-label { font-size: 11px; }
}

/* Inactive installation panels do not reserve space. */
.install-panels .tab-content { min-width: 0; }
.install-panels .tab-content.hidden { display: none !important; }

.page-index .hero { position: relative; }
.hero-scroll-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 8px; gap: 2px; border: 0; background: transparent; color: var(--site-muted); text-decoration: none; font-size: 11px; font-weight: 400; line-height: 1.4; white-space: nowrap; box-shadow: none; animation: hint-appear .4s ease both; }
.hero-scroll-hint:hover { color: var(--site-ink); }
.hero-scroll-hint svg { flex-shrink: 0; animation: hint-drift 2.6s ease-in-out 3; }
@keyframes hint-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes hint-drift { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }

.page-index .hero:has(.hero-logo-container.is-active) .hero-scroll-hint { visibility: hidden; pointer-events: none; }

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    .features-pill-group { gap: 24px; padding-right: 24px; }
    .features-pill { width: 270px; }
}

.hero-folder-motion { transform-box: fill-box; transform-origin: center; }
.page-index .hero-logo-container.is-active .hero-folder-motion { animation: folder-sway 7s ease-in-out infinite; }
@keyframes folder-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }


.screenshot-viewer .viewer-close:hover { background: transparent; opacity: .7; }

@media (max-width: 640px) { .install-methods .tab-btn { padding-inline: 6px; } }

.page-index .carousel-wrapper { overflow-anchor: none; }

.site-links { transform: translateX(var(--menu-offset, 0px)); }
.site-header.nav-tight .site-download { width: 0 !important; visibility: hidden; pointer-events: none; }
.site-search-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
    .page-index .ext-carousel { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
    .page-index .ext-carousel-track { animation: none; }
    .page-index .ext-card[data-clone] { display: none; }
}

.site-links > a > span { flex-shrink: 0; }

/* Keep the original introductory header until the home page is scrolled. */
.site-header-home.at-home-start { --nav-progress: 0 !important; }
.site-header-home.at-home-start .site-progressive { width: 0 !important; padding-inline: 0 !important; opacity: 0; visibility: hidden; pointer-events: none; }
.site-header-home.at-home-start .site-github,
.site-header-home.at-home-start .site-discord { opacity: 1; visibility: visible; }
