@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    font-family: 'DM Sans', sans-serif;
    color: #193b3c;
    background: #f5f8f5;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --ink: #193b3c;
    --muted: #617575;
    --green: #167466;
    --line: #dbe5df;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(ellipse at 82% 14%, #e0eee5 0, transparent 30%), #f5f8f5;
}

a { color: var(--green); }

.topbar {
    min-height: 76px;
    padding: 0 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    color: var(--ink);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
}

nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; }
.button-link { border: 0; background: transparent; font: inherit; cursor: pointer; }

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 23px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--green);
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font: 700 15px 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

.button:hover { background: #105f54; }
.button-small { min-height: 40px; padding: 0 16px; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: #e5f1ed; }
.button-full { width: 100%; margin-top: 8px; }

.welcome {
    width: min(1060px, 86vw);
    min-height: calc(100vh - 140px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: 8vw;
    animation: reveal .55s ease-out both;
}

.welcome-copy { max-width: 610px; }
.eyebrow, .aside-kicker { color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; }
h1, h2 { font-family: 'Manrope', sans-serif; color: var(--ink); }
.welcome h1 { max-width: 590px; margin: 16px 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.08; }
.lead, .welcome-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.welcome-aside {
    min-height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid #bbd0c7;
}

.pulse-mark {
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    border: 1px solid #8db7a7;
    border-radius: 50%;
    color: var(--green);
    font: 500 60px 'Manrope', sans-serif;
}

.welcome-aside p { max-width: 240px; color: var(--muted); line-height: 1.6; }
.site-footer { padding: 18px 7vw; color: var(--muted); font-size: 13px; }
.site-footer span { padding: 0 6px; color: var(--green); }

.form-page { background: radial-gradient(ellipse at 18% 20%, #e0eee5 0, transparent 30%), #f5f8f5; }
.form-shell { width: min(440px, 90vw); margin: 54px auto; animation: reveal .45s ease-out both; }
.form-intro { margin-bottom: 24px; }
.form-intro h1, .dashboard h1 { margin: 8px 0; font-size: 38px; }
.form-intro p:last-child { color: var(--muted); }
.form-panel { padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.form-panel label { display: block; margin: 17px 0 7px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form-panel input:not([type="hidden"]) { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cad8d1; border-radius: 4px; font: inherit; }
.form-panel input:focus { outline: 2px solid #8ec7b5; border-color: transparent; }
.form-note { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 14px; }
.notice { padding: 11px 12px; border-radius: 4px; font-size: 14px; }
.notice-success { background: #e7f4ec; color: #21633f; }
.notice-error { background: #fff0eb; color: #a33c26; }
.dashboard { width: min(900px, 86vw); margin: 70px auto; }
.dashboard .lead { margin-top: 12px; }
.dashboard-section { margin-top: 42px; padding: 24px 0; border-top: 1px solid var(--line); }
.dashboard-section h2 { margin-top: 0; font-size: 21px; }
.dashboard-section p { color: var(--muted); line-height: 1.7; }

@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 700px) {
    .topbar { min-height: 68px; padding: 0 5vw; }
    nav { gap: 12px; }
    .welcome { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-top: 64px; padding-bottom: 30px; }
    .welcome h1 { font-size: 42px; }
    .welcome-aside { min-height: 190px; padding: 20px 0; border-left: 0; border-top: 1px solid #bbd0c7; }
    .pulse-mark { width: 72px; height: 72px; font-size: 42px; }
    .site-footer { padding-left: 7vw; }
    .form-shell { margin-top: 38px; }
}
/* MFA */
.qr { display: block; margin: 16px auto; width: 220px; height: 220px; }
.secret-code { margin: 4px 0 0; padding: 10px 12px; border: 1px dashed #cad8d1; border-radius: 4px; background: #f4f8f6; font-family: monospace; font-size: 15px; letter-spacing: 1px; word-break: break-all; text-align: center; }
