:root {
    color-scheme: dark;
    --bg: #050816;
    --bg-soft: #0B1220;
    --panel: rgba(17, 24, 39, .76);
    --panel-strong: rgba(15, 23, 42, .94);
    --line: rgba(203, 213, 225, .14);
    --line-strong: rgba(203, 213, 225, .24);
    --text: #FFFFFF;
    --muted: #CBD5E1;
    --blue: #2563EB;
    --purple: #7C3AED;
    --green: #22C55E;
    --amber: #F59E0B;
    --red: #EF4444;
    --cyan: #38BDF8;
    --shadow: 0 22px 70px rgba(0, 0, 0, .34);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .18), transparent 30%),
        conic-gradient(from 210deg at 72% 12%, rgba(124, 58, 237, .28), transparent 26%, rgba(34, 197, 94, .10), transparent 48%),
        linear-gradient(180deg, #050816 0%, #0B1220 50%, #050816 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(203, 213, 225, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(203, 213, 225, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .82), transparent 78%);
    z-index: -1;
}

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

img, svg {
    max-width: 100%;
    display: block;
}

svg {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.narrow {
    max-width: 760px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 20;
    background: var(--blue);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 8, 22, .82);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    min-width: 254px;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(203, 213, 225, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .035);
}

.brand span {
    display: grid;
    line-height: 1.05;
}

.brand-mark {
    width: 54px;
    height: 36px;
    flex: 0 0 54px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(34, 167, 224, .28))
        drop-shadow(0 10px 18px rgba(239, 35, 60, .16));
}

.brand strong {
    color: #fff;
    font-size: 1.12rem;
    letter-spacing: .02em;
}

.brand em {
    color: var(--muted);
    font-size: .72rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.main-nav, .admin-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a, .admin-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.main-nav a:hover, .admin-nav a:hover {
    color: #fff;
    border-color: var(--line);
    background: rgba(255, 255, 255, .05);
}

.main-nav .nav-cta {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 10px 30px rgba(37, 99, 235, .28);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(239, 68, 68, .13), transparent 28%),
        linear-gradient(245deg, rgba(34, 197, 94, .12), transparent 32%),
        linear-gradient(90deg, rgba(37, 99, 235, .20), rgba(124, 58, 237, .12));
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    opacity: .74;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 48px;
    align-items: center;
    padding: 88px 0 116px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge, .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    width: fit-content;
    padding: 6px 10px;
    border: 1px solid rgba(37, 99, 235, .38);
    border-radius: var(--radius);
    background: rgba(37, 99, 235, .12);
    color: #DCEAFE;
    font-size: .84rem;
    font-weight: 700;
}

.badge-green {
    border-color: rgba(34, 197, 94, .34);
    background: rgba(34, 197, 94, .10);
    color: #DCFCE7;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    font-size: 3.45rem;
    line-height: 1.04;
    letter-spacing: 0;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.05rem;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.05rem;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.hero-subtitle, .lead {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 680px;
}

.hero-actions, .success-actions, .quick-actions, .wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--line-strong);
    padding: 0 18px;
    color: #fff;
    font-weight: 800;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .32);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(56, 189, 248, .48);
    outline-offset: 2px;
}

.btn-primary {
    border-color: rgba(37, 99, 235, .58);
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.btn-secondary {
    background: rgba(15, 23, 42, .72);
}

.btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust-strip span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
}

.hero-visual {
    min-height: 470px;
}

.hero-workflow {
    position: relative;
    min-height: 470px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 18% 12%, rgba(56, 189, 248, .18), transparent 32%),
        radial-gradient(circle at 92% 18%, rgba(239, 68, 68, .13), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 22px;
}

.hero-workflow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(203, 213, 225, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(203, 213, 225, .055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 85%);
    pointer-events: none;
}

.workflow-head,
.workflow-device-card,
.workflow-steps,
.workflow-footer {
    position: relative;
    z-index: 1;
}

.workflow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.workflow-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(5, 8, 22, .78);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
    padding: 12px 14px;
}

.workflow-brand .brand-mark {
    width: 52px;
    height: 34px;
}

.workflow-brand span,
.workflow-steps em,
.workflow-footer span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-style: normal;
}

