:root {
    --lw-bg: #07110f;
    --lw-bg-soft: #0b1714;
    --lw-surface: #0f1e1a;
    --lw-surface-raised: #142621;
    --lw-border: rgba(198, 255, 94, 0.15);
    --lw-border-strong: rgba(198, 255, 94, 0.32);
    --lw-text: #f3f7f5;
    --lw-text-muted: #a5b6af;
    --lw-primary: #c6ff5e;
    --lw-primary-dark: #9edb32;
    --lw-cyan: #70e6d1;
    --lw-warning: #ffce6a;
    --lw-danger: #ff716f;
    --lw-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
    --lw-radius-sm: 0.75rem;
    --lw-radius: 1.25rem;
    --lw-radius-lg: 2rem;
    --lw-header-height: 5rem;
    --lw-breakpoint-2k: 1920px;
    --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-bg: var(--lw-bg);
    --bs-body-color: var(--lw-text);
    --bs-primary: var(--lw-primary);
    --bs-primary-rgb: 198, 255, 94;
    --bs-link-color: var(--lw-primary);
    --bs-link-hover-color: #e1ffaa;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--lw-header-height) + 1.5rem);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 80% 4%, rgba(112, 230, 209, 0.07), transparent 28rem),
        var(--lw-bg);
    color: var(--lw-text);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--lw-primary);
    color: #07110f;
}

a {
    text-underline-offset: 0.2em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--lw-cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 1100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 1rem;
    transform: translateY(-160%);
    border-radius: 0.5rem;
    background: var(--lw-primary);
    color: #07110f;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    min-height: var(--lw-header-height);
    border-bottom: 1px solid transparent;
    background: rgba(7, 17, 15, 0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(7, 17, 15, 0.92);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

.navbar {
    min-height: var(--lw-header-height);
    --bs-navbar-padding-y: 0.75rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--lw-text);
    text-decoration: none;
}

.brand-lockup:hover {
    color: var(--lw-text);
}

.brand-mark {
    display: block;
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}


.navbar-nav .nav-link {
    padding: 0.6rem 0.65rem;
    color: var(--lw-text-muted);
    font-size: 0.88rem;
    font-weight: 650;
    transition: color 160ms ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--lw-text);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.55rem;
    min-height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--lw-text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.language-switch:hover {
    border-color: var(--lw-border-strong);
    background: rgba(198, 255, 94, 0.08);
    color: var(--lw-primary);
}

.nav-github {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.52rem;
    --bs-btn-border-color: rgba(255, 255, 255, 0.18);
    --bs-btn-hover-color: #07110f;
    --bs-btn-hover-bg: var(--lw-text);
    --bs-btn-hover-border-color: var(--lw-text);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
}

.navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none !important;
}

.navbar-toggler-line {
    width: 1.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--lw-text);
}

.hero-section {
    min-height: 100svh;
    padding: calc(var(--lw-header-height) + 5.5rem) 0 3rem;
    background: linear-gradient(180deg, rgba(6, 14, 12, 0.2), rgba(7, 17, 15, 1));
}

.hero-row {
    min-height: 38rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(198, 255, 94, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 255, 94, 0.07) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-one {
    top: 7%;
    right: -12rem;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, rgba(112, 230, 209, 0.14), transparent 68%);
}

.hero-glow-two {
    bottom: 7%;
    left: -14rem;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(198, 255, 94, 0.1), transparent 68%);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    color: var(--lw-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    content: "";
}

.hero-title {
    max-width: 12ch;
    margin-bottom: 1.6rem;
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 780;
    letter-spacing: -0.07em;
    line-height: 0.94;
}

