/* IDCONVERTER redesign mock — standalone visual system */
:root {
    --bg: #070d18;
    --bg-2: #0a1322;
    --surface: rgba(17, 28, 47, 0.82);
    --surface-2: #101c30;
    --surface-3: #15233b;
    --border: rgba(148, 176, 214, 0.16);
    --border-strong: rgba(148, 176, 214, 0.28);
    --text: #edf3fb;
    --muted: #a4b4ca;
    --muted-2: #7f93ad;
    --accent: #f7a41d;
    --accent-2: #ff7a1a;
    --accent-soft: rgba(247, 164, 29, 0.12);
    --ok: #34d399;
    --ok-soft: rgba(52, 211, 153, 0.12);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.12);
    --bad: #fb7185;
    --bad-soft: rgba(251, 113, 133, 0.12);
    --info: #60a5fa;
    --info-soft: rgba(96, 165, 250, 0.12);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
    --container: 1180px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(900px 520px at 14% -8%, rgba(247, 164, 29, 0.13), transparent 62%),
        radial-gradient(760px 460px at 92% 0%, rgba(96, 165, 250, 0.10), transparent 62%),
        linear-gradient(180deg, #08101d 0%, #070d18 46%, #060b14 100%);
    font-family: "Kumbh Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(148, 176, 214, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 176, 214, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0; }

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

::selection {
    background: rgba(247, 164, 29, 0.32);
    color: #fff;
}

[hidden] { display: none !important; }

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 500;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--accent);
    color: #1a1204;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }

.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.nowrap { white-space: nowrap; }

/* ── Mock ribbon ───────────────────────────────────────────── */
.mock-bar {
    position: relative;
    z-index: 120;
    border-bottom: 1px solid rgba(247, 164, 29, 0.22);
    background: linear-gradient(90deg, rgba(247, 164, 29, 0.12), rgba(96, 165, 250, 0.07));
    color: #f7d9a5;
    font-size: 12.5px;
    letter-spacing: 0.01em;
}
.mock-bar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 8px;
    min-height: 34px;
    padding-block: 4px;
    text-align: center;
}
.mock-bar strong { color: #fff; }
.mock-bar a { text-decoration: underline; text-underline-offset: 2px; }
.mock-bar a:hover { color: #fff; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(7, 13, 24, 0.72);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(7, 13, 24, 0.92);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    min-height: 44px;
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #1a1204;
    background: linear-gradient(135deg, #ffc247, var(--accent-2));
    box-shadow: 0 8px 20px rgba(247, 164, 29, 0.24);
}
.brand__mark .icon { width: 21px; height: 21px; stroke-width: 2; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.brand__sub {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-item { position: relative; }
.nav-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"],
.nav-trigger.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}
.nav-trigger .icon--chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.18s ease;
}
.nav-trigger[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.nav-item.is-current .nav-trigger { color: var(--text); }
.nav-item.is-current .nav-trigger::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: min(780px, calc(100vw - 40px));
    padding: 22px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: linear-gradient(180deg, #0e1a2d, #0b1526);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.mega::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-item.is-open .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
@media (hover: hover) and (min-width: 1081px) {
    .nav-item:hover .mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
    .nav-item:hover .nav-trigger {
        color: var(--text);
        background: rgba(255, 255, 255, 0.04);
        border-color: var(--border);
    }
    .nav-item:hover .nav-trigger .icon--chevron { transform: rotate(180deg); }
}
.mega__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.9fr;
    gap: 24px;
}
.mega__grid--two { grid-template-columns: 1.1fr 1fr; }
.mega__title {
    margin: 0 0 10px;
    color: var(--muted-2);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.mega__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}
.mega__link:hover { background: rgba(255, 255, 255, 0.05); }
.mega__link .icon {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: var(--accent);
}
.mega__link strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}
.mega__link span {
    display: block;
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 11.5px;
    line-height: 1.4;
}
.mega__promo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(247, 164, 29, 0.10), rgba(96, 165, 250, 0.06));
}
.mega__promo h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}
.mega__promo p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}
.mega__promo .btn { justify-content: center; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}
.header-actions .btn { min-height: 42px; padding: 9px 14px; font-size: 13px; }

