:root {
    --ice-50: #effcff;
    --ice-100: #d9f8ff;
    --ice-300: #67e8f9;
    --cyan-500: #06b6d4;
    --blue-500: #1689f7;
    --blue-700: #1554c8;
    --navy-800: #0b2a6f;
    --navy-950: #06183f;
    --text: #07142f;
    --muted: #5f6f8d;
    --panel: #ffffff;
    --line: #dbe7f4;
    --soft: #f5faff;
    --warning-bg: #fff8eb;
    --warning: #d97706;
    --shadow: 0 24px 70px rgba(7, 24, 63, .14);
    --brand-gradient: linear-gradient(135deg, #67e8f9 0%, #06b6d4 28%, #1689f7 60%, #0b2a6f 100%);
    --brand-gradient-horizontal: linear-gradient(90deg, #67e8f9 0%, #06b6d4 25%, #1689f7 58%, #0b2a6f 100%);
}

* { box-sizing: border-box; }

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;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(103, 232, 249, .22), transparent 32%),
        radial-gradient(circle at 88% 22%, rgba(22, 137, 247, .15), transparent 34%),
        linear-gradient(145deg, #f8fdff 0%, #eef7ff 46%, #edf1fb 100%);
}

a { color: inherit; }

.site-header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 210px;
    height: auto;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-header nav a {
    text-decoration: none;
    font-weight: 750;
    color: var(--navy-800);
}

.nav-cta {
    padding: 11px 17px;
    border-radius: 9px;
    background: var(--brand-gradient-horizontal);
    color: white !important;
    box-shadow: 0 8px 24px rgba(21, 84, 200, .22);
}

.page {
    min-height: calc(100vh - 82px);
    display: grid;
    place-items: center;
    padding: 50px 24px 70px;
}

.page.narrow {
    max-width: 920px;
    margin: 0 auto;
}

.hero {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
}

.hero-copy h1,
.panel h1 {
    margin: 12px 0 22px;
    max-width: 760px;
    font-size: clamp(2.65rem, 5vw, 4.75rem);
    line-height: 1.01;
    letter-spacing: -.045em;
}

.hero-copy h1 {
    background: var(--brand-gradient-horizontal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.panel p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .77rem;
    font-weight: 850;
    color: var(--blue-700);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.button {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

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

.button.primary {
    color: #fff;
    background: var(--brand-gradient-horizontal);
    box-shadow: 0 12px 28px rgba(21, 84, 200, .24);
}

.button.primary:hover { filter: saturate(1.08) brightness(1.02); }

.button.secondary {
    color: var(--navy-800);
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
}

.trust-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-row span {
    padding: 8px 11px;
    border: 1px solid rgba(21, 84, 200, .15);
    border-radius: 999px;
    color: var(--navy-800);
    background: rgba(255,255,255,.62);
    font-size: .82rem;
    font-weight: 700;
}

.auth-card,
.panel,
.auth-consent-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(219, 231, 244, .95);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.auth-card {
    border-radius: 22px;
    padding: 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card::before,
.auth-consent-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--brand-gradient-horizontal);
}

.auth-card h2 {
    margin: 13px 0 9px;
    font-size: 1.65rem;
}

.auth-card > p {
    color: var(--muted);
    line-height: 1.6;
}

.auth-logo-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(103,232,249,.22), rgba(22,137,247,.14));
    box-shadow: inset 0 0 0 1px rgba(22,137,247,.14);
}

.auth-logo-mark.large {
    width: 88px;
    height: 88px;
    border-radius: 24px;
}

.auth-logo-mark img {
    width: 84%;
    height: 84%;
    object-fit: contain;
}

.secure-box,
.permission-box,
.auth-information-box,
.permissions-box {
    margin: 18px 0;
    padding: 19px;
    border-radius: 13px;
    text-align: left;
}

.secure-box,
.auth-information-box {
    background: linear-gradient(135deg, var(--ice-50), #f6f9ff);
    border: 1px solid #e1f4ff;
}

.permission-box,
.permissions-box {
    background: linear-gradient(
        135deg,
        rgba(103, 232, 249, 0.12),
        rgba(22, 137, 247, 0.08)
    );
    border-left: 4px solid #1689f7;
}

.secure-box strong,
.permission-box strong,
.auth-information-box strong,
.permissions-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-950);
}

