/* ============================================================
   Northbit Compute Co · Server rental
   Technical mono · paper + ink black + electric blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --paper: #fafaf7;
    --paper-2: #f0f0eb;
    --bone: #ffffff;
    --pearl: #f5f5f2;
    --mist: #e8e8e4;
    --rule: #d4d4cf;

    --ink: #0a0a0a;
    --ink-soft: #1c1c1c;
    --graphite: #2e2e2e;
    --slate: #4a4a4a;
    --stone: #6a6a6a;
    --silver: #8a8a8a;
    --silver-soft: #aeaeae;

    --blue: #0040ff;
    --blue-deep: #002cc7;
    --blue-soft: #4d77ff;
    --blue-pale: #e0e8ff;
    --blue-mist: #f0f4ff;

    --green: #18b76b;
    --green-pale: #d4f5e3;
    --amber: #d97706;
    --amber-pale: #fde4c7;
    --red: #dc2626;

    --line: rgba(10, 10, 10, 0.1);
    --line-soft: rgba(10, 10, 10, 0.04);
    --line-strong: rgba(10, 10, 10, 0.22);

    --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow: 0 4px 16px rgba(10, 10, 10, 0.06);
    --shadow-lg: 0 16px 40px rgba(10, 10, 10, 0.1);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

    --max: 1320px;
    --r: 4px;
    --r-md: 6px;
    --r-lg: 8px;
    --t: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ink);
}

a { color: inherit; text-decoration: none; transition: var(--t); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

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

/* ============================================================
   HEADER — strict bar with status indicator
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-status {
    background: var(--ink);
    color: var(--paper);
    padding: 6px 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}
.header-status .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex: none;
    box-shadow: 0 0 0 2px rgba(24, 183, 107, 0.2);
    animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.status-item.warn .status-dot { background: var(--amber); box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2); }
.status-item span.label {
    color: rgba(250, 250, 247, 0.6);
    margin-right: 4px;
}
.status-item span.value {
    color: var(--paper);
    font-weight: 500;
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
/* Brand mark: bracket-N */
.brand-mark {
    width: 36px; height: 36px;
    flex: none;
    background: var(--ink);
    position: relative;
    display: grid;
    place-items: center;
    border-radius: var(--r);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.brand-mark::before {
    content: '[';
    position: absolute;
    left: 7px;
    color: var(--blue-soft);
    font-family: var(--font-mono);
}
.brand-mark::after {
    content: ']';
    position: absolute;
    right: 7px;
    color: var(--blue-soft);
    font-family: var(--font-mono);
}
.brand-mark span {
    position: relative;
    z-index: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.012em;
    color: var(--ink);
}
.brand-text .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 8px 16px;
    transition: var(--t);
    position: relative;
}
.nav-link:hover { color: var(--blue); }
.nav-link.active {
    color: var(--ink);
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--blue);
}
.nav-cta {
    background: var(--blue) !important;
    color: var(--paper) !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    margin-left: 10px;
    font-size: 12px !important;
    border-radius: var(--r);
    font-family: var(--font-mono) !important;
    letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--blue-deep) !important; color: var(--paper) !important; }
.burger {
    display: none;
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink);
    width: 40px; height: 40px;
    border-radius: var(--r);
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   SHARED — Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    padding: 14px 24px;
    cursor: pointer;
    border: 0;
    transition: var(--t);
    border-radius: var(--r);
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--blue);
    color: var(--paper);
}
.btn-primary:hover {
    background: var(--blue-deep);
    color: var(--paper);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 64, 255, 0.24);
}
.btn-dark {
    background: var(--ink);
    color: var(--paper);
}
.btn-dark:hover {
    background: var(--blue);
    color: var(--paper);
    transform: translateY(-1px);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}
.btn .ar { transition: transform 0.3s ease; }
.btn:hover .ar { transform: translateX(3px); }
.btn .prompt {
    color: var(--blue-soft);
    margin-right: 4px;
}

.btn-link {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid var(--blue);
    letter-spacing: 0.02em;
    transition: var(--t);
}
.btn-link:hover {
    color: var(--blue);
    gap: 14px;
}

/* ============================================================
   SHARED — Section base + heads
   ============================================================ */
