/* Copyright © TuxBlox Project 2026 */

:root {
    --bg:            #0a0c11;
    --bg-alt:        #0e1117;
    --bg-soft:       #13171f;
    --bg-elv:        #1a1f29;
    --divider:       #232833;
    --divider-soft:  #1b2029;

    --brand:         #38bdf8;
    --brand-2:       #0ea5e9;
    --brand-3:       #0284c7;
    --brand-soft:    rgba(56, 189, 248, 0.12);
    --accent:        #f59e0b;
    --accent-soft:   rgba(245, 158, 11, 0.12);

    --text-1:        #e9ecf1;
    --text-2:        #98a1b0;

    --text-3:        #79828f;

    --btn-brand-bg:    #0273ae;
    --btn-brand-hover: #01608f;
    --btn-alt-bg:      #1a1f29;
    --btn-alt-hover:   #232833;

    --hero-glow:      linear-gradient(-45deg, #38bdf8 45%, #6366f1 55%);
    --hero-glow-blur: blur(72px);

    --hero-glow-op:   .42;

    --shadow-frame: 0 24px 64px rgba(0, 0, 0, 0.65);

    --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;

    --transition-fast:   0.15s ease;
    --transition-snappy: 0.1s ease;
    --transition-theme:  0.2s ease;
    --t-fast: var(--transition-fast);
    --t-mid:  0.25s ease;

    --radius-sm:    6px;
    --radius-md:    8px;
    --radius-lg:    14px;
    --radius-btn:   4px;
    --radius-card:  6px;
    --radius-frame: 10px;

    --nav-h:    60px;
    --header-h: 60px;

    /* ---- legacy aliases ---- */
    --bg-color:       var(--bg);
    --card-bg:        var(--bg-soft);
    --card-bg-raised: var(--bg-elv);
    --code-bg:        var(--bg-alt);
    --text-color:     var(--text-1);
    --text-muted:     var(--text-2);
    --text-muted-dim: var(--text-3);
    --logo-blue:      var(--brand);
    --logo-blue-dim:  var(--brand-soft);
    --logo-orange:    var(--accent);
    --border-color:   var(--divider);
    --font-stack:     var(--font-sans);

    --surface-hover:        rgba(255, 255, 255, 0.07);
    --surface-hover-strong: rgba(255, 255, 255, 0.12);
    --surface-hover-soft:   rgba(255, 255, 255, 0.03);
    --surface-border-soft:  rgba(255, 255, 255, 0.08);

    --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md:     0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-header: 0 1px 0 var(--divider);

    color-scheme: dark;
}

[data-theme="light"] {
    --bg:            #f5f6f8;
    --bg-alt:        #ffffff;
    --bg-soft:       #ffffff;
    --bg-elv:        #ffffff;
    --divider:       #e1e4e9;
    --divider-soft:  #edeff2;

    --brand:         #0270a8;
    --brand-2:       #01608f;
    --brand-3:       #075985;
    --brand-soft:    rgba(2, 112, 168, 0.09);
    --accent:        #b45309;
    --accent-soft:   rgba(180, 83, 9, 0.10);

    --text-1:        #15181d;
    --text-2:        #4d5563;
    --text-3:        #69717e;

    --btn-brand-bg:    #0273ae;
    --btn-brand-hover: #01608f;
    --btn-alt-bg:      #ffffff;
    --btn-alt-hover:   #eef0f3;

    --hero-glow:      linear-gradient(-45deg, #7dd3fc 45%, #a5b4fc 55%);
    --hero-glow-blur: blur(76px);
    --hero-glow-op:   .5;

    --shadow-frame: 0 24px 64px rgba(20, 24, 32, 0.13);

    --surface-hover:        rgba(15, 23, 42, 0.05);
    --surface-hover-strong: rgba(15, 23, 42, 0.09);
    --surface-hover-soft:   rgba(15, 23, 42, 0.03);
    --surface-border-soft:  rgba(15, 23, 42, 0.09);

    --shadow-sm:     0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md:     0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-header: 0 1px 0 var(--divider);

    color-scheme: light;
}

html.theme-init body,
html.theme-init .navbar-floating,
html.theme-init .nav-panel {
    transition: none !important;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    letter-spacing: -0.011em;
    padding-top: var(--header-h);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition-theme), color var(--transition-theme);
}

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-display); }

::selection { background: var(--brand-soft); color: var(--text-1); }

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 32px;
}

.wrap {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 88px 0; }
.section + .section { padding-top: 0; }

.section-head { margin-bottom: 40px; max-width: 60ch; }
.section-head h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.section-head p {
    margin-top: 12px;
    color: var(--text-2);
    font-size: 17px;
    line-height: 1.7;
}

