:root {
    --bg: #f4efe4;
    --bg-muted: #ebe2d2;
    --surface: rgba(255, 251, 244, 0.78);
    --surface-strong: #fffaf2;
    --surface-dark: #152028;
    --ink: #16202a;
    --ink-soft: #53606d;
    --ink-faint: #7a8896;
    --line: rgba(22, 32, 42, 0.12);
    --line-strong: rgba(22, 32, 42, 0.2);
    --accent: #0f8b8d;
    --accent-deep: #0f5f62;
    --accent-warm: #ef8354;
    --accent-warm-deep: #db6a39;
    --success: #2f9e67;
    --mesh-line: 15, 139, 141;
    --mesh-node: 239, 131, 84;
    --shadow: 0 24px 80px rgba(22, 32, 42, 0.08);
    --shadow-soft: 0 12px 34px rgba(22, 32, 42, 0.05);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.55;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(15, 139, 141, 0.14), transparent 32%),
        radial-gradient(circle at 85% 18%, rgba(239, 131, 84, 0.14), transparent 28%),
        linear-gradient(180deg, #f7f3ea 0%, #f1eadc 45%, #ece2d2 100%);
    overflow-x: hidden;
}

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        radial-gradient(rgba(22, 32, 42, 0.06) 0.7px, transparent 0.7px),
        radial-gradient(rgba(22, 32, 42, 0.04) 0.7px, transparent 0.7px);
    background-size: 26px 26px, 18px 18px;
    background-position: 0 0, 9px 11px;
}

#meshCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.42;
}

a {
    color: inherit;
    text-decoration: none;
}

code {
    padding: 0.08em 0.36em;
    border-radius: 0.45em;
    background: rgba(15, 139, 141, 0.1);
    color: var(--accent-deep);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.92em;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 30;
    padding: 18px 0;
    transition: background var(--transition), border-color var(--transition), padding var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(247, 243, 234, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 32, 42, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 34px;
    height: 34px;
    color: var(--accent-deep);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color var(--transition), transform var(--transition);
}

.nav-links a:hover {
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-btn {
    padding: 10px 18px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 14px 28px rgba(15, 139, 141, 0.16);
}

.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(22, 32, 42, 0.12);
    border-radius: 14px;
    background: rgba(255, 251, 244, 0.7);
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    z-index: 29;
    padding: 20px;
    border: 1px solid rgba(22, 32, 42, 0.1);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.mobile-menu.active {
    display: grid;
    gap: 14px;
}

.mobile-menu a {
    padding: 8px 0;
    color: var(--ink-soft);
}

.hero {
    position: relative;
    padding: 158px 0 70px;
}

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

.eyebrow,
.section-tag,
.suite-kicker,
.summary-kicker,
.mini-kicker,
.update-index {
    font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--accent-deep);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(15, 139, 141, 0.14);
    border-radius: 999px;
    background: rgba(255, 251, 244, 0.8);
    box-shadow: var(--shadow-soft);
    color: var(--accent-deep);
    font-size: 0.92rem;
    font-weight: 500;
}

.hero-badge-version {
    color: var(--ink);
    font-weight: 700;
}

.hero-badge-meta {
    color: var(--ink-faint);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(47, 158, 103, 0.12);
    animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.82); opacity: 0.64; }
}

.hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.accent-text {
    display: block;
    color: var(--accent-deep);
}

.hero-subtitle {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: clamp(1.06rem, 1.8vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover,
.download-btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 16px 30px rgba(15, 139, 141, 0.18);
}

.btn-secondary {
    background: rgba(255, 251, 244, 0.72);
    border-color: rgba(22, 32, 42, 0.11);
    box-shadow: var(--shadow-soft);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-pills span,
.surface-tag,
.status-chip,
.debug-pill {
    border-radius: 999px;
    font-size: 0.82rem;
}

.hero-pills span {
    padding: 9px 14px;
    background: rgba(255, 251, 244, 0.74);
    border: 1px solid rgba(22, 32, 42, 0.1);
    color: var(--ink-soft);
}

.hero-stack {
    display: grid;
    gap: 18px;
}

.window-card,
.summary-card,
.update-card,
.suite-card,
.debug-shell,
.architecture-card,
.operations-card,
.stack-card,
.partner-card,
.download-card {
    border: 1px solid rgba(22, 32, 42, 0.1);
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.window-card,
.debug-shell,
.architecture-card,
.operations-card,
.download-card {
    border-radius: var(--radius-lg);
}

.summary-card,
.update-card,
.suite-card,
.stack-card {
    border-radius: var(--radius-md);
}

.window-card {
    padding: 22px;
}

.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--ink-faint);
    font-size: 0.82rem;
}

.window-actions {
    display: inline-flex;
    gap: 7px;
}

.window-actions span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(22, 32, 42, 0.14);
}