.section { padding: 110px 0; position: relative; }
.section-bone { background: var(--bone); }
.section-paper { background: var(--paper); }
.section-pearl { background: var(--pearl); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}
.section-tag::before {
    content: '//';
    color: var(--blue);
    font-weight: 700;
}

.section-head { max-width: 860px; margin-bottom: 64px; }
.section-head h2 {
    font-size: clamp(38px, 5.2vw, 70px);
    line-height: 1.04;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
    font-weight: 500;
}
.section-head h2 em {
    font-style: normal;
    color: var(--blue);
    font-weight: 500;
}
.section-head h2 code {
    font-family: var(--font-mono);
    font-size: 0.78em;
    color: var(--ink);
    background: var(--blue-pale);
    padding: 0.05em 0.3em;
    border-radius: var(--r);
    font-weight: 500;
    letter-spacing: 0;
}
.section-head .lead {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 660px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-tag { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}
/* Grid pattern background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(10, 10, 10, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, var(--ink) 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, var(--ink) 0%, transparent 80%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    padding: 6px 14px;
    background: var(--blue-pale);
    border-radius: 100px;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px;
    background: var(--blue);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(52px, 7.5vw, 102px);
    line-height: 0.96;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 30px;
    font-weight: 500;
}
.hero h1 em {
    font-style: normal;
    color: var(--blue);
    font-weight: 500;
}
.hero h1 .accent {
    color: var(--graphite);
    font-style: normal;
}

.hero .lead {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 500px;
}

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

/* Hero stat row — manifest table */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hero-stat {
    padding-right: 24px;
    border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .v {
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.025em;
    font-weight: 600;
}
.hero-stat .v .unit {
    font-family: var(--font-mono);
    font-size: 0.34em;
    color: var(--blue);
    margin-left: 4px;
    font-weight: 500;
}
.hero-stat .l {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.04em;
    margin-top: 8px;
}

/* Hero image — large rectangle */
.hero-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--mist);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
/* Stylized placeholder fallback in palette */
.hero-image-placeholder {
    width: 100%; height: 100%;
    background:
        linear-gradient(135deg, var(--ink) 0%, var(--graphite) 60%, var(--blue-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 13px;
    text-align: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}
/* Server rack illusion: stacked horizontal bars */
.hero-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 40px;
    background:
        repeating-linear-gradient(to bottom,
            rgba(250, 250, 247, 0.06) 0,
            rgba(250, 250, 247, 0.06) 14px,
            transparent 14px,
            transparent 28px);
    border: 1px solid rgba(250, 250, 247, 0.12);
}
.hero-image-placeholder::after {
    content: '';
    position: absolute;
    top: 55px;
    left: 55px;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow:
        0 14px 0 var(--green),
        0 28px 0 var(--blue-soft),
        0 42px 0 var(--green),
        18px 0 0 var(--amber),
        18px 14px 0 var(--green),
        18px 28px 0 var(--green),
        18px 42px 0 var(--blue-soft);
}
.hero-image-placeholder .ph-text {
    position: relative;
    z-index: 1;
    color: rgba(250, 250, 247, 0.6);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 10px;
}
.hero-image-placeholder .ph-text strong {
    display: block;
    margin-top: 8px;
    color: var(--paper);
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}

.hero-tag {
    position: absolute;
    top: 18px; left: 18px;
    background: rgba(10, 10, 10, 0.86);
    color: var(--paper);
    padding: 7px 12px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.hero-tag .dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 2.4s ease-in-out infinite;
}

.hero-uptime {
    position: absolute;
    bottom: 18px; right: 18px;
    background: rgba(255, 255, 255, 0.97);
    padding: 10px 14px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    z-index: 2;
    border-left: 3px solid var(--blue);
}
.hero-uptime .top {
    font-size: 9.5px;
    letter-spacing: 0.08em;
    color: var(--stone);
    margin-bottom: 2px;
    text-transform: uppercase;
}
.hero-uptime .v {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
}

/* ============================================================
   TERMINAL BLOCK — signature element
   ============================================================ */
.terminal-block {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-lg);
    padding: 28px 32px 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 12px 32px rgba(10, 10, 10, 0.18);
    border: 1px solid var(--graphite);
    overflow-x: auto;
}
.terminal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(250, 250, 247, 0.12);
    flex-wrap: wrap;
    gap: 10px;
}
.terminal-dots {
    display: flex;
    gap: 6px;
}
.terminal-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-title {
    color: rgba(250, 250, 247, 0.55);
    font-size: 11px;
    letter-spacing: 0.06em;
}
.terminal-prompt {
    color: var(--blue-soft);
    margin-right: 8px;
    user-select: none;
}
.terminal-line {
    display: block;
    color: rgba(250, 250, 247, 0.85);
}
.terminal-line .comment { color: var(--silver); }
.terminal-line .keyword { color: var(--blue-soft); }
.terminal-line .string { color: var(--green); }
.terminal-line .num { color: var(--amber-pale); }
.terminal-line.out {
    color: var(--green);
}
.terminal-line.out::before {
    content: '✓ ';
}