.secure-box span,
.auth-information-box span,
.permission-box li,
.permissions-box li {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.permission-box ul,
.permissions-box ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.permission-box li,
.permissions-box li {
    margin: 7px 0;
    overflow-wrap: anywhere;
}

.microsoft-button,
.microsoft-signin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid #9cb1cb;
    border-radius: 8px;
    background: white;
    color: #26344d;
    text-decoration: none;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease;
}

.microsoft-button:hover,
.microsoft-signin-button:hover {
    box-shadow: 0 10px 22px rgba(7, 24, 63, .11);
}

.ms-logo {
    width: 21px;
    height: 21px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.ms-logo i:nth-child(1) { background: #f25022; }
.ms-logo i:nth-child(2) { background: #7fba00; }
.ms-logo i:nth-child(3) { background: #00a4ef; }
.ms-logo i:nth-child(4) { background: #ffb900; }

.auth-note,
.auth-footer {
    max-width: 420px;
    margin: 21px auto 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.55;
    text-align: center;
}

.auth-page {
    min-height: calc(100vh - 82px);
    padding-top: 24px;
}

.auth-consent-card {
    position: relative;
    width: min(520px, 100%);
    padding: 38px 34px 34px;
    border-radius: 22px;
    text-align: center;
    overflow: hidden;
}

.auth-consent-card h1 {
    margin: 10px 0 12px;
    font-size: 1.9rem;
    line-height: 1.2;
}

.auth-description {
    max-width: 410px;
    margin: 0 auto 25px;
    color: var(--muted);
    line-height: 1.6;
}

.text-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue-700);
    font-weight: 750;
    text-decoration: none;
}

.panel {
    width: 100%;
    padding: 36px;
    border-radius: 22px;
}

.panel h1 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.details {
    display: grid;
    gap: 0;
    margin: 24px 0;
}

.details div {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.details dt { font-weight: 850; color: var(--navy-950); }
.details dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

label {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    font-weight: 850;
    color: var(--navy-950);
}

input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #bfd0e5;
    border-radius: 10px;
    background: white;
    color: var(--text);
    font: inherit;
    outline: none;
}

input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(22,137,247,.12);
}

.note {
    margin-top: 26px;
    padding: 15px;
    border-radius: 10px;
    background: var(--soft);
    color: var(--muted);
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 860px) {
    .site-header {
        min-height: 74px;
    }

    .brand img { width: 175px; }

    .site-header nav a:not(.nav-cta) { display: none; }

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

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .actions,
    .trust-row {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .site-header {
        width: min(100% - 24px, 1180px);
    }

    .brand img { width: 150px; }

    .nav-cta {
        padding: 9px 12px;
        font-size: .9rem;
    }

    .page {
        padding: 30px 14px 50px;
    }

    .auth-card,
    .auth-consent-card,
    .panel {
        padding: 28px 20px;
    }

    .auth-consent-card h1 {
        font-size: 1.5rem;
    }

    .microsoft-signin-button,
    .microsoft-button {
        width: 100%;
    }

    .details div {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}

.validation-results {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 7px 0 0;
    font-size: 1.65rem;
    color: var(--navy-950);
}

.validation-list {
    display: grid;
    gap: 13px;
}

.validation-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #ffffff;
}

.validation-item.success {
    border-left: 4px solid #16a34a;
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.06),
        rgba(255, 255, 255, 0.96)
    );
}

.validation-item.failed {
    border-left: 4px solid #dc2626;
    background: linear-gradient(
        135deg,
        rgba(220, 38, 38, 0.06),
        rgba(255, 255, 255, 0.96)
    );
}

.validation-item.warning {
    border-left: 4px solid #d97706;
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.08),
        rgba(255, 255, 255, 0.96)
    );
}

.validation-item.unknown {
    border-left: 4px solid var(--blue-500);
}

.validation-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 900;
}

.validation-item.success .validation-icon {
    color: #166534;
    background: #dcfce7;
}

.validation-item.failed .validation-icon {
    color: #991b1b;
    background: #fee2e2;
}

.validation-item.warning .validation-icon {
    color: #92400e;
    background: #fef3c7;
}

