/* vHosts landing page styles */

:root {
    color-scheme: light;
    --bg: #f7f9fc;
    --bg-deep: #f0f4fa;
    --card: #fff;
    --card-hover: #f6f9ff;
    --border: #dce3ed;
    --border-strong: #bac9dc;
    --text: #17243b;
    --muted: #52627a;
    --accent: #2563eb;
    --accent-2: #08758c;
    --brand-start: #4f8cff;
    --brand-end: #22d3ee;
    --ok: #14764f;
    --code: #26456e;
    --surface-tint: #edf3fb;
    --selection: #c5eafa;
    --header-bg: rgba(247, 249, 252, .86);
    --header-scrolled: rgba(255, 255, 255, .94);
    --button-text: #fff;
    --button-bg: linear-gradient(135deg, var(--accent), var(--accent-2));
    --hero-dots: rgba(38, 69, 110, .12);
    --network-line: rgba(37, 99, 235, .13);
    --network-branch: rgba(8, 117, 140, .1);
    --network-node: rgba(37, 99, 235, .22);
    --network-node-fill: rgba(255, 255, 255, .42);
    --network-signal: #2563eb;
    --network-signal-alt: #08758c;
    --preview-shadow: 0 28px 70px rgba(34, 61, 104, .12), 0 4px 14px rgba(34, 61, 104, .04);
    --status-ring: rgba(20, 118, 79, .1);
    --status-border: rgba(20, 118, 79, .25);
    --code-path: #245baa;
    --radius: 12px;
    --shadow: 0 18px 48px rgba(34, 61, 104, .08);
    --card-shadow: 0 3px 8px rgba(34, 61, 104, .04), 0 12px 28px rgba(34, 61, 104, .07);
    --container: 1120px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0b1020;
    --bg-deep: #080d1a;
    --card: #141b2d;
    --card-hover: #192238;
    --border: #2a344b;
    --border-strong: #45516a;
    --text: #e8edf7;
    --muted: #a0adc7;
    --accent: #4f8cff;
    --accent-2: #22d3ee;
    --ok: #34d399;
    --code: #c9d5ee;
    --surface-tint: #10182a;
    --selection: #254b70;
    --header-bg: rgba(11, 16, 32, .86);
    --header-scrolled: rgba(9, 14, 28, .94);
    --button-text: #06101f;
    --button-bg: linear-gradient(135deg, #6aa2ff, #38d8ee);
    --hero-dots: rgba(255, 255, 255, .055);
    --network-line: rgba(119, 164, 255, .14);
    --network-branch: rgba(34, 211, 238, .12);
    --network-node: rgba(119, 164, 255, .25);
    --network-node-fill: rgba(20, 27, 45, .42);
    --network-signal: #6aa2ff;
    --network-signal-alt: #38d8ee;
    --preview-shadow: 0 30px 80px rgba(0, 0, 0, .46);
    --status-ring: rgba(52, 211, 153, .12);
    --status-border: rgba(52, 211, 153, .28);
    --code-path: #9dc4ff;
    --shadow: 0 22px 60px rgba(0, 0, 0, .38);
    --card-shadow: 0 3px 8px rgba(0, 0, 0, .16), 0 12px 28px rgba(0, 0, 0, .24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(900px 520px at 88% -8%, rgba(34, 211, 238, .075), transparent 62%),
        radial-gradient(760px 520px at 2% 8%, rgba(79, 140, 255, .07), transparent 62%),
        var(--bg);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: var(--accent-2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

code {
    font-family: "Cascadia Code", "Consolas", "SFMono-Regular", monospace;
    font-size: .9em;
}

p code,
li code {
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--surface-tint);
    color: var(--code);
    overflow-wrap: anywhere;
}

svg {
    display: block;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.network-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: .68;
    transform: translate3d(0, var(--network-parallax, 0px), 0) scale(1.025);
    transform-origin: center center;
    pointer-events: none;
    transition: opacity .2s ease;
    will-change: transform;
}

.network-bg.is-scrolling {
    opacity: .86;
}

.network-lines {
    fill: none;
    stroke: var(--network-line);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.network-branch {
    stroke: var(--network-branch);
    stroke-dasharray: 5 9;
}

.network-node {
    fill: var(--network-node-fill);
    stroke: var(--network-node);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.network-node .node-detail {
    fill: none;
    stroke: var(--network-node);
    stroke-width: 1.4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.network-signals .signal {
    fill: var(--network-signal);
    filter: drop-shadow(0 0 4px var(--network-signal));
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .18s ease;
}

.network-signals .signal-alt {
    fill: var(--network-signal-alt);
    filter: drop-shadow(0 0 4px var(--network-signal-alt));
}

.network-bg.is-scrolling .network-signals .signal {
    transform: scale(1.35);
}

.network-routes {
    opacity: 0;
    pointer-events: none;
}

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

.container {
    width: min(var(--container), 100% - 48px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--card);
    background: var(--accent-2);
    font-size: 13px;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color .2s ease, background .2s ease;
}

.site-footer {
    position: relative;
    z-index: 1;
}

main {
    position: relative;
    z-index: 1;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: var(--header-scrolled);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand-tile {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    box-shadow: 0 7px 20px rgba(79, 140, 255, .24);
}

.brand-tile svg {
    width: 24px;
    height: 24px;
}

.brand-tile-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.brand-tile-sm svg {
    width: 20px;
    height: 20px;
}

.brand-name {
    display: grid;
    gap: 1px;
}

.brand-name strong {
    font-size: 17px;
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 1.2;
}

.brand-name span {
    color: var(--muted);
    font-size: 11.5px;
    letter-spacing: .02em;
    line-height: 1.3;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-nav a:not(.btn) {
    color: var(--muted);
    font-size: 14px;
    transition: color .15s ease;
}

.site-nav a:not(.btn):hover {
    color: var(--text);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    background: var(--card);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.nav-toggle svg {
    width: 16px;
    height: 16px;
}

.nav-toggle:hover {
    border-color: var(--border-strong);
    background: var(--surface-tint);
}

.theme-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text);
    background: var(--card);
    cursor: pointer;
}

.theme-toggle:hover {
    border-color: var(--border-strong);
    background: var(--surface-tint);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle[hidden],
.theme-icon-sun,
[data-theme="dark"] .theme-icon-moon {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: block;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    color: var(--button-text);
    background: var(--button-bg);
    box-shadow: 0 7px 22px rgba(79, 140, 255, .18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(79, 140, 255, .26);
}

.btn-ghost {
    color: var(--text);
    border-color: var(--border);
    background: var(--card);
}

.btn-ghost:hover {
    border-color: var(--border-strong);
    background: var(--surface-tint);
}

.btn-small {
    padding: 9px 14px;
    font-size: 13px;
}

/* Hero */

.hero {
    position: relative;
    padding: 92px 0 78px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(var(--hero-dots) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 62% 18%, #000 18%, transparent 74%);
    mask-image: radial-gradient(ellipse 85% 75% at 62% 18%, #000 18%, transparent 74%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--accent-2);
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.15rem, 4.6vw, 3.35rem);
    font-weight: 650;
    letter-spacing: -.028em;
    line-height: 1.12;
}

.lead {
    max-width: 56ch;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.06rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 12.5px;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-facts li::before {
    content: "";
    flex: 0 0 auto;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-2);
    opacity: .8;
}

/* Panel preview */

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -34px -22px;
    z-index: -1;
    background: radial-gradient(58% 58% at 68% 22%, rgba(79, 140, 255, .17), transparent 72%);
    filter: blur(18px);
    pointer-events: none;
}

.panel-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--preview-shadow);
}

.preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--card-hover);
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.preview-brand-text {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.preview-brand-text strong {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
}

.preview-brand-text span {
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.3;
    white-space: nowrap;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.status i {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-ok {
    color: var(--ok);
}

.status-ok i {
    box-shadow: 0 0 0 3px var(--status-ring);
}

.preview-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric {
    min-width: 0;
    padding: 11px 12px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-hover);
}

.metric-label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.metric strong {
    display: block;
    margin: 5px 0 9px;
    font-size: 20px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.metric small {
    margin-left: 1px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.bar {
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--border);
}

.bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.preview-block {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.preview-title span:last-child {
    letter-spacing: 0;
    text-transform: none;
}

.preview-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.preview-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    font-size: 12.5px;
}

.preview-list li + li {
    border-top: 1px solid var(--border);
}

.preview-list .status {
    font-size: 10.5px;
}

.host-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
}

.host-row + .host-row {
    border-top: 1px solid var(--border);
}

.host-row strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.host-row div > span {
    display: block;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.4;
}

.tag {
    flex: 0 0 auto;
    padding: 2px 7px;
    border: 1px solid var(--status-border);
    border-radius: 999px;
    color: var(--ok);
    font-size: 9.5px;
    line-height: 1.5;
}

/* Sections */

.section {
    padding: 78px 0;
}

section[id] {
    scroll-margin-top: 86px;
}

.section-alt {
    border-block: 1px solid var(--border);
    background: var(--surface-tint);
}

.section-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.22;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.72;
}

.section-text {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.72;
}

/* Features */

.feature,
.code-card,
.note,
.req-card,
.contact-panel,
.limits-panel {
    box-shadow: var(--card-shadow);
}

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

.feature {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: border-color .18s ease, background .18s ease;
}

.feature:hover {
    border-color: var(--border-strong);
    background: var(--card-hover);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    border: 1px solid rgba(79, 140, 255, .24);
    border-radius: 9px;
    color: var(--accent-2);
    background: rgba(79, 140, 255, .08);
}

.feature-icon svg {
    width: 18px;
    height: 18px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.4;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.66;
}

.feature p + p {
    margin-top: 12px;
}

/* How it works */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 56px);
}

.check-list {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.6;
}

.check-list svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--ok);
}

.code-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-deep);
}

.code-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 11.5px;
}

