:root {
    --ink: #162b2e;
    --muted: #607277;
    --teal: #0b6478;
    --teal-deep: #084b5b;
    --line: #d8e3e3;
    --focus: #1385b9;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: #edf3f2;
    font-family: "Segoe UI", Arial, sans-serif;
}

.access-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.access-shell {
    width: min(100%, 1120px);
    min-height: min(710px, calc(100dvh - 5rem));
    display: grid;
    grid-template-columns: 45% 55%;
    background: #fff;
    border: 1px solid #dce8e5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(18, 51, 47, .11);
}

.access-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    background: linear-gradient(150deg, #0b7185 0%, #07566b 62%, #103f52 100%);
}

.access-brand::after {
    content: "";
    position: absolute;
    width: 410px;
    height: 410px;
    right: -185px;
    bottom: 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 66px rgba(255, 255, 255, .035), 0 0 0 132px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.brand-top, .brand-message, .brand-footer { position: relative; z-index: 1; }
.brand-top { display: flex; align-items: center; gap: 1.15rem; }
.brand-mark { width: 128px; height: 100px; display: grid; place-items: center; background: #fff; border-radius: 11px; overflow: hidden; }
.brand-mark img { width: 120px; height: 90px; object-fit: contain; }
.brand-caption { font-size: .84rem; letter-spacing: .02em; opacity: .76; }
.eyebrow, .form-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .17em; }
.eyebrow { color: #a9ded2; }
.brand-message h1 { margin: 1.3rem 0 1rem; font-size: clamp(2.6rem, 4.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 700; }
.brand-message p { max-width: 24rem; color: #d3e5df; line-height: 1.65; font-size: 1rem; }
.brand-footer { display: flex; align-items: center; gap: .6rem; color: #d0e5dc; font-size: .81rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9bd5c1; }

.access-content { position: relative; display: grid; place-items: center; padding: 3rem clamp(2rem, 6vw, 6rem); }
.form-block { width: min(100%, 410px); }
.form-kicker { color: var(--teal); }
.form-heading h2 { margin: .8rem 0 .45rem; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
.form-heading p { margin: 0 0 2.35rem; color: var(--muted); }
.field-group { margin-bottom: 1.25rem; }
.field-group label { display: block; margin-bottom: .53rem; font-size: .89rem; font-weight: 700; }
.field-input { display: block; width: 100%; min-height: 52px; padding: .8rem 1rem; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .18s, box-shadow .18s; }
.field-input::placeholder { color: #879599; }
.field-input:hover { border-color: #a9c3bf; }
.field-input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(19, 133, 185, .14); }
.password-field { position: relative; }
.password-field .field-input { padding-right: 6rem; }
.password-toggle { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); padding: .45rem; border: 0; background: transparent; color: var(--teal); font-weight: 700; font-size: .83rem; }
.password-toggle:focus-visible, .submit-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.turnstile-wrap { margin: 1.5rem 0; min-height: 65px; }
.submit-button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding: .8rem 1.25rem; border: 0; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 700; transition: background .18s, transform .18s; }
.submit-button:hover { background: var(--teal-deep); transform: translateY(-1px); }
.submit-button span { font-size: 1.4rem; line-height: 1; }
.access-help { margin: 1.6rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; text-align: center; }
.form-notice { margin: 0 0 1.5rem; padding: .85rem 1rem; border-radius: 9px; font-size: .87rem; line-height: 1.5; }
.form-notice-error { background: #fff1ee; color: #8a2c20; border: 1px solid #f1cec7; }
.form-notice-success { background: #e9f5ee; color: #155b44; border: 1px solid #bbdfc9; }
.access-copyright { position: absolute; right: 2rem; bottom: 1.5rem; color: #8b9b9a; font-size: .78rem; }
.mobile-brand { display: none; }

@media (max-width: 800px) {
    .access-page { padding: 0; place-items: stretch; }
    .access-shell { min-height: 100dvh; display: block; border: 0; border-radius: 0; box-shadow: none; }
    .access-brand { display: none; }
    .access-content { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1.5rem 2rem; }
    .mobile-brand { display: block; width: min(100%, 410px); margin-bottom: 2rem; }
    .mobile-brand img { display: block; width: 150px; height: 105px; object-fit: contain; object-position: left center; }
    .access-copyright { position: static; margin-top: 3.5rem; }
}

@media (max-width: 420px) {
    .access-content { padding-inline: 1.15rem; }
    .form-heading p { margin-bottom: 1.8rem; }
}

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