.burger {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}
.burger:hover { background: rgba(255, 255, 255, 0.08); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary {
    background: linear-gradient(135deg, #ffc247, var(--accent-2));
    color: #1a1204;
    box-shadow: 0 10px 24px rgba(247, 164, 29, 0.22);
}
.btn--primary:hover {
    box-shadow: 0 14px 30px rgba(247, 164, 29, 0.3);
    filter: brightness(1.04);
}
.btn--secondary {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
}
.btn--secondary:hover {
    border-color: rgba(148, 176, 214, 0.46);
    background: rgba(255, 255, 255, 0.08);
}
.btn--ghost {
    background: transparent;
    color: var(--muted);
}
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn--danger {
    border-color: rgba(251, 113, 133, 0.4);
    background: rgba(251, 113, 133, 0.12);
    color: #ffd4db;
}
.btn--danger:hover { background: rgba(251, 113, 133, 0.2); }
.btn--sm { min-height: 36px; padding: 7px 11px; font-size: 12.5px; border-radius: 9px; }
.btn--sm .icon { width: 15px; height: 15px; }
.btn--block { width: 100%; }
.btn[disabled],
.btn[aria-disabled="true"] {
    opacity: 0.46;
    cursor: not-allowed;
    box-shadow: none;
    filter: none;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 60px 0 28px;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.eyebrow .icon { width: 14px; height: 14px; }
.hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.hero h1 .accent {
    color: var(--accent);
    background: linear-gradient(100deg, #ffd166 10%, var(--accent) 48%, var(--accent-2) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__lead {
    max-width: 56ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    line-height: 1.65;
}
.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.hero__point {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c6d4e6;
    font-size: 0.9rem;
}
.hero__point .icon { width: 15px; height: 15px; color: var(--ok); }

.lookup-card {
    position: relative;
    padding: 26px;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(23, 39, 64, 0.94), rgba(13, 23, 40, 0.97)),
        var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.lookup-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247, 164, 29, 0.75), transparent);
}
.lookup-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.lookup-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}
.lookup-card__title .icon { color: var(--accent); }
.lookup-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 999px;
    background: var(--ok-soft);
    color: #9df2d0;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}
.lookup-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}
.lookup-card__hint {
    margin: 12px 0 0;
    color: var(--muted-2);
    font-size: 12.5px;
    line-height: 1.5;
}
.lookup-card__hint a { color: #c6d4e6; text-decoration: underline; text-underline-offset: 2px; }
.lookup-card__hint a:hover { color: #fff; }

.field { display: grid; gap: 7px; }
.field > label {
    color: #cad7e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}
.input,
.select,
.textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(4, 10, 20, 0.56);
    color: var(--text);
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.input::placeholder,
.textarea::placeholder { color: #6f829c; }
.input:hover,
.select:hover,
.textarea:hover { border-color: rgba(148, 176, 214, 0.42); }
.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: rgba(247, 164, 29, 0.72);
    background: rgba(4, 10, 20, 0.78);
    box-shadow: 0 0 0 3px rgba(247, 164, 29, 0.12);
}
.input.is-error {
    border-color: rgba(251, 113, 133, 0.8);
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.12);
}
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.input-row .btn { min-height: 48px; white-space: nowrap; }

.demo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}
.demo-row__label {
    margin-right: 2px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}
.demo-chip:hover { border-color: var(--border-strong); color: var(--text); }
.demo-chip .icon { width: 13px; height: 13px; }

/* ── Quick actions ─────────────────────────────────────────── */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
}
.quick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 138px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(17, 28, 47, 0.58);
    color: var(--text);
    text-align: left;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 164, 29, 0.34);
    background: rgba(23, 38, 62, 0.78);
}
.quick-card__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 2px;
    border: 1px solid rgba(247, 164, 29, 0.2);
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}
.quick-card__icon .icon { width: 18px; height: 18px; }
.quick-card h3 { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.quick-card p { color: var(--muted-2); font-size: 11.5px; line-height: 1.45; }
.quick-card__arrow {
    position: absolute;
    top: 16px;
    right: 14px;
    color: #637793;
    transition: color 0.16s ease, transform 0.16s ease;
}
.quick-card:hover .quick-card__arrow { color: var(--accent); transform: translateX(2px); }
.quick-card__arrow .icon { width: 15px; height: 15px; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 54px 0; }
.section--tight { padding: 30px 0 50px; }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head h2 { margin: 9px 0 10px; }
h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.7vw, 2.25rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
}
h3 { margin: 0; }
.lead {
    max-width: 66ch;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.62;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}