header.navbar-floating {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    background: var(--bg-alt);
    background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: var(--shadow-header);
    transition: background-color var(--transition-theme), box-shadow var(--transition-theme);
}

.nav-left {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

.nav-brand,
.logo-section a {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text-1);
}
.brand-logo-img { width: 25px; height: 25px; object-fit: contain; display: block; }
.brand-banner-img { display: block; height: 26px; width: auto; max-width: 200px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-1); }

.nav-search {
    position: relative;
    flex: 0 1 340px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 8px 0 11px;
    border: 1px solid var(--divider);
    border-radius: var(--radius-btn);
    background: var(--bg);
    color: var(--text-3);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-search:hover { border-color: var(--text-3); }
.nav-search:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.nav-search-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: var(--text-3);
    pointer-events: none;
}
.nav-search-icon svg { width: 15px; height: 15px; display: block; }

.nav-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    padding: 0;
    color: var(--text-1);
    font: 500 13px var(--font-sans);
}
.nav-search-input::placeholder { color: var(--text-3); }

.nav-search .kbd {
    flex: 0 0 auto;
    font: 500 11px var(--font-mono);
    padding: 1px 5px;
    border: 1px solid var(--divider);
    border-radius: 3px;
    color: var(--text-3);
}

.nav-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    min-width: 320px;
    background: var(--bg-elv);
    border: 1px solid var(--divider);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    max-height: 360px;
    overflow-y: auto;
    z-index: 1001;
    padding: 6px;
}
.nav-search-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    color: var(--text-1);
    transition: background-color var(--transition-fast);
}
.nav-search-result:hover,
.nav-search-result:focus-visible { background-color: var(--bg-soft); }
.nav-search-result-title { font-size: 13.5px; font-weight: 600; color: var(--text-1); }
.nav-search-result-snippet {
    font-size: 12.5px;
    color: var(--text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-search-empty {
    padding: 14px 10px;
    font-size: 13px;
    color: var(--text-2);
    text-align: center;
}

.navbar-links {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.navbar-links .nav-btn {
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2) !important;
    text-decoration: none;
    border-radius: var(--radius-btn);
    white-space: nowrap;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}
.navbar-links .nav-btn:hover,
.navbar-links .nav-btn:focus-visible {
    color: var(--text-1) !important;
    background-color: var(--bg-soft);
}
.navbar-links .nav-btn.active { color: var(--text-1) !important; font-weight: 600; }

.nav-sep {
    width: 1px;
    height: 20px;
    background: var(--divider);
    margin: 0 8px;
    flex: 0 0 auto;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border: 0;
    border-radius: var(--radius-btn);
    background: transparent;
    color: var(--text-2) !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}
.nav-icon-btn:hover,
.nav-icon-btn:focus-visible {
    color: var(--text-1) !important;
    background-color: var(--bg-soft);
}

.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg { display: block; width: 18px; height: 18px; }
.icon-svg { display: inline-block; vertical-align: middle; }

.nav-icon-btn svg { display: block; }
.nav-icon-btn .icon-sun  { display: none; }
.nav-icon-btn .icon-moon { display: inline-flex; }
[data-theme="dark"] .nav-icon-btn .icon-sun  { display: inline-flex; }
[data-theme="dark"] .nav-icon-btn .icon-moon { display: none; }

.nav-toggle { display: none; }

.nav-panel {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    z-index: 999;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--divider);
    padding: 8px 20px 16px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
    transition: background-color var(--transition-theme);
}
.nav-panel.open { display: flex; }
.nav-panel .nav-btn {
    padding: 12px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--text-1);
    text-decoration: none;
    border-radius: var(--radius-btn);
}
.nav-panel .nav-btn:hover { background-color: var(--bg-soft); }
.nav-panel .nav-search { flex: 0 0 auto; height: 38px; margin-top: 8px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-btn);
    font: 600 14px var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--t-mid), border-color var(--t-mid), color var(--t-mid);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn-brand,