.code-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-strong);
}

.code-card pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
    font-size: 12.5px;
    line-height: 1.78;
    tab-size: 4;
}

.code-card code {
    color: var(--code);
    font-size: inherit;
}

.code-card .path {
    color: var(--code-path);
}

.code-card .c {
    color: var(--muted);
}

.note {
    margin: 16px 0 0;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent-2);
    border-radius: 0 9px 9px 0;
    color: var(--muted);
    background: rgba(34, 211, 238, .035);
    font-size: 13px;
    line-height: 1.65;
}

/* Security */

.security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.security-item svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--accent-2);
}

.security-item h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.security-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.security-note {
    max-width: 72ch;
    margin: 26px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Limits */

.limits-panel {
    padding: 4px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.limits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.limits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.limits-list li:nth-child(-n + 2) {
    border-top: 0;
}

.limits-list li::before {
    content: "—";
    flex: 0 0 auto;
    color: var(--muted);
}

.limits-note {
    max-width: 76ch;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Install */

.install-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: start;
    gap: clamp(36px, 5vw, 56px);
}

.steps {
    display: grid;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
}

.step-num {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--accent-2);
    background: var(--card);
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.step h3 {
    margin: 2px 0 7px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.step p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.block-code {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--code);
    background: var(--bg-deep);
    font-size: 12.5px;
    line-height: 1.6;
    white-space: pre;
}

.req-card {
    position: sticky;
    top: 96px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.req-card h3 {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.req-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.req-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    line-height: 1.5;
}

.req-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.req-list span:first-child {
    flex: 0 0 auto;
    color: var(--muted);
}

.req-list span:last-child {
    text-align: right;
}

.req-note {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

/* Contact */

.section-contact {
    padding-top: 0;
}

.contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 30px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(79, 140, 255, .07), rgba(34, 211, 238, .03));
}

.contact-copy h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.contact-copy p:not(.eyebrow) {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.contact-copy .eyebrow {
    margin-bottom: 10px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-actions .btn svg {
    width: 15px;
    height: 15px;
}

/* Footer */

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    background: var(--surface-tint);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: none;
}

.footer-copy {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.footer-copy a {
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--border-strong);
    text-underline-offset: 3px;
    transition: color .15s ease, text-decoration-color .15s ease;
}

.footer-copy a:hover {
    color: var(--text);
    text-decoration-color: currentColor;
}

/* Entrance animation */

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * {
        animation: rise .55s ease both;
    }

    .hero-copy > :nth-child(2) {
        animation-delay: .05s;
    }

    .hero-copy > :nth-child(3) {
        animation-delay: .1s;
    }

    .hero-copy > :nth-child(4) {
        animation-delay: .15s;
    }

    .hero-copy > :nth-child(5) {
        animation-delay: .2s;
    }

    .hero-visual {
        animation: rise .7s .08s ease both;
    }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .network-bg .network-signals .signal {
        filter: none;
    }
}

/* Responsive */

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        padding: 66px 0 60px;
    }

    .hero-grid,
    .split,
    .install-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        max-width: 600px;
    }

    .hero-visual::before {
        inset: -24px -8px;
    }

    .req-card {
        position: static;
    }

    .security-grid {
        column-gap: 28px;
    }
}