/* ============================================================
   APPROACH — 3 cards with monospace numbering
   ============================================================ */
.approach {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.app-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 36px 28px;
    transition: var(--t);
    position: relative;
}
.app-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}
.app-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--blue);
    margin-bottom: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.app-icon {
    width: 48px; height: 48px;
    border-radius: var(--r);
    background: var(--blue-mist);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--blue);
    border: 1px solid var(--blue-pale);
}
.app-card h3 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.015em;
}
.app-card h3 em { font-style: normal; color: var(--blue); }
.app-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ============================================================
   FLEET LISTING — server class catalog
   ============================================================ */
.fleet-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.filter-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.filter-chip {
    background: var(--bone);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 7px 14px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--t);
    letter-spacing: 0.02em;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.filter-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.filter-count strong {
    color: var(--blue);
    font-weight: 600;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.server-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.server-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--blue);
}
.server-photo {
    aspect-ratio: 4 / 3;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.server-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.server-card:hover .server-photo img { transform: scale(1.04); }
.server-photo-placeholder {
    width: 100%; height: 100%;
    background:
        linear-gradient(135deg, var(--graphite) 0%, var(--ink) 100%);
    position: relative;
    overflow: hidden;
}
/* Rack illusion */
.server-photo-placeholder::before {
    content: '';
    position: absolute;
    inset: 20px;
    background:
        repeating-linear-gradient(to bottom,
            rgba(250, 250, 247, 0.06) 0,
            rgba(250, 250, 247, 0.06) 10px,
            transparent 10px,
            transparent 20px);
    border: 1px solid rgba(250, 250, 247, 0.12);
    border-radius: var(--r);
}
.server-photo-placeholder::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 35px;
    width: 4px; height: 4px;
    background: var(--green);
    border-radius: 50%;
    box-shadow:
        0 10px 0 var(--blue-soft),
        0 20px 0 var(--green),
        0 30px 0 var(--amber),
        14px 0 0 var(--green),
        14px 10px 0 var(--green),
        14px 20px 0 var(--green);
}
.server-photo-placeholder .ph-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: rgba(250, 250, 247, 0.5);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    z-index: 1;
}

.server-class {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    padding: 4px 10px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 1;
}
.server-class.metal { background: rgba(255, 255, 255, 0.96); color: var(--ink); }
.server-class.vps { background: var(--blue); color: var(--paper); }
.server-class.gpu { background: var(--amber); color: var(--ink); }

.server-status {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(10, 10, 10, 0.78);
    color: var(--paper);
    padding: 4px 10px;
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}
.server-status .dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
}
.server-status.stock-low .dot { background: var(--amber); }

