:root {
    --nr-ink: #0b1621;
    --nr-panel: #132433;
    --nr-panel-2: #1a3042;
    --nr-steel: #8fa6b8;
    --nr-paper: #f5f7f9;
    --nr-white: #ffffff;
    --nr-line: #d6dee5;
    --nr-accent: #e36b2c;
    --nr-accent-dark: #b94e18;
    --nr-positive: #2b8a5f;
    --nr-muted: #5e7180;
    --nr-shadow: 0 16px 42px rgba(11, 22, 33, 0.14);
    --nr-radius: 18px;
    --nr-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--nr-ink);
    background: var(--nr-paper);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.nr-shell {
    width: min(calc(100% - 32px), var(--nr-max));
    margin: 0 auto;
}

.nr-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    color: var(--nr-white);
    background: rgba(11, 22, 33, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
}

.nr-topbar__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nr-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.nr-brand__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--nr-white);
    background: var(--nr-accent);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nr-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
}

.nr-nav a {
    color: #dce6ed;
    text-decoration: none;
}

.nr-nav a:hover,
.nr-nav a:focus-visible {
    color: var(--nr-white);
}

.nr-hero {
    color: var(--nr-white);
    background:
        radial-gradient(circle at 82% 18%, rgba(227, 107, 44, 0.22), transparent 30%),
        linear-gradient(135deg, var(--nr-ink), var(--nr-panel));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nr-hero__grid {
    min-height: 500px;
    padding: 80px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: center;
    gap: 58px;
}

.nr-eyebrow {
    margin: 0 0 12px;
    color: #ffbd98;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.14;
}

h1 {
    max-width: 790px;
    margin-bottom: 20px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    letter-spacing: -0.045em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.03em;
}

h3 {
    margin-bottom: 10px;
}

.nr-lead {
    max-width: 720px;
    margin: 0 0 28px;
    color: #d8e2e9;
    font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.nr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 20px;
}

.nr-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.nr-button:hover {
    transform: translateY(-1px);
}

.nr-button--primary {
    color: var(--nr-white);
    background: var(--nr-accent);
}

.nr-button--primary:hover,
.nr-button--primary:focus-visible {
    background: var(--nr-accent-dark);
}

.nr-button--secondary {
    color: var(--nr-white);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.nr-button--light {
    color: var(--nr-ink);
    border-color: var(--nr-line);
    background: var(--nr-white);
}

.nr-meta-row,
.nr-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nr-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    color: #e5eef4;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 700;
}

.nr-hmi {
    overflow: hidden;
    background: #0b151f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.nr-hmi__title {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cbd8e1;
    background: #101f2c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.nr-hmi__lights {
    display: flex;
    gap: 6px;
}

.nr-hmi__light {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #456174;
}

.nr-hmi__light--active {
    background: #43c287;
    box-shadow: 0 0 12px rgba(67, 194, 135, 0.7);
}

.nr-hmi__body {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.nr-hmi__display {
    padding: 20px;
    text-align: center;
    background: #10283a;
    border: 1px solid #24485f;
    border-radius: 14px;
}

.nr-hmi__value {
    display: block;
    color: #f4fbff;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.nr-hmi__unit {
    color: #a9c4d5;
    font-weight: 700;
}

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

.nr-hmi__cell {
    padding: 13px;
    color: #c7d5df;
    background: #11212e;
    border: 1px solid #203c50;
    border-radius: 10px;
}

.nr-hmi__cell strong {
    display: block;
    color: #ffffff;
    font-size: 1.08rem;
}

.nr-section {
    padding: 76px 0;
}

.nr-section--white {
    background: var(--nr-white);
}

.nr-section--dark {
    color: var(--nr-white);
    background: var(--nr-panel);
}

.nr-section__intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.nr-section__intro p {
    color: var(--nr-muted);
    font-size: 1.06rem;
}

.nr-section--dark .nr-section__intro p {
    color: #c7d4dd;
}

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

.nr-card {
    padding: 25px;
    background: var(--nr-white);
    border: 1px solid var(--nr-line);
    border-radius: var(--nr-radius);
    box-shadow: 0 8px 28px rgba(11, 22, 33, 0.06);
}

.nr-card p:last-child {
    margin-bottom: 0;
}

.nr-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--nr-white);
    background: var(--nr-panel);
    border-radius: 12px;
    font-weight: 900;
}

