:root {
    --ink: #071624;
    --ink-soft: #334955;
    --muted: #647681;
    --line: #d6e0e4;
    --surface: #ffffff;
    --surface-soft: #f2f6f7;
    --teal: #009da7;
    --teal-dark: #00737d;
    --blue: #0878d4;
    --success: #008f63;
    --danger: #c33446;
    --navy: #071624;
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}

button,
input { font: inherit; letter-spacing: 0; }

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

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

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

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 50;
    padding: 10px 14px;
    color: #fff;
    background: var(--navy);
}

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

.access-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(7, 22, 36, 0.12);
    backdrop-filter: blur(14px);
}

.brand {
    width: 214px;
    height: 58px;
    overflow: hidden;
}

.brand img {
    width: 100%;
    height: 58px;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.back-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
}

.back-link:hover,
.back-link:focus-visible { color: var(--teal-dark); }

.access-layout {
    min-height: 100vh;
    padding-top: 76px;
    display: grid;
    grid-template-columns: minmax(420px, 0.94fr) minmax(520px, 1.06fr);
}

.access-context {
    position: relative;
    min-height: calc(100vh - 76px);
    overflow: hidden;
    color: #fff;
    background-color: var(--navy);
    background-image: url('/assets/site/proresolver-noc-hero.webp');
    background-size: cover;
    background-position: center;
}

.context-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 36, 0.72), rgba(7, 22, 36, 0.94));
}

.context-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 76px);
    max-width: 620px;
    padding: 64px 56px 54px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.context-content > img {
    width: 230px;
    height: 84px;
    margin-bottom: auto;
    object-fit: contain;
    object-position: left center;
}

.context-label,
.eyebrow {
    margin: 0 0 14px;
    color: #38ced0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.context-content h1 {
    max-width: 560px;
    margin: 0;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.context-status {
    margin-top: 36px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.context-status > span {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #32d39a;
    box-shadow: 0 0 0 6px rgba(50, 211, 154, 0.14);
}

.context-status p {
    margin: 0;
    display: grid;
    gap: 2px;
}

.context-status small { color: #c5d7df; }

.access-stage {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    padding: 56px clamp(48px, 8vw, 132px);
    background: var(--surface);
}

.access-content {
    width: min(100%, 470px);
    margin: 0 auto;
}

.access-content h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: 0;
}

.access-description {
    margin: 12px 0 32px;
    color: var(--muted);
}

.access-form { display: grid; }

.access-form[hidden] { display: none; }

.access-form label {
    margin: 0 0 7px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.access-form input {
    width: 100%;
    height: 50px;
    margin: 0 0 20px;
    padding: 0 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #b8c7ce;
    border-radius: 6px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.access-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 157, 167, 0.14);
}

.password-field { position: relative; }

.password-field input { padding-right: 86px; }

.password-field button {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 34px;
    padding: 0 10px;
    color: var(--teal-dark);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.primary-button {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    color: #fff;
    background: var(--teal-dark);
    border: 1px solid var(--teal-dark);
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
    background: #005f68;
    border-color: #005f68;
}

.primary-button:disabled { opacity: 0.65; cursor: wait; }

.text-button {
    justify-self: center;
    margin-top: 16px;
    padding: 5px;
    color: var(--teal-dark);
    background: transparent;
    border: 0;
    font-weight: 750;
    text-decoration: underline;
    cursor: pointer;
}

.form-heading { margin-bottom: 26px; }

.form-heading h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.form-heading p:last-child { margin: 10px 0 0; color: var(--muted); }

.form-message {
    min-height: 24px;
    margin-top: 15px;
    color: var(--danger);
    font-size: 14px;
    text-align: center;
}

.form-message.success { color: var(--success); }

.central-access-note {
    margin-top: 30px;
    padding: 18px 0 0;
    display: grid;
    gap: 3px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.central-access-note span { color: var(--muted); }

@media (max-width: 980px) {
    .access-layout { grid-template-columns: 1fr; }
    .access-context { min-height: 330px; }
    .context-content {
        min-height: 330px;
        max-width: none;
        padding: 40px;
    }
    .context-content > img { width: 190px; height: 68px; }
    .context-content h1 { max-width: 680px; font-size: 34px; }
    .context-status { margin-top: 24px; }
    .access-stage { min-height: auto; padding: 56px 40px 72px; }
}

@media (max-width: 620px) {
    .access-header { height: 66px; padding: 0 20px; }
    .brand { width: 174px; height: 48px; }
    .brand img { height: 48px; }
    .back-link { font-size: 13px; }
    .access-layout { padding-top: 66px; }
    .access-context { min-height: 280px; }
    .context-content { min-height: 280px; padding: 28px 24px; }
    .context-content > img { width: 160px; height: 58px; }
    .context-content h1 { font-size: 28px; }
    .context-label { margin-bottom: 10px; }
    .context-status { margin-top: 20px; padding-top: 18px; }
    .access-stage { padding: 44px 24px 60px; }
    .access-content h2 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after { scroll-behavior: auto !important; transition: none !important; }
}