.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: var(--radius);
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .30);
    color: #DCFCE7;
    font-weight: 900;
}

.live-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .14);
}

.workflow-device-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    align-items: center;
    min-height: 190px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .20), rgba(5, 8, 22, .62)),
        rgba(255, 255, 255, .04);
}

.device-mockup {
    width: 118px;
    height: 156px;
    margin-inline: auto;
    border-radius: 22px;
    padding: 10px;
    background: linear-gradient(135deg, #38BDF8, #2563EB 48%, #7C3AED);
    box-shadow: 0 22px 60px rgba(37, 99, 235, .28);
}

.device-mockup span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .10), transparent),
        #050816;
    border: 1px solid rgba(255, 255, 255, .16);
}

.workflow-device-card h2 {
    font-size: 1.65rem;
    margin: 10px 0;
}

.workflow-device-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.small {
    min-height: 26px;
    padding: 4px 8px;
    font-size: .72rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.workflow-steps div,
.workflow-footer div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 22, .56);
    padding: 14px;
}

.workflow-steps span {
    color: #93C5FD;
    font-weight: 900;
    font-size: .82rem;
}

.workflow-steps strong {
    display: block;
    margin: 6px 0 2px;
}

.workflow-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.workflow-footer div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.workflow-footer svg {
    color: var(--green);
    flex: 0 0 auto;
}

.section {
    padding: 92px 0;
}

.compact-hero, .form-hero {
    padding: 70px 0 28px;
}

.form-hero-card {
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
    border: 1px solid rgba(203, 213, 225, .12);
    border-radius: var(--radius);
    padding: 34px 28px;
    background:
        radial-gradient(circle at 20% 0%, rgba(56, 189, 248, .18), transparent 36%),
        radial-gradient(circle at 80% 0%, rgba(124, 58, 237, .18), transparent 36%),
        rgba(255, 255, 255, .045);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .20);
}

.form-hero-card .eyebrow {
    margin-inline: auto;
    margin-bottom: 16px;
}

.form-hero-card h1 {
    max-width: 820px;
    margin: 0 auto 14px;
    font-size: 2.65rem;
}

.form-hero-card p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
}

.centered {
    text-align: center;
    margin-inline: auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading p {
    color: var(--muted);
}

.notice-band {
    position: relative;
    margin-top: -58px;
    z-index: 2;
}

.notice-band .container {
    border: 1px solid rgba(245, 158, 11, .28);
    border-radius: var(--radius);
    padding: 18px 20px;
    background: rgba(245, 158, 11, .10);
    color: #FEF3C7;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .20);
}

.device-grid, .advantage-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card, .advantage-panel, .disclaimer-card, .glass-card, .summary-card, .instruction-panel, .contact-panel,
.wizard-card, .detail-card, .update-card, .timeline-card, .stat-card, .status-result, .sheet-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
    box-shadow: 0 18px 56px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
}

.feature-card {
    padding: 22px;
    min-height: 192px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, .32);
    background: linear-gradient(145deg, rgba(37, 99, 235, .16), rgba(255, 255, 255, .04));
}

.feature-card p, .disclaimer-card p, .advantage-panel p, .instruction-panel p, .contact-panel p {
    color: var(--muted);
}

.icon-shell {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.split-grid, .advantage-grid, .instruction-grid, .success-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.steps-list {
    display: grid;
    gap: 12px;
}

.process-step, .check-row {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(255, 255, 255, .045);
}

.process-step span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    font-weight: 900;
}

.process-step p, .check-row span {
    margin: 0;
}

.advantage-panel, .disclaimer-card {
    padding: 28px;
}

.advantage-list {
    grid-template-columns: 1fr;
}

.check-row svg {
    flex: 0 0 auto;
    color: var(--green);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #BFDBFE;
    font-weight: 800;
}