.feature-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17, 28, 47, 0.54);
    transition: border-color 0.16s ease, background 0.16s ease;
}
.feature-card:hover { border-color: var(--border-strong); background: rgba(20, 34, 55, 0.72); }
.feature-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 13px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    background: var(--info-soft);
    color: #93c5fd;
}
.feature-card__icon .icon { width: 20px; height: 20px; }
.feature-card h3 { font-size: 14.5px; font-weight: 700; }
.feature-card p { margin-top: 5px; color: var(--muted-2); font-size: 12.5px; line-height: 1.5; }

.apps-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    background:
        radial-gradient(500px 240px at 100% 0%, rgba(96, 165, 250, 0.13), transparent 70%),
        linear-gradient(120deg, rgba(247, 164, 29, 0.12), rgba(17, 28, 47, 0.9) 42%, rgba(17, 28, 47, 0.86));
    overflow: hidden;
}
.apps-band::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 50%;
    pointer-events: none;
}
.apps-band h2 { margin: 9px 0 10px; }
.apps-band__platforms { position: relative; z-index: 1; display: grid; gap: 8px; }
.platform-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(5, 11, 21, 0.5);
}
.platform-row__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    color: #d7e3f3;
}
.platform-row__icon .icon { width: 17px; height: 17px; }
.platform-row__text { display: flex; flex-direction: column; line-height: 1.25; }
.platform-row__text strong { font-size: 12.5px; }
.platform-row__text span { color: var(--muted-2); font-size: 10.5px; }
.platform-row__status {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.platform-row__status--soon { background: rgba(251, 191, 36, 0.12); color: #fcd34d; }
.platform-row__status--beta { background: rgba(52, 211, 153, 0.12); color: #86efc9; }
.apps-band__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(17, 28, 47, 0.5);
}
.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(247, 164, 29, 0.3);
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}
.step h3 { font-size: 13.5px; }
.step p { margin-top: 5px; color: var(--muted-2); font-size: 12px; line-height: 1.5; }

.security-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
    padding: 26px;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(251, 191, 36, 0.09), rgba(17, 28, 47, 0.72));
}
.security-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 15px;
    background: var(--warn-soft);
    color: var(--warn);
}
.security-card__icon .icon { width: 25px; height: 25px; }
.security-card h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.security-card p { margin-top: 7px; color: var(--muted); }
.security-list { display: grid; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.security-list li { display: flex; align-items: flex-start; gap: 8px; color: #cbd8e8; font-size: 13px; }
.security-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--warn); }

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 28px 30px;
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    background:
        radial-gradient(420px 200px at 90% 20%, rgba(247, 164, 29, 0.16), transparent 70%),
        linear-gradient(120deg, rgba(23, 39, 64, 0.92), rgba(13, 23, 40, 0.92));
}
.cta-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.cta-card p { margin-top: 7px; color: var(--muted); }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }

/* ── Interior pages ────────────────────────────────────────── */
.page { padding: 38px 0 64px; }
.page-head { max-width: 780px; margin-bottom: 25px; }
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--muted-2);
    font-size: 11.5px;
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .icon { width: 12px; height: 12px; }
.page-head h1 {
    margin: 8px 0 11px;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.page-head .lead { font-size: 1rem; }

/* ── Result ────────────────────────────────────────────────── */
.result-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 20px;
    align-items: start;
}
.result-layout > *,
.result-main > *,
.result-side,
.status-card,
.panel,
.protocol-panel,
.side-card { min-width: 0; }
.result-main { display: grid; gap: 16px; min-width: 0; }