.btn-primary { background-color: var(--btn-brand-bg); color: #fff; }
.btn-brand:hover, .btn-brand:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible { background-color: var(--btn-brand-hover); color: #fff; }

.btn-alt,
.btn-secondary {
    background-color: var(--btn-alt-bg);
    color: var(--text-1);
    border-color: var(--divider);
}
.btn-alt:hover, .btn-alt:focus-visible,
.btn-secondary:hover, .btn-secondary:focus-visible { background-color: var(--btn-alt-hover); }

.cta-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

.hero { padding: 72px 0 24px; max-width: 100%; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: center;
    gap: 48px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0;
    color: var(--text-1);
}

.hero-grid h1 {
    font-size: 56px;
    line-height: 1.12;
    letter-spacing: -0.045em;
    max-width: 16ch;
}
.hero h1 .blue-text,
.hero h1 span.blue-text   { color: var(--brand); }
.hero h1 .orange-text,
.hero h1 span.orange-text { color: var(--accent); }

.hero-subtitle,
.hero .tagline {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 48ch;
    font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 380px; height: 380px;
}
.hero-art::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 290px; height: 290px;
    border-radius: 50%;
    background-image: var(--hero-glow);
    filter: var(--hero-glow-blur);
    opacity: var(--hero-glow-op);
    transform: translate(-50%, -50%);
}
.hero-art img { position: relative; width: 250px; height: auto; display: block; }

.install {
    margin-top: 28px;
    max-width: 470px;
    border: 1px solid var(--divider);
    border-radius: var(--radius-card);
    background: var(--bg-alt);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.install code {
    flex: 1 1 auto;
    padding: 12px 14px;
    font: 400 13px/1.5 var(--font-mono);
    color: var(--text-1);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.install code::-webkit-scrollbar { display: none; }
.install code .prompt { color: var(--accent); user-select: none; margin-right: 8px; }
.install-note { margin-top: 10px; font-size: 13.5px; color: var(--text-3); }
.install-note a { color: var(--text-2); }

.code-box-container {
    max-width: 500px;
    border-radius: var(--radius-card);
    border: 1px solid var(--divider);
    background-color: var(--bg-alt);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.code-box-header {
    background-color: var(--bg-soft);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--divider);
}
.code-box-header .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: var(--divider);
    margin-right: 5px;
}
.code-title { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); margin-left: auto; }
.code-box {
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--brand);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.copy-btn {
    flex: 0 0 auto;
    border: 0;
    border-left: 1px solid var(--divider);
    background: transparent;
    color: var(--text-3);
    font: 500 12px var(--font-sans);
    padding: 0 14px;
    cursor: pointer;
    border-radius: 0;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}
.copy-btn:hover, .copy-btn:focus-visible { color: var(--text-1); background-color: var(--bg-soft); }
.copy-btn.copied { color: var(--brand); }


.showcase { padding-top: 32px; }
.showcase-stage { position: relative; max-width: 880px; margin: 0 auto; }

.frame {
    position: relative;
    border: 1px solid var(--divider);
    border-radius: var(--radius-frame);
    background: var(--bg-alt);
    overflow: hidden;
    box-shadow: var(--shadow-frame);
}
.slides { position: relative; aspect-ratio: 2690 / 1528; background: var(--bg-alt); }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--divider);
    border-radius: 50%;
    background: var(--bg-alt);
    background: color-mix(in srgb, var(--bg-alt) 78%, transparent);
    backdrop-filter: blur(8px);
    color: var(--text-1);
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--t-mid), background-color var(--transition-fast);
}
.slide-nav svg { width: 16px; height: 16px; }
.slide-nav.prev { left: 14px; }
.slide-nav.next { right: 14px; }
.showcase-stage:hover .slide-nav,
.slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: var(--bg-elv); }

@media (hover: none) { .slide-nav { opacity: 1; } }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot-btn {
    width: 32px; height: 4px;
    border: 0;
    border-radius: 2px;
    background: var(--divider);
    cursor: pointer;
    padding: 0;
    transition: background-color var(--t-mid);
}
.dot-btn:hover { background: var(--text-3); }
.dot-btn[aria-current="true"] { background: var(--brand); }

.caption { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--text-3); }

.distros { padding: 64px 0; }
.distros-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
    margin-bottom: 28px;
}

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 48s linear infinite; }

.marquee-half { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee img {
    height: 34px;
    width: auto;
    display: block;
    opacity: .78;
    transition: opacity var(--t-mid), transform var(--t-mid);
}
.marquee img:hover { opacity: 1; transform: scale(1.08); }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
    background-color: var(--bg-soft);
    border: 1px solid var(--divider);
    border-radius: var(--radius-card);
    padding: 26px;
    transition: border-color var(--t-mid);
}
.card:hover { border-color: var(--brand); }
.card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text-1);
}
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

.how-body { max-width: 78ch; }
.how-body p { color: var(--text-2); font-size: 16.5px; line-height: 1.8; }
.how-body p + p { margin-top: 18px; }
.how-body strong { color: var(--text-1); font-weight: 600; }