.server-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.server-sku {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.04em;
    font-weight: 600;
}
.server-card h3 {
    font-size: 22px;
    line-height: 1.15;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.012em;
}
.server-card h3 em { font-style: normal; color: var(--blue); }
.server-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}
.spec-line {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-soft);
    letter-spacing: 0;
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}
.spec-line .k {
    color: var(--stone);
}
.spec-line .v {
    color: var(--ink);
    font-weight: 500;
}
.server-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.server-foot .period {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.server-foot .period strong {
    color: var(--ink);
    font-weight: 600;
}
.server-price {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.022em;
    line-height: 1;
}
.server-price .cur {
    font-size: 0.5em;
    color: var(--stone);
    margin-right: 3px;
    vertical-align: top;
    font-family: var(--font-mono);
}
.server-price .per {
    font-family: var(--font-mono);
    font-size: 0.4em;
    color: var(--stone);
    font-weight: 500;
}

/* ============================================================
   REGION STATUS BOARD — signature element
   ============================================================ */
.region-board {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.region-board-head {
    background: var(--paper-2);
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.region-board-head .left {
    color: var(--ink);
    font-weight: 600;
}
.region-board-head .right {
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 8px;
}
.region-board-head .right .dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(24, 183, 107, 0.2);
    animation: blink 2.4s ease-in-out infinite;
}
.region-row {
    display: grid;
    grid-template-columns: 30px 1.4fr 1fr 1fr 90px;
    align-items: center;
    padding: 16px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: 13px;
    transition: background 0.2s ease;
}
.region-row:last-child { border-bottom: 0; }
.region-row:hover { background: var(--pearl); }
.region-row .indicator {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--green-pale);
}
.region-row.warn .indicator { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-pale); }
.region-row .name {
    color: var(--ink);
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: -0.012em;
}
.region-row .name small {
    display: block;
    color: var(--stone);
    font-family: var(--font-mono);
    font-size: 10px;
    margin-top: 2px;
    letter-spacing: 0.04em;
    font-weight: 400;
}
.region-row .ping {
    color: var(--ink-soft);
}
.region-row .ping strong { color: var(--ink); }
.region-row .stock {
    color: var(--ink-soft);
}
.region-row.warn .stock { color: var(--amber); }
.region-row .uptime {
    text-align: right;
    color: var(--ink);
    font-weight: 600;
}

/* ============================================================
   SERVER DETAIL PAGE
   ============================================================ */
.detail-hero {
    padding: 160px 0 70px;
}
.detail-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 26px;
    margin-bottom: 44px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 20px;
}
.detail-hero-top .make {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.detail-hero-top .make strong { color: var(--blue); font-weight: 600; }
.detail-hero-top h1 {
    font-size: clamp(50px, 6.8vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 500;
    margin-top: 14px;
}
.detail-hero-top h1 em { font-style: normal; color: var(--blue); }
.detail-hero-top .right-block { text-align: right; }
.detail-hero-top .sku {
    font-family: var(--font-mono);
    font-size: 32px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0;
}
.detail-hero-top .sku .blue { color: var(--blue); }
.detail-hero-top .availability {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.detail-hero-top .availability .dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
}

.detail-gallery {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
}
.detail-gallery-main {
    aspect-ratio: 16 / 10;
    background: var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
}
.detail-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.detail-gallery-main .server-photo-placeholder { width: 100%; height: 100%; }
.detail-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.detail-gallery-side > div {
    aspect-ratio: 4 / 3;
    background: var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--t);
    position: relative;
}
.detail-gallery-side > div:hover { border-color: var(--blue); }
.detail-gallery-side > div img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.detail-gallery-side .server-photo-placeholder { width: 100%; height: 100%; }
.detail-gallery-side .server-photo-placeholder::before { inset: 12px; }
.detail-gallery-side .server-photo-placeholder::after { display: none; }

.detail-info-block {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}
.detail-info-text .desc {
    font-size: 19px;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: 26px;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.012em;
}
.detail-info-text .desc em { color: var(--blue); font-style: normal; }
.detail-info-text p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}
.detail-info-text p:last-child { margin-bottom: 0; }
.detail-info-text code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--paper-2);
    padding: 2px 6px;
    border-radius: var(--r);
    color: var(--blue-deep);
    font-weight: 500;
}