.status-card {
    padding: 23px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background: var(--surface);
}
.status-card--ok {
    border-color: rgba(52, 211, 153, 0.28);
    background:
        radial-gradient(460px 220px at 0% 0%, rgba(52, 211, 153, 0.11), transparent 72%),
        linear-gradient(135deg, rgba(17, 28, 47, 0.94), rgba(13, 23, 40, 0.96));
}
.status-card--bad {
    border-color: rgba(251, 113, 133, 0.3);
    background:
        radial-gradient(460px 220px at 0% 0%, rgba(251, 113, 133, 0.13), transparent 72%),
        linear-gradient(135deg, rgba(17, 28, 47, 0.94), rgba(13, 23, 40, 0.96));
}
.status-card--warn {
    border-color: rgba(251, 191, 36, 0.3);
    background:
        radial-gradient(460px 220px at 0% 0%, rgba(251, 191, 36, 0.12), transparent 72%),
        linear-gradient(135deg, rgba(17, 28, 47, 0.94), rgba(13, 23, 40, 0.96));
}
.status-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.status-card h2 { margin: 9px 0 8px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.status-pill--ok { border-color: rgba(52, 211, 153, 0.3); background: var(--ok-soft); color: #9df2d0; }
.status-pill--bad { border-color: rgba(251, 113, 133, 0.32); background: var(--bad-soft); color: #ffb3c0; }
.status-pill--warn { border-color: rgba(251, 191, 36, 0.32); background: var(--warn-soft); color: #fde68a; }
.status-pill--info { border-color: rgba(96, 165, 250, 0.3); background: var(--info-soft); color: #bfdbfe; }

.client-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12.5px;
}
.id-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: rgba(4, 10, 20, 0.5);
    color: #e4edf9;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.id-chip button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--muted-2);
}
.id-chip button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.id-chip .icon { width: 13px; height: 13px; }

.meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}
.meta-item {
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(4, 10, 20, 0.28);
}
.meta-item__label {
    display: block;
    color: var(--muted-2);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.meta-item__value {
    display: block;
    margin-top: 4px;
    color: #e4edf9;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
}
.meta-item__value--ok { color: #9df2d0; }
.meta-item__value--bad { color: #ffb3c0; }

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}
.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    color: #f7e5b0;
    font-size: 12.5px;
    line-height: 1.5;
}
.notice .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--warn); }
.notice strong { color: #fff3cf; }

.tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(4, 10, 20, 0.4);
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.tab[aria-selected="true"] {
    border-color: rgba(247, 164, 29, 0.3);
    background: var(--accent-soft);
    color: #ffd58a;
}
.tab__badge {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 800;
}
.tab[aria-selected="true"] .tab__badge { background: rgba(247, 164, 29, 0.16); color: #ffd58a; }

.protocol-panel {
    margin-top: 13px;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(17, 28, 47, 0.62);
}
.protocol-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.protocol-head h2 { margin: 0; font-size: 1.28rem; letter-spacing: -0.01em; }
.protocol-head p { margin-top: 5px; color: var(--muted-2); font-size: 12.5px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge--accent { border-color: rgba(247, 164, 29, 0.28); background: var(--accent-soft); color: #ffd58a; }
.badge--ok { border-color: rgba(52, 211, 153, 0.26); background: var(--ok-soft); color: #9df2d0; }

.protocol-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 17px 0 11px;
}
.protocol-actions .btn { min-height: 42px; }
.protocol-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: var(--muted-2);
    font-size: 11px;
}
.protocol-meta span { display: inline-flex; align-items: center; gap: 5px; }
.protocol-meta .icon { width: 13px; height: 13px; }

.disclosure {
    margin-top: 14px;
    padding-top: 5px;
    border-top: 1px solid var(--border);
}
.disclosure summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #d9e4f2;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
    content: "+";
    margin-left: auto;
    color: var(--accent);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}
.disclosure[open] summary::after { content: "−"; }
.disclosure summary .icon { width: 15px; height: 15px; color: var(--muted-2); }
.disclosure__body { padding: 0 0 8px 23px; }
.disclosure__body p,
.disclosure__body li { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.disclosure__body ol,
.disclosure__body ul { margin: 5px 0 0; padding-left: 18px; }
.disclosure__body li + li { margin-top: 4px; }

.config-pre {
    max-height: 190px;
    margin: 9px 0 10px;
    padding: 12px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(3, 8, 16, 0.7);
    color: #b8c8dc;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 11px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-all;
}

.panel {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(17, 28, 47, 0.58);
}
.panel--warn {
    border-color: rgba(251, 191, 36, 0.22);
    background: linear-gradient(120deg, rgba(251, 191, 36, 0.07), rgba(17, 28, 47, 0.62));
}
.panel--bad {
    border-color: rgba(251, 113, 133, 0.22);
    background: linear-gradient(120deg, rgba(251, 113, 133, 0.07), rgba(17, 28, 47, 0.62));
}
.panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.panel h2 { font-size: 1.12rem; letter-spacing: -0.01em; }
.panel h3 { font-size: 13.5px; }
.panel p { margin-top: 5px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.panel > .btn { margin-top: 14px; }
.panel .form-actions .btn { margin-top: 0; }
.panel--inline-btn .btn { margin-top: 0; }

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 13px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(4, 10, 20, 0.3);
}
.message__dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--info);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
    flex: 0 0 auto;
}
.message__dot--warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12); }
.message__dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12); }
.message strong { display: block; color: #e4edf9; font-size: 12.5px; }
.message p { margin-top: 2px; color: var(--muted); font-size: 12px; }
.message time { display: block; margin-top: 4px; color: var(--muted-2); font-size: 10.5px; }

.side-card {
    position: sticky;
    top: 94px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(17, 28, 47, 0.64);
}
.side-card h2 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.side-actions { display: grid; gap: 2px; margin-top: 10px; }
.side-action {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 7px;
    border-radius: 9px;
    color: #d7e3f3;
    font-size: 12.5px;
    font-weight: 600;
}
.side-action:hover { background: rgba(255, 255, 255, 0.055); color: #fff; }
.side-action .icon { width: 16px; height: 16px; color: var(--accent); }
.side-action__arrow { margin-left: auto; color: var(--muted-2); }
.side-help {
    margin-top: 13px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(4, 10, 20, 0.3);
}
.side-help h3 { font-size: 12px; }
.side-help p { margin-top: 4px; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.side-help .btn { width: 100%; margin-top: 10px; }

/* ── Status / checklist ────────────────────────────────────── */
.checklist { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}
.checklist .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
.checklist strong { color: #e4edf9; }

/* ── Apps ──────────────────────────────────────────────────── */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.platform-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(17, 28, 47, 0.6);
}
.platform-card__head { display: flex; align-items: center; gap: 12px; }
.platform-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    color: #e6eef9;
    flex: 0 0 auto;
}
.platform-icon .icon { width: 23px; height: 23px; }
.platform-icon--windows { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.platform-icon--android { background: rgba(52, 211, 153, 0.13); color: #86efc9; }
.platform-icon--linux { background: rgba(251, 191, 36, 0.13); color: #fcd34d; }
.platform-icon--apple { background: rgba(203, 213, 225, 0.12); color: #e2e8f0; }
.platform-card__title { display: flex; flex-direction: column; gap: 1px; }
.platform-card__title h2 { margin: 0; font-size: 1.05rem; }
.platform-card__title span { color: var(--muted-2); font-size: 11px; }
.platform-card__status { margin-left: auto; }
.platform-card > p { margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.platform-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 15px; }
.platform-card__actions .btn { min-height: 40px; font-size: 12.5px; }
.platform-card__note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    color: var(--muted-2);
    font-size: 10.5px;
    line-height: 1.45;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.app-feature {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(17, 28, 47, 0.48);
}
.app-feature .icon { width: 19px; height: 19px; margin-bottom: 9px; color: var(--accent); }
.app-feature h3 { font-size: 12.5px; }
.app-feature p { margin-top: 4px; color: var(--muted-2); font-size: 11.5px; line-height: 1.45; }

.req-list {
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
}
.req-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 11px 14px;
    font-size: 12px;
}
.req-row + .req-row { border-top: 1px solid var(--border); }
.req-row span:first-child { color: var(--muted); }
.req-row span:last-child { color: #dbe6f4; font-weight: 600; text-align: right; }

.tech-links { display: grid; gap: 6px; margin-top: 12px; }
.tech-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(4, 10, 20, 0.3);
    color: #b9c9dd;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 10.5px;
    word-break: break-all;
}
.tech-link .icon { width: 13px; height: 13px; color: var(--muted-2); }

/* ── Instructions ──────────────────────────────────────────── */
.client-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 13px;
    overflow-x: auto;
    scrollbar-width: none;
}
.client-tabs::-webkit-scrollbar { display: none; }
.client-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(17, 28, 47, 0.5);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.client-tab:hover { color: var(--text); border-color: var(--border-strong); }
.client-tab[aria-selected="true"] {
    border-color: rgba(247, 164, 29, 0.34);
    background: var(--accent-soft);
    color: #ffd58a;
}
.client-tab .icon { width: 16px; height: 16px; }

.instruction-panel {
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(17, 28, 47, 0.6);
}
.instruction-panel h2 { font-size: 1.25rem; }
.instruction-panel > p { margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.steps-list {
    display: grid;
    gap: 13px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: instruct;
}
.steps-list li {
    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 11px;
    align-items: start;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}
.steps-list li::before {
    counter-increment: instruct;
    content: counter(instruct);
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(247, 164, 29, 0.26);
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}
.steps-list strong { color: #e4edf9; }

.import-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.import-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(17, 28, 47, 0.48);
}
.import-card__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 9px;
    background: var(--info-soft);
    color: #93c5fd;
}
.import-card__icon .icon { width: 17px; height: 17px; }
.import-card h3 { font-size: 12.5px; }
.import-card p { margin-top: 4px; color: var(--muted-2); font-size: 11.5px; line-height: 1.45; }

.faq { display: grid; gap: 7px; }
.faq details {
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(17, 28, 47, 0.48);
}
.faq summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 14px;
    color: #dbe6f4;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    margin-left: auto;
    color: var(--accent);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 14px 13px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.faq details > div p + p { margin-top: 7px; }

/* ── Relocate / forms ──────────────────────────────────────── */
.relocate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 16px;
    align-items: start;
}
.form-card {
    padding: 21px;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(17, 28, 47, 0.64);
}
.form-card h2 { font-size: 1.2rem; }
.form-card > p { margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.form-grid { display: grid; gap: 13px; margin-top: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field > label { color: #cad7e8; font-size: 11.5px; font-weight: 700; }
.form-field .hint { color: var(--muted-2); font-size: 10.5px; line-height: 1.45; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.form-success {
    margin-top: 13px;
    padding: 11px 13px;
    border: 1px solid rgba(52, 211, 153, 0.26);
    border-radius: 10px;
    background: var(--ok-soft);
    color: #b5f5dd;
    font-size: 12px;
}
.cooldown {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.07);
    color: #f5e3b1;
    font-size: 11.5px;
    line-height: 1.5;
}
.cooldown .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--warn); }
.warning-list { display: grid; gap: 8px; margin: 13px 0 0; padding: 0; list-style: none; }
.warning-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.warning-list .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--bad); }

/* ── Help / network ────────────────────────────────────────── */
.help-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 16px;
    align-items: start;
}
.contact-card {
    padding: 21px;
    border: 1px solid rgba(247, 164, 29, 0.26);
    border-radius: 18px;
    background:
        radial-gradient(300px 160px at 100% 0%, rgba(247, 164, 29, 0.15), transparent 72%),
        rgba(17, 28, 47, 0.66);
}
.contact-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 13px;
    border: 1px solid rgba(247, 164, 29, 0.26);
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}
.contact-card__icon .icon { width: 21px; height: 21px; }
.contact-card h2 { font-size: 1.15rem; }
.contact-card p { margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.contact-card .btn { margin-top: 14px; }
.contact-links { display: grid; gap: 2px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }
.contact-link { display: flex; align-items: center; gap: 8px; min-height: 38px; color: var(--muted); font-size: 12px; }
.contact-link:hover { color: var(--text); }
.contact-link .icon { width: 15px; height: 15px; color: var(--muted-2); }
.contact-link .icon--arrow { margin-left: auto; }

.overall {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(52, 211, 153, 0.26);
    border-radius: 17px;
    background: linear-gradient(120deg, rgba(52, 211, 153, 0.12), rgba(17, 28, 47, 0.64));
}
.overall__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.13);
    flex: 0 0 auto;
}
.overall h2 { font-size: 1.2rem; }
.overall p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.overall__time { margin-left: auto; color: var(--muted-2); font-size: 10.5px; text-align: right; }

