/** Sign in / sign up — one card, one question at a time. */
.cul-su {
    --s-navy: var(--cul-brand, #1B3A5C);
    --s-navy-dk: var(--cul-brand-hover, #152d47);
    --s-head: var(--cul-brand, #1B3A5C);
    /* These were a private palette that existed nowhere else in the brand — a
       #0F6B7B teal in particular, on a page where every other colour already
       came from the theme. Mapped onto the shared g-scale; the local names are
       kept so the rules below do not all have to change. */
    --s-ink: var(--cul-g900, #1a1a2e);
    --s-ink-soft: var(--cul-g700, #444);
    --s-line: var(--cul-g100, #e0e8f0);
    /* Orange on white needs the strong variant: #E87722 is 2.96:1 and fails AA
       for text. Used here for the alt link and the input focus ring. */
    --s-accent: var(--cul-accent-strong, #BC5A0E);
    --s-r: var(--cul-radius-card, 5px);
    --s-tap: 48px;
    min-height: 70vh; display: flex; align-items: flex-start; justify-content: center;
    padding: 48px 20px 80px; background: var(--cul-g50, #EEF4FB);
    font-family: var(--cul-font, 'DM Sans', system-ui, sans-serif); color: var(--s-ink);
}
.cul-su * { box-sizing: border-box; }
.cul-su__card {
    width: 100%; max-width: 480px; background: #fff;
    border-radius: var(--cul-radius-card); padding: 36px 34px;
    box-shadow: 0 1px 2px rgba(22,50,79,0.06), 0 8px 30px rgba(22,50,79,0.07);
}
.cul-su .cul-su__h1 {
    font-family: var(--cul-font-display, 'Poppins', sans-serif);
    font-size: 26px; font-weight: 700; color: var(--s-head);
    margin: 0 0 8px; line-height: 1.22; letter-spacing: -0.02em;
}
.cul-su__sub { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--s-ink-soft); }
.cul-su__sub strong { color: var(--s-head); }

.cul-su__form { display: grid; gap: 6px; }
.cul-su__label { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--s-ink-soft); }
.cul-su input.cul-su__input, .cul-su select.cul-su__input {
    width: 100%; min-height: var(--s-tap); padding: 0 14px; margin: 0 0 6px;
    border: 1px solid var(--s-line); border-radius: var(--s-r);
    font: inherit; font-size: 15.5px; color: var(--s-head); background: #fff;
}
.cul-su input.cul-su__input:focus, .cul-su select.cul-su__input:focus {
    outline: 2px solid var(--s-accent); outline-offset: 1px; border-color: transparent;
}
.cul-su__input--code { font-size: 24px; letter-spacing: 10px; text-align: center; font-weight: 700; }
.cul-su__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cul-su__btn {
    width: 100%; min-height: var(--s-tap); margin-top: 8px;
    border: 0 !important; background: var(--s-navy) !important; color: #fff !important;
    border-radius: var(--s-r); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.cul-su__btn:hover { background: var(--s-navy-dk) !important; }
.cul-su__ghost {
    display: block; width: 100%; min-height: var(--s-tap); margin-top: 10px;
    background: none !important; border: 1px solid var(--s-line) !important;
    border-radius: var(--s-r); color: var(--s-head) !important;
    font: inherit; font-size: 15px; font-weight: 650; cursor: pointer;
}
.cul-su__ghost:hover { border-color: #C9D5DE !important; background: #FAFCFD !important; }
.cul-su__ghost--inline { border: 0 !important; color: var(--s-ink-soft) !important; font-weight: 600; text-decoration: underline; min-height: 40px; }

.cul-su__alt { margin: 16px 0 0; text-align: center; font-size: 14px; }
.cul-su__alt a { color: var(--s-accent) !important; font-weight: 650; }
.cul-su__err {
    margin: 0 0 18px; padding: 12px 14px; border-radius: var(--s-r);
    background: #FDECEA; border: 1px solid #F5C6C0; color: #B3261E;
    font-size: 14px; font-weight: 600;
}
.cul-su__progress { margin: 18px 0 0; text-align: center; font-size: 12.5px; color: var(--s-ink-soft); }

.cul-su__consent { display: grid; gap: 12px; margin: 14px 0 4px; }
.cul-su__check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: var(--s-ink-soft); cursor: pointer; }
.cul-su__check input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--cul-accent, #E87722); }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.cul-su__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* `hidden` loses to any author display rule — restate it. */
.cul-su__consent[hidden], .cul-su__othercity[hidden] { display: none !important; }

@media (max-width: 520px) {
    .cul-su { padding: 24px 14px 60px; }
    .cul-su__card { padding: 26px 20px; border-radius: var(--cul-radius-card); }
    .cul-su .cul-su__h1 { font-size: 22px; }
    .cul-su__row { grid-template-columns: 1fr; gap: 0; }
}
