:root {
    --matrix-green: #00ff41;
    --matrix-green-dim: #00cc33;
    --matrix-green-glow: rgba(0, 255, 65, 0.35);
    --bg-black: #000000;
    --bg-panel: #050805;
    --bg-card: #0a0f0a;
    --border: rgba(0, 255, 65, 0.18);
    --border-strong: rgba(0, 255, 65, 0.45);
    --text: #d7ffe0;
    --text-muted: #7a9e82;
    --danger: #ff3b3b;
    --font-sans: "Outfit", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg-black);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--matrix-green);
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--matrix-green-glow);
}

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-landing {
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
    border-bottom: none;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand-logo {
    display: block;
    height: 2.25rem;
    width: auto;
    max-width: min(220px, 52vw);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav a:not(.btn):hover {
    color: var(--matrix-green);
}

.nav-user {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.nav-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.nav-caret {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 0.1rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 255, 65, 0.06);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
    border-color: var(--border-strong);
    color: var(--matrix-green);
    background: rgba(0, 255, 65, 0.1);
}

.nav-dropdown-toggle-account {
    max-width: 14rem;
}

.nav-dropdown-toggle span:not(.nav-caret) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    min-width: 12rem;
    background: #0a0f0a;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    padding: 0.35rem;
    z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.7rem 0.65rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
}

.nav-dropdown-header strong {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-dropdown-email {
    color: var(--text-muted);
    font-size: 0.78rem;
    word-break: break-all;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 6px;
    color: var(--text-muted);
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 255, 65, 0.08);
    color: var(--matrix-green);
    text-decoration: none;
}

.page-main {
    padding: 2rem 0 4rem;
}

h1, h2, h3 {
    color: #fff;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.glow-text {
    text-shadow: 0 0 24px var(--matrix-green-glow);
}

.accent {
    color: var(--matrix-green);
}

.eyebrow {
    color: var(--matrix-green);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.matrix-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

#matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.matrix-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

.matrix-hero-content {
    position: relative;
    z-index: 2;
    padding: 7rem 0 4rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    max-width: 14ch;
    margin-bottom: 1.25rem;
}

.hero-lead,
.section-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    max-width: 640px;
}

.stat {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.55);
    padding: 1rem;
    border-radius: 10px;
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    color: var(--matrix-green);
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.landing-main {
    background: linear-gradient(to bottom, #000, var(--bg-panel) 120px);
}

.section {
    padding: 4rem 0;
}

.section-head {
    margin-bottom: 2rem;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.service-card,
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.08);
}

.card-featured,
.pricing-featured {
    border-color: var(--border-strong);
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.12);
}

.card p {
    color: var(--text-muted);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 255, 65, 0.12);
    color: var(--matrix-green);
    border: 1px solid var(--border-strong);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.price,
.price-inline {
    font-family: var(--font-mono);
    color: var(--matrix-green);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.price-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: -0.25rem;
}

.feature-list {
    margin: 1rem 0 1.25rem;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--matrix-green);
    font-family: var(--font-mono);
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
}

.step-num {
    display: block;
    font-family: var(--font-mono);
    color: var(--matrix-green);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-band {
    padding-bottom: 5rem;
}

.cta-inner {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background:
        radial-gradient(circle at top, rgba(0, 255, 65, 0.08), transparent 55%),
        var(--bg-card);
}

.cta-inner p {
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0.75rem auto 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.15rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--matrix-green);
    color: #000;
}

.btn-primary:hover {
    background: #33ff66;
    color: #000;
    box-shadow: 0 0 24px var(--matrix-green-glow);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--matrix-green);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: rgba(0, 255, 65, 0.08);
    color: #fff;
}

.btn-secondary {
    background: rgba(0, 255, 65, 0.08);
    color: var(--matrix-green);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(0, 255, 65, 0.15);
    color: #fff;
}

.btn-danger {
    background: rgba(255, 59, 59, 0.15);
    color: #ff8a8a;
    border: 1px solid rgba(255, 59, 59, 0.35);
}

.btn-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
}

.service-card .btn,
.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.92rem;
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #000;
    color: var(--text);
    font-family: var(--font-sans);
}

input:focus {
    outline: none;
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.12);
}

input[type="checkbox"] {
    accent-color: var(--matrix-green);
    margin-right: 0.5rem;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(0, 255, 65, 0.08);
    border-color: var(--border-strong);
    color: var(--matrix-green);
}

.alert-error {
    background: rgba(255, 59, 59, 0.08);
    border-color: rgba(255, 59, 59, 0.35);
    color: #ffaaaa;
}

.alert-info {
    background: rgba(0, 255, 65, 0.05);
    border-color: var(--border);
    color: var(--text-muted);
}

.auth-card {
    max-width: 440px;
    margin: 2rem auto 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
}

.auth-card-wide {
    max-width: 680px;
}

