.str-demo-register {
    min-height: 100vh;
    background: var(--str-color-background, #FBF7F1);
    color: var(--str-color-text, #211C17);
    font-family: var(--str-font-sans, "DM Sans", system-ui, sans-serif);
}

.str-demo-register__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: var(--str-space-10, 40px);
    align-items: center;
    width: min(1120px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: var(--str-space-12, 48px) 0;
}

.str-demo-register__content h1 {
    max-width: 720px;
    margin: 0;
    color: var(--str-color-text, #211C17);
    font-family: var(--str-font-display, "Barlow Condensed", "Arial Narrow", sans-serif);
    font-size: 48px;
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: 0;
}

.str-demo-register__content p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--str-color-text-muted, #5C5044);
    font-size: var(--str-text-lg, 18px);
    line-height: 1.6;
}

.str-demo-register__eyebrow {
    margin: 0 0 12px;
    color: var(--str-color-court-700, #16624A);
    font-size: var(--str-text-xs, 12px);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.str-demo-register__form {
    display: grid;
    gap: var(--str-space-4, 16px);
    padding: var(--str-space-6, 24px);
    border: 1px solid var(--str-color-border, #E6DCCB);
    border-radius: var(--str-radius-md, 8px);
    background: var(--str-color-surface, #ffffff);
    box-shadow: var(--str-shadow-xl, 0 20px 25px rgba(15, 23, 42, 0.07));
}

.str-demo-register__form label {
    display: grid;
    gap: 7px;
    color: var(--str-color-text-muted, #5C5044);
    font-size: var(--str-text-sm, 14px);
    font-weight: 600;
}

.str-demo-register__form input {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--str-color-border, #E6DCCB);
    border-radius: var(--str-radius-sm, 4px);
    background: var(--str-color-surface, #ffffff);
    color: var(--str-color-text, #211C17);
    font: inherit;
    font-weight: 400;
}

.str-demo-register__form input:focus {
    outline: none;
    border-color: var(--str-color-accent-hover, #B4CC36);
    box-shadow: var(--str-focus-ring, 0 0 0 3px rgba(200, 224, 74, 0.36));
}

.str-demo-register__form button,
.str-demo-register__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 var(--str-space-4, 16px);
    border: 1px solid var(--str-color-primary, #C75A34);
    border-radius: var(--str-radius-sm, 4px);
    background: var(--str-color-primary, #C75A34);
    color: var(--str-color-text-inverse, #ffffff);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.str-demo-register__form button:hover,
.str-demo-register__link:hover {
    border-color: var(--str-color-primary-hover, #A94628);
    background: var(--str-color-primary-hover, #A94628);
    color: var(--str-color-text-inverse, #ffffff);
}

.str-demo-register__notice {
    padding: 12px 14px;
    border-radius: var(--str-radius-sm, 4px);
    font-size: var(--str-text-sm, 14px);
    line-height: 1.5;
}

.str-demo-register__notice--success {
    border: 1px solid var(--str-color-success, #1E7A63);
    background: var(--str-color-success-soft, #E3F1EA);
    color: var(--str-color-success, #1E7A63);
}

.str-demo-register__notice--error {
    border: 1px solid var(--str-color-danger, #B42318);
    background: var(--str-color-danger-soft, #FDE3DF);
    color: var(--str-color-danger, #B42318);
}

.str-demo-register__notice p {
    margin: 10px 0 0;
}

.str-demo-register__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.str-demo-onboarding {
    position: fixed;
    right: 18px;
    bottom: 132px;
    z-index: 99996;
    width: min(380px, calc(100vw - 36px));
    padding: 18px;
    border: 1px solid var(--str-color-border, #E6DCCB);
    border-radius: var(--str-radius-md, 8px);
    background: var(--str-color-surface, #ffffff);
    color: var(--str-color-text, #211C17);
    box-shadow: var(--str-shadow-xl, 0 20px 25px rgba(15, 23, 42, 0.07));
    font: var(--str-text-sm, 14px)/1.5 var(--str-font-sans, "DM Sans", system-ui, sans-serif);
}

.str-demo-onboarding h2 {
    margin: 0 0 8px;
    color: var(--str-color-text, #211C17);
    font-family: var(--str-font-display, "Barlow Condensed", "Arial Narrow", sans-serif);
    font-size: var(--str-text-lg, 18px);
    line-height: 1.25;
}

.str-demo-onboarding p {
    margin: 0 0 14px;
}

.str-demo-onboarding a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--str-radius-sm, 4px);
    background: var(--str-color-primary, #C75A34);
    color: var(--str-color-text-inverse, #ffffff);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 760px) {
    .str-demo-register__hero {
        grid-template-columns: 1fr;
        gap: var(--str-space-6, 24px);
        min-height: auto;
        padding: var(--str-space-8, 32px) 0;
    }

    .str-demo-register__content h1 {
        font-size: 36px;
    }

    .str-demo-register__content p {
        font-size: var(--str-text-base, 16px);
    }

    .str-demo-onboarding {
        left: 18px;
        right: 18px;
        bottom: 148px;
        width: auto;
    }
}