.validation-item.unknown .validation-icon {
    color: var(--navy-800);
    background: var(--ice-100);
}

.validation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.validation-header strong {
    color: var(--navy-950);
}

.validation-content p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.validation-badge {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.validation-badge.success {
    color: #166534;
    background: #dcfce7;
}

.validation-badge.failed {
    color: #991b1b;
    background: #fee2e2;
}

.validation-badge.warning {
    color: #92400e;
    background: #fef3c7;
}

.validation-badge.unknown {
    color: var(--navy-800);
    background: var(--ice-100);
}

.job-error {
    margin-top: 22px;
    padding: 18px;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    background: #fef2f2;
}

.job-error strong {
    color: #991b1b;
}

.job-error p {
    margin: 7px 0 0;
    color: #7f1d1d;
    line-height: 1.55;
}

@media (max-width: 600px) {
    .validation-item {
        grid-template-columns: 36px 1fr;
        padding: 15px;
    }

    .validation-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
.deployment-type-group {
    margin: 24px 0;
    padding: 0;
    border: 0;
}

.deployment-type-group legend {
    margin-bottom: 12px;
    font-weight: 850;
    color: var(--navy-950);
}

.deployment-option {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    align-items: start;
    margin: 12px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.deployment-option:hover {
    border-color: var(--blue-500);
    box-shadow: 0 10px 24px rgba(22, 137, 247, 0.10);
    transform: translateY(-1px);
}

.deployment-option:has(input:checked) {
    border-color: var(--blue-500);
    background: linear-gradient(
        135deg,
        rgba(103, 232, 249, 0.12),
        rgba(22, 137, 247, 0.07)
    );
    box-shadow: 0 0 0 3px rgba(22, 137, 247, 0.10);
}

.deployment-option input[type="radio"] {
    width: 19px;
    height: 19px;
    margin: 3px 0 0;
    accent-color: var(--blue-500);
}

.deployment-option-content {
    display: grid;
    gap: 5px;
}

.deployment-option-content strong {
    color: var(--navy-950);
    font-size: 1rem;
}

.deployment-option-content small {
    color: var(--muted);
    line-height: 1.5;
}
.conditional-field {
    transition:
        opacity 0.18s ease,
        filter 0.18s ease;
}

.conditional-field.disabled-field {
    opacity: 0.45;
    filter: grayscale(0.8);
}

.conditional-field.disabled-field input {
    cursor: not-allowed;
    background: #eef2f6;
    color: #7b8799;
    border-color: #d4dce6;
}

.conditional-field.disabled-field label,
.conditional-field.disabled-field .note {
    color: #8a94a4;
}
.hero {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 720px;
}

.hero-copy p {
    max-width: 680px;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
}

.hero-visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 500px);
    height: auto;
    border-radius: 28px;
    box-shadow:
        0 35px 80px rgba(6, 24, 63, 0.25),
        0 12px 30px rgba(22, 137, 247, 0.14);
}

.hero-image-glow {
    position: absolute;
    z-index: 1;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(6, 182, 212, 0.25) 0%,
        rgba(22, 137, 247, 0.16) 42%,
        rgba(11, 42, 111, 0) 72%
    );
    filter: blur(32px);
    transform: scale(1.15);
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy .actions,
    .hero-copy .trust-row {
        justify-content: center;
    }

    .hero-visual img {
        width: min(100%, 460px);
    }
}

@media (max-width: 560px) {
    .hero {
        gap: 32px;
    }

    .hero-visual img {
        width: min(100%, 390px);
        border-radius: 20px;
    }
}

.fixed-preparation-group {
    margin-top: 20px;
}

.fixed-preparation-group strong {
    color: var(--navy-950);
}

.fixed-preparation-group code {
    color: var(--navy-800);
    font-weight: 800;
}

.fixed-preparation-group {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}

.fixed-preparation-group-label {
    color: var(--navy-950);
    font-weight: 850;
}

.fixed-preparation-group-value {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #bfd0e5;
    border-radius: 10px;
    background: #f8fbff;
    color: var(--text);
}

.fixed-preparation-group-value code {
    color: var(--navy-950);
    font-family: inherit;
    font-weight: 800;
}

.fixed-preparation-group small {
    color: var(--muted);
    font-weight: 600;
    line-height: 1.45;
}