.disclaimer-section {
    padding-top: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px 0;
    background: rgba(5, 8, 22, .72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(203, 213, 225, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
}

.footer-brand .brand-mark {
    width: 54px;
    height: 36px;
}

.footer-brand strong {
    color: #fff;
    font-size: 1.14rem;
    font-weight: 950;
    letter-spacing: .02em;
}

.site-footer h2 {
    font-size: 1rem;
}

.site-footer p, .muted {
    color: var(--muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(255, 255, 255, .045);
    font-weight: 800;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.social-links a:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, .34);
    background: rgba(37, 99, 235, .14);
}

.wizard-section {
    padding: 36px 0 92px;
}

.wizard-shell {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.wizard-intro {
    position: sticky;
    top: 102px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: rgba(5, 8, 22, .62);
}

.compact-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.compact-brand .brand-mark {
    width: 58px;
    height: 38px;
}

.compact-brand span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.mini-note, .final-warning, .critical-message {
    border: 1px solid rgba(245, 158, 11, .26);
    border-radius: var(--radius);
    background: rgba(245, 158, 11, .10);
    padding: 14px;
    color: #FEF3C7;
}

.wizard-assistant {
    position: relative;
    margin-top: 16px;
    border: 1px solid rgba(56, 189, 248, .25);
    border-radius: var(--radius);
    padding: 16px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(5, 8, 22, .58)),
        rgba(255, 255, 255, .04);
}

.wizard-assistant::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 18px;
    top: -6px;
    border-left: 1px solid rgba(56, 189, 248, .25);
    border-top: 1px solid rgba(56, 189, 248, .25);
    background: #111827;
    transform: rotate(45deg);
}

.wizard-assistant span {
    display: inline-flex;
    margin-bottom: 6px;
    color: #BFDBFE;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.wizard-assistant p {
    margin: 0;
    color: var(--muted);
}

.critical-message span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.wizard-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
}

.wizard-progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    margin-bottom: 18px;
}

.wizard-progress-bar {
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--green));
    transition: width .25s ease;
}

.step-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}

.step-tabs li {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(255, 255, 255, .035);
}

.step-tabs li span {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    font-weight: 900;
}

.step-tabs li.active {
    color: #fff;
    border-color: rgba(37, 99, 235, .52);
    background: rgba(37, 99, 235, .16);
}

.step-tabs em {
    font-style: normal;
    font-size: .85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: stepFade .24s ease;
}

.step-heading {
    margin-bottom: 22px;
}

.step-heading span {
    color: var(--cyan);
    font-weight: 800;
    font-size: .9rem;
}

.step-heading p {
    color: var(--muted);
}

.select-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.select-card, .check-pill, .confirm-list label, .mini-fieldset label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .045);
    color: #fff;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.select-card {
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 16%, rgba(56, 189, 248, .12), transparent 42%),
        rgba(255, 255, 255, .045);
}

.select-card input, .check-pill input, .confirm-list input, .mini-fieldset input {
    accent-color: var(--blue);
}

.select-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-card:has(input:checked), .check-pill:has(input:checked), .mini-fieldset label:has(input:checked) {
    border-color: rgba(56, 189, 248, .62);
    background: rgba(37, 99, 235, .18);
}

.select-card:hover, .check-pill:hover, .confirm-list label:hover {
    transform: translateY(-2px);
    border-color: rgba(203, 213, 225, .30);
}

.select-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .92), rgba(56, 189, 248, .76)),
        #111827;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .22);
}

.select-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.75;
}