.window-actions span:nth-child(1) { background: #f08f63; }
.window-actions span:nth-child(2) { background: #efc75e; }
.window-actions span:nth-child(3) { background: #56b87b; }

.window-title {
    flex: 1;
    color: var(--ink);
    font-weight: 600;
}

.console-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.status-chip,
.surface-tag,
.debug-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(22, 32, 42, 0.08);
    color: var(--ink-soft);
}

.status-chip.online {
    background: rgba(47, 158, 103, 0.12);
    color: #1f7147;
}

.message-feed {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.message-row {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(22, 32, 42, 0.08);
    background: rgba(255, 255, 255, 0.66);
}

.message-row.outgoing {
    background: rgba(15, 139, 141, 0.12);
    border-color: rgba(15, 139, 141, 0.14);
}

.message-row.system {
    background: rgba(239, 131, 84, 0.1);
    border-color: rgba(239, 131, 84, 0.16);
}

.message-author,
.message-meta,
.command-label,
.preview-title,
.metric-name {
    font-family: "IBM Plex Mono", monospace;
}

.message-author {
    color: var(--accent-deep);
    font-size: 0.8rem;
}

.message-meta {
    color: var(--ink-faint);
    font-size: 0.75rem;
}

.command-box {
    padding: 16px;
    border-radius: 18px;
    background: #17222b;
    color: #edf3f1;
}

.command-label {
    margin-bottom: 8px;
    color: rgba(237, 243, 241, 0.68);
    font-size: 0.76rem;
}

.command-input,
.command-suggestions span,
.architecture-diagram,
.preview-pane pre {
    font-family: "IBM Plex Mono", monospace;
}

.command-box code,
.preview-pane code,
.architecture-diagram code {
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

.command-input {
    margin-bottom: 12px;
    color: #fff6e8;
}

.command-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.command-suggestions span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(237, 243, 241, 0.84);
    font-size: 0.76rem;
}

.hero-side-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mini-panel {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 251, 244, 0.74);
    border: 1px solid rgba(22, 32, 42, 0.1);
    box-shadow: var(--shadow-soft);
}

.mini-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    color: var(--accent-deep);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mini-panel strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.mini-panel p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

section {
    position: relative;
    padding: 34px 0 96px;
}

.summary {
    padding-top: 0;
}

.summary-grid,
.updates-grid,
.suite-grid,
.stack-grid {
    display: grid;
    gap: 18px;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
    padding: 26px 24px;
}

.summary-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--accent-deep);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary-card h2 {
    margin: 0 0 12px;
    font-size: 1.24rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.summary-card p,
.update-card p,
.suite-copy p,
.section-copy,
.stack-card p,
.architecture-card p,
.operations-card p,
.partner-info p,
.download-card > p,
.download-note,
.footer-desc,
.footer-bottom p {
    color: var(--ink-soft);
}

.section-header {
    max-width: 840px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-deep);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-header h2,
.diagnostics-copy h2,
.download-card h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.section-copy {
    margin: 18px auto 0;
    max-width: 720px;
    font-size: 1rem;
}

.updates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update-card {
    padding: 24px;
    min-height: 210px;
}

.update-card-wide {
    grid-column: span 3;
    min-height: auto;
}

.update-index {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent-warm-deep);
    font-size: 0.8rem;
}

.update-card h3,
.suite-copy h3,
.diagnostic-points h3,
.operations-card h3,
.stack-card h3,
.download-btn strong {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

.suite-card {
    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 26px;
}

.suite-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-deep);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink-soft);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-warm);
}

