:root {
    --vnt-navy: #061a36;
    --vnt-deep: #031126;
    --vnt-blue: #1766d8;
    --vnt-gold: #ffc933;
    --vnt-white: #ffffff;
    --vnt-bg: #f4f7fb;
    --vnt-ink: #0b1f40;
    --vnt-muted: #748198;
    --vnt-border: rgba(6, 26, 54, 0.09);
    --vnt-success: #16744a;
    --vnt-danger: #a4263c;
    --vnt-shadow:
        0 22px 52px rgba(5, 22, 48, 0.13);
}

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

html {
    min-width: 320px;
    background: var(--vnt-bg);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--vnt-ink);
    background:
        radial-gradient(
            circle at 50% 14%,
            rgba(23, 102, 216, 0.1),
            transparent 31rem
        ),
        var(--vnt-bg);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.vorik-native-app {
    width: min(100%, 920px);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom:
        calc(48px + env(safe-area-inset-bottom));
    overflow: hidden;
    background: var(--vnt-bg);
    box-shadow:
        0 0 90px rgba(5, 22, 48, 0.08);
}

.vorik-native-hero {
    position: relative;
    min-height: 330px;
    padding:
        max(22px, env(safe-area-inset-top))
        clamp(18px, 5vw, 44px)
        58px;
    overflow: hidden;
    color: var(--vnt-white);
    background:
        radial-gradient(
            circle at 84% 8%,
            rgba(40, 111, 210, 0.27),
            transparent 22rem
        ),
        linear-gradient(
            145deg,
            var(--vnt-deep),
            #092854 70%,
            var(--vnt-navy)
        );
    border-radius: 0 0 44px 44px;
}

.vorik-native-topbar {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 14px;
}

.vorik-native-back {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.075);
}

.vorik-native-back svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vorik-native-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vorik-native-brand > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    color: var(--vnt-navy);
    background:
        linear-gradient(
            145deg,
            #ffe89b,
            var(--vnt-gold)
        );
    font-size: 25px;
    font-weight: 950;
}

.vorik-native-brand strong {
    letter-spacing: 0.18em;
    font-size: 24px;
}

.vorik-native-environment {
    display: inline-flex;
    min-height: 36px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    color: var(--vnt-navy);
    background: var(--vnt-gold);
    font-size: 12px;
    font-weight: 900;
}

.vorik-native-heading {
    position: relative;
    z-index: 3;
    margin-top: 51px;
}

.vorik-native-heading > small {
    color: var(--vnt-gold);
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 850;
}

.vorik-native-heading h1 {
    margin: 10px 0 0;
    font-size: clamp(32px, 7vw, 40px);
    line-height: 1.06;
}

.vorik-native-heading p {
    max-width: 580px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.55;
}

.vorik-native-line {
    position: absolute;
    right: -16%;
    bottom: 45px;
    width: 75%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 201, 51, 0.85),
            transparent
        );
    transform: rotate(-16deg);
}

.vorik-native-line.is-two {
    bottom: 20px;
    opacity: 0.48;
}

.vorik-native-main {
    display: grid;
    padding: 28px 24px 0;
    gap: 20px;
}

.vorik-native-device-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.vorik-native-device-card > div {
    display: grid;
    min-width: 0;
    min-height: 92px;
    padding: 15px;
    align-content: center;
    gap: 7px;
    border: 1px solid var(--vnt-border);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 12px 28px rgba(5, 22, 48, 0.07);
}

.vorik-native-device-card small,
.vorik-native-section header small,
.vorik-native-result header small,
.vorik-native-history header small {
    color: var(--vnt-muted);
    letter-spacing: 0.09em;
    font-size: 11px;
    font-weight: 850;
}

.vorik-native-device-card strong {
    overflow-wrap: anywhere;
    font-size: 15px;
}

.vorik-native-section,
.vorik-native-result,
.vorik-native-history {
    padding: 22px;
    border: 1px solid var(--vnt-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--vnt-shadow);
}

.vorik-native-section > header {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 13px;
}

.vorik-native-section > header > span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: var(--vnt-navy);
    background:
        linear-gradient(
            145deg,
            #ffe99f,
            var(--vnt-gold)
        );
    font-size: 13px;
    font-weight: 900;
}

.vorik-native-section h2,
.vorik-native-result h2,
.vorik-native-history h2 {
    margin: 4px 0 0;
    font-size: 17px;
}

.vorik-native-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vorik-native-test-card {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    min-height: 84px;
    padding: 14px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--vnt-border);
    border-radius: 20px;
    color: var(--vnt-ink);
    background: #f8fafc;
    text-align: left;
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.vorik-native-test-card:hover {
    border-color: rgba(23, 102, 216, 0.22);
    box-shadow:
        0 13px 28px rgba(5, 22, 48, 0.09);
    transform: translateY(-2px);
}

.vorik-native-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 16px;
    color: var(--vnt-navy);
    background:
        linear-gradient(
            145deg,
            #ffe99f,
            var(--vnt-gold)
        );
    font-size: 21px;
    font-weight: 950;
}

.vorik-native-test-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.vorik-native-test-card strong {
    font-size: 15px;
}

.vorik-native-test-card small {
    color: var(--vnt-muted);
    font-size: 13px;
}

.vorik-native-test-card b {
    color: var(--vnt-blue);
    font-size: 13px;
}

.vorik-native-result > header,
.vorik-native-history > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.vorik-native-result-status {
    display: inline-flex;
    min-height: 34px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    color: var(--vnt-navy);
    background: #e7edf5;
    font-size: 12px;
    font-weight: 900;
}

.vorik-native-result-status.is-success {
    color: #075d37;
    background: #d8f5e7;
}

.vorik-native-result-status.is-error {
    color: #8b2432;
    background: #ffe1e5;
}

.vorik-native-result dl {
    display: grid;
    margin: 20px 0 0;
    gap: 11px;
}

.vorik-native-result dl > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    min-height: 46px;
    padding: 11px 13px;
    align-items: center;
    gap: 14px;
    border-radius: 14px;
    background: #f7f9fc;
}

.vorik-native-result dt {
    color: var(--vnt-muted);
    font-size: 13px;
}

.vorik-native-result dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
}

.vorik-native-history header button {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    color: var(--vnt-danger);
    background: #ffe8ec;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.vorik-native-history-list {
    display: grid;
    margin-top: 18px;
    gap: 9px;
}

.vorik-native-history-list > p {
    margin: 0;
    color: var(--vnt-muted);
    font-size: 14px;
}

.vorik-native-history-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 51px;
    padding: 10px 13px;
    align-items: center;
    gap: 11px;
    border-radius: 15px;
    background: #f7f9fc;
}

.vorik-native-history-item > span:first-child {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 10px;
    color: var(--vnt-white);
    background: var(--vnt-success);
    font-size: 12px;
    font-weight: 900;
}

.vorik-native-history-item.is-error
> span:first-child {
    background: var(--vnt-danger);
}

.vorik-native-history-item strong {
    font-size: 14px;
}

.vorik-native-history-item time {
    color: var(--vnt-muted);
    font-size: 12px;
}

@media (max-width: 680px) {
    .vorik-native-hero {
        min-height: 315px;
        border-radius: 0 0 31px 31px;
    }

    .vorik-native-main {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vorik-native-brand strong {
        font-size: 20px;
    }

    .vorik-native-device-card {
        grid-template-columns: 1fr;
    }

    .vorik-native-grid {
        grid-template-columns: 1fr;
    }

    .vorik-native-section,
    .vorik-native-result,
    .vorik-native-history {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