.how-points { margin-top: 28px; border-top: 1px solid var(--divider); }
.how-points { max-width: 78ch; }
.how-points .row {
    padding: 16px 0;
    border-bottom: 1px solid var(--divider);
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: baseline;
}
.how-points .k { font-size: 14.5px; font-weight: 600; color: var(--text-1); }
.how-points .v { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

.faq { border-top: 1px solid var(--divider); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 16.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color var(--transition-fast);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--brand); }
.faq summary .chev {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--text-3);
    transition: transform var(--t-mid);
}
.faq summary .chev svg { width: 16px; height: 16px; display: block; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer {
    padding: 0 34px 22px 0;
    color: var(--text-2);
    font-size: 15.5px;
    line-height: 1.75;
    max-width: 74ch;
}
.faq .answer a { color: var(--brand); }
.faq .answer p + p { margin-top: 12px; }
.faq .answer code {
    font-family: var(--font-mono);
    font-size: 13.5px;
    background: var(--bg-soft);
    border: 1px solid var(--divider);
    border-radius: 3px;
    padding: 1px 5px;
}

.spec-list { list-style: none; margin-top: 14px; border-top: 1px solid var(--divider); }
.spec-list li {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 14.5px;
}
.spec-list .n { color: var(--text-1); font-weight: 500; }
.spec-list .d { color: var(--text-2); }

.how-it-works { margin: 40px 0; }

.alert-box {
    padding: 20px 24px;
    border-radius: var(--radius-card);
    margin: 16px 0 28px 0;
    font-size: 14.5px;
    line-height: 1.7;
}
.warning-alert {
    background-color: var(--accent-soft);
    border: 1px solid var(--accent);
}
.warning-alert .alert-title {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}
.warning-alert a { color: var(--brand); text-decoration: none; font-weight: 500; }
.warning-alert a:hover, .warning-alert a:focus-visible { text-decoration: underline; }

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.req-list { list-style: none; margin-top: 12px; }
.req-list li {
    font-size: 14px;
    color: var(--text-2);
    padding: 8px 0;
    border-bottom: 1px solid var(--divider-soft);
}
.req-list li strong { color: var(--text-1); }
.req-list li:last-child { border-bottom: none; }

.muted-tag { color: var(--text-3); font-size: 13px; margin-left: 4px; }

.step-block { display: flex; gap: 24px; margin-bottom: 32px; }
.step-number {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--brand);
    background-color: var(--brand-soft);
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--brand-soft);
}
.step-content { flex: 1; min-width: 0; }
.step-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-1);
}
.step-desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 16px; max-width: 720px; }

.disclaimer-box { margin-top: 40px; border-left: 2px solid var(--divider); padding: 0 0 0 20px; }
.disclaimer-box h4 { font-size: 12px; letter-spacing: 0.04em; margin-bottom: 4px; color: var(--text-3); }
.disclaimer-box p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

form input[type="text"]:focus {
    outline: none;
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px var(--brand-soft);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
form button:active { transform: scale(0.99); }

footer {
    margin-top: 64px;
    padding: 32px 0 56px;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--text-3);
    font-size: 13.5px;
    line-height: 1.7;
    flex-wrap: wrap;
    gap: 24px;
}
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; color: var(--brand); }
footer .disclaimer { max-width: 60ch; }

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-art { display: none; }
    .cards { grid-template-columns: 1fr; }
    .requirements-grid { grid-template-columns: 1fr; }
    header.navbar-floating > .nav-search { display: none; }
    .nav-panel .nav-search { display: flex; }
}

@media (max-width: 780px) {
    header.navbar-floating { gap: 8px; padding: 0 16px; }
    .navbar-links > .nav-btn { display: none; }
    .navbar-links > .nav-sep { display: none; }
    .nav-toggle { display: inline-flex; }

    .container { padding: 20px 18px; }
    .wrap { padding: 0 18px; }
    .section { padding: 64px 0; }
    .hero { padding: 44px 0 16px; }

    .hero h1 { font-size: 27px; letter-spacing: -0.02em; }
    .hero-grid h1 { font-size: 34px; max-width: none; letter-spacing: -0.03em; }
    .hero-subtitle, .hero .tagline { font-size: 16.5px; margin-top: 16px; }
    .hero-actions, .cta-group { gap: 8px; margin-top: 26px; }
    .hero-actions .btn { flex: 1 1 calc(50% - 4px); }

    .install { max-width: none; margin-top: 24px; }
    .install code { font-size: 12px; padding: 11px 12px; }

    .section-head h2 { font-size: 25px; }
    .section-head p { font-size: 16px; }

    .slides { aspect-ratio: 4 / 3; }
    .slide img { object-position: 62% center; }

    .how-points .row,
    .spec-list li { grid-template-columns: 1fr; gap: 4px; }

    .faq summary { font-size: 15.5px; padding: 17px 0; }
    .faq .answer { font-size: 15px; padding-right: 0; }

    .distros { padding: 48px 0; }
    .marquee img { height: 28px; }
    .marquee-half { gap: 40px; padding-right: 40px; }

    .step-block { flex-direction: column; gap: 12px; }

    footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 24px; }
    .hero-grid h1 { font-size: 29px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee-track { animation: none; }
}