.suite-surface {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(22, 32, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(247, 239, 228, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.chat-surface,
.transport-surface,
.config-surface,
.telemetry-surface {
    display: grid;
    gap: 12px;
}

.surface-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.surface-tag.muted {
    background: rgba(239, 131, 84, 0.14);
    color: #8c4a27;
}

.surface-bubble {
    display: grid;
    gap: 4px;
    padding: 13px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(22, 32, 42, 0.07);
}

.surface-bubble strong {
    font-size: 0.83rem;
    color: var(--accent-deep);
}

.surface-bubble.system {
    background: rgba(15, 139, 141, 0.1);
}

.surface-bubble.outgoing {
    background: rgba(239, 131, 84, 0.12);
}

.surface-metric-card {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.surface-metric-card strong {
    font-size: 1.6rem;
    line-height: 1;
}

.metric-name {
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.surface-chart {
    position: relative;
    height: 120px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(15, 139, 141, 0.12), rgba(15, 139, 141, 0.02)),
        linear-gradient(0deg, rgba(22, 32, 42, 0.06) 1px, transparent 1px);
    background-size: auto, 100% 24px;
    overflow: hidden;
}

.surface-chart::before {
    content: "";
    position: absolute;
    inset: 28px 14px 18px;
    border-radius: 999px;
    border-top: 3px solid rgba(15, 139, 141, 0.28);
    border-right: 3px solid rgba(15, 139, 141, 0.18);
    transform: skewY(-10deg);
}

.chart-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-warm);
    box-shadow: 0 0 0 8px rgba(239, 131, 84, 0.14);
}

.chart-point.a { left: 18%; top: 65%; }
.chart-point.b { left: 42%; top: 44%; }
.chart-point.c { left: 63%; top: 56%; }
.chart-point.d { left: 80%; top: 26%; }

.surface-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.surface-metric-grid div,
.config-row,
.transport-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(22, 32, 42, 0.07);
}

.surface-metric-grid span,
.config-row span,
.transport-row span {
    color: var(--ink-faint);
    font-size: 0.88rem;
}

.surface-metric-grid strong,
.config-row strong,
.transport-row strong {
    font-size: 0.92rem;
}

.transport-status {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--accent-deep);
    background: rgba(15, 139, 141, 0.1);
}

.config-row.highlight {
    background: rgba(239, 131, 84, 0.12);
}

.diagnostics-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 24px;
    align-items: start;
}

.diagnostics-copy {
    padding-top: 28px;
}

.diagnostic-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.point-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 251, 244, 0.66);
    border: 1px solid rgba(22, 32, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

.point-card p,
.stack-card p,
.download-btn span {
    margin: 0;
    color: var(--ink-soft);
}

.debug-shell {
    padding: 22px;
}

.debug-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.debug-pill.active {
    background: rgba(15, 139, 141, 0.14);
    color: var(--accent-deep);
}

.debug-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.debug-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(22, 32, 42, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.debug-item.active {
    background: rgba(15, 139, 141, 0.08);
    border-color: rgba(15, 139, 141, 0.12);
}

.debug-item p {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.debug-dir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    border-radius: 999px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
}

.debug-dir.in {
    background: rgba(47, 158, 103, 0.14);
    color: #1f7147;
}

.debug-dir.out {
    background: rgba(239, 131, 84, 0.14);
    color: #9b4f2c;
}

.debug-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.preview-pane {
    padding: 14px;
    border-radius: 18px;
    background: #17222b;
    color: #eef3f1;
}

.preview-title {
    display: block;
    margin-bottom: 10px;
    color: rgba(238, 243, 241, 0.62);
    font-size: 0.76rem;
}

.preview-pane pre {
    margin: 0;
    font-size: 0.77rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.platform-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
}

.architecture-card,
.operations-card {
    padding: 24px;
}

.architecture-diagram {
    margin: 0 0 18px;
    padding: 20px;
    border-radius: 20px;
    background: #17222b;
    color: #eef3f1;
    font-size: 0.88rem;
    line-height: 1.7;
}

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

.stack-card {
    padding: 20px;
}

.partner-card {
    padding: 34px;
}

.partner-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 30px;
    align-items: center;
}

.partner-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.partner-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.partner-title h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.partner-preview {
    display: flex;
    justify-content: center;
}

.map-panel {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1.15;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(21, 32, 40, 0.92), rgba(21, 32, 40, 0.84)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    box-shadow: var(--shadow);
}

.map-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
}