.service-list {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    background: rgba(17, 28, 47, 0.48);
}
.service-row + .service-row { border-top: 1px solid var(--border); }
.service-row__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}
.service-row__icon .icon { width: 15px; height: 15px; }
.service-row strong { display: block; font-size: 12.5px; }
.service-row span { display: block; color: var(--muted-2); font-size: 10.5px; }
.service-row__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: #9df2d0;
    font-size: 11px;
    font-weight: 700;
}
.service-row__status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
}
.service-row__status--warn { color: #fde68a; }
.service-row__status--warn::before { background: var(--warn); }
.incident {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(17, 28, 47, 0.42);
}
.incident + .incident { margin-top: 7px; }
.incident time { color: var(--muted-2); font-size: 10.5px; }
.incident strong { display: block; font-size: 12px; }
.incident p { margin-top: 2px; color: var(--muted-2); font-size: 11px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(4, 9, 17, 0.72);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
    padding: 42px 0 30px;
}
.footer-brand p { max-width: 30ch; margin-top: 11px; color: var(--muted-2); font-size: 11.5px; line-height: 1.55; }
.footer-col h3 {
    margin: 0 0 10px;
    color: #cbd8e8;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-col a {
    display: flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 0;
    color: var(--muted-2);
    font-size: 11.5px;
    line-height: 1.45;
}
.footer-col a:hover { color: var(--text); }
.footer-col__button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 26px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: var(--muted-2);
    font: inherit;
    font-size: 11.5px;
    line-height: 1.45;
    text-align: left;
}
.footer-col__button:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 22px;
    border-top: 1px solid var(--border);
    color: var(--muted-2);
    font-size: 10.5px;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--text); }

