:root {
    color-scheme: light;
    --ink: #18202f;
    --muted: #667085;
    --line: #d9e2ec;
    --surface: #ffffff;
    --wash: #f5f8fb;
    --brand: #0f766e;
    --brand-strong: #115e59;
    --accent: #2563eb;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--wash);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    background:
        radial-gradient(circle at 20% 0%, rgba(15, 118, 110, 0.12), transparent 30rem),
        linear-gradient(180deg, #ffffff 0%, var(--wash) 100%);
}

a {
    color: var(--brand-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-shell {
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--brand);
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.hero {
    display: grid;
    align-content: center;
    min-height: calc(100vh - 170px);
    padding: 56px 0 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1 {
    max-width: 760px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(44px, 8vw, 76px);
    line-height: 0.95;
    letter-spacing: 0;
}

.lede {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-weight: 650;
}

.button.primary {
    border-color: var(--brand);
    background: var(--brand);
    color: #ffffff;
}

.button:hover {
    text-decoration: none;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.panel {
    max-width: 720px;
    margin: 32px 0 72px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 45px rgba(24, 32, 47, 0.08);
}

.panel h1 {
    font-size: clamp(34px, 7vw, 54px);
    line-height: 1;
}

.panel h2 {
    margin: 28px 0 8px;
    font-size: 20px;
}

.panel p,
.panel li {
    color: var(--muted);
}

.panel ul {
    padding-left: 22px;
}

.status-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: 26px;
    font-weight: 800;
}

.center {
    text-align: center;
}

.auth-form {
    display: grid;
    gap: 10px;
    max-width: 420px;
    margin: 28px auto 0;
    text-align: left;
}

.auth-form label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
}

.auth-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.auth-form .button {
    width: 100%;
    margin-top: 8px;
}

.form-message {
    min-height: 22px;
    margin: 2px 0 0;
    font-size: 14px;
}

.form-message.error {
    color: #b42318;
}

.form-message.success {
    color: #067647;
}

.site-footer {
    padding: 28px 0 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 620px) {
    .site-shell {
        width: min(100% - 28px, 960px);
    }

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

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: auto;
        padding: 44px 0 56px;
    }

    .lede {
        font-size: 18px;
    }
}
