/*
 * NIROSTAT validation landing
 *
 * Apple-inspired visual direction:
 * - graphite navigation
 * - restrained orange accent
 * - large typography
 * - generous spacing
 * - neutral #f5f5f7 background
 * - white elevated surfaces
 * - dark product UI fragments
 */

:root {
    --background: #f5f5f7;
    --background-soft: #eeeeef;

    --card: #ffffff;
    --card-solid: #ffffff;

    --border: rgba(0, 0, 0, 0.06);

    --text: #1d1d1f;
    --muted: #6e6e73;

    --primary: #f2a009;
    --primary-light: #ffb11b;

    --success: #2f9d68;
    --danger: #d85b62;

    --graphite: #1d1d1f;
    --graphite-soft: #2c2c2e;

    --shadow-small:
        0 4px 18px rgba(0, 0, 0, 0.04);

    --shadow-card:
        0 14px 40px rgba(0, 0, 0, 0.06);

    --shadow-product:
        0 35px 90px rgba(0, 0, 0, 0.14);
}


/* ==================================================
   PAGE
================================================== */

html {
    background: #f5f5f7;
}

body {
    background: #f5f5f7;
    color: #1d1d1f;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.page-background {
    background:
        radial-gradient(
            circle at 72% 12%,
            rgba(242, 160, 9, 0.055),
            transparent 27%
        ),
        #f5f5f7;
}

.page-background::after {
    display: none;
}


/* ==================================================
   CONTAINER
================================================== */

.container {
    width: min(
        calc(100% - 48px),
        1220px
    );
}


/* ==================================================
   DARK HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;

    border: 0;

    background:
        rgba(29, 29, 31, 0.94);

    backdrop-filter:
        saturate(180%)
        blur(20px);

    -webkit-backdrop-filter:
        saturate(180%)
        blur(20px);

    box-shadow:
        0 1px 0
        rgba(255,255,255,0.05);
}

.header-inner {
    height: 66px;
}


/* NIROSTAT — one color */

.site-header .brand-niro,
.site-header .brand-stat {
    color: #f5f5f7;
}

.site-header .brand {
    font-size: 18px;
    letter-spacing: 0.025em;
    font-weight: 700;
}


/* Navigation */

.desktop-nav {
    color: #c7c7cc;
    gap: 34px;
}

.desktop-nav a {
    font-size: 13px;
    font-weight: 450;

    transition:
        color 0.18s ease,
        opacity 0.18s ease;
}

.desktop-nav a:hover {
    color: #ffffff;
}


/* Header button */

.site-header .button-primary {
    min-height: 36px;

    padding:
        0
        17px;

    border-radius: 18px;

    font-size: 12px;

    color: #1d1d1f;

    box-shadow: none;
}


/* ==================================================
   BUTTONS
================================================== */

.button {
    min-height: 50px;

    padding:
        0
        24px;

    border-radius: 25px;

    font-weight: 580;

    letter-spacing:
        -0.01em;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

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

.button-primary {
    color: #1d1d1f;

    background: #f2a009;

    box-shadow:
        0 7px 22px
        rgba(242,160,9,0.20);
}

.button-primary:hover {
    background: #ffad10;

    box-shadow:
        0 10px 28px
        rgba(242,160,9,0.25);
}

.button-secondary {
    color: #1d1d1f;

    background:
        rgba(255,255,255,0.85);

    border:
        1px solid
        rgba(0,0,0,0.08);

    box-shadow:
        var(--shadow-small);
}

.button-secondary:hover {
    background: #ffffff;
}


/* ==================================================
   MAIN / HERO
================================================== */

.main-screen {
    min-height:
        calc(100vh - 66px);

    padding:
        94px
        0
        112px;
}

.main-grid {
    grid-template-columns:
        minmax(0, 0.86fr)
        minmax(520px, 1.14fr);

    gap: 86px;
}


/* Small label */

.eyebrow,
.section-kicker,
.section-heading > span {
    color: #8b6500;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.02em;
    text-transform: none;
}

.eyebrow::before {
    width: 6px;
    height: 6px;

    background: #f2a009;

    box-shadow: none;
}


/* Main heading */

.main-copy h1 {
    margin:
        22px
        0
        28px;

    max-width: 720px;

    color: #1d1d1f;

    font-size:
        clamp(
            56px,
            5.7vw,
            82px
        );

    line-height: 0.97;

    font-weight: 680;

    letter-spacing: -0.065em;
}

.main-copy h1 span {
    color: #6e6e73;
}


/* Lead */

.main-description {
    max-width: 610px;

    color: #6e6e73;

    font-size: 20px;
    line-height: 1.55;

    letter-spacing: -0.012em;
}

.main-actions {
    margin-top: 36px;
}

.main-note {
    max-width: 560px;

    margin-top: 18px;

    color: #86868b;

    font-size: 12px;
    line-height: 1.5;
}


/* Stats */

.trust-row {
    gap: 34px;

    margin-top: 52px;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(0,0,0,0.07);
}

.trust-row strong {
    color: #1d1d1f;

    font-size: 14px;
    font-weight: 620;
}

.trust-row span {
    color: #86868b;

    margin-top: 5px;

    font-size: 10px;
}


/* ==================================================
   PRODUCT PREVIEW
================================================== */

.product-preview {
    position: relative;
}

.preview-glow {
    width: 70%;
    height: 75%;

    top: 12%;
    right: 4%;

    background:
        rgba(242,160,9,0.11);

    filter: blur(110px);
}


/*
 * Dark product container introduces some
 * of the requested dark visual mass while
 * keeping the marketing page light.
 */

.dashboard {
    position: relative;

    overflow: hidden;

    padding:
        25px
        25px
        25px
        98px;

    border: 0;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #202022,
            #121214
        );

    color: #ffffff;

    box-shadow:
        var(--shadow-product);

    transform:
        perspective(1300px)
        rotateY(-1.2deg)
        rotateX(0.5deg);
}


/* Sidebar */

.dashboard::before {
    content: "N";

    position: absolute;

    inset:
        0
        auto
        0
        0;

    width: 72px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 27px;

    border-radius:
        26px
        0
        0
        26px;

    background: #0c0c0e;

    color: #ffffff;

    font-size: 19px;
    font-weight: 720;
}


/* Dashboard top */

.dashboard-caption,
.section-label {
    color: #8e8e93;
}

.dashboard h2 {
    color: #f5f5f7;
}

.status {
    color: #a1a1a6;
}

.status-dot,
.live-indicator {
    background: #32d583;

    box-shadow:
        0
        0
        10px
        rgba(50,213,131,0.25);
}


/* Metrics */

.metrics {
    gap: 10px;
}

.metric-card {
    border:
        1px solid
        rgba(255,255,255,0.06);

    border-radius: 16px;

    background:
        rgba(255,255,255,0.055);

    box-shadow: none;
}

.metric-card span {
    color: #a1a1a6;
}

.metric-card strong {
    color: #ffffff;
}

.metric-card small {
    color: #7f7f85;
}

.metric-card .metric-positive {
    color: #5bd99c;
}


/* Activity */

.activity,
.recommendation {
    border:
        1px solid
        rgba(255,255,255,0.06);

    border-radius: 17px;

    background:
        rgba(255,255,255,0.04);
}

.activity-item {
    border-bottom:
        1px solid
        rgba(255,255,255,0.06);
}

.activity-time {
    color: #727278;
}

.activity-item strong {
    color: #f5f5f7;
}

.activity-item span {
    color: #818187;
}

.activity-icon.down {
    color: #63db9f;

    background:
        rgba(50,213,131,0.10);
}

.activity-icon.plus,
.activity-icon.insight {
    color: #ffb223;

    background:
        rgba(242,160,9,0.12);
}


/* Recommendation */

.recommendation {
    border-color:
        rgba(242,160,9,0.14);

    background:
        linear-gradient(
            145deg,
            rgba(242,160,9,0.13),
            rgba(242,160,9,0.025)
        );
}

.recommendation-label {
    color: #ffb223;
}

.recommendation h3 {
    color: #ffffff;
}

.recommendation p {
    color: #a1a1a6;
}

.recommendation-footer {
    color: #f5f5f7;
}

.recommendation-footer span {
    color: #77777d;
}

.dashboard-footer {
    color: #77777d;
}


