:root {
    color: #17211c;
    background: #e9eee9;
    font-family: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
    background:
        linear-gradient(115deg, rgba(20, 91, 68, 0.09), transparent 45%),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(23, 33, 28, 0.04) 31px 32px),
        #e9eee9;
}

.identity {
    min-height: 100vh;
    padding: clamp(2rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #f6f2e8;
    background: #145b44;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font: 700 1rem/1 ui-monospace, "Cascadia Mono", monospace;
    text-transform: uppercase;
}

.brand-mark {
    width: 2.25rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.identity h1 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0;
}

main {
    min-height: 100vh;
    padding: 2rem;
    display: grid;
    place-items: center;
}

.login { width: min(100%, 28rem); }

.eyebrow {
    margin: 0 0 0.75rem;
    color: #145b44;
    font: 700 0.75rem/1.4 ui-monospace, "Cascadia Mono", monospace;
    text-transform: uppercase;
}

h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.intro {
    margin: 0 0 2.5rem;
    color: #526159;
    font: 1rem/1.6 ui-monospace, "Cascadia Mono", monospace;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font: 700 0.8rem/1.3 ui-monospace, "Cascadia Mono", monospace;
}

input {
    width: 100%;
    height: 3.25rem;
    margin-bottom: 1.4rem;
    padding: 0 0.9rem;
    border: 1px solid #9ca9a1;
    border-radius: 4px;
    color: #17211c;
    background: rgba(255, 255, 255, 0.72);
    font: 1rem/1 ui-monospace, "Cascadia Mono", monospace;
}

input:focus {
    outline: 3px solid rgba(20, 91, 68, 0.2);
    border-color: #145b44;
}

button {
    width: 100%;
    min-height: 3.25rem;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #17211c;
    font: 700 0.9rem/1 ui-monospace, "Cascadia Mono", monospace;
    cursor: pointer;
}

button:hover { background: #145b44; }
button:disabled { opacity: 0.65; cursor: wait; }

.status {
    min-height: 1.5rem;
    margin: 1rem 0 0;
    font: 0.85rem/1.5 ui-monospace, "Cascadia Mono", monospace;
}

.status[data-state="error"] { color: #a32c20; }
.status[data-state="success"] { color: #145b44; }

@media (max-width: 720px) {
    body { display: block; }
    .identity { min-height: 15rem; padding: 2rem; }
    .identity h1 { font-size: 3.25rem; }
    main { min-height: auto; padding: 3rem 1.5rem; }
}