:root {
    color-scheme: dark;
    --page: #050809;
    --surface: #05291e;
    --ink: #e0f4e9;
    --muted: #83b8a2;
    --border: #398d6b;
    --accent: #76efba;
    --accent-hover: #b1ffda;
    --accent-soft: #103f2e;
    --focus: #a0ffd1;
    --chrome: #071b14;
    --warning: #e7ad6b;
    --warning-border: #946035;
    --warning-surface: #27150b;
    --mono: "Menlo", "Consolas", "DejaVu Sans Mono", monospace;
    font-family: var(--mono);
    font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    min-width: 280px;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background-color: var(--page);
    background-image: none;
    font-size: 14px;
    line-height: 1.6;
}
button, input, textarea { font: inherit; }
code, kbd { font-family: var(--mono); }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 3px; }
::selection { color: var(--muted); background: var(--surface); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: 700; }
h1 { margin: 0 0 22px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -2px; }
h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; letter-spacing: -0.5px; }
h3 { margin: 24px 0 10px; font-size: 15px; }
.access-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 10px 12px 0;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--muted);
    background: var(--surface);
    font-size: 12px;
}
.access-header > span:first-child { font-weight: 700; color: var(--ink); }
.shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 72px;
    width: min(calc(100% - 96px), 1090px);
    margin: auto;
    padding: 60px 0;
}
.intro { min-width: 0; padding: 16px 0; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 46px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.7px;
    text-decoration: none;
}
.brand-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    width: 34px;
    height: 31px;
    padding: 4px 2px;
    transform: none;
}
.brand-version { align-self: center; margin-left: 2px; padding: 2px 7px; border: 1px solid var(--border); border-radius: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.5px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: none; letter-spacing: 1.3px; }
.lead { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.intro .lead { color: var(--muted); }
.workspace-features { margin: 30px 0 0; padding: 0; border-top: 1px solid var(--border); }
.workspace-features div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.workspace-features dt { color: var(--muted); }
.workspace-features dt::before { content: "+"; display: inline-block; width: 22px; color: var(--muted); font-weight: 700; }
.workspace-features dd { margin: 0; color: var(--muted); text-align: right; font-size: 12px; }
.service-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 0; background: var(--surface); }
.card { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: 0; background: var(--surface); box-shadow: none; }
.card .eyebrow { margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.card-description { margin: 0 0 25px; color: var(--muted); font-size: 13px; }
.notice { margin: 0 0 22px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 0; font-size: 13px; overflow-wrap: anywhere; }
.notice-error { color: var(--muted); border-color: var(--border); background: var(--surface); }
.notice-info { color: var(--muted); border-color: var(--border); background: var(--surface); }
.notice-success { color: var(--muted); border-color: var(--border); background: var(--surface); }
.notice p { margin: 0; }
.login-form { display: flex; flex-direction: column; }
.login-form label { margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.login-form input:not([type="hidden"]) { width: 100%; min-height: 46px; margin: 0 0 20px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 0; color: var(--ink); background: var(--surface); box-shadow: none; }
.login-form input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: none; caret-color: var(--ink); }
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; min-height: 42px; padding: 9px 16px; border: 1px solid var(--border);
    border-radius: 0; color: var(--muted); background: var(--accent-soft);
    box-shadow: none; font-weight: 700; font-size: 13px;
    text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover:not(:disabled) { color: var(--muted); background: var(--surface); }
.button:active:not(:disabled) { box-shadow: none; transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input:disabled, button:disabled { opacity: 0.55; cursor: not-allowed; }
.small-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); text-align: center; font-size: 12px; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: auto; padding: 14px 26px; color: var(--muted); font-size: 11px; }
.footer-domain { font-weight: 700; }
.footer-note { color: var(--muted); }
@media (max-width: 850px) {
    .shell { gap: 34px; width: calc(100% - 48px); }
    h1 { font-size: 38px; }
}
@media (max-width: 680px) {
    .shell { grid-template-columns: minmax(0, 1fr); width: min(calc(100% - 32px), 480px); padding: 28px 0; gap: 28px; }
    .intro { padding: 0; }
    .brand { margin-bottom: 24px; }
    .intro h1 { font-size: 36px; letter-spacing: -1.4px; }
    .intro .lead { font-size: 14px; }
    .workspace-features, .intro .service-note { display: none; }
    .card { padding: 24px; }
    .access-header, .page-footer { padding-inline: 14px; }
    .login-form input:not([type="hidden"]) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Flat phosphor palette and typography from the supplied visual reference. */
body { background: var(--page); font-size: 14px; }
h1, h2, h3, .brand, .eyebrow, .button { font-weight: 400; }
h1, h2, h3 { text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
h2 { color: var(--accent); font-size: 24px; }
h3 { color: var(--accent); }
.brand { color: var(--ink); letter-spacing: 1px; text-transform: uppercase; }
.brand-mark { align-items: center; justify-content: center; padding: 0; width: 34px; height: 30px; border: 1px solid var(--border); color: var(--accent); font-size: 19px; }
.brand-version { color: var(--muted); font-size: 10px; }
.eyebrow { color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.access-header { margin: 0; padding: 18px 4%; border: 0; border-bottom: 1px solid #1d4c38; background: var(--page); text-transform: uppercase; letter-spacing: 1px; }
.access-header > span:first-child { color: var(--accent); }
.shell { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 30px; width: min(calc(100% - 80px), 1240px); padding: 56px 0; }
.intro, .card { padding: 30px; border: 1px solid var(--border); background: var(--surface); }
.intro .brand { margin-bottom: 32px; }
.intro h1 span { color: var(--ink); text-decoration: none; }
.intro .lead { color: var(--muted); font-size: 14px; }
.workspace-features { border-top: 0; }
.workspace-features div { padding: 12px 0; border-color: #215a42; }
.workspace-features dt { color: var(--muted); }
.workspace-features dt::before { content: none; }
.workspace-features dd { padding: 3px 8px; border: 1px solid var(--border); color: var(--accent); font-size: 11px; }
.workspace-features div:last-child dd { color: var(--warning); border-color: var(--warning-border); background: var(--warning-surface); }
.status-dot { background: var(--accent); }
.service-note { color: var(--muted); }
.card .eyebrow { color: var(--muted); font-size: 11px; }
.login-form label { color: var(--accent); font-size: 12px; font-weight: 400; text-transform: uppercase; }
.login-form input:not([type="hidden"]) { background: #041910; color: var(--ink); border-color: var(--border); caret-color: var(--accent); }
.login-form input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px #041910 inset; caret-color: var(--accent); }
.button { border-color: var(--accent); color: var(--accent); background: #0c3726; font-weight: 400; letter-spacing: 0.4px; }
.button:hover:not(:disabled) { color: #052316; border-color: var(--accent); background: var(--accent); }
.button:active:not(:disabled) { transform: none; background: #9af6cb; }
.notice-info, .notice-success { border-color: var(--border); color: var(--accent); background: #0b3325; }
.notice-error { border-color: var(--warning-border); color: var(--warning); background: var(--warning-surface); }
.small-note { border-color: #215a42; color: var(--muted); }
::selection { color: #032316; background: var(--accent); }
.page-footer { width: min(calc(100% - 80px), 1600px); margin: auto auto 24px; padding: 14px 20px; border: 1px solid var(--accent); background: #03110b; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.footer-domain { color: var(--accent); font-weight: 400; }
.footer-note { color: var(--muted); }
@media (max-width: 760px) {
    .shell { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); padding: 30px 0; gap: 22px; }
    .intro, .card { padding: 22px; }
    .intro h1 { font-size: 30px; letter-spacing: 0; }
    .page-footer { width: calc(100% - 32px); margin-bottom: 16px; padding: 12px; }
}