.detail-booking-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-md);
    padding: 32px 30px;
    position: relative;
    border: 1px solid var(--graphite);
}
.detail-booking-card .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue-soft);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.detail-booking-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(250, 250, 247, 0.12);
}
.detail-booking-card .price-hourly {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--paper);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1;
}
.detail-booking-card .price-hourly .cur {
    font-size: 0.45em;
    color: var(--silver-soft);
    margin-right: 4px;
    vertical-align: top;
    font-family: var(--font-mono);
}
.detail-booking-card .price-hourly .per {
    font-family: var(--font-mono);
    font-size: 0.3em;
    color: var(--silver-soft);
    font-weight: 400;
    margin-left: 4px;
}
.detail-booking-card .price-monthly {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--silver-soft);
}
.detail-booking-card .price-monthly strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--paper);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.detail-booking-card ul {
    list-style: none;
    margin-bottom: 22px;
}
.detail-booking-card ul li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 13px;
    color: rgba(250, 250, 247, 0.78);
    line-height: 1.55;
    font-family: var(--font-mono);
}
.detail-booking-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 8px;
    color: var(--green);
    font-weight: 700;
}
.detail-booking-card .btn { width: 100%; justify-content: center; }
.detail-booking-card .btn-primary { background: var(--blue); }
.detail-booking-card .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* SPECS — manifest table */
.detail-specs-block {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}
.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.spec-cell {
    padding: 22px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bone);
}
.spec-cell .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.spec-cell .v {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
}
.spec-cell .v .mono-small {
    font-family: var(--font-mono);
    font-size: 0.55em;
    color: var(--stone);
    margin-left: 4px;
    font-weight: 500;
}

/* OS / Stack provisioning block */
.os-block {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}
.os-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}
.os-item {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    transition: var(--t);
    text-align: left;
    cursor: pointer;
}
.os-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.os-item .os-icon {
    width: 36px; height: 36px;
    background: var(--blue-mist);
    color: var(--blue);
    border-radius: var(--r);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
}
.os-item .os-name {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.os-item .os-ver {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--stone);
}

/* ============================================================
   ABOUT — story + crew + facts
   ============================================================ */
.about-hero {
    padding: 160px 0 80px;
    border-bottom: 1px solid var(--line);
}
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: end;
}
.about-hero h1 {
    font-size: clamp(48px, 6.8vw, 92px);
    line-height: 0.96;
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: -0.028em;
}
.about-hero h1 em { font-style: normal; color: var(--blue); }
.about-hero .lead {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 540px;
}
.about-hero-image {
    aspect-ratio: 4 / 5;
    background: var(--ink);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.about-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.about-hero-image .server-photo-placeholder { width: 100%; height: 100%; }

/* Changelog story */
.changelog {
    max-width: 820px;
    margin: 0 auto;
}
.changelog h2 { margin-bottom: 50px; text-align: center; }
.log-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 36px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.log-row:last-child { border-bottom: 0; }
.log-row .ver {
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--blue);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}
.log-row .ver small {
    display: block;
    color: var(--stone);
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.log-row .text p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 12px;
}
.log-row .text p:last-child { margin-bottom: 0; }
.log-row .text p strong {
    color: var(--ink);
    font-weight: 600;
}
.log-row .text code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--paper-2);
    padding: 1px 6px;
    border-radius: var(--r);
    color: var(--blue-deep);
}

/* Facts band */
.facts-band {
    background: var(--ink);
    color: var(--paper);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.facts-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(250, 250, 247, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(250, 250, 247, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.facts-band .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.fact {
    padding: 0 32px;
    border-right: 1px solid rgba(250, 250, 247, 0.12);
}
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact .v {
    font-family: var(--font-display);
    font-size: 52px;
    line-height: 1;
    color: var(--paper);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}
.fact .v em { color: var(--blue-soft); font-style: normal; font-size: 0.65em; }
.fact .l {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--silver-soft);
    letter-spacing: 0.04em;
}

/* Crew */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.crew-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
}
.crew-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue); }
.crew-photo {
    aspect-ratio: 4 / 5;
    background: var(--ink);
    overflow: hidden;
}
.crew-photo img { width: 100%; height: 100%; object-fit: cover; }
.crew-photo .server-photo-placeholder { width: 100%; height: 100%; }
.crew-info {
    padding: 22px 24px 24px;
}
.crew-role {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 8px;
}
.crew-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}
.crew-name em { color: var(--blue); font-style: normal; }
.crew-bio {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-page {
    padding: 160px 0 100px;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: start;
}
.contact-side h1 {
    font-size: clamp(48px, 6.4vw, 86px);
    line-height: 0.96;
    margin-bottom: 24px;
    letter-spacing: -0.028em;
    font-weight: 500;
}
.contact-side h1 em { font-style: normal; color: var(--blue); }
.contact-side .lead {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.contact-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    border-top: 3px solid var(--blue);
}
.contact-card .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-card .value {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}
.contact-card .value a:hover { color: var(--blue); }
.contact-card .value .phone {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--ink);
    font-weight: 600;
}