/* ── Modals / toast ────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, 0.78);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.modal__card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: 23px;
    border: 1px solid var(--border-strong);
    border-radius: 19px;
    background: linear-gradient(180deg, #122038, #0c1729);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    animation: modal-in 0.18s ease both;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(10px) scale(0.99); }
    to { opacity: 1; transform: none; }
}
.modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}
.modal__title { margin: 0; font-size: 1.18rem; line-height: 1.25; }
.modal__close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}
.modal__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.modal__text { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.modal__text + .modal__text { margin-top: 9px; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.modal__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 13px;
    border-radius: 12px;
    background: var(--warn-soft);
    color: var(--warn);
}
.modal__icon .icon { width: 21px; height: 21px; }
.modal__icon--bad { background: var(--bad-soft); color: var(--bad); }
.modal__icon--ok { background: var(--ok-soft); color: var(--ok); }

.qr-wrap { display: grid; justify-items: center; gap: 9px; margin: 16px 0 4px; }
.qr-box {
    width: min(240px, 100%);
    padding: 12px;
    border-radius: 12px;
    background: #fff;
}
.qr-grid {
    display: grid;
    grid-template-columns: repeat(25, 1fr);
    aspect-ratio: 1;
    gap: 1px;
    background: #fff;
}
.qr-grid i { background: #fff; }
.qr-grid i.on { background: #0b1220; }
.qr-caption { color: var(--muted-2); font-size: 10.5px; text-align: center; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 400;
    width: max-content;
    max-width: min(520px, calc(100% - 32px));
    padding: 11px 15px;
    border: 1px solid rgba(247, 164, 29, 0.34);
    border-radius: 11px;
    background: #13203a;
    color: #f4e8d2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── Mobile drawer ─────────────────────────────────────────── */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(2, 6, 14, 0.66);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    width: min(390px, calc(100% - 32px));
    padding: 16px;
    overflow-y: auto;
    border-left: 1px solid var(--border-strong);
    background: #0a1424;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(105%);
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.24s;
}
.mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}
.mobile-drawer__head .brand__name { font-size: 15px; }
.mobile-drawer__close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}
.mobile-drawer__cta { display: grid; gap: 8px; margin: 14px 0 4px; }
.mobile-drawer__group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-drawer__group:last-child { border-bottom: 0; }
.mobile-drawer__group h3 {
    margin-bottom: 7px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #d7e3f3;
    font-size: 12.5px;
    font-weight: 600;
}
.mobile-drawer__link:hover,
.mobile-drawer__link.is-active { background: rgba(255, 255, 255, 0.05); }
.mobile-drawer__link.is-active { color: #ffd58a; }
.mobile-drawer__link .icon { width: 16px; height: 16px; color: var(--accent); }
.mobile-drawer__link small { margin-left: auto; color: var(--muted-2); font-size: 10px; font-weight: 500; }
.mobile-drawer__platforms { display: grid; gap: 5px; }
.mobile-drawer__platform {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #d7e3f3;
    font-size: 12px;
}
.mobile-drawer__platform .icon { width: 15px; height: 15px; color: var(--muted); }
.mobile-drawer__platform span { margin-left: auto; color: var(--muted-2); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Reveal ────────────────────────────────────────────────── */
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.static-preview .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .hero__grid { gap: 34px; }
    .main-nav { display: none; }
    .burger { display: grid; }
    .header-actions { margin-left: auto; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 24px; }
}

@media (max-width: 960px) {
    .hero { padding-top: 42px; }
    .hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .hero__lead { max-width: 65ch; }
    .lookup-card { max-width: 620px; }
    .result-layout { grid-template-columns: minmax(0, 1fr); }
    .side-card { position: static; }
    .side-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apps-band { grid-template-columns: 1fr; gap: 22px; }
    .apps-grid { grid-template-columns: 1fr; }
    .app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .relocate-grid,
    .help-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .container { width: calc(100% - 28px); }
    .header-inner { min-height: 64px; gap: 12px; }
    .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
    .brand__name { font-size: 15px; }
    .brand__sub { font-size: 8.5px; }
    .header-actions .btn--ghost { display: none; }
    .header-actions .btn { min-height: 38px; padding: 8px 11px; font-size: 12px; }
    .hero { padding: 30px 0 18px; }
    .hero h1 { margin-top: 12px; }
    .hero__points { gap: 8px 13px; }
    .lookup-card { padding: 19px; border-radius: 19px; }
    .lookup-card__head { margin-bottom: 15px; }
    .input-row { grid-template-columns: 1fr; }
    .input-row .btn { width: 100%; }
    .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quick-card { min-height: 128px; padding: 14px; }
    .section { padding: 38px 0; }
    .section--tight { padding: 22px 0 38px; }
    .feature-grid { grid-template-columns: 1fr; }
    .apps-band { padding: 20px; border-radius: 19px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .security-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
    .security-card__icon { width: 44px; height: 44px; }
    .cta-card { flex-direction: column; align-items: flex-start; padding: 22px; }
    .page { padding: 26px 0 48px; }
    .status-card { padding: 18px; }
    .status-card__top { grid-template-columns: 1fr; gap: 12px; }
    .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .protocol-panel { padding: 17px; }
    .protocol-head { flex-direction: column; gap: 8px; }
    .protocol-actions .btn { flex: 1 1 150px; }
    .panel { padding: 17px; }
    .side-actions { grid-template-columns: 1fr; }
    .app-features { grid-template-columns: 1fr; }
    .import-grid { grid-template-columns: 1fr; }
    .client-tabs { margin-inline: -2px; }
    .instruction-panel { padding: 17px; }
    .incident { grid-template-columns: 1fr auto; }
    .incident time { grid-column: 1 / -1; }
    .overall { align-items: flex-start; flex-wrap: wrap; }
    .overall__time { width: 100%; margin-left: 30px; text-align: left; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; padding-top: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: 45ch; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .modal { padding: 14px; }
    .modal__card { padding: 19px; }
    .mock-bar .container { justify-content: flex-start; text-align: left; }
    .mock-bar .container > [aria-hidden="true"] { display: none; }
}

@media (max-width: 560px) {
    .header-actions .btn--primary { display: none; }
    .quick-grid { grid-template-columns: 1fr; }
    .quick-card { min-height: 0; }
    .quick-card__arrow { top: 14px; }
    .hero__points { flex-direction: column; align-items: flex-start; gap: 6px; }
    .steps { grid-template-columns: 1fr; }
    .meta-grid { grid-template-columns: 1fr; }
    .result-actions .btn { flex: 1 1 100%; }
    .protocol-actions .btn { flex: 1 1 100%; }
    .form-card .panel__head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tabs { border-radius: 11px; }
    .tab { padding-inline: 10px; }
    .client-tabs { gap: 4px; }
    .client-tab { padding-inline: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-col { padding-bottom: 4px; }
    .mock-bar { font-size: 11px; }
    .page-head h1 { font-size: clamp(1.7rem, 9vw, 2.3rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .js .reveal { opacity: 1; transform: none; }
}
