/* Advertiser-branded reg.nr middle step. One card, one input, one button, and
   the honest footer about where the visitor is being sent. Tokens come from
   layout.css; the advertiser's colours arrive as --brand / --brand-ink inline. */

.regstep {
    max-width: 520px;
    margin: 0 auto;
    padding: 48px 20px 88px;
}

/* Square card surface (site rule); the button below stays rounded. */
.regstep__card {
    background: #fff;
    border: 1px solid rgba(14, 26, 20, 0.1);
    box-shadow: var(--standard-box-shadow);
    padding: 30px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.regstep__eyebrow {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--foreground-tertiary);
}

.regstep__logo {
    height: 34px;
    width: auto;
    align-self: flex-start;
}

.regstep__company {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--foreground-primary);
}

.regstep__title {
    margin: 0;
    font-size: clamp(22px, 3.2vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--foreground-primary);
    text-wrap: balance;
}

.regstep__lead {
    margin: 0;
    font-size: 15.5px;
    line-height: 24px;
    color: var(--foreground-secondary);
}

.regstep__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.regstep__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--foreground-secondary);
}

.regstep__input {
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--foreground-primary);
    padding: 13px 14px;
    border: 1.5px solid rgba(14, 26, 20, 0.25);
    border-radius: 8px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.regstep__input:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 1px;
    border-color: transparent;
}

.regstep__input--error {
    border-color: #c0392b;
}

.regstep__error {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: #c0392b;
}

.regstep__cta {
    font: inherit;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--brand-ink);
    background: var(--brand);
    border: none;
    border-radius: 999px;
    padding: 14px 22px;
    margin-top: 6px;
    cursor: pointer;
}

.regstep__cta:hover {
    filter: brightness(1.06);
}

.regstep__cta:active {
    filter: brightness(0.95);
}

.regstep__foot {
    margin: 4px 0 0;
    font-size: 13.5px;
    line-height: 20px;
    color: var(--foreground-tertiary);
}