/* ==================================================
   SECTIONS
================================================== */

.preview-section,
.report-section,
.analysis-section,
.faq-section {
    padding:
        125px
        0;
}


/* Section heading */

.section-heading {
    max-width: 740px;

    margin-bottom: 52px;
}

.section-heading h2,
.report-box h2,
.analysis-copy h2 {
    color: #1d1d1f;

    font-size:
        clamp(
            42px,
            4.5vw,
            62px
        );

    font-weight: 650;

    line-height: 1.02;

    letter-spacing: -0.055em;
}

.section-heading p,
.analysis-copy > p {
    max-width: 620px;

    color: #6e6e73;

    font-size: 18px;
    line-height: 1.55;
}


/* Remove old boxed strip */

.preview-section::before,
.analysis-section::before {
    display: none;
}


/* ==================================================
   FEATURE CARDS
================================================== */

.feature-grid {
    gap: 18px;
}

.feature-grid article {
    min-height: 250px;

    padding: 30px;

    border: 0;

    border-radius: 26px;

    background: #ffffff;

    box-shadow:
        0 12px 36px
        rgba(0,0,0,0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-grid article:hover {
    transform:
        translateY(-4px);

    box-shadow:
        0 20px 52px
        rgba(0,0,0,0.075);
}

.feature-grid article > span {
    color: #a36b00;

    font-size: 11px;
}

.feature-grid h3 {
    margin-top: 82px;

    color: #1d1d1f;

    font-size: 22px;
    font-weight: 620;

    letter-spacing: -0.025em;
}

.feature-grid p {
    color: #86868b;

    font-size: 13px;
    line-height: 1.55;
}


/* ==================================================
   REPORT
================================================== */

.report-box {
    gap: 90px;

    padding-top: 78px;
    padding-bottom: 78px;

    border-top:
        1px solid
        rgba(0,0,0,0.07);

    border-bottom:
        1px solid
        rgba(0,0,0,0.07);
}

.report-summary {
    gap: 12px;
}

.report-summary div {
    padding: 22px;

    border: 0;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        var(--shadow-small);
}

.report-summary span {
    color: #86868b;
}

.report-summary strong {
    color: #1d1d1f;

    font-size: 30px;
}

.report-summary p {
    padding: 26px;

    border: 0;

    border-radius: 20px;

    background: #1d1d1f;

    color: #d2d2d7;

    line-height: 1.6;

    box-shadow:
        0 15px 40px
        rgba(0,0,0,0.10);
}


/* ==================================================
   ANALYSIS / FORM
================================================== */

.analysis-layout {
    gap: 90px;
}

.analysis-points {
    gap: 20px;
}

.analysis-points strong {
    color: #b87500;
}

.analysis-points span {
    color: #6e6e73;

    font-size: 14px;
    line-height: 1.5;
}


/* White Apple-like form card */

.lead-form {
    padding: 34px;

    border: 0;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 18px 55px
        rgba(0,0,0,0.07);
}

.lead-form label > span:first-child {
    color: #515154;

    font-size: 12px;
}

.lead-form input,
.lead-form textarea {
    border:
        1px solid
        rgba(0,0,0,0.075);

    border-radius: 13px;

    background: #f5f5f7;

    color: #1d1d1f;
}

.lead-form input {
    min-height: 52px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #a1a1a6;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color:
        rgba(242,160,9,0.62);

    background: #ffffff;

    box-shadow:
        0
        0
        0
        4px
        rgba(242,160,9,0.09);
}

.contact-hint {
    padding:
        11px
        14px;

    border-radius: 12px;

    background:
        rgba(242,160,9,0.08);

    color: #7c5900;
}

.consent-field span {
    color: #86868b !important;
}

.form-caption {
    color: #a1a1a6;
}


/* ==================================================
   FAQ
================================================== */

.faq-list details {
    border-top:
        1px solid
        rgba(0,0,0,0.08);
}

.faq-list details:last-child {
    border-bottom:
        1px solid
        rgba(0,0,0,0.08);
}

.faq-list summary {
    padding:
        26px
        4px;

    color: #1d1d1f;

    font-size: 16px;
    font-weight: 560;
}

.faq-list p {
    color: #6e6e73;

    line-height: 1.6;
}


/* ==================================================
   DARK FOOTER
================================================== */

.site-footer {
    border: 0;

    background: #1d1d1f;
}

.site-footer .brand-niro,
.site-footer .brand-stat {
    color: #f5f5f7;
}

.footer-inner {
    min-height: 112px;

    color: #86868b;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 980px) {
    .main-grid {
        gap: 68px;
    }

    .analysis-layout {
        gap: 58px;
    }
}


@media (max-width: 720px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                1220px
            );
    }


    /* header */

    .header-inner {
        height: 60px;
    }

    .site-header .brand {
        font-size: 16px;
    }


    /* hero */

    .main-screen {
        padding:
            68px
            0
            80px;
    }

    .main-copy h1 {
        font-size:
            clamp(
                46px,
                13vw,
                62px
            );

        line-height: 0.98;
    }

    .main-description {
        font-size: 17px;
    }


    /* dashboard */

    .dashboard {
        padding:
            74px
            14px
            14px;

        border-radius: 22px;

        transform: none;
    }

    .dashboard::before {
        inset:
            0
            0
            auto
            0;

        width: auto;
        height: 54px;

        justify-content: flex-start;
        align-items: center;

        padding:
            0
            18px;

        border-radius:
            22px
            22px
            0
            0;
    }


    /* sections */

    .preview-section,
    .report-section,
    .analysis-section,
    .faq-section {
        padding:
            86px
            0;
    }

    .section-heading h2,
    .report-box h2,
    .analysis-copy h2 {
        font-size:
            clamp(
                38px,
                11vw,
                50px
            );
    }


    /* cards */

    .feature-grid article {
        min-height: 190px;

        padding: 24px;

        border-radius: 22px;
    }

    .feature-grid h3 {
        margin-top: 46px;
    }


    /* form */

    .lead-form {
        padding: 22px;

        border-radius: 22px;
    }


    /* footer */

    .footer-inner {
        min-height: auto;

        padding:
            34px
            0;
    }
}


/* Respect reduced-motion preference */

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


/* ============================================================
   NIROSTAT — CLEAN HERO
   Единственная актуальная реализация первого экрана.
   ============================================================ */


/* ------------------------------------------------------------
   Section
------------------------------------------------------------ */

.main-screen {
    position: relative;

    width: 100%;

    min-height:
        calc(
            100vh - 66px
        );

    display: flex;

    align-items: center;

    padding:
        82px
        0
        88px;

    overflow: hidden;
}


/*
 * В HTML container и main-grid — это ОДИН элемент:
 *
 * <div class="container main-grid">
 *
 * Поэтому размеры задаём одному конкретному селектору.
 */
.main-screen > .container.main-grid {
    width:
        calc(
            100% - 48px
        );

    max-width: 1220px;

    margin:
        0
        auto;

    padding: 0;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    gap:
        clamp(
            54px,
            5vw,
            76px
        );

    align-items: center;
}


/* ------------------------------------------------------------
   Copy
------------------------------------------------------------ */

.main-screen .main-copy {
    width: 100%;

    max-width: none;

    min-width: 0;

    margin: 0;

    padding: 0;
}


.main-screen .main-copy h1 {
    width: 100%;

    max-width: 520px;

    margin:
        0
        0
        30px;

    color: #1d1d1f;

    font-size:
        clamp(
            58px,
            4.25vw,
            70px
        );

    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -0.06em;
}


.main-screen .main-copy h1 span {
    display: inline;

    color: #67676c;

    font-weight: inherit;
}


/* ------------------------------------------------------------
   Description
------------------------------------------------------------ */

.main-screen .main-description {
    width: 100%;

    max-width: 490px;

    margin: 0;

    color: #6e6e73;

    font-size: 18px;

    line-height: 1.52;

    letter-spacing: -0.012em;
}


/* ------------------------------------------------------------
   CTA
------------------------------------------------------------ */

.main-screen .main-actions {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;

    margin-top: 31px;
}


.main-screen .main-actions .button-primary {
    width: auto;

    min-height: 50px;

    padding:
        0
        25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 999px;

    background: #f2a009;

    color: #161616;

    font-size: 15px;

    font-weight: 620;

    box-shadow:
        0
        8px
        24px
        rgba(
            242,
            160,
            9,
            0.18
        );

    transition:
        transform 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}