.hero-lead {
    max-width: 38rem;
    margin-bottom: 2.1rem;
    color: var(--lw-text-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

.btn {
    border-radius: 999px;
    font-weight: 750;
}

.btn-lg {
    --bs-btn-padding-y: 0.9rem;
    --bs-btn-padding-x: 1.45rem;
    --bs-btn-font-size: 0.92rem;
}

.btn-primary {
    --bs-btn-color: #07110f;
    --bs-btn-bg: var(--lw-primary);
    --bs-btn-border-color: var(--lw-primary);
    --bs-btn-hover-color: #07110f;
    --bs-btn-hover-bg: #d7ff8d;
    --bs-btn-hover-border-color: #d7ff8d;
    --bs-btn-active-color: #07110f;
    --bs-btn-active-bg: var(--lw-primary-dark);
    --bs-btn-active-border-color: var(--lw-primary-dark);
    box-shadow: 0 10px 34px rgba(198, 255, 94, 0.14);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.035);
    color: var(--lw-text);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: var(--lw-text);
}

.hero-note {
    margin: 1.2rem 0 0;
    color: #7e928a;
    font-size: 0.77rem;
    font-weight: 600;
}

.terminal-window {
    overflow: hidden;
    border: 1px solid rgba(198, 255, 94, 0.19);
    border-radius: var(--lw-radius);
    background: rgba(4, 10, 9, 0.94);
    box-shadow: var(--lw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-terminal {
    max-width: 49rem;
    margin-left: auto;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
}

.terminal-bar {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #111c19;
}

.terminal-dot {
    width: 0.68rem;
    height: 0.68rem;
    margin-right: 0.45rem;
    border-radius: 50%;
}

.terminal-dot-red { background: var(--lw-danger); }
.terminal-dot-yellow { background: var(--lw-warning); }
.terminal-dot-green { background: var(--lw-primary); }

.terminal-title {
    margin-left: auto;
    color: #7d9088;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.7rem;
}

.terminal-body {
    min-height: 27rem;
    padding: clamp(1.2rem, 3vw, 2.1rem);
    overflow-x: auto;
    color: #d7e3de;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: clamp(0.69rem, 1.15vw, 0.92rem);
    line-height: 1.75;
    white-space: nowrap;
}

.terminal-banner,
.terminal-strong,
.terminal-accent {
    color: var(--lw-primary);
}

.terminal-strong { font-weight: 800; }
.terminal-success { color: var(--lw-cyan); }
.terminal-muted,
.terminal-rule { color: #60736b; }
.terminal-spacer { height: 0.8rem; }
.terminal-prompt { color: var(--lw-primary); }

.terminal-cursor {
    display: inline-block;
    width: 0.52em;
    height: 1.05em;
    margin-right: 0.5rem;
    vertical-align: -0.15em;
    background: var(--lw-primary);
    animation: cursorBlink 1.05s steps(1) infinite;
}

.terminal-cursor-inline {
    margin-right: 0;
    margin-left: 0.5rem;
}

@keyframes cursorBlink {
    0%, 46% { opacity: 1; }
    47%, 100% { opacity: 0; }
}

.signal-row {
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.25rem 1.4rem;
}

.signal-item + .signal-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-item strong {
    color: var(--lw-primary);
    font-size: 1.65rem;
    letter-spacing: -0.05em;
}

.signal-item span {
    max-width: 12rem;
    color: var(--lw-text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.section-space {
    padding: clamp(6rem, 10vw, 10rem) 0;
}

.section-heading {
    margin-bottom: 3.5rem;
}

.section-title,
.cta-title {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 1;
}

.section-lead {
    margin: 0;
    color: var(--lw-text-muted);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.75;
}

.intro-section {
    position: relative;
    background: var(--lw-bg-soft);
}

.feature-card {
    position: relative;
    padding: clamp(1.6rem, 3vw, 2.35rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--lw-radius);
    background: linear-gradient(145deg, rgba(20, 38, 33, 0.8), rgba(11, 23, 20, 0.86));
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.feature-card::after {
    position: absolute;
    right: -4rem;
    bottom: -4rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 255, 94, 0.1), transparent 70%);
    content: "";
}

.feature-card:hover {
    transform: translateY(-0.35rem);
    border-color: var(--lw-border-strong);
}

.feature-number {
    display: inline-block;
    margin-bottom: 4.5rem;
    color: var(--lw-primary);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 750;
}

.feature-card h3,
.workflow-step h3,
.setup-step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 730;
    letter-spacing: -0.03em;
}

.feature-card p,
.workflow-step p {
    margin: 0;
    color: var(--lw-text-muted);
    font-size: 0.93rem;
}

.extensions-section {
    background:
        radial-gradient(circle at 88% 24%, rgba(112, 230, 209, 0.09), transparent 28rem),
        var(--lw-bg);
}

.extension-benefits {
    display: grid;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.extension-benefit {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.extension-benefit-mark {
    position: relative;
    width: 1.55rem;
    height: 1.55rem;
    margin-top: 0.1rem;
    border: 1px solid var(--lw-border-strong);
    border-radius: 0.45rem;
    background: rgba(198, 255, 94, 0.1);
}

.extension-benefit-mark::after {
    position: absolute;
    top: 0.35rem;
    left: 0.48rem;
    width: 0.38rem;
    height: 0.65rem;
    transform: rotate(45deg);
    border-right: 2px solid var(--lw-primary);
    border-bottom: 2px solid var(--lw-primary);
    content: "";
}

.extension-benefit h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 730;
}

.extension-benefit p {
    margin: 0;
    color: var(--lw-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.extension-manager {
    overflow: hidden;
    border: 1px solid rgba(198, 255, 94, 0.22);
    border-radius: var(--lw-radius);
    background: #0b1513;
    box-shadow: var(--lw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.extension-manager-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    min-height: 3.2rem;
    padding: 0 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: #14201d;
    color: #cbd8d3;
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
}

.extension-manager-icon { color: var(--lw-primary); }
.extension-manager-controls { color: #70837b; letter-spacing: 0.2em; }

.extension-manager-body {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.extension-manager-field {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.85rem;
    color: var(--lw-text-muted);
    font-size: 0.78rem;
}

.extension-manager-field strong {
    min-width: 0;
    padding: 0.72rem 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.035);
    color: var(--lw-text);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.74rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.configuration-tabs {
    display: flex;
    gap: 0.3rem;
    margin-top: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.configuration-tab {
    padding: 0.65rem 0.85rem;
    border-bottom: 2px solid transparent;
    color: #70837b;
    font-size: 0.72rem;
    font-weight: 700;
}

.configuration-tab.is-active {
    border-bottom-color: var(--lw-primary);
    color: var(--lw-text);
}

.configuration-settings {
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
}

.configuration-setting {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9rem;
    gap: 1rem;
    align-items: center;
    min-height: 3.15rem;
    padding: 0.55rem 0.85rem;
    color: var(--lw-text);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
}

.configuration-setting + .configuration-setting {
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.configuration-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.configuration-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.15rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.035);
    color: var(--lw-cyan);
}

.configuration-value.is-boolean {
    justify-content: flex-start;
    gap: 0.55rem;
    color: var(--lw-text);
}

.configuration-value strong { font-weight: 650; }

.extension-checkbox {
    position: relative;
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    border: 1px solid #53665e;
    border-radius: 0.2rem;
}

.extension-checkbox.is-checked {
    border-color: var(--lw-primary);
    background: var(--lw-primary);
}

.extension-checkbox.is-checked::after {
    position: absolute;
    top: 0.13rem;
    left: 0.32rem;
    width: 0.3rem;
    height: 0.52rem;
    transform: rotate(45deg);
    border-right: 2px solid #07110f;
    border-bottom: 2px solid #07110f;
    content: "";
}

.extension-manager-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.extension-action {
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.55rem;
    font-size: 0.7rem;
    font-weight: 750;
}

.extension-action-muted { color: var(--lw-text-muted); }
.extension-action-primary { border-color: var(--lw-primary); background: var(--lw-primary); color: #07110f; }

.workflow-section {
    background:
        radial-gradient(circle at 10% 30%, rgba(198, 255, 94, 0.05), transparent 24rem),
        var(--lw-bg);
}

.workflow-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 4.5rem;
}

.workflow-step {
    position: relative;
    min-height: 16rem;
    padding: 1.75rem 2rem 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.workflow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 3.5rem;
    border: 1px solid var(--lw-border-strong);
    border-radius: 50%;
    background: var(--lw-bg);
    color: var(--lw-primary);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.7rem;
    font-weight: 750;
}

.workflow-line {
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--lw-primary);
    transition: width 650ms ease 180ms;
}

.is-visible .workflow-line {
    width: 100%;
}

.structure-section {
    background: var(--lw-bg-soft);
}

.folder-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--lw-radius);
    background: #0a1512;
    box-shadow: var(--lw-shadow);
}

.folder-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.folder-path,
.folder-status {
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.72rem;
}

.folder-path { color: var(--lw-text-muted); }

.tree-muted { color: #63766e; font-size: 0.85em; }
.folder-status {
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--lw-border-strong);
    border-radius: 999px;
    color: var(--lw-primary);
    font-size: 0.6rem;
    letter-spacing: 0.09em;
}

.folder-card pre {
    min-height: 27rem;
    margin: 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow-x: auto;
    color: #7f948b;
    font-size: clamp(0.76rem, 1.25vw, 1rem);
    line-height: 1.75;
}

.tree-root,
.tree-file { color: var(--lw-text); }
.tree-folder { color: var(--lw-cyan); }

.safety-section {
    background: var(--lw-bg);
}

.safety-panel {
    padding: clamp(2rem, 5vw, 5rem);
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-lg);
    background:
        linear-gradient(125deg, rgba(198, 255, 94, 0.045), transparent 45%),
        var(--lw-surface);
}

.safety-list {
    display: grid;
    gap: 0.9rem;
    margin: 2rem 0 0;
}

.safety-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #d8e3de;
    font-size: 0.92rem;
}

.check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: rgba(198, 255, 94, 0.12);
    color: var(--lw-primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.check-mark svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shutdown-terminal .terminal-body {
    min-height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.setup-section {
    background: var(--lw-bg-soft);
}

.setup-list {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.setup-step {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.setup-index {
    color: var(--lw-primary);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 750;
}

.setup-content h3 {
    margin-bottom: 0.35rem;
}

.setup-content code {
    display: block;
    overflow: hidden;
    color: var(--lw-cyan);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runtime-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.runtime-download-note {
    max-width: 54rem;
    margin: 0 0 0.8rem;
    color: var(--lw-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.runtime-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.65rem;
    color: var(--lw-cyan);
    font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
    font-size: 0.78rem;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.runtime-download-link:hover {
    border-color: var(--lw-border-strong);
    background: rgba(198, 255, 94, 0.09);
    color: var(--lw-primary);
}

.runtime-download-link svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.error-message {
    max-width: 42rem;
}

.copy-button {
    position: relative;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.035);
    color: var(--lw-text-muted);
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.copy-button:hover,
.copy-button.is-copied {
    border-color: var(--lw-border-strong);
    background: rgba(198, 255, 94, 0.09);
    color: var(--lw-primary);
}

.copy-icon,
.copy-icon::after {
    position: absolute;
    width: 0.78rem;
    height: 0.9rem;
    border: 1.5px solid currentColor;
    border-radius: 0.15rem;
    content: "";
}

.copy-icon {
    top: 0.78rem;
    left: 0.78rem;
}

.copy-icon::after {
    top: 0.22rem;
    left: 0.24rem;
    background: inherit;
}

.text-link {
    color: var(--lw-text);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover { color: var(--lw-primary); }

.cta-section {
    padding: 0 0 clamp(6rem, 10vw, 10rem);
    background: var(--lw-bg-soft);
}

.cta-panel {
    padding: clamp(4rem, 10vw, 8rem) 1.5rem;
    border: 1px solid var(--lw-border-strong);
    border-radius: var(--lw-radius-lg);
    background:
        linear-gradient(135deg, rgba(198, 255, 94, 0.08), rgba(112, 230, 209, 0.035)),
        #0c1a16;
}

.cta-panel .eyebrow {
    justify-content: center;
}

.cta-title {
    max-width: 12ch;
    margin: 0 auto 1.3rem;
}

.cta-text {
    max-width: 40rem;
    margin: 0 auto 2.2rem;
    color: var(--lw-text-muted);
    font-size: 1.08rem;
}

.cta-glow {
    position: absolute;
    top: -18rem;
    left: 50%;
    width: 36rem;
    height: 36rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 255, 94, 0.15), transparent 68%);
    pointer-events: none;
}

.site-footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050d0b;
}

.footer-brand {
    margin-bottom: 1.2rem;
}

.footer-description {
    max-width: 28rem;
    color: var(--lw-text-muted);
    font-size: 0.92rem;
}

.footer-heading {
    margin-bottom: 1.2rem;
    color: #758a82;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--lw-text);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover { color: var(--lw-primary); }

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #667a72;
    font-size: 0.72rem;
}

.footer-credit a {
    color: var(--lw-text);
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus {
    color: var(--lw-primary);
}

.has-js .reveal-item {
    opacity: 0;
    transform: translateY(1.15rem);
    transition: opacity 580ms ease, transform 580ms ease;
}

.has-js .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
 * Bootstrap 5.3 extension: custom 2k breakpoint.
 * Standard Bootstrap ends at xxl (1400px). LitePHP adds 2k at 1920px.
 */
@media (min-width: 1920px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1720px;
    }

    .col-2k {
        flex: 1 0 0%;
    }

    .col-2k-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-2k-1 { flex: 0 0 auto; width: 8.33333333%; }
    .col-2k-2 { flex: 0 0 auto; width: 16.66666667%; }
    .col-2k-3 { flex: 0 0 auto; width: 25%; }
    .col-2k-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-2k-5 { flex: 0 0 auto; width: 41.66666667%; }
    .col-2k-6 { flex: 0 0 auto; width: 50%; }
    .col-2k-7 { flex: 0 0 auto; width: 58.33333333%; }
    .col-2k-8 { flex: 0 0 auto; width: 66.66666667%; }
    .col-2k-9 { flex: 0 0 auto; width: 75%; }
    .col-2k-10 { flex: 0 0 auto; width: 83.33333333%; }
    .col-2k-11 { flex: 0 0 auto; width: 91.66666667%; }
    .col-2k-12 { flex: 0 0 auto; width: 100%; }

    .row-cols-2k-1 > * { flex: 0 0 auto; width: 100%; }
    .row-cols-2k-2 > * { flex: 0 0 auto; width: 50%; }
    .row-cols-2k-3 > * { flex: 0 0 auto; width: 33.33333333%; }
    .row-cols-2k-4 > * { flex: 0 0 auto; width: 25%; }
    .row-cols-2k-5 > * { flex: 0 0 auto; width: 20%; }
    .row-cols-2k-6 > * { flex: 0 0 auto; width: 16.66666667%; }

    .g-2k-6,
    .gx-2k-6 {
        --bs-gutter-x: 5rem;
    }

    .g-2k-6,
    .gy-2k-6 {
        --bs-gutter-y: 5rem;
    }

    body {
        font-size: 1.08rem;
    }

    .hero-section {
        padding-top: calc(var(--lw-header-height) + 7rem);
    }

    .hero-row {
        min-height: 48rem;
    }

    .hero-title {
        font-size: 7.4rem;
    }

    .hero-terminal {
        max-width: 62rem;
    }

    .terminal-body {
        min-height: 32rem;
        font-size: 1rem;
    }

    .feature-number {
        margin-bottom: 6rem;
    }

    .feature-card {
        min-height: 25rem;
    }
}

@media (max-width: 1199.98px) {
    :root { --lw-header-height: 4.5rem; }

    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 1rem;
        background: rgba(9, 21, 18, 0.98);
        box-shadow: var(--lw-shadow);
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 0.5rem;
    }

    .nav-actions {
        margin-top: 0.75rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .workflow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    :root { --lw-header-height: 4.5rem; }

    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 1rem;
        background: rgba(9, 21, 18, 0.98);
        box-shadow: var(--lw-shadow);
    }

    .navbar-nav .nav-link {
        padding: 0.7rem 0.5rem;
    }

    .nav-actions {
        margin-top: 0.75rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-section {
        min-height: auto;
        padding-top: calc(var(--lw-header-height) + 4rem);
    }

    .hero-row { min-height: auto; }
    .hero-terminal { margin: 1rem auto 0; transform: none; }

    .signal-row { margin-top: 3rem; }
}

@media (max-width: 767.98px) {

    .extension-manager-field {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .configuration-tab {
        flex: 1 1 0;
        padding-inline: 0.45rem;
        text-align: center;
    }

    .configuration-setting {
        grid-template-columns: minmax(0, 1fr) 7rem;
        gap: 0.75rem;
    }

    .hero-title {
        max-width: 10ch;
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .terminal-body {
        min-height: 23rem;
        padding: 1.2rem;
        font-size: 0.68rem;
    }

    .signal-item {
        justify-content: center;
        border-left: 0 !important;
    }

    .signal-item + .signal-item {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .workflow-list {
        grid-template-columns: 1fr;
    }

    .workflow-step {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .workflow-number { margin-bottom: 1.5rem; }

    .folder-card pre {
        min-height: auto;
        font-size: 0.72rem;
    }

    .setup-step {
        grid-template-columns: 2.3rem minmax(0, 1fr) auto;
        gap: 0.8rem;
    }

    .setup-content code { font-size: 0.7rem; }
}

@media (max-width: 479.98px) {
    .configuration-setting {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .configuration-value {
        justify-content: flex-start;
    }

    .hero-actions .btn,
    .cta-panel .btn {
        width: 100%;
    }

    .feature-card { padding: 1.45rem; }
    .feature-number { margin-bottom: 3.25rem; }
    .safety-panel { padding: 1.4rem; border-radius: var(--lw-radius); }
    .terminal-banner { font-size: 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .has-js .reveal-item {
        opacity: 1;
        transform: none;
    }
}