.map-node,
.map-link {
    position: absolute;
}

.map-node {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-warm);
    box-shadow: 0 0 0 10px rgba(239, 131, 84, 0.16);
}

.map-node.center {
    top: 46%;
    left: 49%;
    transform: translate(-50%, -50%);
    background: #7fe2d9;
    box-shadow: 0 0 0 14px rgba(127, 226, 217, 0.14);
}

.map-node.top { top: 20%; left: 56%; }
.map-node.left { top: 50%; left: 19%; }
.map-node.right { top: 35%; right: 16%; }
.map-node.bottom { bottom: 18%; left: 40%; }

.map-link {
    height: 2px;
    background: linear-gradient(90deg, rgba(127, 226, 217, 0.12), rgba(127, 226, 217, 0.76));
    transform-origin: left center;
}

.map-link.l1 {
    top: 29%;
    left: 52%;
    width: 72px;
    transform: rotate(70deg);
}

.map-link.l2 {
    top: 48%;
    left: 23%;
    width: 118px;
    transform: rotate(-12deg);
}

.map-link.l3 {
    top: 45%;
    left: 50%;
    width: 116px;
    transform: rotate(-13deg);
}

.map-link.l4 {
    top: 54%;
    left: 43%;
    width: 88px;
    transform: rotate(91deg);
}

.map-caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
}

.download-card {
    position: relative;
    padding: 54px 34px;
    overflow: hidden;
    text-align: center;
}

.download-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(15, 139, 141, 0.18), transparent 68%);
    pointer-events: none;
}

.download-buttons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.download-btn {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(22, 32, 42, 0.1);
    background: rgba(255, 255, 255, 0.72);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-soft);
}

.download-btn.ghost {
    background: rgba(15, 139, 141, 0.08);
}

.download-btn:hover {
    border-color: rgba(15, 139, 141, 0.18);
    box-shadow: 0 18px 36px rgba(15, 139, 141, 0.1);
}

.download-btn.is-loading,
.download-btn[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.78;
}

.download-btn[aria-disabled="true"]:hover {
    transform: none;
}

.download-note {
    margin: 20px 0 0;
}

.download-release-notes {
    position: relative;
    max-width: 720px;
    margin: 16px auto 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(108, 92, 231, 0.1);
    color: var(--ink);
}

.footer {
    position: relative;
    z-index: 1;
    padding: 0 0 26px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 0 22px;
    border-top: 1px solid rgba(22, 32, 42, 0.08);
}

.footer-links {
    display: flex;
    gap: 46px;
}

.footer-col {
    display: grid;
    gap: 10px;
}

.footer-col h4 {
    margin: 0 0 2px;
    font-size: 0.92rem;
}

.footer-col a {
    color: var(--ink-soft);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(22, 32, 42, 0.08);
}

[data-animate] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 620ms ease, transform 620ms ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .hero-grid,
    .diagnostics-layout,
    .platform-grid,
    .partner-layout {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .updates-grid,
    .suite-grid,
    .stack-grid,
    .diagnostic-points {
        grid-template-columns: 1fr;
    }

    .update-card-wide {
        grid-column: auto;
    }

    .hero-side-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1220px);
    }

    .hero {
        padding-top: 132px;
    }

    section {
        padding-bottom: 74px;
    }

    .summary-grid,
    .download-buttons,
    .debug-preview {
        grid-template-columns: 1fr;
    }

    .footer-content,
    .footer-links {
        flex-direction: column;
    }

    .partner-card,
    .download-card,
    .window-card,
    .debug-shell {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .hero-actions,
    .btn,
    .download-btn {
        width: 100%;
    }

    .btn {
        min-height: 52px;
    }

    .hero-pills span {
        width: 100%;
    }

    .surface-metric-grid {
        grid-template-columns: 1fr;
    }

    .window-bar,
    .surface-line {
        gap: 10px;
    }
}

/* ===== Restored Dark Theme ===== */
:root {
    --bg: #0a0a0f;
    --bg-muted: #111118;
    --surface: rgba(22, 22, 31, 0.84);
    --surface-strong: #16161f;
    --surface-dark: #0f1118;
    --ink: #e8e8ed;
    --ink-soft: #a2a2b5;
    --ink-faint: #737389;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #6c5ce7;
    --accent-deep: #a29bfe;
    --accent-warm: #00d2a0;
    --accent-warm-deep: #4de6bc;
    --success: #00d2a0;
    --mesh-line: 108, 92, 231;
    --mesh-node: 162, 155, 254;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.24);
}