.nr-download-panel {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    background: var(--nr-white);
    border: 1px solid var(--nr-line);
    border-radius: var(--nr-radius);
    box-shadow: var(--nr-shadow);
}

.nr-download-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.nr-download-facts {
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.nr-fact {
    padding: 13px 15px;
    background: #eef3f6;
    border-radius: 11px;
}

.nr-fact span {
    display: block;
    color: var(--nr-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nr-fact strong {
    display: block;
    margin-top: 2px;
}

.nr-code {
    overflow-x: auto;
    padding: 17px 19px;
    color: #dff4ff;
    background: #0b1621;
    border: 1px solid #23394a;
    border-radius: 12px;
    font: 0.9rem/1.6 "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    white-space: pre;
}

.nr-steps {
    counter-reset: nr-step;
    display: grid;
    gap: 18px;
}

.nr-step {
    position: relative;
    padding: 22px 22px 22px 72px;
    background: var(--nr-white);
    border: 1px solid var(--nr-line);
    border-radius: 14px;
}

.nr-step::before {
    counter-increment: nr-step;
    content: counter(nr-step);
    position: absolute;
    left: 20px;
    top: 20px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--nr-white);
    background: var(--nr-accent);
    border-radius: 10px;
    font-weight: 900;
}

.nr-note {
    padding: 20px 22px;
    background: #fff6ef;
    border: 1px solid #f3c4a8;
    border-left: 5px solid var(--nr-accent);
    border-radius: 12px;
}

.nr-positive {
    padding: 20px 22px;
    background: #edf8f3;
    border: 1px solid #b8dfcf;
    border-left: 5px solid var(--nr-positive);
    border-radius: 12px;
}

.nr-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--nr-line);
    border-radius: 14px;
    background: var(--nr-white);
}

.nr-table {
    width: 100%;
    border-collapse: collapse;
}

.nr-table th,
.nr-table td {
    padding: 15px 17px;
    text-align: left;
    border-bottom: 1px solid var(--nr-line);
}

.nr-table th {
    color: var(--nr-muted);
    background: #eef3f6;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nr-table tr:last-child td {
    border-bottom: 0;
}

.nr-footer {
    padding: 40px 0;
    color: #b9c8d3;
    background: var(--nr-ink);
}

.nr-footer__grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nr-footer a {
    color: var(--nr-white);
}

.nr-small {
    font-size: 0.88rem;
}

.nr-muted {
    color: var(--nr-muted);
}

.nr-catalog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.nr-catalog-card .nr-actions {
    margin-top: auto;
    padding-top: 18px;
}

.nr-checksum {
    word-break: break-all;
}

@media (max-width: 900px) {
    .nr-hero__grid,
    .nr-download-panel {
        grid-template-columns: 1fr;
    }

    .nr-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nr-download-facts {
        grid-template-columns: 1fr 1fr;
    }

    .nr-hero__grid {
        padding: 62px 0;
    }
}

@media (max-width: 620px) {
    .nr-shell {
        width: min(calc(100% - 22px), var(--nr-max));
    }

    .nr-topbar__inner {
        min-height: 60px;
    }

    .nr-nav a:not(:last-child) {
        display: none;
    }

    .nr-hero__grid,
    .nr-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .nr-grid,
    .nr-download-facts,
    .nr-hmi__grid {
        grid-template-columns: 1fr;
    }

    .nr-download-panel {
        padding: 24px;
    }

    .nr-footer__grid {
        flex-direction: column;
    }
}

@media print {
    .nr-topbar,
    .nr-actions,
    .nr-hmi {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 11pt;
    }

    .nr-section,
    .nr-hero__grid {
        padding: 18pt 0;
    }

    .nr-hero {
        color: #000;
        background: #fff;
        border-bottom: 1px solid #aaa;
    }

    .nr-lead,
    .nr-badge {
        color: #000;
    }

    .nr-card,
    .nr-download-panel,
    .nr-step {
        box-shadow: none;
        break-inside: avoid;
    }
}