.contact-form-wrap {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 40px;
    position: relative;
    border-top: 3px solid var(--ink);
}
.contact-form h3 {
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 28px;
    font-weight: 500;
    letter-spacing: -0.015em;
}
.contact-form h3 em { color: var(--blue); font-style: normal; }
.form-row { margin-bottom: 16px; }
.form-row-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-row label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.04em;
    margin-bottom: 7px;
    font-weight: 600;
}
.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--t);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: 0;
    border-color: var(--blue);
    background: var(--bone);
    box-shadow: 0 0 0 3px rgba(0, 64, 255, 0.08);
}
.form-row select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230040ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-row textarea { resize: vertical; min-height: 100px; font-family: var(--font-mono); font-size: 13px; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--silver-soft); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.form-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}
.form-success.show { display: block; }
.form-success .check {
    width: 60px; height: 60px;
    background: var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    color: var(--paper);
    font-size: 28px;
}
.form-success h3 {
    color: var(--ink);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
}
.form-success p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
}
.contact-form.hidden { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--paper-2);
    padding: 70px 0 34px;
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}
.footer-brand p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
    margin-top: 16px;
}
.footer-col h5 {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col li a, .footer-col li {
    color: var(--ink-soft);
    font-size: 14px;
}
.footer-col li a:hover { color: var(--blue); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--stone);
    letter-spacing: 0.04em;
}
.footer-bottom .sep { color: var(--blue); margin: 0 6px; }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 540px;
    margin: 0 auto;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-md);
    padding: 20px 24px;
    z-index: 100;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 50px rgba(10, 10, 10, 0.3);
    border-left: 3px solid var(--blue);
}
.cookie.show { display: flex; }
.cookie p {
    flex: 1;
    min-width: 220px;
    font-size: 13px;
    line-height: 1.55;
}
.cookie a { color: var(--blue-soft); text-decoration: underline; }
.cookie button {
    padding: 9px 16px;
    border: 0;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: var(--r);
}
.cookie .accept { background: var(--blue); color: var(--paper); }
.cookie .decline {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(250, 250, 247, 0.2);
}

/* ============================================================
   Animations
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .header-status .wrap { font-size: 10px; gap: 8px; }
    .status-item:nth-child(n+3) { display: none; }
    .header-inner { padding: 12px 20px; }
    .brand-text .name { font-size: 16px; }
    .nav-links {
        position: fixed;
        top: 76px; left: 12px; right: 12px;
        background: var(--bone);
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 2px;
        display: none;
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 12px 18px; }
    .nav-link.active::after { display: none; }
    .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
    .burger { display: flex; }

    .hero { padding: 130px 0 60px; }
    .hero-grid, .about-hero-grid, .contact-page-grid, .detail-info-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image, .about-hero-image { max-height: 580px; aspect-ratio: 4 / 4.4; }
    .hero-stat .v { font-size: 28px; }
    .detail-hero-top { flex-direction: column; align-items: flex-start; }
    .detail-hero-top .right-block { text-align: left; }

    .approach, .fleet-grid, .crew-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .detail-specs-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-gallery { grid-template-columns: 1fr; }
    .os-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 70px 0; }

    .region-row { grid-template-columns: 20px 1fr 70px; font-size: 12px; padding: 14px 18px; gap: 12px; }
    .region-row .ping, .region-row .stock { display: none; }
    .region-row .name { font-size: 14px; }

    .facts-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .fact { padding: 0 16px !important; }
    .fact:nth-child(2) { border-right: 0; }
    .fact:nth-child(3) { padding-left: 0 !important; }
    .fact .v { font-size: 42px; }

    .contact-form-wrap { padding: 24px; }
    .contact-cards { grid-template-columns: 1fr; }
    .form-row-pair { grid-template-columns: 1fr; }
    .log-row { grid-template-columns: 1fr; gap: 12px; }
    .terminal-block { font-size: 11px; padding: 22px; }
}
@media (max-width: 540px) {
    .wrap { padding: 0 18px; }
    .hero h1 { font-size: 46px; }
    .detail-specs-grid { grid-template-columns: 1fr; }
    .os-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .facts-band .wrap { grid-template-columns: 1fr; }
    .fact { border-right: 0 !important; }
}