.main-screen .main-actions .button-primary:hover {
    background: #ffaa0a;

    transform:
        translateY(-1px);

    box-shadow:
        0
        11px
        28px
        rgba(
            242,
            160,
            9,
            0.23
        );
}


/* Secondary action */

.main-screen .main-report-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        7px
        2px;

    color: #2f2f32;

    font-size: 14px;

    line-height: 1.25;

    font-weight: 550;

    text-decoration: none;
}


.main-screen .main-report-link::after {
    content: "›";

    color: #86868b;

    font-size: 18px;

    line-height: 1;

    transition:
        transform 160ms ease,
        color 160ms ease;
}


.main-screen .main-report-link:hover {
    color: #9b6800;
}


.main-screen .main-report-link:hover::after {
    color: #f2a009;

    transform:
        translateX(3px);
}


/* ------------------------------------------------------------
   Small note
------------------------------------------------------------ */

.main-screen .main-note {
    width: 100%;

    max-width: 430px;

    margin:
        14px
        0
        0;

    color: #9a9a9f;

    font-size: 11px;

    line-height: 1.5;
}


/* Старые маркетинговые метрики первого экрана больше не нужны */

.main-screen .trust-row {
    display: none !important;
}


/* ------------------------------------------------------------
   Product area
------------------------------------------------------------ */

.main-screen .product-preview {
    position: relative;

    width: 100%;

    max-width: none;

    min-width: 0;

    margin: 0;

    padding: 0;

    display: block;
}


/* Soft shadow / glow */

.main-screen .preview-glow {
    position: absolute;

    z-index: 0;

    width: 82%;

    height: 68%;

    right: 3%;

    bottom: -6%;

    border-radius: 50%;

    background:
        rgba(
            24,
            24,
            26,
            0.10
        );

    filter:
        blur(70px);

    pointer-events: none;
}


/* ------------------------------------------------------------
   Dashboard
------------------------------------------------------------ */

.main-screen .product-preview .dashboard {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: none;

    min-width: 0;

    margin: 0;

    box-sizing: border-box;

    transform: none;

    border-radius: 26px;

    box-shadow:
        0
        34px
        78px
        rgba(
            0,
            0,
            0,
            0.13
        ),
        0
        7px
        22px
        rgba(
            0,
            0,
            0,
            0.05
        );
}


/*
 * Левый rail внутри dashboard.
 * Не расширяет dashboard наружу.
 */
.main-screen .product-preview .dashboard::before {
    content: "NIROSTAT";

    width: 88px;

    box-sizing: border-box;

    color: #f5f5f7;

    background: #0c0c0e;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.11em;
}


/* ------------------------------------------------------------
   Desktop XL
------------------------------------------------------------ */

@media (min-width: 1500px) {

    .main-screen > .container.main-grid {
        max-width: 1280px;

        width:
            calc(
                100% - 80px
            );

        grid-template-columns:
            minmax(0, 0.86fr)
            minmax(0, 1.14fr);

        gap: 82px;
    }


    .main-screen .main-copy h1 {
        max-width: 540px;

        font-size: 72px;
    }

}


/* ------------------------------------------------------------
   Smaller laptops
------------------------------------------------------------ */

@media (max-width: 1120px) {

    .main-screen {
        padding:
            70px
            0
            76px;
    }


    .main-screen > .container.main-grid {
        width:
            calc(
                100% - 40px
            );

        grid-template-columns:
            minmax(0, 0.92fr)
            minmax(0, 1.08fr);

        gap: 40px;
    }


    .main-screen .main-copy h1 {
        font-size:
            clamp(
                50px,
                5.2vw,
                62px
            );
    }


    .main-screen .main-description {
        font-size: 17px;
    }

}


/* ------------------------------------------------------------
   Tablet
------------------------------------------------------------ */

@media (max-width: 900px) {

    .main-screen {
        min-height: auto;

        padding:
            72px
            0
            78px;
    }


    .main-screen > .container.main-grid {
        width:
            calc(
                100% - 40px
            );

        max-width: 740px;

        grid-template-columns: 1fr;

        gap: 54px;
    }


    .main-screen .main-copy {
        max-width: 650px;
    }


    .main-screen .main-copy h1 {
        max-width: 640px;

        font-size:
            clamp(
                52px,
                8vw,
                68px
            );
    }


    .main-screen .main-description {
        max-width: 570px;
    }


    .main-screen .product-preview {
        width: 100%;
    }

}


/* ------------------------------------------------------------
   Mobile
------------------------------------------------------------ */

@media (max-width: 600px) {

    .main-screen {
        padding:
            52px
            0
            62px;
    }


    .main-screen > .container.main-grid {
        width:
            calc(
                100% - 30px
            );

        gap: 42px;
    }


    .main-screen .main-copy h1 {
        font-size:
            clamp(
                44px,
                13vw,
                58px
            );

        line-height: 0.99;

        letter-spacing: -0.055em;
    }


    .main-screen .main-description {
        margin-top: 0;

        font-size: 16px;
    }


    .main-screen .main-actions {
        margin-top: 27px;
    }


    .main-screen .main-actions .button-primary {
        min-height: 50px;

        padding:
            0
            21px;
    }


    .main-screen .product-preview .dashboard {
        border-radius: 21px;
    }


    .main-screen .product-preview .dashboard::before {
        content: "NIROSTAT";
    }

}



/* ============================================================
   NIROSTAT — ISOLATED HERO
   Уникальные классы. Не зависит от старых main-* layout rules.
   ============================================================ */


/* Сам первый экран */

.niro-hero {
    position: relative !important;

    width: 100% !important;

    min-height:
        calc(
            100vh - 66px
        ) !important;

    margin: 0 !important;

    padding:
        82px
        0
        88px !important;

    display: flex !important;

    align-items: center !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/*
 * Это один центральный контейнер.
 *
 * На Full HD:
 * 100vw = ~1920
 * content = 1240
 * боковой отступ ≈ 340 px
 */
.niro-hero > .niro-hero-grid {
    position: relative !important;

    width:
        min(
            1240px,
            calc(100% - 64px)
        ) !important;

    max-width: 1240px !important;

    min-width: 0 !important;

    height: auto !important;

    margin:
        0
        auto !important;

    padding: 0 !important;

    left: auto !important;

    right: auto !important;

    top: auto !important;

    transform: none !important;

    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 500px)
        minmax(0, 1fr) !important;

    gap: 82px !important;

    align-items: center !important;
}


/* ============================================================
   LEFT COLUMN
   ============================================================ */

.niro-hero .niro-hero-copy {
    position: relative !important;

    width: 100% !important;

    max-width: 500px !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    left: auto !important;

    right: auto !important;

    transform: none !important;
}


.niro-hero .niro-hero-copy h1 {
    width: 100% !important;

    max-width: 500px !important;

    margin:
        0
        0
        30px !important;

    padding: 0 !important;

    color: #1d1d1f !important;

    font-size: 68px !important;

    line-height: 0.98 !important;

    font-weight: 700 !important;

    letter-spacing: -0.06em !important;
}


.niro-hero .niro-hero-copy h1 span {
    display: inline !important;

    color: #67676c !important;

    font-weight: inherit !important;
}


/* Description */

.niro-hero .main-description {
    width: 100% !important;

    max-width: 480px !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #6e6e73 !important;

    font-size: 18px !important;

    line-height: 1.52 !important;
}


/* Actions */

.niro-hero .main-actions {
    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 8px !important;

    margin:
        31px
        0
        0 !important;

    padding: 0 !important;
}


.niro-hero .main-actions .button-primary {
    width: auto !important;

    min-height: 50px !important;

    padding:
        0
        25px !important;

    border: 0 !important;

    border-radius: 999px !important;

    background: #f2a009 !important;

    color: #151515 !important;

    box-shadow:
        0
        9px
        25px
        rgba(
            242,
            160,
            9,
            0.19
        ) !important;
}


/* Report link */

.niro-hero .main-report-link {
    display: inline-flex !important;

    width: auto !important;

    padding:
        7px
        2px !important;

    margin: 0 !important;

    border: 0 !important;

    background: transparent !important;

    color: #303033 !important;

    box-shadow: none !important;

    font-size: 14px !important;

    font-weight: 550 !important;

    text-decoration: none !important;
}