.auth-footer {
    margin-top: 1.25rem;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: #000;
    color: var(--matrix-green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-success {
    background: rgba(0, 255, 65, 0.15);
    color: var(--matrix-green);
    border: 1px solid var(--border);
}

.badge-warning {
    background: rgba(255, 200, 0, 0.12);
    color: #ffd966;
    border: 1px solid rgba(255, 200, 0, 0.25);
}

.badge-danger {
    background: rgba(255, 59, 59, 0.12);
    color: #ff9999;
}

.badge-muted {
    background: rgba(122, 158, 130, 0.12);
    color: var(--text-muted);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    word-break: break-all;
}

.table-row-link {
    cursor: pointer;
}

.table-row-link:hover td {
    background: rgba(0, 255, 65, 0.04);
}

.row-actions {
    white-space: nowrap;
}

.row-actions form {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.row-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--matrix-green);
    font-family: var(--font-mono);
    font-weight: 600;
    text-decoration: none;
}

.row-link-icon:hover {
    text-decoration: underline;
}

.row-link-arrow {
    opacity: 0.7;
}

.user-detail-head {
    margin-top: 0.5rem;
}

.user-detail-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.user-detail-actions {
    margin-top: 1rem;
}

.profile-grid {
    align-items: start;
}

.listing-flags {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.listing-flags li,
.listing-flag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
}

.listing-flag-label {
    color: var(--text-muted);
}

.listing-flags-inline .listing-flag-row {
    justify-content: flex-start;
    gap: 0.5rem;
}

.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.connection-meta {
    margin-top: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--matrix-green);
}

.connection-note {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    max-width: 28rem;
    line-height: 1.45;
}

.hostname-preview {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-mono);
    color: var(--matrix-green);
}

.hostname-preview .preview-slug {
    color: #fff;
}

.advanced-domain {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.advanced-domain summary {
    cursor: pointer;
    color: var(--matrix-green);
    margin-bottom: 0.5rem;
}

.inline-form {
    display: inline;
}

.plan-options {
    display: grid;
    gap: 0.75rem;
}

.plan-option {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: #000;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-option.selected,
.plan-option-featured.selected {
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 1px var(--matrix-green) inset, 0 0 24px rgba(0, 255, 65, 0.12);
}

.plan-option-featured {
    border-color: var(--border-strong);
}

.plan-option-multi input[type="checkbox"] {
    justify-self: start;
}

.service-nodes-block {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
}

.service-nodes-block:last-child {
    margin-bottom: 0;
}

.service-nodes-head h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.service-nodes-head {
    margin-bottom: 0.85rem;
}

.plan-option-title {
    font-weight: 700;
    color: #fff;
}

.plan-option-price {
    font-family: var(--font-mono);
    color: var(--matrix-green);
    font-weight: 700;
}

.plan-option-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.subscribe-card h2 {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
}

.invoice-summary {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(0, 255, 65, 0.04);
}

.invoice-summary-head {
    margin-bottom: 0.85rem;
}

.invoice-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.invoice-line + .invoice-line,
.invoice-line-node {
    border-top: none;
    border-bottom: none;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.invoice-line-total {
    border-top: 1px solid var(--border-strong);
    border-bottom: none;
    margin-top: 0.35rem;
    padding-top: 0.95rem;
}

.invoice-line-header,
.invoice-line-total {
    font-size: 0.92rem;
}

.invoice-line-header {
    color: var(--text-muted);
    border-top: none;
    padding-top: 0;
}

.invoice-line-total {
    border-bottom: none;
    color: var(--matrix-green);
}

.invoice-line-node code {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.nodes-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.nodes-section-head {
    margin-bottom: 1rem;
}

.nodes-bullets {
    margin-top: 0.75rem;
}

.node-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(0, 255, 65, 0.04);
}

.node-stepper-label {
    min-width: 5rem;
    text-align: center;
    font-weight: 600;
}

.node-step-btn {
    min-width: 2rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 1.1rem;
    line-height: 1;
}

.node-hostname-list {
    display: grid;
    gap: 0.85rem;
}

.node-hostname-row {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #050805;
}

.node-hostname-label {
    font-weight: 600;
    font-size: 0.92rem;
}

.node-slug-input {
    width: 100%;
}

.invoice-foot {
    margin-top: 0.75rem;
}

.subscribe-actions {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.subscribe-actions #payment-error {
    margin-bottom: 0;
}

.payment-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.payment-element-wrap {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #050805;
}

#payment-error {
    margin-bottom: 1rem;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #000;
    padding: 2rem 0;
}

.footer-inner p {
    margin: 0.35rem 0;
    color: var(--text-muted);
}

.container-narrow {
    max-width: 640px;
    margin-top: 1.5rem;
}

.debug-banner {
    background: rgba(255, 200, 0, 0.12);
    border-bottom: 1px solid rgba(255, 200, 0, 0.35);
    color: #ffd966;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-align: center;
    padding: 0.55rem 1rem;
}

.debug-banner code {
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

body.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal[hidden] {
    display: none !important;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.modal-dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    margin: 0;
    z-index: 1;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    border-color: var(--border-strong);
    color: #fff;
}

.modal-fields {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
}

.modal-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.modal-field input[type="text"],
.modal-field input[type="password"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-black);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.modal-field input:focus {
    outline: none;
    border-color: var(--border-strong);
    box-shadow: 0 0 0 2px var(--matrix-green-glow);
}

.modal-clear-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.actions .openclaw-variables-btn {
    margin-left: 0.25rem;
}

@media (max-width: 720px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .matrix-hero-content {
        padding-top: 6rem;
    }

    .hero-title {
        max-width: none;
    }

    .nav {
        gap: 0.75rem;
        width: 100%;
    }

    .nav-dropdown-menu {
        right: auto;
        left: 0;
    }
}
