/* ============================================================================
   PUBLIC FORMS - school registration and demo request
   ----------------------------------------------------------------------------
   The two pages a school meets before it has an account. They share the sign-in
   pages' type and palette so the journey looks like one product, and they carry
   two things the sign-in pages deliberately do not: a loud statement of who may
   register, and the case for joining at all.

   The CTA lives here and NOT on the sign-in pages. Someone signing in has already
   chosen us; selling to them is noise in front of a password field. Someone on
   these two pages has not, which is the only place the argument belongs.
   ============================================================================ */

body {
    font-family: var(--acs-font-sans, 'Segoe UI', system-ui, -apple-system, sans-serif);
}

/* ============================================
   WHO MAY REGISTER
   ============================================ */
.reg-eligibility {
    border: 1px solid #fcd34d;
    background: linear-gradient(180deg, #fffbeb 0%, #fef9e7 100%);
    border-left: 4px solid #f59e0b;
    border-radius: var(--acs-radius-lg, 8px);
    padding: 16px 18px;
    margin: 4px 0 14px;
}

.reg-eligibility-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reg-eligibility-head i {
    color: #b45309;
    font-size: 18px;
}

.reg-eligibility-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #78350f;
    letter-spacing: -0.01em;
}

.reg-eligibility p {
    margin: 0 0 8px;
    font-size: 13.5px;
    line-height: 1.65;
    color: #713f12;
}

.reg-eligibility p:last-child {
    margin-bottom: 0;
}

.reg-eligibility strong {
    font-weight: 700;
}

/* The verification promise reads as a separate commitment, not more prose. */
.reg-eligibility-verify {
    display: flex;
    gap: 9px;
    padding-top: 8px;
    border-top: 1px dashed #fcd34d;
}

.reg-eligibility-verify i {
    color: #b45309;
    margin-top: 3px;
    flex: 0 0 auto;
}

/* ============================================
   CONSENT
   ============================================ */
.reg-consent {
    margin: 0 0 16px;
}

.reg-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--acs-border, #e2e8f0);
    border-radius: var(--acs-radius-lg, 8px);
    background: #fff;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.reg-consent-row:hover {
    border-color: var(--acs-accent, #3377ff);
    background: var(--acs-accent-subtle, #e5eeff);
}

/* The control is an asp:CheckBox, which renders a <span> wrapper around the
   input - so the box is sized through that wrapper rather than directly. */
.reg-consent-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--acs-accent, #3377ff);
    flex: 0 0 auto;
}

.reg-consent-row span {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--acs-foreground, #020817);
}

.reg-consent-row a {
    color: var(--acs-accent, #3377ff);
    font-weight: 600;
    text-decoration: underline;
}

.reg-consent-error {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--acs-danger, #ff3d3d);
}

/* ============================================
   WHY JOIN - the case for Cloud School
   ============================================ */
.acs-why {
    margin: 22px 0 6px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--acs-primary, #14316c) 0%, #0b1f45 100%);
    color: #fff;
}

.acs-why-kicker {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.acs-why h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
}

.acs-why > p {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.65;
    opacity: 0.9;
}

.acs-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.acs-why-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.acs-why-item i {
    font-size: 15px;
    margin-top: 2px;
    color: #ffd479;
    flex: 0 0 auto;
}

.acs-why-item h4 {
    margin: 0 0 2px;
    font-size: 13.5px;
    font-weight: 700;
}

.acs-why-item p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.55;
    opacity: 0.88;
}

.acs-why-foot {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 12.5px;
    opacity: 0.9;
}

.acs-why-foot a {
    color: #ffd479;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .acs-why {
        padding: 16px;
    }

    .acs-why-grid {
        grid-template-columns: 1fr;
    }
}