.niro-hero .main-report-link::after {
    content: "›";

    margin-left: 6px;

    color: #86868b;
}


/* Note */

.niro-hero .main-note {
    width: 100% !important;

    max-width: 425px !important;

    margin:
        13px
        0
        0 !important;

    color: #9b9ba0 !important;

    font-size: 11px !important;

    line-height: 1.5 !important;
}


/* Старые метрики Hero */

.niro-hero .trust-row {
    display: none !important;
}


/* ============================================================
   RIGHT COLUMN
   ============================================================ */

.niro-hero .niro-hero-product {
    position: relative !important;

    width: 100% !important;

    max-width: none !important;

    min-width: 0 !important;

    height: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    left: auto !important;

    right: auto !important;

    top: auto !important;

    transform: none !important;

    box-sizing: border-box !important;

    display: block !important;
}


/*
 * Dashboard занимает правую колонку,
 * но не может вылезти за неё.
 */
.niro-hero .niro-hero-product > .dashboard {
    position: relative !important;

    z-index: 2 !important;

    width: 100% !important;

    max-width: 658px !important;

    min-width: 0 !important;

    height: auto !important;

    margin:
        0
        0
        0
        auto !important;

    left: auto !important;

    right: auto !important;

    top: auto !important;

    transform: none !important;

    box-sizing: border-box !important;

    border-radius: 26px !important;

    box-shadow:
        0
        36px
        82px
        rgba(
            0,
            0,
            0,
            0.14
        ),
        0
        7px
        20px
        rgba(
            0,
            0,
            0,
            0.05
        ) !important;
}


/* Glow */

.niro-hero .preview-glow {
    position: absolute !important;

    z-index: 0 !important;

    width: 75% !important;

    height: 65% !important;

    right: 4% !important;

    bottom: -4% !important;

    left: auto !important;

    top: auto !important;

    margin: 0 !important;

    transform: none !important;

    background:
        rgba(
            24,
            24,
            26,
            0.10
        ) !important;

    filter:
        blur(74px) !important;
}


/* ============================================================
   1280–1499
   ============================================================ */

@media
    (min-width: 1201px)
    and
    (max-width: 1499px) {

    .niro-hero > .niro-hero-grid {
        width:
            min(
                1140px,
                calc(100% - 54px)
            ) !important;

        grid-template-columns:
            minmax(0, 460px)
            minmax(0, 1fr) !important;

        gap: 62px !important;
    }


    .niro-hero .niro-hero-copy h1 {
        font-size: 62px !important;
    }

}


/* ============================================================
   Laptop
   ============================================================ */

@media (max-width: 1200px) {

    .niro-hero {
        min-height: auto !important;

        padding:
            72px
            0
            78px !important;
    }


    .niro-hero > .niro-hero-grid {
        width:
            calc(
                100% - 44px
            ) !important;

        max-width: 1060px !important;

        grid-template-columns:
            minmax(0, 420px)
            minmax(0, 1fr) !important;

        gap: 42px !important;
    }


    .niro-hero .niro-hero-copy h1 {
        font-size:
            clamp(
                52px,
                5vw,
                60px
            ) !important;
    }


    .niro-hero .main-description {
        font-size: 17px !important;
    }

}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 900px) {

    .niro-hero > .niro-hero-grid {
        width:
            calc(
                100% - 40px
            ) !important;

        max-width: 720px !important;

        grid-template-columns: 1fr !important;

        gap: 52px !important;
    }


    .niro-hero .niro-hero-copy {
        max-width: 620px !important;
    }


    .niro-hero .niro-hero-copy h1 {
        max-width: 620px !important;

        font-size:
            clamp(
                52px,
                8vw,
                68px
            ) !important;
    }


    .niro-hero .main-description {
        max-width: 560px !important;
    }


    .niro-hero .niro-hero-product > .dashboard {
        max-width: 720px !important;

        margin:
            0
            auto !important;
    }

}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 600px) {

    .niro-hero {
        padding:
            52px
            0
            62px !important;
    }


    .niro-hero > .niro-hero-grid {
        width:
            calc(
                100% - 30px
            ) !important;

        gap: 40px !important;
    }


    .niro-hero .niro-hero-copy h1 {
        font-size:
            clamp(
                44px,
                13vw,
                57px
            ) !important;

        line-height: 0.99 !important;
    }


    .niro-hero .main-description {
        font-size: 16px !important;
    }


    .niro-hero .main-actions {
        margin-top: 27px !important;
    }


    .niro-hero .niro-hero-product > .dashboard {
        width: 100% !important;

        max-width: none !important;
    }

}



/* ============================================================
   NIROSTAT — FEATURES SECTION
   ============================================================ */

.preview-section {
    position: relative;

    padding:
        128px
        0
        142px;

    background: #f5f5f7;
}


/* ------------------------------------------------------------
   Heading
------------------------------------------------------------ */

.preview-section .section-heading {
    max-width: 790px;

    margin:
        0
        0
        58px;
}


.preview-section .section-heading > span {
    display: block;

    margin-bottom: 15px;

    color: #a66e00;

    font-size: 13px;

    line-height: 1;

    font-weight: 650;

    letter-spacing: 0.01em;
}


.preview-section .section-heading h2 {
    max-width: 780px;

    margin: 0;

    color: #1d1d1f;

    font-size:
        clamp(
            46px,
            4.2vw,
            62px
        );

    line-height: 1.02;

    font-weight: 680;

    letter-spacing: -0.055em;
}


.preview-section .section-heading p {
    max-width: 650px;

    margin:
        25px
        0
        0;

    color: #6e6e73;

    font-size: 18px;

    line-height: 1.55;

    letter-spacing: -0.012em;
}


/* ============================================================
   Cards
   ============================================================ */

.preview-section .feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}


/*
 * Большие спокойные поверхности.
 * Без обилия рамок и декоративных элементов.
 */
.preview-section .feature-grid article {
    position: relative;

    min-height: 320px;

    margin: 0;

    padding:
        34px
        34px
        31px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    border: 0;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0
        13px
        40px
        rgba(
            0,
            0,
            0,
            0.045
        );

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}


.preview-section .feature-grid article:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0
        20px
        52px
        rgba(
            0,
            0,
            0,
            0.065
        );
}


/* ------------------------------------------------------------
   Number / small mark
------------------------------------------------------------ */

.preview-section .feature-grid article > span {
    position: absolute;

    top: 30px;

    left: 32px;

    color: #a66e00;

    font-size: 12px;

    line-height: 1;

    font-weight: 650;

    letter-spacing: 0.02em;
}


/* ------------------------------------------------------------
   Dark visual motif in upper-right corner
------------------------------------------------------------ */

.preview-section .feature-grid article::before {
    content: "";

    position: absolute;

    top: 28px;

    right: 28px;

    width: 74px;

    height: 74px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #262628,
            #151517
        );

    box-shadow:
        0
        12px
        30px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


/*
 * Orange signal inside the dark motif.
 */
.preview-section .feature-grid article::after {
    content: "";

    position: absolute;

    top: 49px;

    right: 49px;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #f2a009 0 22%,
            rgba(242,160,9,0.18) 24% 55%,
            transparent 57%
        );
}


/* ------------------------------------------------------------
   Typography
------------------------------------------------------------ */

.preview-section .feature-grid h3 {
    position: relative;

    z-index: 2;

    max-width: 430px;

    margin:
        0
        0
        12px;

    color: #1d1d1f;

    font-size: 26px;

    line-height: 1.08;

    font-weight: 640;

    letter-spacing: -0.032em;
}


.preview-section .feature-grid p {
    position: relative;

    z-index: 2;

    max-width: 470px;

    margin: 0;

    color: #7b7b80;

    font-size: 14px;

    line-height: 1.58;
}


/* ============================================================
   Subtle variation between cards
   ============================================================ */

.preview-section .feature-grid article:nth-child(2)::after {
    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            transparent 0 18%,
            #f2a009 19% 30%,
            transparent 31% 43%,
            rgba(242,160,9,0.55) 44% 57%,
            transparent 58% 70%,
            #f2a009 71% 82%,
            transparent 83%
        );
}