.select-card:nth-child(2) .select-icon {
    background: linear-gradient(135deg, #7C3AED, #2563EB);
    box-shadow: 0 18px 40px rgba(124, 58, 237, .24);
}

.select-card:nth-child(3) .select-icon {
    background: linear-gradient(135deg, #0EA5E9, #22C55E);
    box-shadow: 0 18px 40px rgba(34, 197, 94, .18);
}

.select-card:nth-child(4) .select-icon {
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    box-shadow: 0 18px 40px rgba(239, 68, 68, .20);
}

.select-card:nth-child(5) .select-icon {
    background: linear-gradient(135deg, #F59E0B, #7C3AED);
    box-shadow: 0 18px 40px rgba(245, 158, 11, .18);
}

.select-card:nth-child(6) .select-icon {
    background: linear-gradient(135deg, #22C55E, #2563EB);
    box-shadow: 0 18px 40px rgba(34, 197, 94, .18);
}

.select-card span:last-child {
    font-size: 1.05rem;
    line-height: 1.25;
}

form label {
    display: grid;
    gap: 8px;
    color: #fff;
    font-weight: 800;
}

label em {
    color: var(--muted);
    font-style: normal;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 12px 13px;
    background: rgba(5, 8, 22, .72);
    color: #fff;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    min-height: 0;
    padding: 0;
    flex: 0 0 20px;
}

textarea {
    resize: vertical;
    min-height: 118px;
}

input::placeholder, textarea::placeholder {
    color: rgba(203, 213, 225, .62);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-width: 0;
}

.wizard-form,
.wizard-step,
.wizard-card,
.select-card-grid,
.checkbox-grid,
.quick-questions,
.step-tabs {
    min-width: 0;
    max-width: 100%;
}

.full {
    grid-column: 1 / -1;
}

.mt-16 {
    margin-top: 16px;
}

.checkbox-panel {
    border: 0;
    padding: 0;
    margin: 22px 0 0;
}

.checkbox-panel legend {
    width: 100%;
    padding: 0;
    margin-bottom: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.mini-fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    margin: 18px 0 0;
    background: rgba(255, 255, 255, .035);
}

.mini-fieldset legend {
    padding: 0 8px;
    color: var(--muted);
    font-weight: 800;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    min-width: 0;
}

.accessory-group {
    display: none;
}

.accessory-group.active {
    display: grid;
}

.accessory-hint {
    margin: 0 0 12px;
    color: var(--muted);
}

.check-pill, .confirm-list label {
    min-height: 58px;
    padding: 14px 16px;
    cursor: pointer;
    justify-content: flex-start;
    overflow: hidden;
}

.check-pill input,
.confirm-list input,
.mini-fieldset input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-pill::before,
.confirm-list label::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(203, 213, 225, .34);
    border-radius: 6px;
    background: rgba(5, 8, 22, .62);
    color: #fff;
    font-size: .84rem;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.check-pill:has(input:checked)::before,
.confirm-list label:has(input:checked)::before {
    content: "✓";
    border-color: rgba(34, 197, 94, .62);
    background: linear-gradient(135deg, var(--green), #16A34A);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

.check-pill span,
.confirm-list span {
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
}

.quick-questions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.mini-fieldset {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-fieldset legend {
    grid-column: 1 / -1;
}

.mini-fieldset label {
    min-height: 42px;
    justify-content: center;
    padding: 8px;
    font-weight: 700;
}

.confirm-list {
    display: grid;
    gap: 12px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-error {
    color: #FCA5A5;
    font-weight: 700;
}

.alert {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .06);
}

.alert strong, .alert span, .alert a {
    display: block;
}

.alert-error {
    border-color: rgba(239, 68, 68, .34);
    background: rgba(239, 68, 68, .12);
    color: #FEE2E2;
}

.alert-success {
    border-color: rgba(34, 197, 94, .34);
    background: rgba(34, 197, 94, .12);
    color: #DCFCE7;
}

.success-hero {
    padding: 82px 0 54px;
}

.success-main {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    background: linear-gradient(145deg, rgba(37, 99, 235, .18), rgba(255, 255, 255, .045));
    box-shadow: var(--shadow);
}

.code-display {
    width: fit-content;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px dashed rgba(56, 189, 248, .70);
    border-radius: var(--radius);
    background: rgba(5, 8, 22, .72);
    color: #E0F2FE;
    font-size: 1.7rem;
    font-weight: 900;
    word-break: break-word;
    margin-bottom: 22px;
}

.summary-card, .instruction-panel, .contact-panel, .sheet-card {
    padding: 24px;
}

dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

dl div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
    font-weight: 800;
}

dd {
    margin: 0;
    color: #fff;
}

.sheet-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.sheet-header .brand-mark {
    width: 60px;
    height: 40px;
}

.sheet-header span {
    color: var(--muted);
}

.sheet-header strong {
    display: block;
    font-size: 1.35rem;
}

.sheet-important {
    border: 1px solid rgba(245, 158, 11, .30);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(245, 158, 11, .10);
    color: #FEF3C7;
}

.sheet-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sheet-mini-grid span {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    color: var(--muted);
}

.clean-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    color: var(--muted);
}

.status-form {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.status-result {
    margin-top: 20px;
    padding: 24px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    width: fit-content;
    padding: 5px 9px;
    border-radius: var(--radius);
    color: #fff;
    background: rgba(37, 99, 235, .22);
    border: 1px solid rgba(37, 99, 235, .35);
    font-size: .82rem;
    font-weight: 900;
}

.status-nou, .status-cerere-inregistrata {
    border-color: rgba(37, 99, 235, .35);
}

.status-a-tept-m-coletul, .status-asteptam-coletul {
    background: rgba(245, 158, 11, .18);
    border-color: rgba(245, 158, 11, .36);
}

.status-colet-primit, .status-in-diagnosticare, .status--n-diagnosticare, .status--n-lucru {
    background: rgba(56, 189, 248, .15);
    border-color: rgba(56, 189, 248, .34);
}

.status-finalizat, .status-expediat, .status-aprobat-de-client {
    background: rgba(34, 197, 94, .16);
    border-color: rgba(34, 197, 94, .36);
}

.status-anulat {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .34);
}

.sheet-body {
    background: #E5E7EB;
    color: #111827;
}

.sheet-page {
    width: min(100% - 28px, 900px);
    margin: 28px auto;
}

.print-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.printable-sheet {
    background: #fff;
    color: #111827;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .12);
}

.printable-sheet header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid #111827;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.printable-sheet header img {
    width: 280px;
    height: 50px;
    object-fit: contain;
}

.printable-sheet header span {
    display: block;
    color: #475569;
    font-weight: 800;
}

.printable-sheet header strong {
    display: block;
    font-size: 1.45rem;
}

.printable-sheet dl div {
    grid-template-columns: 180px 1fr;
    border-color: #E2E8F0;
}

.printable-sheet dt {
    color: #475569;
}

.printable-sheet dd {
    color: #111827;
}

.sheet-callout, .printable-sheet footer {
    border: 1px solid #F59E0B;
    border-radius: var(--radius);
    background: #FFFBEB;
    color: #78350F;
    padding: 12px;
}

.admin-body, .login-body {
    background:
        linear-gradient(140deg, rgba(37, 99, 235, .18), transparent 36%),
        linear-gradient(180deg, #050816, #0B1220);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 8, 22, .88);
    backdrop-filter: blur(16px);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.admin-brand .brand-mark {
    width: 48px;
    height: 32px;
}

.admin-main {
    width: min(100% - 28px, 1360px);
    margin: 0 auto;
    padding: 28px 0 60px;
}

.admin-section {
    margin-bottom: 26px;
}

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-heading h1 {
    font-size: 2rem;
    margin: 6px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.stat-card {
    padding: 16px;
    min-height: 104px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
}

.admin-filters {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 255, 255, .045);
    margin-bottom: 16px;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 22, .68);
}

.admin-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
}

.admin-table a {
    color: #BFDBFE;
    font-weight: 800;
}

.empty-cell {
    color: var(--muted);
    text-align: center;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-card, .update-card, .timeline-card {
    padding: 20px;
}

.detail-card.wide {
    grid-column: 1 / -1;
}

.inline-dl {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 16px;
}

.inline-dl div {
    grid-template-columns: 1fr;
}

.admin-bottom-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    margin-top: 16px;
}

.update-card {
    display: grid;
    gap: 16px;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
}

.timeline-item > span {
    width: 12px;
    height: 12px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

.timeline-item time {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.timeline-item p {
    color: var(--muted);
    margin: 4px 0 0;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 430px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    background: rgba(5, 8, 22, .78);
    box-shadow: var(--shadow);
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 1.18rem;
    font-weight: 950;
}

.login-card form {
    display: grid;
    gap: 16px;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-grid, .wizard-shell, .success-grid, .split-grid, .advantage-grid, .instruction-grid, .admin-bottom-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-top: 58px;
    }

    .wizard-intro {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-filters {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 760px) {
    body {
        background:
            linear-gradient(150deg, rgba(37, 99, 235, .20), transparent 34%),
            linear-gradient(180deg, #050816 0%, #0B1220 100%);
    }

    .container {
        width: min(100% - 16px, var(--container));
    }

    .header-inner {
        min-height: auto;
        padding: 10px 0;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .main-nav a {
        min-height: 40px;
        padding: 0 6px;
        font-size: .82rem;
    }

    .brand {
        width: fit-content;
        min-width: 0;
        min-height: 48px;
        padding: 7px 10px;
        margin-inline: auto;
        justify-content: center;
        text-align: left;
    }

    .brand-mark {
        width: 50px;
        height: 33px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    .hero-grid {
        gap: 24px;
        padding: 44px 0 88px;
    }

    .compact-hero, .form-hero {
        padding: 18px 0 8px;
    }

    .form-hero-card {
        padding: 18px 14px;
        text-align: left;
    }

    .form-hero-card .eyebrow {
        margin-inline: 0;
        margin-bottom: 12px;
    }

    .form-hero-card h1 {
        font-size: 1.72rem;
        line-height: 1.12;
        margin-bottom: 10px;
    }

    .form-hero-card p {
        font-size: .96rem;
    }

    .wizard-section {
        padding: 8px 0 42px;
    }

    .wizard-shell {
        width: min(100% - 12px, var(--container));
        gap: 12px;
    }

    .wizard-intro {
        display: none;
    }

    .wizard-card {
        border-radius: 10px;
        padding: 14px;
        box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
    }

    .step-heading {
        margin-bottom: 16px;
    }

    .step-heading h2 {
        font-size: 1.58rem;
        margin-bottom: 8px;
    }

    .step-heading p {
        font-size: .95rem;
        margin-bottom: 0;
    }

    .hero-visual, .hero-workflow {
        min-height: auto;
    }

    .section {
        padding: 62px 0;
    }

    .device-grid, .select-card-grid, .form-grid, .checkbox-grid, .quick-questions, .footer-grid,
    .admin-detail-grid, .sheet-mini-grid, .workflow-device-card, .workflow-steps, .workflow-footer {
        grid-template-columns: 1fr;
    }

    .workflow-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .workflow-device-card {
        text-align: left;
    }

    .step-tabs {
        grid-template-columns: repeat(5, minmax(42px, 1fr));
        gap: 6px;
    }

    .step-tabs li {
        justify-content: center;
        padding: 8px 4px;
    }

    .step-tabs em {
        display: none;
    }

    .select-card {
        min-height: 88px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 12px;
    }

    .select-icon {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        margin: 0;
        border-radius: 16px;
    }

    .select-icon svg {
        width: 29px;
        height: 29px;
    }

    .select-card span:last-child {
        font-size: 1.05rem;
    }

    .mini-fieldset {
        grid-template-columns: 1fr;
    }

    .success-main {
        padding: 16px;
    }

    .btn {
        width: 100%;
        min-height: 54px;
    }

    .hero-actions, .success-actions, .quick-actions, .wizard-actions {
        width: 100%;
    }

    .wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        display: grid;
        grid-template-columns: .74fr 1.26fr;
        gap: 10px;
        margin: 18px -14px -14px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(5, 8, 22, .92);
        backdrop-filter: blur(16px);
        box-shadow: 0 -16px 40px rgba(0, 0, 0, .28);
    }

    .wizard-actions .btn {
        width: 100%;
        min-height: 52px;
        padding-inline: 12px;
    }

    .wizard-actions .submit-btn {
        grid-column: 1 / -1;
    }

    .code-display {
        font-size: 1.2rem;
    }

    dl div, .printable-sheet dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .printable-sheet {
        padding: 18px;
    }

    .printable-sheet header {
        align-items: flex-start;
        flex-direction: column;
    }

    .printable-sheet header img {
        width: 220px;
        height: 39px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-nav a {
        padding: 0 8px;
        font-size: .86rem;
    }

    .stats-grid, .admin-filters {
        grid-template-columns: 1fr;
    }

    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 2rem;
    }

    .hero-subtitle, .lead {
        font-size: 1rem;
    }

    .hero-workflow {
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header, .site-footer, .print-actions, .success-actions, .quick-actions, .admin-topbar, .admin-nav {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #111827 !important;
    }

    .success-page > *:not(main), .success-page main > *:not(.print-sheet-preview) {
        display: none !important;
    }

    .success-page .print-sheet-preview {
        padding: 0 !important;
    }

    .success-page .sheet-card, .printable-sheet {
        box-shadow: none !important;
        border: 1px solid #111827 !important;
        color: #111827 !important;
        background: #fff !important;
    }

    .sheet-page {
        width: 100%;
        margin: 0;
    }
}