@media (max-width: 1040px) {
    .header-inner {
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--card);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a:not(.btn) {
        padding: 10px 12px;
        border-radius: 7px;
        font-size: 14px;
    }

    .site-nav a:not(.btn):hover {
        background: var(--surface-tint);
    }

    .site-nav .btn {
        margin-top: 6px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 60px 0;
    }

    .security-grid,
    .limits-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .limits-list li:nth-child(2) {
        border-top: 1px solid var(--border);
    }

    .limits-panel {
        padding: 4px 20px;
    }

    .section-head {
        margin-bottom: 32px;
    }
}

@media (max-width: 680px) {
    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .nav-toggle {
        justify-content: center;
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        padding: 0;
    }

    .nav-toggle-label {
        display: none;
    }

    .container {
        width: min(var(--container), 100% - 36px);
    }

    .brand-name span {
        display: none;
    }

    .hero {
        padding: 52px 0 52px;
    }

    h1 {
        font-size: clamp(1.95rem, 9vw, 2.5rem);
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-facts {
        flex-direction: column;
        gap: 6px;
    }

    .preview-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .preview-body {
        padding: 14px;
    }

    .preview-metrics {
        gap: 8px;
    }

    .metric {
        padding: 10px 9px 9px;
    }

    .metric strong {
        font-size: 17px;
    }

    .metric-label {
        font-size: 9px;
        letter-spacing: .06em;
    }

    .host-row {
        align-items: flex-start;
    }

    .tag {
        margin-top: 2px;
    }

    .block-code {
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .contact-panel {
        padding: 24px 20px;
    }

    .contact-actions {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .code-card pre {
        padding: 14px;
        font-size: 11.5px;
        line-height: 1.85;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}