.preview-section .feature-grid article:nth-child(3)::after {
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            transparent 0 38%,
            #f2a009 39% 50%,
            transparent 51%
        );
}


.preview-section .feature-grid article:nth-child(4)::after {
    background:
        radial-gradient(
            circle,
            #f2a009 0 14%,
            transparent 16% 28%,
            rgba(242,160,9,0.7) 30% 38%,
            transparent 40%
        );
}


/* ============================================================
   Optional dark highlight card
   ============================================================ */

.preview-section .feature-grid article:nth-child(4) {
    background:
        linear-gradient(
            145deg,
            #242426,
            #18181a
        );

    box-shadow:
        0
        22px
        55px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


.preview-section .feature-grid article:nth-child(4) > span {
    color: #f2a009;
}


.preview-section .feature-grid article:nth-child(4) h3 {
    color: #f5f5f7;
}


.preview-section .feature-grid article:nth-child(4) p {
    color: #a4a4a9;
}


.preview-section .feature-grid article:nth-child(4)::before {
    background:
        rgba(
            255,
            255,
            255,
            0.055
        );

    box-shadow: none;
}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 900px) {

    .preview-section {
        padding:
            96px
            0
            108px;
    }


    .preview-section .section-heading {
        margin-bottom: 44px;
    }


    .preview-section .feature-grid article {
        min-height: 280px;

        padding: 28px;
    }


    .preview-section .feature-grid h3 {
        font-size: 23px;
    }

}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 650px) {

    .preview-section {
        padding:
            82px
            0
            92px;
    }


    .preview-section .section-heading h2 {
        font-size:
            clamp(
                38px,
                11vw,
                48px
            );
    }


    .preview-section .section-heading p {
        font-size: 16px;
    }


    .preview-section .feature-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .preview-section .feature-grid article {
        min-height: 250px;

        padding:
            25px
            24px;

        border-radius: 23px;
    }


    .preview-section .feature-grid article::before {
        top: 22px;

        right: 22px;

        width: 62px;

        height: 62px;

        border-radius: 17px;
    }


    .preview-section .feature-grid article::after {
        top: 37px;

        right: 37px;

        width: 30px;

        height: 30px;
    }


    .preview-section .feature-grid article > span {
        top: 25px;

        left: 24px;
    }

}



/* ============================================================
   NIROSTAT — REPORT SHOWCASE
   ============================================================ */

.niro-report {
    position: relative;

    padding:
        132px
        0
        148px;

    background: #ffffff;
}


/* ============================================================
   Heading
   ============================================================ */

.niro-report-inner {
    width:
        min(
            calc(100% - 48px),
            1220px
        );

    margin:
        0
        auto;
}


.niro-report-heading {
    max-width: 820px;

    margin-bottom: 62px;
}


.niro-report-kicker {
    display: block;

    margin-bottom: 16px;

    color: #a66e00;

    font-size: 13px;

    line-height: 1;

    font-weight: 650;
}


.niro-report-heading h2 {
    margin: 0;

    color: #1d1d1f;

    font-size:
        clamp(
            48px,
            4.6vw,
            66px
        );

    line-height: 1.01;

    font-weight: 690;

    letter-spacing: -0.058em;
}


.niro-report-heading h2 span {
    color: #6e6e73;
}


.niro-report-heading p {
    max-width: 680px;

    margin:
        26px
        0
        0;

    color: #6e6e73;

    font-size: 18px;

    line-height: 1.55;
}


/* ============================================================
   Stage
   ============================================================ */

.niro-report-stage {
    position: relative;

    width: 100%;

    padding:
        42px;

    border-radius: 38px;

    background:
        #f5f5f7;

    overflow: hidden;
}


.niro-report-stage::before {
    content: "";

    position: absolute;

    width: 560px;

    height: 560px;

    right: -100px;

    top: -170px;

    border-radius: 50%;

    background:
        rgba(
            242,
            160,
            9,
            0.10
        );

    filter:
        blur(100px);
}


/* ============================================================
   Window
   ============================================================ */

.niro-report-window {
    position: relative;

    z-index: 2;

    overflow: hidden;

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            #202022,
            #121214
        );

    color: #ffffff;

    box-shadow:
        0
        34px
        85px
        rgba(
            0,
            0,
            0,
            0.17
        );
}


/* ============================================================
   Topbar
   ============================================================ */

.niro-report-topbar {
    height: 66px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0
        27px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    background:
        rgba(
            0,
            0,
            0,
            0.18
        );
}


.niro-report-brand {
    color: #ffffff;

    font-size: 11px;

    font-weight: 720;

    letter-spacing: 0.11em;
}


.niro-report-period {
    color: #8e8e93;

    font-size: 11px;
}


/* ============================================================
   Body
   ============================================================ */

.niro-report-body {
    padding:
        27px;
}


/* ============================================================
   Summary
   ============================================================ */

.niro-report-summary {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 11px;
}


.niro-report-summary > div {
    min-height: 120px;

    padding:
        18px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    border-radius: 16px;

    background:
        rgba(
            255,
            255,
            255,
            0.055
        );
}


.niro-report-summary span {
    color: #8e8e93;

    font-size: 11px;
}


.niro-report-summary strong {
    margin-top: 8px;

    color: #ffffff;

    font-size: 28px;

    line-height: 1;

    font-weight: 650;
}


.niro-report-summary small {
    margin-top: 8px;

    color: #77777d;

    font-size: 9px;
}


.niro-report-summary small.positive {
    color: #55d795;
}


.niro-report-summary small.accent {
    color: #f2a009;
}


/* ============================================================
   Main content
   ============================================================ */

.niro-report-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.62fr)
        minmax(280px, 0.78fr);

    gap: 12px;

    margin-top: 12px;
}


/* ============================================================
   Events
   ============================================================ */

.niro-report-events {
    padding:
        23px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    border-radius: 17px;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );
}


.niro-report-block-title {
    margin-bottom: 11px;

    color: #88888d;

    font-size: 10px;

    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.niro-report-event {
    min-height: 74px;

    display: grid;

    grid-template-columns:
        44px
        32px
        minmax(0, 1fr)
        auto;

    gap: 12px;

    align-items: center;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );
}


.niro-report-event:last-child {
    border-bottom: 0;
}


.event-time {
    color: #707075;

    font-size: 10px;
}


.event-icon {
    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 700;
}


.event-icon.down {
    color: #64dea1;

    background:
        rgba(
            50,
            213,
            131,
            0.11
        );
}


.event-icon.plus,
.event-icon.signal {
    color: #f2a009;

    background:
        rgba(
            242,
            160,
            9,
            0.12
        );
}


.niro-report-event div {
    min-width: 0;
}


.niro-report-event strong {
    display: block;

    color: #f5f5f7;

    font-size: 12px;

    line-height: 1.35;

    font-weight: 590;
}


.niro-report-event div > span {
    display: block;

    margin-top: 4px;

    color: #737378;

    font-size: 9px;

    line-height: 1.35;
}


.event-value {
    color: #b0b0b4;

    font-size: 12px;

    font-weight: 600;
}


.event-value.positive {
    color: #58d99a;
}


.event-value.accent {
    color: #f2a009;
}


/* ============================================================
   Insight
   ============================================================ */

.niro-report-insight {
    padding:
        25px;

    border:
        1px solid
        rgba(
            242,
            160,
            9,
            0.23
        );

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(
                242,
                160,
                9,
                0.13
            ),
            rgba(
                242,
                160,
                9,
                0.025
            )
        );
}


.insight-label {
    color: #f2a009;

    font-size: 10px;

    font-weight: 650;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}


.niro-report-insight h3 {
    max-width: 270px;

    margin:
        22px
        0
        13px;

    color: #ffffff;

    font-size: 23px;

    line-height: 1.06;

    font-weight: 620;

    letter-spacing: -0.035em;
}


.niro-report-insight p {
    margin: 0;

    color: #a1a1a6;

    font-size: 12px;

    line-height: 1.55;
}


.insight-divider {
    height: 1px;

    margin:
        25px
        0
        18px;

    background:
        rgba(
            255,
            255,
            255,
            0.07
        );
}


.insight-meta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-top: 9px;
}


.insight-meta span {
    color: #77777d;

    font-size: 10px;
}


