@charset "UTF-8";
/* =============================================================================
   signup.css -- OWNS the sign-up chain: plan email capture, enter details,
   set password, promo email, code entry. Every rule here is `su-` prefixed so
   nothing collides with the 4,126-line style.css those pages also load.
   Page-level inline <style> blocks are NOT permitted on sign-up templates:
   six near-duplicate blocks (89/147/130 lines, twice over) are what this
   file replaces. Add rules here, not in the template.
   ============================================================================= */

:root {
    --su-navy:   #1e3a5f;   /* headings, step rail, primary button */
    --su-action: #0f5cc0;   /* links, focus ring, button hover */
    --su-page:   #f5f7fa;   /* page background */
    --su-card:   #ffffff;
    --su-ink:    #1f2937;   /* body text */
    --su-muted:  #6b7280;   /* helper text, labels */
    --su-line:   #d9dee5;   /* borders, hairlines */
    --su-ok:     #1a7f4b;
    --su-err:    #b42318;
    --su-font:   -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- page ---------------------------------------------------------------- */
.su-page {
    background: var(--su-page);
    padding: 40px 16px;
    font-family: var(--su-font);
    color: var(--su-ink);
    font-size: 16px;
    line-height: 1.5;
}

/* ---- card ---------------------------------------------------------------- */
.su-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--su-card);
    border: 1px solid var(--su-line);
    border-radius: 8px;
    padding: 32px;
    box-sizing: border-box;
}

/* ---- step rail ----------------------------------------------------------- */
/* Labels, not numbers: the order is obvious and the words carry the meaning. */
.su-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--su-muted);
}

.su-steps__item {
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.su-steps__item.is-done {
    color: var(--su-navy);
}

.su-steps__item.is-current {
    color: var(--su-navy);
    font-weight: 600;
    border-bottom-color: var(--su-navy);
}

.su-steps__sep {
    color: var(--su-line);
}

/* ---- docket strip -------------------------------------------------------- */
/* The job-docket line. This is the element that makes the flow ours. */
.su-docket {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    border: 1px solid var(--su-line);
    border-radius: 6px;
    padding: 12px 14px;
    margin: 0 0 24px;
}

.su-docket__label {
    flex: 0 0 100%;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--su-muted);
}

.su-docket__plan {
    font-size: 16px;
    font-weight: 600;
    color: var(--su-navy);
    font-variant-numeric: tabular-nums;
}

.su-docket__change {
    margin-left: auto;
    font-size: 14px;
    color: var(--su-action);
    text-decoration: underline;
}

/* ---- headings ------------------------------------------------------------ */
.su-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--su-navy);
    margin: 0 0 8px;
}

.su-lead {
    font-size: 16px;
    color: var(--su-muted);
    margin: 0 0 24px;
}

/* ---- fields -------------------------------------------------------------- */
.su-field {
    margin: 0 0 18px;
}

.su-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--su-ink);
    margin: 0 0 6px;
}

.su-input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 16px;
    color: var(--su-ink);
    background: var(--su-card);
    border: 1px solid var(--su-line);
    border-radius: 6px;
    box-sizing: border-box;
}

/* Out-specify style.css's global input rules. style.css:1015 and :1038 set
   `width: calc(100% - 20px); margin-bottom: 20px` on bare input[type=...]
   selectors (0-1-1), which beat a plain .su-input (0-1-0) and made every field
   20px narrow and 20px tall. .su-card .su-input is 0-2-0 and the type-qualified
   selectors below are 0-3-1, so both win -- and signup.css loads after
   style.css, so ties go our way too. */
.su-card .su-input,
.su-card input.su-input[type="email"],
.su-card input.su-input[type="password"],
.su-card input.su-input[type="text"],
.su-card input.su-input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.su-input:focus {
    outline: 2px solid var(--su-action);
    outline-offset: 2px;
    border-color: var(--su-action);
}

.su-input[readonly] {
    background: var(--su-page);
    color: var(--su-muted);
}

.su-input.is-invalid {
    border-color: var(--su-err);
}

.su-help {
    font-size: 14px;
    color: var(--su-muted);
    margin: 6px 0 0;
}

.su-error {
    font-size: 14px;
    color: var(--su-err);
    margin: 6px 0 0;
}

/* Password reveal.
   style.css:1038 sets `input[type="password"] { width: calc(100% - 20px);
   margin-bottom: 20px; }` at specificity 0-1-1, which beats a bare .su-input
   (0-1-0). That made the input 20px narrower and 20px taller than its wrapper,
   so a button positioned against the wrapper landed OUTSIDE the field on the
   right and below its centre. These selectors are 0-3-0 so they win, and the
   margin reset restores vertical centring. */
.su-card .su-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.su-card .su-input-wrap .su-input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 44px;
    margin: 0;
}

.su-card .su-input-wrap .su-reveal {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--su-muted);
    cursor: pointer;
    line-height: 0;
}

.su-card .su-input-wrap .su-reveal:hover,
.su-card .su-input-wrap .su-reveal:focus-visible {
    color: var(--su-action);
    outline: 2px solid var(--su-action);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Six-digit verification code. */
.su-input--code {
    font-size: 24px;
    letter-spacing: .35em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ---- buttons ------------------------------------------------------------- */
.su-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.su-btn--primary {
    background: var(--su-navy);
    color: #ffffff;
}

.su-btn--primary:hover {
    background: var(--su-action);
}

.su-btn--primary:focus-visible {
    outline: 2px solid var(--su-action);
    outline-offset: 2px;
}

.su-btn--link {
    background: none;
    color: var(--su-action);
    font-weight: 500;
    text-decoration: underline;
    min-height: 44px;
}

/* ---- flash messages ------------------------------------------------------ */
.su-flash {
    border: 1px solid var(--su-line);
    border-left-width: 3px;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 0 0 20px;
    font-size: 14px;
}

.su-flash--error {
    border-left-color: var(--su-err);
    color: var(--su-err);
}

.su-flash--info {
    border-left-color: var(--su-action);
    color: var(--su-ink);
}

.su-flash--ok {
    border-left-color: var(--su-ok);
    color: var(--su-ok);
}

/* ---- footnote ------------------------------------------------------------ */
.su-footnote {
    font-size: 14px;
    color: var(--su-muted);
    margin: 20px 0 0;
}

.su-footnote a {
    color: var(--su-action);
}

/* ---- fieldset groups ----------------------------------------------------- */
.su-group {
    border: 0;
    padding: 0;
    margin: 0 0 20px;
}

.su-group legend {
    padding: 0;
    margin: 0 0 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--su-muted);
}

.su-input--readonly {
    background: var(--su-page);
    color: var(--su-muted);
}

/* A checkbox sitting beside its own wrapping label. */
.su-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--su-ink);
}

.su-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

/* ---- reassurance list ---------------------------------------------------- */
.su-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.su-list li {
    font-size: 15px;
    color: var(--su-ink);
    margin: 0 0 8px;
}

.su-list li::before {
    content: "\2713";
    color: var(--su-navy);
    margin-right: 8px;
}

/* The checkout script disables the button while the fetch is in flight. */
.su-btn[disabled] {
    opacity: .6;
    cursor: wait;
}

/* ---- narrow screens ------------------------------------------------------ */
@media (max-width: 480px) {
    .su-page {
        padding: 24px 12px;
    }

    .su-card {
        padding: 24px;
    }

    .su-title {
        font-size: 24px;
    }

    .su-steps {
        gap: 6px;
        font-size: 11px;
    }
}

/* ---- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .su-btn {
        transition: none;
    }
}