body {
    background:
        radial-gradient(circle at top left, rgba(108, 92, 231, 0.18), transparent 30%),
        radial-gradient(circle at 82% 16%, rgba(0, 210, 160, 0.12), transparent 22%),
        linear-gradient(180deg, #0a0a0f 0%, #0e0e15 45%, #111118 100%);
}

.page-noise {
    opacity: 0.12;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px),
        radial-gradient(rgba(255, 255, 255, 0.04) 0.7px, transparent 0.7px);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.86);
    border-bottom: 1px solid var(--line);
}

.mobile-menu-btn {
    border-color: var(--line);
    background: rgba(17, 17, 24, 0.88);
}

.mobile-menu {
    border-color: var(--line);
    background: rgba(10, 10, 15, 0.96);
}

.hero-badge {
    background: rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.24);
    color: #d7d2ff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-badge-version {
    color: #f2f1ff;
}

.hero-badge-meta {
    color: #9b95d8;
}

.badge-dot {
    box-shadow: 0 0 0 8px rgba(0, 210, 160, 0.14);
}

.nav-btn,
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #5343d8);
    box-shadow: 0 14px 30px rgba(108, 92, 231, 0.24);
}

.btn-secondary,
.hero-pills span,
.mini-panel,
.point-card,
.status-chip,
.surface-tag,
.debug-pill,
.mobile-menu-btn,
.download-btn,
.download-release-notes {
    background: rgba(30, 30, 42, 0.8);
    border-color: var(--line);
}

.status-chip.online {
    background: rgba(0, 210, 160, 0.12);
    color: #7cf0d1;
}

.code,
code {
    background: rgba(108, 92, 231, 0.18);
    color: var(--accent-deep);
}

.window-card,
.summary-card,
.update-card,
.suite-card,
.debug-shell,
.architecture-card,
.operations-card,
.stack-card,
.partner-card,
.download-card {
    border-color: var(--line);
    background: var(--surface);
}

.message-row,
.surface-bubble,
.surface-metric-grid div,
.config-row,
.transport-row,
.download-btn {
    background: rgba(30, 30, 42, 0.84);
    border-color: var(--line);
}

.message-row.system,
.surface-bubble.system,
.download-btn.ghost {
    background: rgba(108, 92, 231, 0.14);
    border-color: rgba(108, 92, 231, 0.2);
}

.message-row.outgoing,
.surface-bubble.outgoing,
.config-row.highlight {
    background: rgba(0, 210, 160, 0.12);
    border-color: rgba(0, 210, 160, 0.16);
}

.surface-tag.muted {
    background: rgba(108, 92, 231, 0.16);
    color: #c4bcff;
}

.command-box,
.preview-pane,
.architecture-diagram {
    background: #0f1118;
}

.suite-surface {
    background: linear-gradient(180deg, rgba(22, 22, 31, 0.88), rgba(12, 12, 18, 0.96));
    border-color: var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.surface-chart {
    background:
        linear-gradient(180deg, rgba(108, 92, 231, 0.16), rgba(108, 92, 231, 0.03)),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.surface-chart::before {
    border-top-color: rgba(108, 92, 231, 0.32);
    border-right-color: rgba(108, 92, 231, 0.18);
}

.chart-point {
    background: var(--accent-warm);
    box-shadow: 0 0 0 8px rgba(0, 210, 160, 0.14);
}

.transport-status {
    background: rgba(108, 92, 231, 0.14);
    color: #c4bcff;
}

.debug-item {
    background: rgba(30, 30, 42, 0.84);
    border-color: var(--line);
}

.debug-item.active {
    background: rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.18);
}

.debug-dir.in {
    background: rgba(0, 210, 160, 0.14);
    color: #7cf0d1;
}

.debug-dir.out {
    background: rgba(108, 92, 231, 0.14);
    color: #c4bcff;
}

.map-panel {
    background:
        linear-gradient(180deg, rgba(10, 10, 15, 0.96), rgba(17, 17, 24, 0.92)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.map-caption {
    background: rgba(17, 17, 24, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
}