.insight-meta strong {
    color: #d7d7da;

    font-size: 10px;

    font-weight: 580;
}


/* ============================================================
   Footer
   ============================================================ */

.niro-report-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        17px
        3px
        0;

    color: #6f6f74;

    font-size: 9px;
}


.niro-report-footer > div {
    display: flex;

    align-items: center;

    gap: 7px;
}


.report-live {
    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #38d98c;
}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 900px) {

    .niro-report {
        padding:
            100px
            0
            110px;
    }


    .niro-report-heading {
        margin-bottom: 46px;
    }


    .niro-report-stage {
        padding: 24px;

        border-radius: 30px;
    }


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


    .niro-report-main {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 620px) {

    .niro-report {
        padding:
            84px
            0
            92px;
    }


    .niro-report-inner {
        width:
            calc(
                100% - 30px
            );
    }


    .niro-report-heading h2 {
        font-size:
            clamp(
                39px,
                11vw,
                48px
            );
    }


    .niro-report-heading p {
        font-size: 16px;
    }


    .niro-report-stage {
        padding: 10px;

        border-radius: 23px;
    }


    .niro-report-window {
        border-radius: 19px;
    }


    .niro-report-topbar {
        height: 56px;

        padding:
            0
            17px;
    }


    .niro-report-body {
        padding: 12px;
    }


    .niro-report-summary {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }


    .niro-report-summary > div {
        min-height: 100px;

        padding: 14px;
    }


    .niro-report-summary strong {
        font-size: 23px;
    }


    .niro-report-events {
        padding:
            18px
            14px;
    }


    .niro-report-event {
        grid-template-columns:
            30px
            26px
            minmax(0, 1fr);

        gap: 8px;
    }


    .niro-report-event .event-value {
        display: none;
    }


    .event-icon {
        width: 26px;

        height: 26px;
    }


    .niro-report-insight {
        padding: 20px;
    }


    .niro-report-footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}



/* ============================================================
   NIROSTAT — LEAD SECTION
   ============================================================ */

.niro-lead {
    position: relative;

    padding:
        138px
        0
        148px;

    background: #f5f5f7;
}


.niro-lead::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -170px;
    top: 40px;

    border-radius: 50%;

    background:
        rgba(
            242,
            160,
            9,
            0.055
        );

    filter:
        blur(100px);

    pointer-events: none;
}


/* ============================================================
   Layout
   ============================================================ */

.niro-lead-layout {
    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 48px),
            1220px
        );

    margin:
        0
        auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(460px, 0.78fr);

    gap:
        clamp(
            70px,
            8vw,
            120px
        );

    align-items: center;
}


/* ============================================================
   Left
   ============================================================ */

.niro-lead-copy {
    max-width: 650px;
}


.niro-lead-kicker {
    display: block;

    margin-bottom: 17px;

    color: #a66e00;

    font-size: 13px;

    font-weight: 650;
}


.niro-lead-copy h2 {
    max-width: 650px;

    margin: 0;

    color: #1d1d1f;

    font-size:
        clamp(
            48px,
            4.4vw,
            64px
        );

    line-height: 1.01;

    font-weight: 690;

    letter-spacing: -0.058em;
}


.niro-lead-copy h2 span {
    color: #6e6e73;
}


.niro-lead-description {
    max-width: 590px;

    margin:
        27px
        0
        0;

    color: #6e6e73;

    font-size: 18px;

    line-height: 1.55;
}


/* ============================================================
   Benefits
   ============================================================ */

.niro-lead-benefits {
    margin-top: 47px;

    border-top:
        1px solid
        rgba(
            0,
            0,
            0,
            0.08
        );
}


.niro-lead-benefits > div {
    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr);

    gap: 19px;

    padding:
        23px
        0;

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            0.08
        );
}


.benefit-number {
    padding-top: 3px;

    color: #a66e00;

    font-size: 11px;

    font-weight: 650;
}


.niro-lead-benefits strong {
    display: block;

    color: #1d1d1f;

    font-size: 16px;

    font-weight: 620;

    letter-spacing: -0.015em;
}


.niro-lead-benefits p {
    max-width: 480px;

    margin:
        6px
        0
        0;

    color: #85858a;

    font-size: 13px;

    line-height: 1.5;
}


.niro-lead-note {
    max-width: 530px;

    margin:
        24px
        0
        0;

    color: #9a9a9f;

    font-size: 11px;

    line-height: 1.5;
}


/* ============================================================
   Form card
   ============================================================ */

.niro-lead-form-card {
    position: relative;

    padding:
        34px;

    overflow: hidden;

    border-radius: 30px;

    background: #ffffff;

    box-shadow:
        0
        20px
        60px
        rgba(
            0,
            0,
            0,
            0.075
        );
}


.niro-lead-form-card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -100px;
    top: -110px;

    border-radius: 50%;

    background:
        rgba(
            242,
            160,
            9,
            0.10
        );

    filter:
        blur(60px);
}


/* ============================================================
   Form heading
   ============================================================ */

.niro-lead-form-head {
    position: relative;

    z-index: 2;

    margin-bottom: 30px;
}


.niro-lead-form-head > span {
    color: #a66e00;

    font-size: 10px;

    font-weight: 720;

    letter-spacing: 0.11em;
}


.niro-lead-form-head h3 {
    max-width: 390px;

    margin:
        15px
        0
        0;

    color: #1d1d1f;

    font-size: 27px;

    line-height: 1.08;

    font-weight: 650;

    letter-spacing: -0.035em;
}


.niro-lead-form-head p {
    max-width: 390px;

    margin:
        10px
        0
        0;

    color: #85858a;

    font-size: 13px;

    line-height: 1.5;
}


/* ============================================================
   Reset old form layout
   ============================================================ */

.niro-lead-form {
    position: relative;

    z-index: 2;

    width: 100%;

    margin: 0;

    padding: 0;

    border: 0;

    border-radius: 0;

    background: transparent;

    box-shadow: none;
}


/* ============================================================
   Fields
   ============================================================ */

.niro-field {
    margin-top: 16px;
}


.niro-field:first-child {
    margin-top: 0;
}


.niro-field > label {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;

    color: #515154;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 560;
}


.niro-field > label span {
    color: #a1a1a6;

    font-size: 9px;

    font-weight: 450;
}


.niro-field input {
    width: 100%;

    height: 52px;

    box-sizing: border-box;

    padding:
        0
        15px;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.075
        );

    border-radius: 13px;

    outline: none;

    background: #f5f5f7;

    color: #1d1d1f;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}


.niro-field input::placeholder {
    color: #aaaab0;
}


.niro-field input:focus {
    border-color:
        rgba(
            242,
            160,
            9,
            0.62
        );

    background: #ffffff;

    box-shadow:
        0
        0
        0
        4px
        rgba(
            242,
            160,
            9,
            0.09
        );
}


/* ============================================================
   Contact
   ============================================================ */

.niro-contact-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 12px;
}


.niro-contact-note {
    margin:
        10px
        0
        0;

    color: #9b9ba0;

    font-size: 10px;

    line-height: 1.45;
}


/* ============================================================
   Honeypot
   ============================================================ */

.niro-honeypot {
    position: absolute !important;

    left: -10000px !important;

    width: 1px !important;

    height: 1px !important;

    overflow: hidden !important;
}


/* ============================================================
   Consent
   ============================================================ */

.niro-consent {
    display: grid;

    grid-template-columns:
        16px
        minmax(0, 1fr);

    gap: 10px;

    align-items: flex-start;

    margin-top: 20px;

    cursor: pointer;
}


.niro-consent input {
    width: 16px;

    height: 16px;

    margin: 1px 0 0;

    accent-color: #f2a009;
}


.niro-consent span {
    color: #8b8b90 !important;

    font-size: 10px;

    line-height: 1.45;
}


/* ============================================================
   Submit
   ============================================================ */

.niro-lead-submit {
    width: 100%;

    min-height: 53px;

    margin-top: 22px;

    border: 0;

    border-radius: 999px;

    background: #f2a009;

    color: #171717;

    font-size: 14px;

    font-weight: 650;

    cursor: pointer;

    box-shadow:
        0
        9px
        26px
        rgba(
            242,
            160,
            9,
            0.19
        );

    transition:
        transform 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}


