:root {
    --ait-font-body: "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    --ait-font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
    --ait-font-mono: "Share Tech Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --ait-text-dark: #f2f3f5;
    --ait-text-light: #1a1a1a;
    --ait-muted-dark: #a4acb8;
    --ait-muted-light: #58616d;
    --ait-hairline-dark: rgba(255, 255, 255, 0.1);
    --ait-hairline-light: rgba(26, 26, 26, 0.1);
    --ait-shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.05);
    --ait-shadow-light: 0 24px 60px rgba(23, 31, 44, 0.05);
}

body,
button,
input,
textarea,
select {
    font-family: var(--ait-font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

body {
    font-size: 15px;
    line-height: 1.6;
}

/* A very light, self-contained grain layer. The inline SVG avoids an extra request. */
body::before,
body.crt::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.032;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 2147483647;
    animation: none;
}

.theme-light::before,
body.theme-light::before {
    opacity: 0.024;
    mix-blend-mode: multiply;
}

h1,
h2,
h3,
.ait-font-display {
    font-family: var(--ait-font-display);
    text-wrap: balance;
}

h1,
h2 {
    letter-spacing: -0.045em;
}

p,
li {
    text-wrap: pretty;
}

.ait-font-body {
    font-family: var(--ait-font-body);
}

.ait-font-display {
    font-family: var(--ait-font-display);
}

.ait-font-mono {
    font-family: var(--ait-font-mono);
}

/* Product-page rhythm and strong headline contrast. */
.server-page > section:first-of-type {
    width: 100%;
    max-width: 100vw !important;
    box-sizing: border-box;
    padding-top: clamp(3rem, 8vw, 7rem) !important;
    padding-bottom: clamp(2.25rem, 5vw, 4.75rem) !important;
}

.server-page .server-hero-heading {
    gap: clamp(0.75rem, 1.6vw, 1.25rem) !important;
    font-family: var(--ait-font-display) !important;
    font-weight: 700 !important;
    text-shadow: 0 18px 60px color-mix(in srgb, var(--accent, #10b981) 18%, transparent) !important;
}

.server-page .server-hero-heading-main {
    font-size: clamp(3.15rem, 7.4vw, 7rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.072em !important;
    font-weight: 700 !important;
}

.server-page .server-hero-heading-sub {
    width: min(100%, 24ch);
    font-size: clamp(1.55rem, 3.5vw, 3.65rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.06em !important;
    font-weight: 600 !important;
    white-space: normal !important;
    text-wrap: balance !important;
}

.server-page .server-hero-subtitle,
.server-page .server-hero-support {
    max-width: 68ch !important;
    margin-top: clamp(1.35rem, 2.5vw, 2rem) !important;
    font-size: clamp(0.9375rem, 1.15vw, 1rem) !important;
    font-weight: 500 !important;
    line-height: 1.62 !important;
    letter-spacing: -0.012em;
}

.server-page main,
.server-page > nav,
.server-page [data-faq-section],
.server-page > footer {
    max-width: 70rem !important;
    box-sizing: border-box;
}

.server-page main,
.server-page > nav {
    padding-inline: clamp(1rem, 3vw, 2.5rem) !important;
}

.server-page .server-panel {
    border: 1px solid var(--ait-hairline-dark) !important;
    border-radius: 1.5rem !important;
    background: rgba(7, 10, 15, 0.44) !important;
    box-shadow: var(--ait-shadow-dark) !important;
    backdrop-filter: blur(28px) saturate(115%) !important;
}

.theme-light .server-page .server-panel {
    border-color: var(--ait-hairline-light) !important;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: var(--ait-shadow-light) !important;
}

.server-page .server-soft,
.server-page .server-stat,
.server-page .server-panel-soft,
.server-page .server-metric-card,
.server-page .server-stat-card {
    border: 1px solid var(--ait-hairline-dark) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, 0.018) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.045) !important;
    backdrop-filter: none !important;
}

.theme-light .server-page .server-soft,
.theme-light .server-page .server-stat,
.theme-light .server-page .server-panel-soft,
.theme-light .server-page .server-metric-card,
.theme-light .server-page .server-stat-card {
    border-color: var(--ait-hairline-light) !important;
    background: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 18px 40px rgba(23, 31, 44, 0.04) !important;
}

.server-page .server-soft,
.server-page .server-panel-soft {
    padding: clamp(1.1rem, 2.2vw, 1.5rem) !important;
}

.server-page .server-copy,
.server-page .server-faq-answer p {
    font-size: clamp(0.875rem, 1.15vw, 1rem) !important;
    line-height: 1.62 !important;
    letter-spacing: -0.01em;
}

.server-page .server-card-title,
.server-page .server-faq-title {
    letter-spacing: -0.035em !important;
}

.server-page .server-card-title::after {
    opacity: 0.5;
}

/* AIGate management: a compact control-plane preview based on the real Admin Gate. */
.server-management-panel {
    overflow: hidden;
}

.server-management-head,
.server-management-console-head,
.server-management-metric-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.server-management-head {
    margin-bottom: clamp(1.1rem, 2vw, 1.5rem);
}

.server-management-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.42rem 0.55rem;
    border: 1px solid var(--ait-hairline-dark);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.theme-light .server-management-signal {
    border-color: var(--ait-hairline-light);
    background: rgba(255, 255, 255, 0.34);
}

.server-management-signal i {
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.48);
}

.server-management-signal i:nth-child(2) {
    background: var(--accent, #10b981);
    box-shadow: 0 0 12px color-mix(in srgb, var(--accent, #10b981) 48%, transparent);
}

.server-management-signal i:nth-child(3) {
    background: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.48);
}

.server-management-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 0.82fr) minmax(24rem, 1.55fr);
    gap: clamp(1rem, 2.2vw, 1.5rem);
    align-items: stretch;
}

.server-management-capabilities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.server-page .server-management-capability {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.9rem;
    min-height: 0;
    padding: 1rem !important;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.server-page .server-management-capability:hover {
    transform: translateX(3px);
    border-color: color-mix(in srgb, var(--accent, #10b981) 34%, transparent) !important;
    background: color-mix(in srgb, var(--accent, #10b981) 3.5%, transparent) !important;
}

.server-management-capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid color-mix(in srgb, var(--accent, #10b981) 24%, transparent);
    border-radius: 0.72rem;
    background: color-mix(in srgb, var(--accent, #10b981) 8%, transparent);
    font-family: var(--ait-font-mono);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.server-management-capability-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.server-management-capability-copy .server-card-title {
    width: fit-content;
}

.server-management-capability-mark {
    width: 0.42rem;
    height: 0.42rem;
    margin-top: 0.78rem;
    border: 1px solid color-mix(in srgb, var(--accent, #10b981) 58%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent, #10b981) 22%, transparent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent, #10b981) 18%, transparent);
}

.server-management-console {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1rem, 2.4vw, 1.45rem);
    overflow: hidden;
    border: 1px solid var(--ait-hairline-dark);
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent, #10b981) 10%, transparent), transparent 42%),
        rgba(0, 0, 0, 0.14);
}

.server-management-console::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.64), transparent 86%);
    pointer-events: none;
}

.theme-light .server-management-console {
    border-color: var(--ait-hairline-light);
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent, #10b981) 7%, transparent), transparent 44%),
        rgba(255, 255, 255, 0.28);
}

.server-management-console-head,
.server-management-metrics {
    position: relative;
    z-index: 1;
}

.server-management-console-head {
    min-height: 2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--ait-hairline-dark);
}

.theme-light .server-management-console-head {
    border-bottom-color: var(--ait-hairline-light);
}

.server-management-console-title {
    font-family: var(--ait-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.server-management-live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.06);
}

.server-management-live i {
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    animation: server-management-pulse 2.4s ease-out infinite;
}

@keyframes server-management-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.34); }
    68%, 100% { box-shadow: 0 0 0 0.55rem rgba(16, 185, 129, 0); }
}

.server-management-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    flex: 1;
    padding-top: 0.9rem;
}

.server-management-metric {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.8rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ait-hairline-dark);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.018);
}

.theme-light .server-management-metric {
    border-color: var(--ait-hairline-light);
    background: rgba(255, 255, 255, 0.34);
}

.server-management-metric-head {
    align-items: flex-start;
}

.server-management-metric-label {
    max-width: 11rem;
    font-size: 0.75rem;
    line-height: 1.35;
}

.server-management-metric strong {
    color: var(--metric-color);
    font-family: var(--ait-font-display);
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 650;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.server-management-spark {
    display: flex;
    align-items: flex-end;
    gap: 0.22rem;
    height: 3.25rem;
    padding-top: 0.35rem;
    border-bottom: 1px solid var(--ait-hairline-dark);
}

.theme-light .server-management-spark {
    border-bottom-color: var(--ait-hairline-light);
}

.server-management-spark i {
    flex: 1 1 0;
    min-width: 0.16rem;
    height: 28%;
    border-radius: 999px 999px 0.12rem 0.12rem;
    background: color-mix(in srgb, var(--metric-color) 42%, transparent);
}

.server-management-spark i:nth-child(2) { height: 42%; }
.server-management-spark i:nth-child(3) { height: 34%; }
.server-management-spark i:nth-child(4) { height: 56%; }
.server-management-spark i:nth-child(5) { height: 48%; }
.server-management-spark i:nth-child(6) { height: 68%; }
.server-management-spark i:nth-child(7) { height: 62%; }
.server-management-spark i:nth-child(8) { height: 78%; }
.server-management-spark i:nth-child(9) { height: 70%; }
.server-management-spark i:nth-child(10) { height: 86%; }
.server-management-spark i:nth-child(11) { height: 76%; }
.server-management-spark i:nth-child(12) { height: 96%; background: var(--metric-color); }

.server-management-metric--2 .server-management-spark i:nth-child(3n),
.server-management-metric--4 .server-management-spark i:nth-child(4n) {
    height: 38%;
}

.server-management-track {
    height: 0.22rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
}

.server-management-track span {
    display: block;
    width: var(--metric-fill);
    height: 100%;
    border-radius: inherit;
    background: var(--metric-color);
    box-shadow: 0 0 14px color-mix(in srgb, var(--metric-color) 30%, transparent);
}

.server-page .server-header-btn,
.server-page .server-icon-btn,
.server-page .server-nav-chip,
.server-page .server-material-btn,
.controls .ctrl-btn {
    border-color: var(--ait-hairline-dark) !important;
    background: rgba(7, 10, 15, 0.48) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: blur(22px) saturate(125%) !important;
}

.theme-light .server-page .server-header-btn,
.theme-light .server-page .server-icon-btn,
.theme-light .server-page .server-nav-chip,
.theme-light .server-page .server-material-btn,
.theme-light .controls .ctrl-btn {
    border-color: var(--ait-hairline-light) !important;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: 0 10px 40px rgba(23, 31, 44, 0.05) !important;
}

.server-page .server-nav-chip.active {
    border-color: color-mix(in srgb, var(--accent, #10b981) 46%, transparent) !important;
    background: color-mix(in srgb, var(--accent, #10b981) 10%, transparent) !important;
    box-shadow: 0 16px 40px color-mix(in srgb, var(--accent, #10b981) 7%, transparent) !important;
}

.theme-light .server-page .server-muted {
    color: var(--ait-muted-light) !important;
}

.theme-dark .server-page .server-muted {
    color: var(--ait-muted-dark) !important;
}

.shared-site-footer__shell,
.legal-card {
    box-shadow: 0 24px 60px rgba(23, 31, 44, 0.05) !important;
}

.legal-card {
    border-radius: 1.5rem !important;
}

.legal-card h1 {
    color: var(--ait-text-light) !important;
    font-size: clamp(2.5rem, 7vw, 5.75rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;
}

.legal-card p,
.legal-card li {
    font-size: 0.9375rem !important;
    line-height: 1.65 !important;
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .server-page > section:first-of-type {
        padding-top: 2.75rem !important;
        padding-bottom: 2.5rem !important;
    }

    .server-page .server-hero-heading-main {
        font-size: clamp(2.55rem, 15vw, 4.6rem) !important;
        overflow-wrap: normal !important;
        word-break: normal;
    }

    .server-page .server-hero-heading-sub {
        width: 100% !important;
        max-width: 18ch !important;
        font-size: clamp(1.4rem, 6.6vw, 2rem) !important;
        line-height: 1 !important;
        overflow-wrap: anywhere !important;
        word-break: normal;
    }

    .server-page .server-hero-subtitle,
    .server-page .server-hero-support {
        width: 100% !important;
        max-width: 34ch !important;
        font-size: 0.9375rem !important;
        line-height: 1.58 !important;
    }

    .server-page .server-panel {
        border-radius: 1.15rem !important;
    }

    .server-page .server-soft,
    .server-page .server-stat,
    .server-page .server-panel-soft,
    .server-page .server-metric-card,
    .server-page .server-stat-card {
        border-radius: 0.875rem !important;
    }

    .server-management-layout {
        grid-template-columns: 1fr;
    }

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

    .server-page .server-management-capability {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .server-management-capability-mark {
        display: none;
    }

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

@media (max-width: 520px) {
    .server-management-capabilities,
    .server-management-metrics {
        grid-template-columns: 1fr;
    }

    .server-management-spark {
        height: 2.7rem;
    }
}

/* AIGate: product anchors and task-card telemetry artifacts. */
.aigate-page .server-hero-heading {
    gap: clamp(0.7rem, 1.3vw, 1rem) !important;
}

.aigate-page .server-hero-heading-main {
    font-size: clamp(3.3rem, 6.8vw, 6.5rem) !important;
}

.aigate-page .server-hero-heading-sub {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 1rem;
    box-sizing: border-box;
    font-size: clamp(1.15rem, 2.25vw, 2.3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.048em !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
}

.aigate-hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(100%, 70rem);
    margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
    text-align: left;
}

.aigate-hero-feature {
    position: relative;
    min-width: 0;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.07), rgba(255, 255, 255, 0.012) 52%);
}

.aigate-hero-feature::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, #10b981, rgba(45, 212, 191, 0.18));
}

.theme-light .aigate-hero-feature {
    border-color: rgba(194, 65, 12, 0.14);
    background: linear-gradient(145deg, rgba(255, 237, 213, 0.8), rgba(255, 255, 255, 0.38) 58%);
}

.aigate-hero-feature-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.aigate-hero-feature-index {
    color: #fb923c;
    font-family: var(--ait-font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.aigate-hero-feature h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(0.88rem, 1.15vw, 1.02rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.theme-light .aigate-hero-feature h2 {
    color: #172033;
}

.aigate-hero-feature p {
    min-height: 3.75em;
    margin: 0 0 0.8rem;
    color: #94a3b8;
    font-size: clamp(0.76rem, 0.9vw, 0.84rem);
    line-height: 1.5;
}

.theme-light .aigate-hero-feature p {
    color: #526074;
}

.aigate-code-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.aigate-code-tags code {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    padding: 0.12rem 0.42rem;
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 0.38rem;
    background: rgba(16, 185, 129, 0.08);
    color: #fdba74;
    font-family: var(--ait-font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
}

.theme-light .aigate-code-tags code {
    border-color: rgba(194, 65, 12, 0.16);
    background: rgba(255, 237, 213, 0.8);
    color: #9a3412;
}

.server-page .aigate-task-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem !important;
}

.aigate-task-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.aigate-task-meta > span {
    color: #fb923c;
    font-family: var(--ait-font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}

.aigate-task-artifact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5.5rem;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 0.8rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
        rgba(2, 6, 23, 0.34);
    background-size: 12px 12px;
    color: #cbd5e1;
    font-family: var(--ait-font-mono);
    font-size: 0.6rem;
}

.theme-light .aigate-task-artifact {
    border-color: rgba(71, 85, 105, 0.12);
    background:
        linear-gradient(rgba(71, 85, 105, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 85, 105, 0.04) 1px, transparent 1px),
        rgba(248, 250, 252, 0.72);
    background-size: 12px 12px;
    color: #475569;
}

.aigate-token-head,
.aigate-token-foot,
.aigate-mask-status,
.aigate-mask-rule,
.aigate-policy-rule,
.aigate-policy-dots,
.aigate-vault-key,
.aigate-vault-lock,
.aigate-log-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.aigate-token-head strong,
.aigate-vault-key strong {
    color: #2dd4bf;
}

.aigate-token-scale {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.22rem;
    margin: 0.55rem 0;
}

.aigate-token-scale i {
    height: 0.75rem;
    border-radius: 0.18rem;
    background: rgba(16, 185, 129, 0.18);
}

.aigate-token-scale i:nth-child(-n+7) {
    background: linear-gradient(180deg, #34d399, #10b981);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.16);
}

.aigate-token-foot {
    color: #64748b;
    font-size: 0.52rem;
}

.aigate-mask-status {
    justify-content: flex-start;
    margin-bottom: 0.55rem;
    color: #6ee7b7;
    letter-spacing: 0.08em;
}

.aigate-mask-status i,
.aigate-siem-badge i,
.aigate-policy-dots i {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.56);
}

.aigate-task-artifact--mask > code {
    color: #2dd4bf;
    font-family: var(--ait-font-mono);
    font-size: clamp(0.88rem, 2vw, 1.05rem);
    letter-spacing: 0.035em;
}

.aigate-mask-rule {
    margin-top: 0.55rem;
    color: #64748b;
}

.aigate-mask-rule strong {
    color: #6ee7b7;
}

.aigate-log-row {
    justify-content: flex-start;
    min-width: 0;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.aigate-log-row time {
    flex: 0 0 auto;
    color: #64748b;
}

.aigate-log-row code {
    min-width: 0;
    overflow: hidden;
    color: #cbd5e1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-light .aigate-log-row code {
    color: #334155;
}

.aigate-log-row strong {
    margin-left: auto;
    color: #6ee7b7;
    font-size: 0.54rem;
}

.aigate-log-row:nth-child(2) strong {
    color: #2dd4bf;
}

.aigate-siem-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    margin-top: 0.45rem;
    color: #6ee7b7;
    letter-spacing: 0.08em;
}

.aigate-policy-rule {
    padding: 0.32rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.aigate-policy-rule strong {
    color: #6ee7b7;
}

.aigate-policy-rule:nth-child(2) strong {
    color: #2dd4bf;
}

.aigate-policy-dots {
    justify-content: flex-start;
    margin-top: 0.45rem;
    color: #64748b;
}

.aigate-policy-dots i:nth-child(2) {
    opacity: 0.6;
}

.aigate-policy-dots i:nth-child(3) {
    opacity: 0.3;
}

.aigate-gateway-flow {
    display: grid;
    grid-template-columns: auto minmax(1rem, 1fr) auto minmax(1rem, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
}

.aigate-gateway-flow > span,
.aigate-gateway-flow > strong {
    padding: 0.42rem 0.48rem;
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 0.42rem;
    text-align: center;
}

.aigate-gateway-flow > strong {
    color: #fdba74;
    background: rgba(16, 185, 129, 0.1);
}

.aigate-gateway-flow i {
    height: 1px;
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.2), #fb923c);
}

.aigate-gateway-routes {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.65rem;
    color: #64748b;
    font-size: 0.5rem;
}

.aigate-gateway-routes span:last-child {
    color: #6ee7b7;
}

.aigate-vault-key {
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(255, 209, 102, 0.15);
    border-radius: 0.5rem;
    background: rgba(255, 209, 102, 0.05);
}

.aigate-vault-lock {
    justify-content: flex-start;
    margin-top: 0.65rem;
}

.aigate-vault-lock i {
    position: relative;
    width: 0.72rem;
    height: 0.58rem;
    border: 1px solid #6ee7b7;
    border-radius: 0.18rem;
}

.aigate-vault-lock i::before {
    content: "";
    position: absolute;
    left: 0.12rem;
    bottom: 0.38rem;
    width: 0.36rem;
    height: 0.35rem;
    border: 1px solid #6ee7b7;
    border-bottom: 0;
    border-radius: 0.35rem 0.35rem 0 0;
}

.aigate-vault-lock code {
    margin-left: auto;
    color: #6ee7b7;
    font-family: var(--ait-font-mono);
    font-size: 0.55rem;
}

.aigate-task-card .server-card-title {
    margin: 0;
    align-self: flex-start;
}

.aigate-task-card .server-copy {
    margin: 0;
}

@media (max-width: 900px) {
    .aigate-page .server-hero-heading-sub {
        font-size: clamp(1rem, 2.55vw, 1.4rem) !important;
    }

    .aigate-hero-features {
        grid-template-columns: 1fr;
        width: min(100%, 36rem);
    }

    .aigate-hero-feature {
        padding: 0.9rem 1rem;
    }

    .aigate-hero-feature p {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .aigate-page .server-hero-heading-main {
        font-size: clamp(2.8rem, 14vw, 4.25rem) !important;
    }

    .aigate-page .server-hero-heading-sub {
        max-width: 32ch !important;
        padding-inline: 0;
        font-size: clamp(1rem, 5vw, 1.28rem) !important;
        line-height: 1.12 !important;
        white-space: normal !important;
        text-wrap: balance !important;
        overflow-wrap: normal !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .server-page .server-panel,
    .server-page .server-header-btn,
    .server-page .server-icon-btn,
    .server-page .server-nav-chip,
    .server-page .server-material-btn,
    .controls .ctrl-btn {
        backdrop-filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .server-management-live i {
        animation: none;
    }
}

@media print {
    body::before,
    body.crt::before {
        display: none;
    }
}
