.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at top left, rgba(217, 90, 43, 0.08), transparent 30%),
        #f8f1ea;
}

.auth-card {
    width: min(100%, 560px);
    background: #fff;
    border: 1px solid #ead9cf;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(90, 58, 36, 0.08);
    padding: 32px;
}

.auth-wide-card {
    width: min(100%, 980px);
}

.auth-guide-shell {
    place-items: start center;
    padding-top: 32px;
}

.auth-guide-card {
    width: min(100%, 1120px);
    padding: clamp(22px, 4vw, 44px);
    overflow: hidden;
}

.auth-guide-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    border-radius: 30px;
    border: 1px solid #ead9cf;
    background:
        radial-gradient(circle at 14% 20%, rgba(217, 90, 43, 0.20), transparent 24%),
        linear-gradient(135deg, #fffaf6 0%, #fff0e5 56%, #fff8f3 100%);
}

.auth-guide-logo {
    margin: 0;
}

.auth-guide-logo img {
    height: 118px;
}

.auth-guide-kicker {
    margin-bottom: 10px;
    color: #a14f2b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-guide-title,
.auth-guide-subtitle {
    text-align: left;
}

.auth-guide-subtitle {
    margin-left: 0;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-logo img {
    height: 104px;
    width: auto;
}

.auth-title {
    margin: 0;
    text-align: center;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #181311;
}

.auth-subtitle {
    margin: 12px auto 0;
    text-align: center;
    max-width: 420px;
    color: #6a5c55;
    font-size: 16px;
    line-height: 1.7;
}

.auth-subtitle-wide {
    max-width: 680px;
}

.auth-success {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f3fff6;
    border: 1px solid #cfe9d6;
    color: #2f6a3b;
    font-weight: 700;
}

.auth-errors {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff2ee;
    border: 1px solid #f0c7b9;
    color: #8d3f24;
}

.auth-errors ul {
    margin: 0;
    padding-left: 18px;
}

.auth-form {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.form-row {
    display: grid;
    gap: 8px;
    align-content: start;
}

.form-row label {
    font-size: 14px;
    font-weight: 800;
    color: #3f302a;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #e5d4c9;
    background: #fffdfa;
    color: #181311;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #d95a2b;
    box-shadow: 0 0 0 4px rgba(217, 90, 43, 0.10);
}

.form-row-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-contact-identity {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #ead9cf;
    background: linear-gradient(180deg, #fffaf6 0%, #fff4ec 100%);
    color: #4d3f38;
}

.auth-contact-identity span {
    color: #a15f40;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-contact-identity strong {
    color: #181311;
    font-size: 18px;
    line-height: 1.2;
}

.auth-contact-identity small {
    color: #7a6b63;
    font-weight: 700;
}

.helper-text {
    min-height: 36px;
    font-size: 12px;
    color: #85746b;
    line-height: 1.5;
}

.helper-text-blank {
    visibility: hidden;
}

.auth-submit {
    width: 100%;
    margin-top: 8px;
    border: none;
    cursor: pointer;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    color: #6f615a;
    font-size: 14px;
}

.auth-footer a {
    color: #d95a2b;
    font-weight: 800;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    font-size: 13px;
}

.auth-links a {
    color: #d95a2b;
    font-weight: 700;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #ead9cf;
    background: #fff8f3;
    color: #4d3f38;
    line-height: 1.7;
    font-size: 14px;
}

.auth-check input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #d95a2b;
}

.auth-check span {
    display: block;
}

.auth-check a {
    color: #d95a2b;
    font-weight: 800;
}

.auth-legal-copy {
    margin-top: 26px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #ead9cf;
    background: linear-gradient(180deg, #fffaf6 0%, #fff5ef 100%);
    color: #564943;
}

.auth-legal-copy h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #181311;
}

.auth-legal-copy p {
    margin: 0 0 18px;
    line-height: 1.8;
}

.auth-legal-copy p:last-child {
    margin-bottom: 0;
}

.auth-legal-copy a {
    color: #d95a2b;
    font-weight: 900;
}

.auth-guide-copy h2 {
    padding-top: 8px;
}

.auth-guide-callout {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid #e8cfc1;
    background: #181311;
    color: #fff7f0;
    line-height: 1.7;
    box-shadow: 0 18px 36px rgba(24, 19, 17, 0.12);
}

.auth-guide-callout strong {
    color: #ffb08b;
}

.auth-guide-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.auth-guide-jump a {
    padding: 10px 14px;
    border: 1px solid #ead0c1;
    border-radius: 999px;
    background: #fff7f1;
    color: #8c4627;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-guide-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.auth-guide-section {
    position: relative;
    min-height: 210px;
    padding: 24px;
    border: 1px solid #ead9cf;
    border-radius: 26px;
    background: #fffaf6;
    box-shadow: 0 14px 30px rgba(90, 58, 36, 0.06);
}

.auth-guide-section-wide {
    grid-column: 1 / -1;
    min-height: 180px;
}

.auth-guide-section-hot {
    background:
        radial-gradient(circle at top right, rgba(255, 176, 139, 0.38), transparent 30%),
        linear-gradient(135deg, #fff7ef 0%, #ffe9da 100%);
}

.auth-guide-section-cream {
    background:
        radial-gradient(circle at top left, rgba(255, 222, 167, 0.42), transparent 32%),
        #fffdf8;
}

.auth-guide-section-dark {
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 90, 43, 0.24), transparent 30%),
        #1c1411;
    color: #fff4ec;
}

.auth-guide-number {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #181311;
    color: #fff4ec;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.auth-guide-section-dark .auth-guide-number {
    background: #f6a77e;
    color: #1c1411;
}

.auth-guide-section h2 {
    margin: 0 0 10px;
    color: #181311;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.auth-guide-section-dark h2 {
    color: #fff;
}

.auth-guide-section p {
    margin: 0;
    color: #5c4c44;
    font-size: 16px;
    line-height: 1.75;
}

.auth-guide-section-dark p {
    color: #f4ded2;
}

.auth-guide-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.auth-guide-actions-compact {
    margin-top: 20px;
}

.auth-about-copy {
    text-align: center;
}

.auth-about-copy h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.auth-about-next {
    display: grid;
    gap: 10px;
    justify-items: center;
    margin-top: 20px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid #ead9cf;
    background:
        radial-gradient(circle at 100% 0%, rgba(217, 90, 43, 0.14), transparent 28%),
        #fffaf6;
    text-align: center;
}

.auth-about-next strong {
    color: #181311;
    font-size: 20px;
    line-height: 1.1;
}

.auth-about-next span {
    color: #6a5c55;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .auth-guide-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .auth-guide-logo {
        justify-content: center;
    }

    .auth-guide-title,
    .auth-guide-subtitle {
        text-align: center;
    }

    .auth-guide-subtitle {
        margin-left: auto;
    }

    .auth-guide-copy {
        grid-template-columns: 1fr;
    }

    .auth-guide-section {
        min-height: auto;
    }

    .auth-guide-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .auth-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .auth-logo img {
        height: 82px;
    }

    .auth-title {
        font-size: 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .helper-text {
        min-height: auto;
    }

    .helper-text-blank {
        display: none;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-check {
        padding: 12px 14px;
    }

    .auth-legal-copy {
        padding: 18px;
        border-radius: 20px;
    }
}