.niro-lead-submit:hover {
    background: #ffaa0a;

    transform:
        translateY(-1px);

    box-shadow:
        0
        12px
        30px
        rgba(
            242,
            160,
            9,
            0.24
        );
}


.niro-lead-submit:disabled {
    cursor: default;

    opacity: 0.65;

    transform: none;
}


/* ============================================================
   Status
   ============================================================ */

.niro-lead-form .form-status {
    min-height: 18px;

    margin-top: 12px;

    font-size: 11px;

    line-height: 1.45;
}


.niro-lead-form .form-status-success {
    color: #28875a;
}


.niro-lead-form .form-status-error {
    color: #c75056;
}


/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 900px) {

    .niro-lead {
        padding:
            102px
            0
            112px;
    }


    .niro-lead-layout {
        max-width: 740px;

        grid-template-columns: 1fr;

        gap: 62px;
    }


    .niro-lead-copy {
        max-width: 650px;
    }


    .niro-lead-form-card {
        max-width: 600px;
    }

}


/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 620px) {

    .niro-lead {
        padding:
            84px
            0
            92px;
    }


    .niro-lead-layout {
        width:
            calc(
                100% - 30px
            );

        gap: 48px;
    }


    .niro-lead-copy h2 {
        font-size:
            clamp(
                39px,
                11vw,
                49px
            );
    }


    .niro-lead-description {
        font-size: 16px;
    }


    .niro-lead-form-card {
        padding:
            24px
            20px;

        border-radius: 23px;
    }


    .niro-contact-grid {
        grid-template-columns: 1fr;
    }


    .niro-lead-benefits > div {
        grid-template-columns:
            32px
            minmax(0, 1fr);
    }

}



/* ============================================================
   NIROSTAT — LEAD FORM GEOMETRY FIX
   Изоляция contact fields и consent от старых form rules.
   ============================================================ */


/* ------------------------------------------------------------
   Heading refinement
   ------------------------------------------------------------ */

.niro-lead .niro-lead-copy h2 {
    max-width: 620px;
}

.niro-lead .niro-lead-copy h2 span {
    display: block;

    color: #6e6e73;
}


/* ============================================================
   CONTACT ROW
   ============================================================ */

.niro-lead .niro-lead-form .niro-contact-grid {
    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr) !important;

    gap: 12px !important;

    align-items: start !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/*
 * Оба поля должны иметь абсолютно одинаковую
 * вертикальную структуру.
 */
.niro-lead .niro-contact-grid > .niro-field {
    width: 100% !important;

    min-width: 0 !important;

    max-width: none !important;

    margin:
        16px
        0
        0 !important;

    padding: 0 !important;

    display: block !important;

    box-sizing: border-box !important;
}


/* Labels */

.niro-lead .niro-contact-grid > .niro-field > label {
    width: 100% !important;

    min-height: 14px !important;

    margin:
        0
        0
        8px !important;

    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    justify-content: flex-start !important;

    color: #515154 !important;

    font-size: 11px !important;

    line-height: 14px !important;

    font-weight: 560 !important;

    box-sizing: border-box !important;
}


/* Inputs */

.niro-lead .niro-contact-grid > .niro-field > input {
    display: block !important;

    width: 100% !important;

    min-width: 0 !important;

    max-width: none !important;

    height: 52px !important;

    min-height: 52px !important;

    margin: 0 !important;

    padding:
        0
        15px !important;

    box-sizing: border-box !important;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.075
        ) !important;

    border-radius: 13px !important;

    background: #f5f5f7 !important;

    color: #1d1d1f !important;

    font-family: inherit !important;

    font-size: 14px !important;

    line-height: normal !important;
}


.niro-lead .niro-contact-grid > .niro-field > input:focus {
    border-color:
        rgba(
            242,
            160,
            9,
            0.62
        ) !important;

    background: #ffffff !important;

    box-shadow:
        0
        0
        0
        4px
        rgba(
            242,
            160,
            9,
            0.09
        ) !important;
}


/* Contact explanation */

.niro-lead .niro-contact-note {
    width: 100% !important;

    margin:
        9px
        0
        0 !important;

    padding: 0 !important;

    color: #9b9ba0 !important;

    font-size: 9px !important;

    line-height: 1.45 !important;
}


/* ============================================================
   CONSENT
   ============================================================ */

.niro-lead .niro-consent {
    position: relative !important;

    width: 100% !important;

    min-height: 42px !important;

    margin:
        18px
        0
        0 !important;

    padding:
        11px
        12px !important;

    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        16px
        minmax(0, 1fr) !important;

    gap: 10px !important;

    align-items: start !important;

    justify-content: initial !important;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.065
        ) !important;

    border-radius: 11px !important;

    background:
        #fafafa !important;

    cursor: pointer !important;
}


/*
 * Не даём старым input rules растянуть checkbox.
 */
.niro-lead .niro-consent > input[type="checkbox"] {
    appearance: auto !important;

    -webkit-appearance: checkbox !important;

    display: block !important;

    width: 15px !important;

    min-width: 15px !important;

    max-width: 15px !important;

    height: 15px !important;

    min-height: 15px !important;

    max-height: 15px !important;

    margin:
        1px
        0
        0 !important;

    padding: 0 !important;

    border-radius: 3px !important;

    box-shadow: none !important;

    background: initial !important;

    accent-color: #f2a009 !important;
}


/* Consent text */

.niro-lead .niro-consent > span {
    display: block !important;

    width: auto !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    color: #85858a !important;

    font-size: 9px !important;

    line-height: 1.42 !important;

    font-weight: 400 !important;
}


/* ============================================================
   SUBMIT SPACING
   ============================================================ */

.niro-lead .niro-lead-submit {
    margin-top: 20px !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 620px) {

    .niro-lead .niro-contact-grid {
        grid-template-columns: 1fr !important;

        gap: 0 !important;
    }


    .niro-lead .niro-contact-grid > .niro-field {
        margin-top: 16px !important;
    }


    .niro-lead .niro-consent {
        padding:
            11px
            10px !important;
    }

}



/* ============================================================
   NIROSTAT — FAQ
   ============================================================ */

.niro-faq {
    padding:
        132px
        0
        142px;

    background: #ffffff;
}


.niro-faq-layout {
    width:
        min(
            calc(100% - 48px),
            1220px
        );

    margin:
        0
        auto;

    display: grid;

    grid-template-columns:
        minmax(320px, 0.72fr)
        minmax(500px, 1.08fr);

    gap:
        clamp(
            70px,
            9vw,
            135px
        );

    align-items: start;
}


/* ============================================================
   FAQ heading
   ============================================================ */

.niro-faq-heading {
    position: sticky;

    top: 120px;

    max-width: 470px;
}


.niro-faq-heading > span {
    display: block;

    margin-bottom: 17px;

    color: #a66e00;

    font-size: 13px;

    font-weight: 650;
}


.niro-faq-heading h2 {
    margin: 0;

    color: #1d1d1f;

    font-size:
        clamp(
            46px,
            4.2vw,
            60px
        );

    line-height: 1.01;

    font-weight: 690;

    letter-spacing: -0.058em;
}


.niro-faq-heading h2 strong {
    display: block;

    color: #6e6e73;

    font-weight: inherit;
}


.niro-faq-heading p {
    max-width: 430px;

    margin:
        25px
        0
        0;

    color: #7d7d82;

    font-size: 16px;

    line-height: 1.55;
}


/* ============================================================
   FAQ list
   ============================================================ */

.niro-faq-list {
    border-top:
        1px solid
        rgba(
            0,
            0,
            0,
            0.09
        );
}


.niro-faq-list details {
    margin: 0;

    padding: 0;

    border: 0;

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            0.09
        );

    background: transparent;
}


.niro-faq-list summary {
    min-height: 96px;

    padding:
        0
        2px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        34px;

    gap: 24px;

    align-items: center;

    list-style: none;

    cursor: pointer;

    color: #1d1d1f;

    font-size: 19px;

    line-height: 1.3;

    font-weight: 590;

    letter-spacing: -0.02em;
}


.niro-faq-list summary::-webkit-details-marker {
    display: none;
}


/* ============================================================
   + / − icon
   ============================================================ */

.niro-faq-list summary > span {
    position: relative;

    width: 32px;

    height: 32px;

    border-radius: 50%;

    background: #f5f5f7;

    transition:
        background 160ms ease,
        transform 200ms ease;
}


.niro-faq-list summary > span::before,
.niro-faq-list summary > span::after {
    content: "";

    position: absolute;

    top: 50%;

    left: 50%;

    width: 12px;

    height: 1.5px;

    border-radius: 2px;

    background: #555559;

    transform:
        translate(
            -50%,
            -50%
        );

    transition:
        transform 200ms ease,
        opacity 200ms ease;
}


.niro-faq-list summary > span::after {
    transform:
        translate(
            -50%,
            -50%
        )
        rotate(90deg);
}


.niro-faq-list details[open] summary > span {
    background:
        rgba(
            242,
            160,
            9,
            0.11
        );
}


.niro-faq-list details[open] summary > span::after {
    opacity: 0;

    transform:
        translate(
            -50%,
            -50%
        )
        rotate(0deg);
}


/* ============================================================
   Answer
   ============================================================ */

.niro-faq-list details > div {
    max-width: 650px;

    padding:
        0
        68px
        30px
        2px;

    color: #747479;

    font-size: 14px;

    line-height: 1.65;
}


/* ============================================================
   FAQ tablet/mobile
   ============================================================ */

@media (max-width: 900px) {

    .niro-faq {
        padding:
            100px
            0
            108px;
    }


    .niro-faq-layout {
        max-width: 740px;

        grid-template-columns: 1fr;

        gap: 52px;
    }


    .niro-faq-heading {
        position: static;

        max-width: 600px;
    }

}


@media (max-width: 620px) {

    .niro-faq {
        padding:
            82px
            0
            92px;
    }


    .niro-faq-layout {
        width:
            calc(
                100% - 30px
            );

        gap: 42px;
    }


    .niro-faq-heading h2 {
        font-size:
            clamp(
                39px,
                11vw,
                48px
            );
    }


    .niro-faq-list summary {
        min-height: 82px;

        grid-template-columns:
            minmax(0, 1fr)
            30px;

        gap: 15px;

        font-size: 16px;
    }


    .niro-faq-list summary > span {
        width: 28px;

        height: 28px;
    }


    .niro-faq-list details > div {
        padding:
            0
            42px
            25px
            1px;

        font-size: 13px;
    }

}


/* ============================================================
   NIROSTAT — FOOTER
   ============================================================ */

.niro-footer {
    padding:
        0;

    border: 0;

    background: #1d1d1f;

    color: #ffffff;
}


.niro-footer-inner {
    width:
        min(
            calc(100% - 48px),
            1220px
        );

    min-height: 310px;

    margin:
        0
        auto;

    padding:
        62px
        0
        28px;

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    grid-template-rows:
        auto
        1fr
        auto;

    column-gap: 70px;
}


/* ============================================================
   Footer brand
   ============================================================ */

.niro-footer-brand {
    align-self: start;

    width: max-content;

    color: #f5f5f7;

    font-size: 19px;

    line-height: 1;

    font-weight: 720;

    letter-spacing: 0.04em;

    text-decoration: none;
}


.niro-footer-copy {
    grid-column: 1;

    margin-top: 20px;

    max-width: 320px;

    color: #86868b;

    font-size: 13px;

    line-height: 1.5;
}


/* ============================================================
   Links
   ============================================================ */

.niro-footer-links {
    grid-column: 2;

    grid-row:
        1
        /
        3;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
}


.niro-footer-links a {
    color: #d2d2d7;

    font-size: 13px;

    line-height: 1.2;

    text-decoration: none;

    transition:
        color 160ms ease;
}


.niro-footer-links a:hover {
    color: #f2a009;
}


/* ============================================================
   Footer bottom
   ============================================================ */

.niro-footer-bottom {
    grid-column:
        1
        /
        -1;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 23px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    color: #66666b;

    font-size: 10px;
}


/* ============================================================
   Footer mobile
   ============================================================ */

@media (max-width: 620px) {

    .niro-footer-inner {
        width:
            calc(
                100% - 30px
            );

        min-height: 0;

        padding:
            46px
            0
            25px;

        grid-template-columns: 1fr;

        grid-template-rows: auto;

        gap: 0;
    }


    .niro-footer-copy {
        margin-bottom: 35px;
    }


    .niro-footer-links {
        grid-column: 1;

        grid-row: auto;

        margin-bottom: 42px;
    }


    .niro-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

}



/* ============================================================
   NIROSTAT — MOBILE LEAD CONVERSION ORDER
   Desktop не затрагивается.
   На телефоне форма показывается сразу после оффера.
   ============================================================ */

@media (max-width: 768px) {

    /*
     * Родитель становится обычной вертикальной последовательностью.
     */
    .niro-lead .niro-lead-layout {
        display: flex !important;
        flex-direction: column !important;

        width: calc(100% - 30px) !important;
        max-width: 720px !important;

        gap: 0 !important;
    }


    /*
     * Убираем только визуальную оболочку .niro-lead-copy.
     * Её дочерние элементы становятся непосредственными
     * участниками layout и могут располагаться вокруг формы.
     */
    .niro-lead .niro-lead-copy {
        display: contents !important;
    }


    /* 1. Кикер */
    .niro-lead .niro-lead-kicker {
        order: 1;

        margin:
            0
            0
            16px !important;
    }


    /* 2. Заголовок */
    .niro-lead .niro-lead-copy h2 {
        order: 2;

        max-width: 100% !important;

        margin: 0 !important;
    }


    /* 3. Короткое объяснение */
    .niro-lead .niro-lead-description {
        order: 3;

        max-width: 100% !important;

        margin:
            24px
            0
            0 !important;
    }


    /*
     * 4. Форма — главный conversion action.
     * Теперь она появляется до длинного списка преимуществ.
     */
    .niro-lead .niro-lead-form-card {
        order: 4;

        width: 100% !important;
        max-width: none !important;

        margin:
            38px
            0
            0 !important;

        box-sizing: border-box;
    }


    /*
     * 5. Дополнительные аргументы уже после формы.
     */
    .niro-lead .niro-lead-benefits {
        order: 5;

        width: 100%;

        margin:
            54px
            0
            0 !important;
    }


    /*
     * 6. Финальное пояснение.
     */
    .niro-lead .niro-lead-note {
        order: 6;

        width: 100%;
        max-width: none !important;

        margin:
            22px
            0
            0 !important;
    }


    /*
     * Немного уменьшаем вертикальную длину секции.
     */
    .niro-lead {
        padding:
            76px
            0
            88px !important;
    }


    /*
     * После формы преимущества уже вторичны,
     * поэтому делаем их чуть компактнее.
     */
    .niro-lead .niro-lead-benefits > div {
        padding:
            19px
            0 !important;
    }


    .niro-lead .niro-lead-benefits p {
        margin-top: 5px !important;
    }

}


/* Более компактный телефон */

@media (max-width: 480px) {

    .niro-lead {
        padding:
            68px
            0
            78px !important;
    }


    .niro-lead .niro-lead-form-card {
        margin-top: 32px !important;
    }


    .niro-lead .niro-lead-benefits {
        margin-top: 46px !important;
    }

}



/* ============================================================
   NIROSTAT — MOBILE LEAD ALIGNMENT + PAGE HEIGHT FIX
   Только mobile/tablet.
   ============================================================ */

@media (max-width: 768px) {

    /*
     * Kicker «Бесплатный анализ» должен начинаться
     * от той же левой линии, что заголовок и текст.
     */
    .niro-lead .niro-lead-kicker {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        text-align: left !important;

        align-self: stretch !important;
        justify-self: start !important;
    }


    /*
     * После перестройки mobile layout через display:contents
     * секция не должна наследовать старую минимальную высоту.
     */
    .analysis-section.niro-lead,
    #analysis.niro-lead {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }


    .niro-lead .niro-lead-layout {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }


    /*
     * Не даём форме/внутренним блокам растягивать
     * родителя по старой desktop-геометрии.
     */
    .niro-lead .niro-lead-form-card,
    .niro-lead .niro-lead-benefits,
    .niro-lead .niro-lead-note {
        min-height: 0 !important;
    }


    /*
     * Footer должен завершать документ своим
     * фактическим содержимым.
     */
    footer,
    .site-footer,
    .niro-footer {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}

