/*
 * Public CSS Bundle: recruiters.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: _public-base.css, free-class/free-class-base.css, free-class/free-class-desktop.css, free-class/free-class-tablet.css, free-class/free-class-mobile-portrait.css, free-class/free-class-mobile-landscape.css, free-class/free-class-motion.css, home/home-base.css, home/home-desktop.css, home/home-tablet.css, home/home-mobile-portrait.css, home/home-mobile-landscape.css, home/home-motion.css, schools/schools-base.css, schools/schools-desktop.css, schools/schools-tablet.css, schools/schools-mobile-portrait.css, schools/schools-mobile-landscape.css, schools/schools-motion.css, recruiters/recruiters-base.css, recruiters/recruiters-desktop.css, recruiters/recruiters-tablet.css, recruiters/recruiters-mobile-portrait.css, recruiters/recruiters-mobile-landscape.css
 */

/* === _public-base.css === */

/*
 * Public Pages Base CSS
 * Shared globals: variables, reset, fonts, keyframes
 * NO media queries here - this is the foundation
 */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --brand-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --brand-purple: #764ba2;
    --brand-purple-light: #8b5cf6;
    --brand-blue: #667eea;

    /* Background */
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* UI Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 30px rgba(118, 75, 162, 0.25);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing */
    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* === Anchor Link Offset (for fixed header) === */
[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

/* === Keyframes === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* === Button Base Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: var(--brand-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
}

.btn-outline {
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.section-subtitle {
    color: var(--text-secondary);
}

/* === Ticker Base === */
.proof-ticker {
    background: var(--gray-900);
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    display: flex;
    width: max-content;
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 60s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
}

.ticker-item strong {
    color: var(--white);
    font-weight: 700;
}

/* Category colors */
.ticker-item.ticker-score strong {
    color: #fbbf24;
}

.ticker-item.ticker-pass strong {
    color: var(--success);
}

.ticker-item.ticker-branch strong {
    color: #60a5fa;
}

/* =============================================================================
 * SIGNUP MODAL - Shared across all public pages
 * Used by: home, free-class, asvab-program, etc.
 * ============================================================================= */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--error);
}

.modal-body {
    padding: 24px;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: modalFadeUp 0.3s ease-out;
}

@keyframes modalFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-intro {
    text-align: center;
    margin-bottom: 24px;
}

.step-intro-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
}

.step-intro-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.verify-email {
    font-weight: 600;
    color: var(--text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input, .form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus, .form-select:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.error {
    border-color: var(--error);
}

.form-input.code-input {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading), monospace;
    letter-spacing: 8px;
    font-weight: 600;
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* SMS consent (profile step): two unchecked boxes + always-visible disclosure
   + (i) that expands INLINE. The disclosure stays visible on purpose: it is
   the text the user consents to and what the A2P campaign screenshot is
   approved on. The details card never floats over the form, so a screenshot
   with it open hides nothing. */
.consent-label {
    align-items: flex-start;
    line-height: 1.4;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.consent-label + .consent-label {
    margin-top: 8px;
}

.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--brand-purple);
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
}

.consent-info {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gray-300);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent-info:hover,
.consent-info[aria-expanded="true"] {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    background: rgba(118, 75, 162, 0.08);
}

.consent-fine-print {
    flex: 1;
    margin: 0 0 0 26px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.consent-fine-print a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-fine-print a:hover {
    color: var(--brand-purple);
}

.consent-details {
    margin-top: 10px;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    animation: modalFadeUp 0.2s ease-out;
}

.consent-details[hidden] {
    display: none;
}

.consent-details p + p {
    margin-top: 8px;
}

.consent-details-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.consent-details-links a {
    color: var(--brand-purple);
    font-weight: 600;
}

.consent-details-links a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    position: relative;
    color: transparent;
}

.form-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: modalSpin 0.8s linear infinite;
}

@keyframes modalSpin {
    to { transform: rotate(360deg); }
}

.resend-link {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.link-button {
    background: none;
    border: none;
    color: var(--brand-purple);
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.link-button:hover {
    text-decoration: underline;
}

.link-button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Passwords for .mil accounts (2026-10-14): the password box with its
   Show/Hide, the two links under Sign In, the rule under the new password.
   Everything else on the two steps reuses the form styles above. */
.pw-field {
    position: relative;
}

.pw-field .form-input {
    padding-right: 68px;
}

.pw-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 6px 10px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pw-toggle:hover,
.pw-toggle[aria-pressed="true"] {
    background: rgba(118, 75, 162, 0.1);
    color: var(--brand-purple);
}

.pw-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.pw-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pw-links-dot {
    color: var(--text-muted);
}

/* Success Step */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success);
    animation: modalPopIn 0.4s ease-out;
}

@keyframes modalPopIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* =============================================================================
 * CLASS COUNTDOWN - Simple horizontal layout
 * ============================================================================= */

.class-countdown {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.countdown-slides {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.countdown-slide {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.countdown-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Left side: Badge + Date/Time */
.countdown-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.countdown-badge {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-badge.badge-free {
    background: var(--success-light);
    color: var(--success);
}

.countdown-badge.badge-program {
    background: rgba(118, 75, 162, 0.12);
    color: var(--brand-purple);
}

.countdown-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.countdown-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Right side: Timer + CTA */
.countdown-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.countdown-timer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-heading);
}

/* Block cells: two-digit number on top, uppercase unit underneath. Tabular
   numerals + a 2ch floor keep the row from jittering as the seconds tick. */
.countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.countdown-unit {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.countdown-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
}

.countdown-btn.btn-free {
    background: var(--brand-gradient);
    color: var(--white);
}

.countdown-btn.btn-free:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.countdown-btn.btn-program {
    background: var(--white);
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}

.countdown-btn.btn-program:hover {
    background: var(--brand-purple);
    color: var(--white);
}

.countdown-btn.btn-disabled {
    background: var(--gray-200);
    color: var(--text-muted);
    cursor: default;
    pointer-events: none;
}

/* Navigation dots */
.countdown-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.countdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.countdown-dot.active {
    background: var(--brand-purple);
}

.countdown-dot:hover:not(.active) {
    background: var(--gray-400);
}

/* Empty state */
.countdown-empty {
    text-align: center;
    padding: 20px;
}

.countdown-empty p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.countdown-empty a {
    color: var(--brand-purple);
    font-weight: 600;
}


/* === free-class/free-class-base.css === */

/**
 * Free class and course preview — BASE (no media query).
 *
 * The page every free-class ad lands on, rebuilt 2026-09-21 on the Classroom
 * and Arena brand: Inter body, Space Grotesk headings, ink and slate, GOLD as
 * the one accent, cards with a line border and a course stripe, eyebrows in
 * tracked uppercase, the logo as a progress pip.
 *
 * THE DASHBOARD LOCK: the document never scrolls. html/body are locked by
 * the page's own classes, the page root is 100dvh, and ONE region (#fcScroll)
 * scrolls inside it while the header stays put. min-height: 0 on the flex
 * children is load-bearing.
 *
 * Tokens live on :root, never on .fc-page: the signup modal renders outside
 * the page root and must still resolve every var().
 */

:root {
    --fc-ink: #0f172a;
    --fc-ink-2: #1e293b;
    --fc-soft: #475569;
    --fc-muted: #64748b;
    --fc-line: #e2e8f0;
    --fc-line-soft: #f1f5f9;
    --fc-bg: #f8fafc;
    --fc-card: #ffffff;
    --fc-gold: #fdcc05;
    --fc-gold-hover: #f59e0b;
    --fc-gold-deep: #b45309;
    --fc-gold-soft: #fef3c7;
    --fc-ar: #3b82f6;
    --fc-ar-deep: #1e3a8a;
    --fc-green: #047857;
    --fc-green-soft: #d1fae5;
    --fc-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    --fc-shadow-lg: 0 10px 28px rgba(15, 23, 42, 0.12);
    --fc-head: 'Space Grotesk', sans-serif;
    --fc-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fc-gutter: 24px;
    --fc-max: 1120px;
}

html.fc-html, body.fc-body { height: 100%; overflow: hidden; }
body.fc-body {
    margin: 0;
    font-family: var(--fc-body);
    color: var(--fc-ink-2);
    background: var(--fc-bg);
    line-height: 1.5;
    /* No overscroll-behavior here or on .fc-scroll: `none` on the body and
       `contain` on the region swallowed the pull at the top of the page, so a
       phone could not swipe down to refresh (Anderson, 2026-10-05). */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
html.fc-html { scroll-behavior: auto; }

.fc-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 420px at 12% -140px, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(900px 480px at 88% -180px, rgba(253, 204, 5, 0.16) 0%, transparent 60%),
        var(--fc-bg);
}

/* ---------- The frame: header ---------- */
.fc-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--fc-gutter);
    background: var(--fc-card);
    border-bottom: 1px solid var(--fc-line);
    z-index: 5;
}
.fc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.fc-logo { width: 36px; height: 36px; object-fit: contain; display: block; flex-shrink: 0; }
.fc-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.fc-brand-name { font-family: var(--fc-head); font-weight: 800; font-size: 16px; color: var(--fc-ink); letter-spacing: -0.2px; }
.fc-brand-tag { font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-muted); }
.fc-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------- The one scroll region ---------- */
.fc-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
/* A link to a section lands it at the region's top. _public-base.css keeps
   every [id] a header's height below the top, for pages whose fixed header
   sits OVER the document; this frame's header sits outside the scroll region,
   so that offset left a strip of the section before showing above it. */
.fc-scroll [id] { scroll-margin-top: 0; }

/* ---------- Type ---------- */
.fc-eyebrow {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--fc-muted);
    margin: 0 0 10px;
}
.fc-eyebrow.is-gold { color: var(--fc-gold-deep); }
.fc-eyebrow-sm {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--fc-muted);
}
.fc-title {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.8px;
    color: var(--fc-ink);
    margin: 0 0 16px;
    text-wrap: balance;
}
.fc-sub { font-size: 17px; line-height: 1.55; color: var(--fc-soft); margin: 0 0 22px; max-width: 560px; }
.fc-h2 {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: var(--fc-ink);
    margin: 0 0 10px;
    text-wrap: balance;
}
.fc-lead { font-size: 16px; color: var(--fc-soft); margin: 0; max-width: 640px; }

/* ---------- Buttons and pills ---------- */
.fc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fc-head);
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 12px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.fc-btn-primary { background: var(--fc-gold); color: var(--fc-ink); box-shadow: 0 6px 18px rgba(253, 204, 5, 0.35); }
.fc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(253, 204, 5, 0.45); }
.fc-btn-primary:active { transform: translateY(1px); }
.fc-btn-ghost { background: var(--fc-card); color: var(--fc-ink); border-color: var(--fc-line); }
.fc-btn-ghost:hover { border-color: var(--fc-gold); }
.fc-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.fc-btn-lg { padding: 15px 26px; font-size: 16px; }

.fc-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.fc-pill-gold { background: var(--fc-gold); color: var(--fc-ink); }
.fc-pill-ar { background: rgba(59, 130, 246, 0.12); color: var(--fc-ar-deep); }

/* ---------- Sections ---------- */
.fc-section { max-width: var(--fc-max); margin: 0 auto; padding: 56px var(--fc-gutter); }
.fc-section-head { margin-bottom: 28px; }
.fc-section + .fc-section { border-top: 1px solid var(--fc-line); }

/* ---------- Hero ---------- */
.fc-hero {
    max-width: var(--fc-max);
    margin: 0 auto;
    padding: 48px var(--fc-gutter) 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 40px;
    align-items: center;
}
.fc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The next class: the ink block with gold digits, the Classroom's countdown */
.fc-next {
    background: var(--fc-ink);
    color: #fff;
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: var(--fc-shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fc-next-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-next-day { font-family: var(--fc-head); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.fc-next-topic { font-family: var(--fc-head); font-weight: 800; font-size: 22px; line-height: 1.15; color: #fff; text-wrap: balance; }
.fc-next-when { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.fc-countdown { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0 2px; }
.fc-cd-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fc-cd-num {
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    color: var(--fc-gold);
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}
.fc-cd-unit { font-weight: 700; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.fc-cd-state { font-family: var(--fc-head); font-weight: 800; font-size: 18px; color: var(--fc-gold); padding: 6px 0 2px; }
.fc-next-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fc-next-time {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fc-next-time.is-yours { background: var(--fc-gold-soft); border: 2px solid var(--fc-gold); }
.fc-next-time-label { font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.fc-next-time.is-yours .fc-next-time-label { color: var(--fc-gold-deep); }
.fc-next-time-value { font-family: var(--fc-head); font-weight: 800; font-size: 20px; line-height: 1.05; color: #fff; }
.fc-next-time.is-yours .fc-next-time-value { color: #7c2d12; }
.fc-next-where { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
/* The card's way in (the program class pages): .fc-btn sets display, so the
   hidden attribute the countdown toggles needs its own rule to win. */
.fc-next-join { align-self: stretch; justify-content: center; padding: 14px 22px; font-size: 16px; margin-top: 4px; }
.fc-next-join[hidden] { display: none; }

/* ---------- The plan ---------- */
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fc-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--fc-shadow);
}
.fc-step-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--fc-ink);
    color: var(--fc-gold);
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.fc-step-title { font-family: var(--fc-head); font-weight: 800; font-size: 17px; color: var(--fc-ink); margin: 4px 0 6px; }
.fc-step-text { margin: 0; font-size: 14px; color: var(--fc-soft); }

/* ---------- The live moment: a real frame beside the real chat ---------- */
.fc-live {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}
.fc-live-frame {
    position: relative;
    margin: 0;
    background: var(--fc-ink);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--fc-shadow-lg);
    border: 3px solid var(--fc-ink);
    display: flex;
    flex-direction: column;
}
.fc-live-frame img { display: block; width: 100%; height: auto; background: #fff; }
/* The LIVE pill sits in the caption bar, never over the board: the board's
   top-left corner is where the problem text starts. */
.fc-live-pill {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #fff;
    font-family: var(--fc-head);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.fc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: fcLivePulse 1.6s ease-in-out infinite; }
@keyframes fcLivePulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.fc-live-caption {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px 12px;
    color: #fff;
    background: var(--fc-ink);
}
.fc-live-caption-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-live-caption-topic { font-family: var(--fc-head); font-weight: 800; font-size: 14px; }
.fc-live-caption-when { font-size: 12px; color: rgba(255, 255, 255, 0.7); }

/* The chat, in the Classroom's own furniture: slate bar, open chip, a stream */
.fc-chat {
    display: flex; flex-direction: column;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    box-shadow: var(--fc-shadow);
    overflow: hidden;
    min-height: 0;
}
.fc-chat-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--fc-bg);
    border-bottom: 1px solid var(--fc-line);
    flex-shrink: 0;
}
.fc-chat-title { font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fc-ink); }
.fc-chat-status {
    font-weight: 700; font-size: 10.5px; letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--fc-green); background: var(--fc-green-soft);
    padding: 2px 8px; border-radius: 999px;
}
.fc-chat-stream {
    list-style: none; margin: 0; padding: 10px 12px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1 1 auto; min-height: 0;
}
.fc-chat-msg { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: start; }
.fc-chat-insignia { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--fc-line); }
.fc-chat-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fc-chat-name { font-weight: 800; font-size: 12px; color: var(--fc-ink); }
.fc-chat-text {
    display: inline-block;
    font-size: 13.5px; line-height: 1.4; color: var(--fc-ink-2);
    background: var(--fc-bg);
    border: 1px solid var(--fc-line-soft);
    border-radius: 0 10px 10px 10px;
    padding: 6px 10px;
    overflow-wrap: anywhere;
}
.fc-chat-foot { padding: 8px 14px 10px; font-size: 11px; color: var(--fc-muted); border-top: 1px solid var(--fc-line-soft); }

/* ---------- The Classroom, in its own furniture ---------- */
.fc-class-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr); gap: 24px; align-items: start; }
.fc-stage { display: flex; flex-direction: column; gap: 12px; }
.fc-timer {
    display: flex; align-items: center; gap: 12px;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: var(--fc-shadow);
}
.fc-timer-label { font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-muted); }
.fc-timer-track { flex: 1; height: 12px; border-radius: 999px; background: var(--fc-line-soft); overflow: hidden; }
.fc-timer-bar { display: block; height: 100%; width: 62%; background: var(--fc-green); border-radius: 999px; }
.fc-timer-status { font-weight: 700; font-size: 12px; color: var(--fc-soft); min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.fc-problem-meta { display: flex; align-items: center; gap: 12px; }
.fc-problem-eyebrow { font-family: var(--fc-head); font-weight: 800; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--fc-muted); }
.fc-problem-goal {
    font-weight: 700; font-size: 11px; letter-spacing: 1px;
    color: var(--fc-muted);
    background: var(--fc-bg);
    border: 1px solid var(--fc-line);
    padding: 3px 9px; border-radius: 999px;
}
.fc-problem-card {
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: var(--fc-shadow);
    display: flex; flex-direction: column; gap: 16px;
}
.fc-problem-q { margin: 0; font-size: 17px; line-height: 1.55; color: var(--fc-ink); }
.fc-choices { display: flex; flex-direction: column; gap: 8px; }
.fc-choice {
    display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center;
    padding: 12px 14px;
    background: var(--fc-card);
    border: 1.5px solid var(--fc-line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--fc-ink);
}
.fc-choice.is-selected { border-color: var(--fc-gold); background: var(--fc-gold-soft); }
.fc-choice-letter {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--fc-card); border: 1px solid var(--fc-line);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 11px; color: var(--fc-soft);
}
.fc-choice.is-selected .fc-choice-letter { background: var(--fc-gold); border-color: var(--fc-gold); color: var(--fc-ink); }
.fc-submit-row { display: flex; align-items: center; gap: 14px; padding-top: 6px; border-top: 1px solid var(--fc-line-soft); }
.fc-submit-btn {
    background: var(--fc-gold); color: var(--fc-ink);
    font-family: var(--fc-body); font-weight: 800; font-size: 14px; letter-spacing: 0.4px;
    padding: 10px 22px; border-radius: 8px;
}
.fc-submit-status { font-size: 13px; font-weight: 600; color: var(--fc-muted); }

.fc-side { display: flex; flex-direction: column; gap: 16px; }
.fc-goal-badge {
    background: var(--fc-card);
    border: 2px solid var(--fc-gold);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.22), 0 6px 18px rgba(253, 204, 5, 0.18);
    display: flex; flex-direction: column; gap: 10px;
}
.fc-goal-badge-head { display: flex; flex-direction: column; gap: 2px; }
.fc-goal-badge-hint { font-size: 11px; color: var(--fc-soft); }
.fc-goal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fc-goal-name { font-weight: 700; font-size: 14px; color: var(--fc-ink); line-height: 1.25; }
.fc-goal-count { font-size: 11px; font-weight: 700; color: var(--fc-soft); white-space: nowrap; }
.fc-pips { display: flex; gap: 6px; align-items: center; }
.fc-pip { width: 22px; height: 22px; object-fit: contain; filter: grayscale(100%) brightness(0.6); opacity: 0.18; }
.fc-pip.is-on { filter: drop-shadow(0 1px 2px rgba(2, 100, 192, 0.35)); opacity: 1; }

.fc-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fc-facts li {
    position: relative;
    padding-left: 18px;
    font-size: 14px; line-height: 1.5; color: var(--fc-soft);
}
.fc-facts li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--fc-gold);
}
.fc-facts li strong { color: var(--fc-ink); font-weight: 700; }
.fc-facts-tight { gap: 8px; }

/* ---------- Unit 1, in the course's own furniture ---------- */
.fc-unit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fc-unit-card {
    position: relative; overflow: hidden;
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 22px 22px 0;
}
.fc-unit-stripe { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--fc-ar) 0%, var(--fc-ar-deep) 100%); }
.fc-unit-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fc-unit-name { font-family: var(--fc-head); font-weight: 800; font-size: 18px; color: var(--fc-ink); }
.fc-unit-count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--fc-muted); }
.fc-goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fc-goal {
    display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 8px;
    font-size: 14px; color: var(--fc-ink);
}
.fc-goal:first-child { background: rgba(253, 204, 5, 0.14); box-shadow: 0 0 0 1px var(--fc-gold) inset; }
.fc-goal-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fc-line); margin: 0 auto; }
.fc-goal-dot.is-next { border-color: var(--fc-gold-deep); }
.fc-goal-label { font-weight: 600; min-width: 0; }
.fc-goal-chip {
    font-family: var(--fc-head); font-weight: 800; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--fc-gold-deep); background: var(--fc-gold-soft);
    padding: 2px 7px; border-radius: 999px;
}
.fc-checkpoint {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    margin: 14px -22px 0;
    padding: 14px 22px;
    background: var(--fc-bg);
    border-top: 2px dashed var(--fc-line);
}
.fc-checkpoint-info { display: flex; flex-direction: column; gap: 2px; }
.fc-checkpoint-name { font-weight: 700; font-size: 14px; color: var(--fc-ink); }
.fc-checkpoint-meta { font-size: 12px; color: var(--fc-muted); }
.fc-stars { display: flex; gap: 4px; }
.fc-star { width: 26px; height: 26px; object-fit: contain; filter: grayscale(100%) brightness(0.6); opacity: 0.15; }
.fc-star.is-earned { filter: drop-shadow(0 1px 3px rgba(2, 100, 192, 0.3)); opacity: 1; }

.fc-lesson {
    background: var(--fc-card);
    border: 1px solid var(--fc-line);
    border-radius: 18px;
    box-shadow: var(--fc-shadow);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.fc-lesson-tabs { display: flex; background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); }
.fc-lesson-tabs.is-practice { border-top: 1px solid var(--fc-line); }
.fc-tab {
    flex: 1; text-align: center;
    padding: 11px 8px;
    font-size: 13px; font-weight: 600; color: var(--fc-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.fc-tab.is-active { background: var(--fc-card); color: var(--fc-ar-deep); border-bottom-color: var(--fc-ar); }
.fc-tab.is-gold { background: var(--fc-gold-soft); color: var(--fc-gold-deep); border-bottom-color: var(--fc-gold); font-weight: 700; }
.fc-lesson-note { padding: 16px 18px; font-size: 14px; line-height: 1.55; color: var(--fc-ink-2); }
.fc-lesson-note p { margin: 0; }
.fc-lesson-note-h { font-weight: 700; color: var(--fc-ar-deep); margin: 0 0 6px !important; }
.fc-lesson .fc-facts { padding: 16px 18px 18px; }

/* ---------- Stakes, success, the one action ---------- */
.fc-close-card {
    background: var(--fc-ink);
    color: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--fc-shadow-lg);
    display: flex; flex-direction: column; align-items: center; gap: 0;
}
.fc-close-logo { width: 48px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.fc-close-title { color: #fff; max-width: 720px; }
.fc-close-sub { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); max-width: 640px; margin: 0 0 22px; }
.fc-close-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Footer ---------- */
.fc-footer { text-align: center; padding: 24px var(--fc-gutter) 32px; font-size: 13px; color: var(--fc-muted); }
.fc-footer p { margin: 0 0 4px; }
.fc-footer strong { color: var(--fc-ink); }
.fc-footer a { color: var(--fc-ink); font-weight: 600; text-decoration: none; }
.fc-footer a:hover { text-decoration: underline; }
.fc-footer-legal { font-size: 12px; }

/* ---------- The shared signup modal, in this page's brand ----------
   The modal markup and its flow belong to --signup; this only re-skins its
   accents (purple gradient) to the gold-on-ink of this page. */
.modal-overlay { background: rgba(15, 23, 42, 0.78); }
.modal { border: 3px solid var(--fc-ink); }
.form-submit { background: var(--fc-gold); color: var(--fc-ink); font-family: var(--fc-head); font-weight: 800; }
.form-submit:hover:not(:disabled) { box-shadow: 0 8px 22px rgba(253, 204, 5, 0.4); }
.form-input:focus, .form-select:focus { border-color: var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.22); }
.link-button, .consent-details-links a { color: var(--fc-gold-deep); }
.consent-label input[type="checkbox"] { accent-color: var(--fc-ink); }
.consent-info:hover, .consent-info[aria-expanded="true"] { border-color: var(--fc-gold-deep); color: var(--fc-gold-deep); background: var(--fc-gold-soft); }
.success-icon { background: var(--fc-green-soft); color: var(--fc-green); }

/* The reduced-motion rules live in free-class-motion.css: a base tier carries
   no media query of any kind (the GED bundler's rule, which bundles this file
   for the GED class page). */


/* === free-class/free-class-desktop.css === */

/**
 * Free class page — DESKTOP (min-width: 1025px).
 * The base already lays the page out for a wide screen; this file keys the
 * short laptop (1280x720) so the hero and its next-class block still fit
 * the first screen with the frame around them.
 */
@media (min-width: 1025px) {
    .fc-header { padding: 12px 32px; }
    .fc-hero { padding: 56px 32px 44px; }
    .fc-section { padding: 60px 32px; }
}

/* A short desktop: the 1280x720 laptop lands here. Tighten the hero so the
   title, the copy, both buttons and the whole next-class block sit above
   the fold. */
@media (min-width: 1025px) and (max-height: 760px) {
    .fc-hero { padding: 28px 32px 28px; gap: 28px; }
    .fc-title { font-size: 36px; margin-bottom: 10px; }
    .fc-sub { font-size: 15px; margin-bottom: 16px; }
    .fc-btn-lg { padding: 12px 20px; font-size: 15px; }
    .fc-next { padding: 16px 18px 14px; gap: 8px; }
    .fc-next-topic { font-size: 18px; }
    .fc-cd-num { font-size: 28px; }
    .fc-next-time-value { font-size: 17px; }
    .fc-next-where { display: none; }
}


/* === free-class/free-class-tablet.css === */

/**
 * Free class page — TABLET (769px to 1024px).
 * Two columns survive where they read; the class stage and the unit card
 * stack because a 900px-wide problem card beside a goal badge crushes both.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .fc-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr); gap: 28px; padding: 40px 24px 32px; }
    .fc-title { font-size: 36px; }
    .fc-sub { font-size: 16px; }
    .fc-section { padding: 44px 24px; }
    .fc-h2 { font-size: 26px; }
    .fc-steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .fc-step { padding: 16px; }
    .fc-class-grid { grid-template-columns: 1fr; }
    .fc-live { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: 16px; }
    .fc-side { flex-direction: row; align-items: flex-start; }
    .fc-goal-badge { flex: 0 0 280px; }
    .fc-unit-grid { grid-template-columns: 1fr; }
    .fc-close-card { padding: 36px 28px; }
}

/* A tablet in portrait is tall and narrow: the hero stacks, the next-class
   block goes full width under the copy. */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .fc-hero { grid-template-columns: 1fr; }
    .fc-next { max-width: 560px; }
    .fc-live { grid-template-columns: 1fr; }
    .fc-side { flex-direction: column; }
    .fc-goal-badge { flex: 0 0 auto; }
}


/* === free-class/free-class-mobile-portrait.css === */

/**
 * Free class page — MOBILE PORTRAIT (max-width: 768px, portrait).
 * One column everywhere. The header keeps the gold CTA (it is the always-in-
 * view action on a phone); the hero puts the next-class block first under
 * the title so the countdown is on the first screen of an iPhone SE.
 */
@media (max-width: 768px) and (orientation: portrait) {
    :root { --fc-gutter: 16px; }

    .fc-header { padding: 8px 16px; }
    .fc-logo { width: 30px; height: 30px; }
    .fc-brand-name { font-size: 14px; }
    .fc-brand-tag { font-size: 9px; }
    .fc-btn-sm { padding: 8px 12px; font-size: 12px; }

    .fc-hero { grid-template-columns: 1fr; gap: 18px; padding: 24px 16px 20px; }
    .fc-hero-copy { display: contents; }
    .fc-hero .fc-eyebrow { order: 1; margin-bottom: 4px; }
    .fc-title { order: 2; font-size: 30px; letter-spacing: -0.5px; margin-bottom: 6px; }
    .fc-next { order: 3; padding: 16px 16px 14px; gap: 10px; }
    .fc-sub { order: 4; font-size: 15px; margin-bottom: 4px; }
    .fc-hero-actions { order: 5; }
    .fc-hero-actions .fc-btn { flex: 1 1 100%; }

    .fc-next-topic { font-size: 18px; }
    .fc-next-when { font-size: 13px; }
    .fc-cd-num { font-size: 30px; }
    .fc-countdown { gap: 12px; }
    .fc-next-time-value { font-size: 17px; }
    .fc-next-where { display: none; }

    .fc-section { padding: 36px 16px; }
    .fc-section-head { margin-bottom: 20px; }
    .fc-h2 { font-size: 24px; }
    .fc-lead { font-size: 15px; }

    .fc-steps { grid-template-columns: 1fr; gap: 10px; }
    .fc-step { padding: 16px; }

    .fc-class-grid { grid-template-columns: 1fr; gap: 16px; }
    .fc-live { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
    .fc-live-frame { border-width: 2px; border-radius: 12px; }
    .fc-chat-stream { padding: 8px 10px; gap: 7px; }
    .fc-chat-text { font-size: 13px; }
    .fc-problem-card { padding: 18px 16px 14px; }
    .fc-problem-q { font-size: 16px; }
    .fc-choice { padding: 11px 12px; font-size: 14px; }

    .fc-unit-grid { grid-template-columns: 1fr; gap: 16px; }
    .fc-unit-card { padding: 18px 16px 0; }
    .fc-checkpoint { margin: 12px -16px 0; padding: 12px 16px; }
    .fc-star { width: 22px; height: 22px; }
    .fc-tab { font-size: 12px; padding: 10px 4px; }

    .fc-close-card { padding: 30px 20px; border-radius: 16px; }
    .fc-close-title { font-size: 22px; }
    .fc-close-sub { font-size: 15px; }
    .fc-close-card .fc-btn-lg { width: 100%; }
}

/* The iPhone SE (375x667): tighter still, so the title and the countdown
   both sit on the first screen. */
@media (max-width: 768px) and (orientation: portrait) and (max-height: 700px) {
    .fc-hero { padding: 16px 16px 16px; gap: 12px; }
    .fc-title { font-size: 26px; }
    .fc-next { padding: 12px 14px 12px; gap: 8px; }
    .fc-cd-num { font-size: 26px; }
    .fc-next-times { gap: 8px; }
    .fc-next-time { padding: 8px 10px; }
    .fc-next-time-value { font-size: 15px; }
}


/* === free-class/free-class-mobile-landscape.css === */

/**
 * Free class page — MOBILE LANDSCAPE (max-width: 926px, landscape).
 * A phone on its side: two columns fit, but the height is the constraint,
 * so the header goes thin and the hero drops its padding.
 */
@media (max-width: 926px) and (orientation: landscape) {
    :root { --fc-gutter: 20px; }

    .fc-header { padding: 6px 20px; }
    .fc-logo { width: 28px; height: 28px; }
    .fc-brand-name { font-size: 13px; }
    .fc-brand-tag { display: none; }
    .fc-btn-sm { padding: 6px 12px; font-size: 12px; }

    .fc-hero { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 20px; padding: 16px 20px 16px; align-items: start; }
    .fc-eyebrow { margin-bottom: 4px; }
    .fc-title { font-size: 26px; margin-bottom: 8px; }
    .fc-sub { font-size: 14px; margin-bottom: 12px; }
    .fc-btn-lg { padding: 10px 16px; font-size: 14px; }

    .fc-next { padding: 12px 14px 12px; gap: 8px; }
    .fc-next-topic { font-size: 16px; }
    .fc-next-when { font-size: 12px; }
    .fc-cd-num { font-size: 24px; }
    .fc-countdown { gap: 12px; padding: 2px 0; }
    .fc-next-times { gap: 8px; }
    .fc-next-time { padding: 6px 10px; }
    .fc-next-time-value { font-size: 15px; }
    .fc-next-where { display: none; }

    .fc-section { padding: 28px 20px; }
    .fc-section-head { margin-bottom: 16px; }
    .fc-h2 { font-size: 22px; }
    .fc-lead { font-size: 14px; }

    .fc-steps { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .fc-step { padding: 14px; gap: 10px; }
    .fc-step-title { font-size: 15px; }
    .fc-step-text { font-size: 13px; }

    .fc-class-grid { grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.8fr); gap: 16px; }
    .fc-live { grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.8fr); gap: 16px; margin-bottom: 20px; }
    .fc-chat-stream { padding: 8px 10px; gap: 6px; }
    .fc-chat-text { font-size: 12.5px; }
    .fc-problem-card { padding: 16px 16px 12px; gap: 12px; }
    .fc-problem-q { font-size: 15px; }
    .fc-choice { padding: 9px 12px; font-size: 14px; }

    .fc-unit-grid { gap: 16px; }
    .fc-unit-card { padding: 18px 18px 0; }
    .fc-checkpoint { margin: 12px -18px 0; padding: 12px 18px; }
    .fc-tab { font-size: 12px; padding: 9px 4px; }

    .fc-close-card { padding: 28px 24px; }
    .fc-close-title { font-size: 22px; }
    .fc-close-sub { font-size: 14px; margin-bottom: 16px; }
}


/* === free-class/free-class-motion.css === */

/**
 * Live-class pages — MOTION (reduced-motion preference only).
 *
 * Moved out of free-class-base.css on 2026-10-04 so the base tier carries no
 * media query at all: the GED class page bundles that base, and the GED
 * bundler's rule is that no base file holds a query. Every bundle that
 * carries the base carries this file after its viewport tiers.
 */
@media (prefers-reduced-motion: reduce) {
    .fc-scroll { scroll-behavior: auto; }
    .fc-btn { transition: none; }
    .fc-live-dot { animation: none; }
}


/* === home/home-base.css === */

/**
 * The ASVAB home page — BASE (no media query).
 *
 * Rebuilt 2026-10-05 on the free class page's frame and furniture: this file
 * is bundled AFTER free-class-base.css and its viewport tiers, so every token
 * (--fc-*), the dashboard lock, the header, the buttons, the eyebrows, the
 * steps, the next-class card, the chat and the close card are that page's.
 * Only what the home page adds lives here, every selector hp-.
 *
 * Because this base lands after the free class page's media queries, a rule
 * here on an hp- class that also carries an fc- class wins on every viewport:
 * each home viewport file restates what its viewport needs.
 */

.hp-accent { color: var(--fc-gold-deep); }

/* ---------- The frame: header ---------- */
.hp-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.hp-nav-link {
    font-family: var(--fc-head); font-weight: 700; font-size: 14px; color: var(--fc-soft);
    text-decoration: none; padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.hp-nav-link:hover { color: var(--fc-ink); background: var(--fc-line-soft); }
.hp-header .nm-hamburger { flex-shrink: 0; }

/* ---------- 1. Hero ---------- */
.hp-hero { grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr); gap: 32px; }
.hp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14px; font-weight: 700; }
.hp-links a { color: var(--fc-ink); text-decoration: none; }
.hp-links a:hover { text-decoration: underline; }
/* THE RECORDINGS SPHERE, the hero's animation. The shared partial carries its
   own size (400px, 300px on the narrowest phones) and 40px of padding above
   and below; the hero already gives it air, so the padding is taken back.
   Nothing here clips it: the logo at its centre and the cards orbiting past
   its edge are drawn whole. */
.hp-sphere { min-width: 0; display: flex; align-items: center; justify-content: center; overflow: visible; }
.hp-sphere .recordings-sphere-wrap { padding: 0; }

/* ---------- THE ROOM, under the results strip: the Classroom's Watch view.
   The board, the live caption and the student's own credit on the left; the
   chat rail exactly as tall on the right. ---------- */
.hp-room {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 18px;
    box-shadow: var(--fc-shadow-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.hp-room-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--fc-line); }
.hp-room-bar img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.hp-room-title { font-family: var(--fc-head); font-weight: 800; font-size: 14px; color: var(--fc-ink); white-space: nowrap; }
.hp-room-topic {
    flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: var(--fc-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hp-room-live {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    background: var(--fc-green-soft); color: var(--fc-green); font-family: var(--fc-head); font-weight: 800;
    font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; flex-shrink: 0;
}
.hp-room-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fc-green); animation: fcLivePulse 1.6s ease-in-out infinite; }

.hp-room-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(200px, 1fr); }
.hp-room-video { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--fc-line); }
.hp-room-frame { display: block; width: 100%; height: auto; background: #fff; }
.hp-room-cap { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--fc-ink); color: #fff; }
.hp-room-cap-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hp-room-cap-title { font-family: var(--fc-head); font-weight: 800; font-size: 14px; }
.hp-room-cap-sub { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.hp-room-credit { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; background: var(--fc-bg); align-items: stretch; }
.hp-room-answer, .hp-room-goal {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 12px;
    padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0;
}
.hp-room-goal { border: 2px solid var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.2); }
.hp-room-answer-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp-room-letter {
    width: 26px; height: 26px; border-radius: 50%; background: var(--fc-green); color: #fff;
    font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.hp-room-value { font-family: var(--fc-head); font-weight: 800; font-size: 18px; color: var(--fc-ink); }
.hp-room-verdict { font-size: 12px; font-weight: 700; color: var(--fc-green); }

.hp-room-rail { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.hp-room-chathead {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-bottom: 1px solid var(--fc-line); background: var(--fc-bg); flex-shrink: 0;
}
/* The stream takes the height the board column gives it and never grows the
   card: a new message enters at the bottom, the oldest leave through the top. */
.hp-room-stream {
    flex: 1 1 0; height: 0; min-height: 0; overflow: hidden; justify-content: flex-end; padding: 8px 10px; gap: 7px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}
.hp-room-stream .fc-chat-msg { grid-template-columns: 24px 1fr; column-gap: 8px; }
.hp-room-stream .fc-chat-msg[hidden] { display: none; }
.hp-room-stream .fc-chat-msg.is-new { animation: hpChatIn 0.35s ease both; }
.hp-room-stream .fc-chat-insignia { width: 24px; height: 24px; }
.hp-room-stream .fc-chat-name { font-size: 11px; }
.hp-room-stream .fc-chat-text { font-size: 12.5px; padding: 5px 9px; }
@keyframes hpChatIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hp-room-say {
    margin: 0 10px 10px; border: 1px solid var(--fc-line); border-radius: 10px; padding: 8px 10px;
    font-size: 12px; color: var(--fc-muted); flex-shrink: 0;
}
.hp-room-foot { margin: 10px 2px 0; font-size: 12px; color: var(--fc-muted); }

/* ---------- Real results ---------- */
.hp-ticker {
    display: flex; align-items: center; gap: 22px; background: var(--fc-ink); color: rgba(255, 255, 255, 0.85);
    padding: 13px var(--fc-gutter); font-size: 15px; white-space: nowrap; overflow: hidden;
}
.hp-ticker-label {
    flex-shrink: 0; font-family: var(--fc-head); font-weight: 800; font-size: 11px; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--fc-gold);
}
.hp-ticker-wrap {
    display: flex; flex: 1; min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.hp-ticker-track { display: flex; flex-shrink: 0; gap: 34px; padding-right: 34px; animation: hpTicker 70s linear infinite; }
.hp-ticker-item strong { color: #fff; }
@keyframes hpTicker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Cards: the problem, the program, the reviews ---------- */
.hp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-card {
    margin: 0; background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 16px;
    padding: 18px 20px; box-shadow: var(--fc-shadow); min-width: 0;
}
.hp-card-label {
    font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--fc-gold-deep); margin: 0 0 8px;
}
.hp-card-num {
    display: block; font-family: var(--fc-head); font-weight: 800; font-size: 30px; color: var(--fc-ink);
    line-height: 1; margin-bottom: 6px; font-variant-numeric: tabular-nums;
}
.hp-card-title { font-family: var(--fc-head); font-weight: 800; font-size: 17px; color: var(--fc-ink); margin: 0 0 6px; }
.hp-card-text { margin: 0; font-size: 14px; color: var(--fc-soft); }
.hp-program-actions { margin-top: 22px; }

/* ---------- 3. The guide ---------- */
.hp-guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: center; }
/* The portrait whole, at its own ratio: a square crop cut the top of the hair. */
.hp-guide-photo {
    width: 250px; height: auto; aspect-ratio: 600 / 741; object-fit: cover; object-position: center top;
    border-radius: 18px; border: 4px solid var(--fc-gold); display: block;
}
.hp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hp-chip {
    border: 1px solid var(--fc-line); background: var(--fc-card); border-radius: 999px; padding: 5px 12px;
    font-size: 12px; font-weight: 700; color: var(--fc-ink); text-decoration: none;
}
a.hp-chip:hover { border-color: var(--fc-gold); }

/* ---------- 5. What is free ---------- */
.hp-free { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 36px; align-items: center; }
.hp-free-copy { min-width: 0; }
.hp-said {
    margin: 18px 0 0; background: var(--fc-card); border: 1px solid var(--fc-line); border-left: 5px solid var(--fc-gold);
    border-radius: 14px; padding: 14px 16px; box-shadow: var(--fc-shadow);
}
.hp-said-text { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--fc-ink); overflow-wrap: anywhere; }
.hp-said-by { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--fc-soft); }
.hp-said-insignia { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.hp-free-actions { margin-top: 18px; }

/* ---------- 6. The checkpoint ---------- */
.hp-checkpoint { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px; align-items: center; }
.hp-checkpoint-copy { min-width: 0; }
.hp-facts { margin-top: 20px; }
.hp-cp {
    position: relative; background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 18px;
    box-shadow: var(--fc-shadow-lg); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.hp-cp-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--fc-line); }
.hp-cp-head img { width: 24px; height: 24px; object-fit: contain; }
.hp-cp-brand { display: flex; flex-direction: column; line-height: 1.1; }
.hp-cp-brand-name { font-family: var(--fc-head); font-weight: 800; font-size: 13px; color: var(--fc-ink); }
.hp-cp-brand-course { font-weight: 700; font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--fc-muted); }
.hp-cp-timer {
    display: flex; align-items: center; justify-content: space-between; padding: 8px 16px;
    background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); font-size: 12px; font-weight: 700; color: var(--fc-soft);
}
.hp-cp-clock { font-family: var(--fc-head); font-weight: 800; font-size: 15px; color: var(--fc-ink); font-variant-numeric: tabular-nums; }
.hp-cp-dots { display: flex; gap: 6px; padding: 10px 16px 0; flex-wrap: wrap; }
.hp-cp-dot {
    width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--fc-line); display: flex;
    align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--fc-muted); background: var(--fc-card);
}
.hp-cp-dot.is-done { background: var(--fc-ink); border-color: var(--fc-ink); color: var(--fc-gold); }
.hp-cp-dot.is-now { border-color: var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.25); color: var(--fc-ink); }
.hp-cp-q { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.hp-cp-qrow { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; align-items: center; }
.hp-cp-text { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--fc-ink); }
.hp-cp-fig { width: 100%; height: auto; display: block; }
.hp-cp-fig-box { fill: var(--fc-gold-soft); stroke: var(--fc-ink); stroke-width: 2; }
.hp-cp-fig-line { stroke: var(--fc-soft); stroke-width: 1.5; fill: none; }
.hp-cp-fig-text { font-family: var(--fc-head); font-weight: 800; font-size: 13px; fill: var(--fc-ink); text-anchor: middle; }
.hp-cp-fig-note { font-family: var(--fc-body); font-weight: 700; font-size: 11px; fill: var(--fc-soft); text-anchor: middle; }
.hp-cp .fc-choice { padding: 9px 12px; font-size: 14px; transition: border-color 0.2s ease, background 0.2s ease; }
.hp-cp-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.hp-cp-btn {
    border: 1.5px solid var(--fc-line); border-radius: 10px; padding: 9px 14px; font-family: var(--fc-head);
    font-weight: 700; font-size: 13px; color: var(--fc-soft); background: var(--fc-card);
}
.hp-cp-btn.is-submit { background: var(--fc-gold); border-color: var(--fc-gold); color: var(--fc-ink); box-shadow: 0 6px 18px rgba(253, 204, 5, 0.35); }
.hp-cp-btn.is-pressed { transform: scale(0.94); }

/* The results card covers the question while the finish plays; it is not
   there at all until the script shows it. */
.hp-cp-result {
    position: absolute; inset: 0; z-index: 2; background: #ecfdf5; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 16px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.hp-cp-result.is-shown { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.hp-cp-unit { margin: 0; font-family: var(--fc-head); font-weight: 800; font-size: 20px; color: var(--fc-ink); }
.hp-cp-sub { margin: 2px 0 6px; font-size: 13px; font-weight: 600; color: var(--fc-soft); }
.hp-cp-score { font-family: var(--fc-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--fc-green); }
.hp-cp-slash { opacity: 0.45; padding: 0 6px; }
/* logoStars draws in a square whose top third is air: pull it up under the score. */
.hp-cp-stars { width: min(340px, 86%); margin: -58px 0 -44px; }

/* ---------- 8. Reviews ---------- */
.hp-review { display: flex; flex-direction: column; gap: 10px; }
.hp-review-tag {
    align-self: flex-start; font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.2px;
    text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--fc-gold); color: var(--fc-ink);
}
.hp-review-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fc-ink-2); flex: 1; }
.hp-review-by { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hp-review-name { font-family: var(--fc-head); font-weight: 800; font-size: 15px; color: var(--fc-ink); }
.hp-review-stars { color: var(--fc-gold-hover); font-size: 13px; letter-spacing: 1px; }

/* ---------- 9. Close and footer ---------- */
.hp-close-actions { justify-content: center; }
.hp-close .fc-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hp-close .fc-btn-ghost:hover { border-color: var(--fc-gold); }
.hp-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.hp-footer-links a { font-weight: 600; }


/* === home/home-desktop.css === */

/**
 * The ASVAB home page — DESKTOP (min-width: 1025px).
 * The base lays the page out for a wide screen. This file keys the short
 * laptop (1280x720) so the title, the action and the whole recordings sphere
 * still sit on the first screen with the header around them.
 */
@media (min-width: 1025px) {
    .hp-ticker { padding-left: 32px; padding-right: 32px; }
}

@media (min-width: 1025px) and (max-height: 760px) {
    .hp-hero { gap: 28px; }
    .hp-links { margin-top: 12px; font-size: 13px; }
}


/* === home/home-tablet.css === */

/**
 * The ASVAB home page — TABLET (769px to 1024px).
 * The header drops its four links (the hamburger's menu carries them). In
 * landscape the hero keeps two columns, the words beside the sphere; in
 * portrait everything stacks and the sphere sits under the words.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hp-nav { display: none; }
    .hp-hero { grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; }
    .hp-room-body { grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); }
    .hp-cards { gap: 12px; }
    .hp-card { padding: 16px; }
    .hp-guide { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
    .hp-guide-photo { width: 200px; }
    .hp-free { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: 24px; }
    .hp-checkpoint { gap: 24px; }
    .hp-cp-qrow { grid-template-columns: 1fr; }
    .hp-cp-fig { max-width: 220px; }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hp-hero { grid-template-columns: 1fr; }
    .hp-sphere { padding: 12px 0 28px; }
    .hp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-free { grid-template-columns: 1fr; }
    .hp-free .fc-next { max-width: 560px; }
    .hp-checkpoint { grid-template-columns: 1fr; }
    .hp-cp { max-width: 620px; }
    .hp-cp-qrow { grid-template-columns: minmax(0, 1fr) 190px; }
}


/* === home/home-mobile-portrait.css === */

/**
 * The ASVAB home page — MOBILE PORTRAIT (max-width: 768px, portrait).
 * One column everywhere. The header keeps the brand, the gold action and the
 * hamburger (Sign In lives in its menu). The hero puts the words and the
 * action on the first screen and the sphere right under them. The room
 * stacks the way the Classroom stacks on a phone: the board, then the chat.
 */
@media (max-width: 768px) and (orientation: portrait) {
    .hp-nav { display: none; }
    .hp-signin { display: none; }

    .hp-hero { grid-template-columns: 1fr; gap: 14px; }
    .hp-hero .fc-sub { margin-bottom: 0; }
    .hp-links { order: 6; margin-top: 0; font-size: 13px; }
    .hp-sphere { order: 7; padding: 34px 0 40px; }

    .hp-room-topic { display: none; }
    .hp-room-body { grid-template-columns: 1fr; }
    .hp-room-video { border-right: 0; }
    .hp-room-stream { flex: none; height: 260px; }
    .hp-room-foot { font-size: 11px; }

    .hp-ticker { gap: 14px; padding: 11px 16px; font-size: 14px; }

    .hp-cards { grid-template-columns: 1fr; gap: 10px; }
    .hp-card { padding: 16px; }

    .hp-guide { grid-template-columns: 1fr; gap: 18px; }
    .hp-guide-photo { width: min(240px, 70%); }

    .hp-free { grid-template-columns: 1fr; gap: 20px; }
    .hp-free-actions .fc-btn { flex: 1 1 100%; }
    .hp-said-text { font-size: 14px; }

    .hp-checkpoint { grid-template-columns: 1fr; gap: 22px; }
    .hp-checkpoint-copy { order: -1; }
    .hp-cp-qrow { grid-template-columns: 1fr; }
    .hp-cp-fig { max-width: 220px; }
    .hp-cp-text { font-size: 15px; }
    .hp-cp-score { font-size: 38px; }

    .hp-program-actions .fc-btn, .hp-close-actions .fc-btn { flex: 1 1 100%; }
    /* The hero's actions are moved down its column by an order; the closing
       card's are not: its small print stays under its buttons. */
    .hp-close-actions { order: 0; }
}

/* The narrowest phones: the header's two controls and the brand on one row. */
@media (max-width: 380px) and (orientation: portrait) {
    .hp-header { gap: 8px; }
    .hp-header .fc-brand-tag { display: none; }
    .hp-room-cap-sub { display: none; }
    .hp-room-credit { grid-template-columns: 1fr; }
}


/* === home/home-mobile-landscape.css === */

/**
 * The ASVAB home page — MOBILE LANDSCAPE (max-width: 926px, landscape).
 * A phone on its side: two columns fit, height is the constraint. The hero
 * keeps its words beside the sphere, drawn smaller so it sits on the screen.
 */
@media (max-width: 926px) and (orientation: landscape) {
    .hp-nav { display: none; }
    .hp-signin { display: none; }

    .hp-hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
    .hp-links { margin-top: 10px; font-size: 12px; gap: 6px 14px; }
    /* The sphere's own stage is 400px; a 390px-tall screen cannot hold it. */
    .hp-sphere { height: 290px; }
    .hp-sphere .recordings-sphere-wrap { transform: scale(0.68); transform-origin: center; }

    .hp-room-topic { display: none; }
    .hp-room-cap-sub { display: none; }
    .hp-room-body { grid-template-columns: minmax(0, 1.5fr) minmax(200px, 1fr); }
    .hp-room-foot { font-size: 11px; }

    .hp-ticker { padding: 9px 20px; font-size: 13px; }
    .hp-cards { gap: 10px; }
    .hp-card { padding: 14px; }
    .hp-card-num { font-size: 24px; }
    .hp-card-title { font-size: 15px; }
    .hp-card-text { font-size: 13px; }

    .hp-guide { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
    .hp-guide-photo { width: 160px; }
    .hp-free { grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 20px; }
    .hp-checkpoint { gap: 20px; }
    .hp-cp-qrow { grid-template-columns: 1fr; }
    .hp-cp-fig { max-width: 200px; }
}


/* === home/home-motion.css === */

/**
 * The ASVAB home page — MOTION (reduced-motion preference only).
 * The results strip stands still, a chat message arrives without sliding and
 * the room's live dot stops pulsing. The scripts read the same preference:
 * the chat shows every message at once and the checkpoint stays on its
 * answered question.
 */
@media (prefers-reduced-motion: reduce) {
    .hp-ticker-track { animation: none; }
    .hp-room-live-dot { animation: none; }
    .hp-room-stream .fc-chat-msg.is-new { animation: none; }
    .hp-cp-result, .hp-cp-result.is-shown { transition: none; }
    .hp-cp .fc-choice { transition: none; }
}


/* === schools/schools-base.css === */

/**
 * The schools and districts page — BASE (no media query).
 *
 * Rebuilt 2026-10-09 on the free class page's frame and furniture and the
 * home page's cards and room: this file is bundled AFTER free-class-* and
 * home-*, so every token (--fc-*), the dashboard lock, the header, the
 * buttons, the eyebrows, the steps, the cards (hp-card), the guide and the
 * room (hp-room) are theirs. Only what this page adds lives here, every
 * selector sd- (the page) or st- (the walkthrough card).
 */

.sd-accent { color: var(--fc-gold-deep); }
/* A label for a screen reader, positioned out of the flow. The scroll region
   is its containing block: an absolutely placed box whose containing block
   is the document escapes the region's clip and makes the DOCUMENT scroll
   (5384px tall on a 900px screen before this line). */
.sd-body .fc-scroll { position: relative; }
.sd-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The frame: header ---------- */
.sd-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; min-width: 0; }
.sd-nav-link {
    font-family: var(--fc-head); font-weight: 700; font-size: 14px; color: var(--fc-soft);
    text-decoration: none; padding: 8px 11px; border-radius: 10px; white-space: nowrap;
}
.sd-nav-link:hover { color: var(--fc-ink); background: var(--fc-line-soft); }
.sd-header .nm-hamburger { flex-shrink: 0; }

/* ---------- 1. Hero: one centred column ---------- */
.sd-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 56px; padding-bottom: 44px; }
.sd-hero-copy { max-width: 780px; display: flex; flex-direction: column; align-items: center; }
.sd-hero .fc-title { font-size: 48px; }
.sd-hero .fc-sub { max-width: 640px; }
.sd-hero .fc-hero-actions { justify-content: center; }
.sd-jrotc { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.sd-jrotc img { width: 44px; height: 44px; object-fit: contain; }

/* ---------- 2 and 7. The cards: the Bonus label, a course's stat line ---------- */
.hp-card-label.is-bonus { color: var(--fc-soft); }
.sd-course-stats { margin: 10px 0 0; font-size: 13px; color: var(--fc-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.sd-course-stats strong { font-family: var(--fc-head); font-weight: 800; font-size: 15px; color: var(--fc-ink); margin-right: 3px; }

/* ---------- 6. The two student screens under the room ---------- */
.sd-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.sd-shot { margin: 0; background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 14px; overflow: hidden; box-shadow: var(--fc-shadow); }
.sd-shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--fc-line); }
.sd-shot figcaption { padding: 12px 16px; font-size: 14px; color: var(--fc-soft); }

/* ---------- 5. The portal console ---------- */
.sd-console {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 18px;
    box-shadow: var(--fc-shadow-lg); overflow: hidden;
}
.sd-console-bar {
    display: flex; gap: 4px; padding: 8px 10px; background: var(--fc-bg); border-bottom: 1px solid var(--fc-line);
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.sd-console-bar::-webkit-scrollbar { display: none; }
.sd-console-tab {
    flex-shrink: 0; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 8px 14px;
    font-family: var(--fc-head); font-weight: 700; font-size: 13px; color: var(--fc-soft); cursor: pointer; white-space: nowrap;
}
.sd-console-tab:hover { color: var(--fc-ink); background: var(--fc-card); }
.sd-console-tab.is-active { background: var(--fc-ink); color: var(--fc-gold); border-color: var(--fc-ink); }
.sd-console-tab:focus-visible { outline: 2px solid var(--fc-gold); outline-offset: 2px; }
/* Without the script every pane stands in a column; once the console is live
   only the active pane shows. */
.sd-console-pane { margin: 0; display: flex; flex-direction: column; }
.sd-console-pane + .sd-console-pane { border-top: 1px solid var(--fc-line); }
.sd-console.is-live .sd-console-pane { display: none; border-top: 0; }
.sd-console.is-live .sd-console-pane.is-active { display: flex; }
.sd-console-img { display: block; width: 100%; height: auto; background: var(--fc-bg); border-bottom: 1px solid var(--fc-line); }
.sd-console-cap { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; }
.sd-console-cap-title { font-family: var(--fc-head); font-weight: 800; font-size: 16px; color: var(--fc-ink); }
.sd-console-cap-text { font-size: 14px; line-height: 1.5; color: var(--fc-soft); }
.sd-portal-foot { margin: 10px 2px 0; font-size: 12px; color: var(--fc-muted); }

/* ---------- 6. The cadet's side ---------- */
.sd-student-facts { margin-top: 18px; }
.sd-student .hp-room-stream { flex: 1 1 0; height: 0; }

/* ---------- 7. The seat and the staff ---------- */
.sd-staff {
    margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 28px; align-items: center;
    background: var(--fc-card); border: 1px solid var(--fc-line); border-left: 5px solid var(--fc-gold); border-radius: 16px;
    padding: 22px 24px; box-shadow: var(--fc-shadow);
}
.sd-staff-title { font-family: var(--fc-head); font-weight: 800; font-size: 20px; color: var(--fc-ink); margin: 0 0 8px; }

/* ---------- 8. Pricing and the quote ---------- */
.sd-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.sd-tier {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 14px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 2px; box-shadow: var(--fc-shadow);
}
.sd-tier.is-best { border: 2px solid var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.2); }
.sd-tier-label { font-family: var(--fc-head); font-weight: 800; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-muted); }
.sd-tier-rate { font-family: var(--fc-head); font-weight: 800; font-size: 30px; line-height: 1; color: var(--fc-ink); font-variant-numeric: tabular-nums; }
.sd-tier-unit { font-size: 12px; font-weight: 600; color: var(--fc-soft); }
.sd-tiers-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--fc-soft); }

.sd-card {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 18px; padding: 24px;
    box-shadow: var(--fc-shadow); display: flex; flex-direction: column; gap: 14px;
}
.sd-card + .sd-card, .sd-tab-content { margin-top: 14px; }
.sd-card-title { font-family: var(--fc-head); font-weight: 800; font-size: 20px; color: var(--fc-ink); margin: 0; }
.sd-card-sub { margin: 0; font-size: 14px; color: var(--fc-soft); }
.sd-input {
    width: 100%; padding: 11px 13px; border: 1.5px solid var(--fc-line); border-radius: 10px; font-family: var(--fc-body);
    font-size: 15px; color: var(--fc-ink); background: var(--fc-card); min-width: 0;
}
.sd-input:focus { outline: none; border-color: var(--fc-gold); box-shadow: 0 0 0 3px rgba(253, 204, 5, 0.22); }
.sd-input:disabled { background: var(--fc-bg); color: var(--fc-muted); }
.sd-textarea { min-height: 130px; resize: vertical; }
.sd-code { font-family: var(--fc-head); font-weight: 800; font-size: 22px; letter-spacing: 6px; text-align: center; max-width: 220px; }
.sd-verify-row { display: flex; gap: 10px; align-items: stretch; }
.sd-verify-row .fc-btn { padding: 11px 18px; font-size: 14px; flex-shrink: 0; }
.sd-status { margin: 0; min-height: 1.2em; font-size: 13px; font-weight: 600; color: var(--fc-soft); }
.sd-status.is-error { color: #b91c1c; }
.sd-status.is-success { color: var(--fc-green); }
.sd-verified {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
    background: var(--fc-green-soft); color: var(--fc-green); font-size: 13px; font-weight: 700;
}
.sd-verified[hidden] { display: none; }

.sd-tabs { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--fc-line); }
.sd-tab {
    border: 0; background: transparent; padding: 12px 16px; font-family: var(--fc-head); font-weight: 700; font-size: 15px;
    color: var(--fc-soft); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.sd-tab.is-active { color: var(--fc-ink); border-bottom-color: var(--fc-gold); }
.sd-tab-help {
    width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--fc-line); background: var(--fc-card);
    font-weight: 800; font-size: 13px; color: var(--fc-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.sd-tab-help:hover { border-color: var(--fc-gold); color: var(--fc-ink); }
.sd-tab-help[hidden] { display: none; }

.sd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sd-field label { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--fc-soft); }
.sd-phone-row { display: flex; align-items: center; gap: 10px; }
.sd-ext-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fc-soft); white-space: nowrap; text-transform: none; letter-spacing: 0; }
.sd-ext { max-width: 90px; }
.sd-ext[hidden] { display: none; }

.sd-schools-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.sd-schools-title { font-family: var(--fc-head); font-weight: 800; font-size: 16px; color: var(--fc-ink); margin: 0; }
.sd-schools { display: flex; flex-direction: column; gap: 10px; }
.sd-school-row {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center;
    padding: 12px 14px; background: var(--fc-bg); border: 1px solid var(--fc-line); border-radius: 12px;
}
.sd-seats { display: grid; grid-template-columns: auto minmax(0, 1fr) 84px; gap: 10px; align-items: center; }
.sd-seats-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--fc-soft); }
.sd-slider { width: 100%; accent-color: var(--fc-ink); min-width: 0; }
.sd-seats-num { padding: 8px 10px; font-weight: 700; text-align: center; }
.sd-remove { border: 1px solid var(--fc-line); background: var(--fc-card); border-radius: 8px; padding: 7px 11px; font-size: 12px; font-weight: 700; color: #b91c1c; cursor: pointer; }
.sd-remove:hover { border-color: #b91c1c; }

.sd-pricing { display: flex; flex-direction: column; gap: 10px; }
.sd-min-note { padding: 12px 14px; border-radius: 10px; background: var(--fc-gold-soft); color: var(--fc-gold-deep); font-size: 14px; font-weight: 700; }
.sd-price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sd-price-table th { text-align: left; padding: 8px 10px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fc-muted); border-bottom: 1px solid var(--fc-line); }
.sd-price-table td { padding: 9px 10px; border-bottom: 1px solid var(--fc-line-soft); color: var(--fc-ink); font-variant-numeric: tabular-nums; }
.sd-price-table th:last-child, .sd-price-table td:last-child { text-align: right; }
.sd-fee-row td { color: var(--fc-soft); font-size: 13px; }
.sd-total-row td { font-family: var(--fc-head); font-weight: 800; font-size: 16px; border-top: 2px solid var(--fc-ink); border-bottom: 0; padding-top: 12px; }
/* the phone's one-line summary under "Total" (the seats and the average); the wide table keeps its cells */
.sd-total-sub { display: none; }
.sd-split-title { font-family: var(--fc-head); font-weight: 800; font-size: 14px; color: var(--fc-ink); margin-top: 6px; }
.sd-coverage { font-size: 13px; color: var(--fc-soft); padding: 10px 12px; background: var(--fc-bg); border-radius: 10px; }
.sd-form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.sd-form-actions .fc-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- 9. The questions ---------- */
.sd-faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; }
.sd-faq-item { background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 12px; box-shadow: var(--fc-shadow); }
.sd-faq-q { list-style: none; cursor: pointer; padding: 14px 44px 14px 18px; font-family: var(--fc-head); font-weight: 700; font-size: 16px; color: var(--fc-ink); position: relative; }
.sd-faq-q::-webkit-details-marker { display: none; }
.sd-faq-q::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 22px; font-weight: 400; color: var(--fc-gold-deep); }
.sd-faq-item[open] .sd-faq-q::after { content: '\2212'; }
.sd-faq-a { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.55; color: var(--fc-soft); }
.sd-faq-a p { margin: 0; }

/* ---------- The walkthrough card ---------- */
.st-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 80; }
.st-overlay[hidden] { display: none; }
.st-highlight { position: relative; z-index: 82; box-shadow: 0 0 0 4px var(--fc-gold), 0 0 0 9px rgba(253, 204, 5, 0.3); border-radius: 12px; background: var(--fc-card); }
.st-card {
    position: fixed; z-index: 84; width: 340px; max-width: calc(100vw - 24px); background: var(--fc-card); border-radius: 16px;
    border: 1px solid var(--fc-line); box-shadow: var(--fc-shadow-lg); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 8px;
}
.st-card[hidden] { display: none; }
.st-card.is-centered { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.st-badge { font-family: var(--fc-head); font-weight: 800; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-gold-deep); }
.st-title { font-family: var(--fc-head); font-weight: 800; font-size: 17px; color: var(--fc-ink); }
.st-body { font-size: 14px; line-height: 1.5; color: var(--fc-soft); }
.st-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.st-progress { font-size: 12px; font-weight: 700; color: var(--fc-muted); }
.st-buttons { display: flex; gap: 6px; }
.st-btn { border: 1px solid var(--fc-line); background: var(--fc-card); border-radius: 8px; padding: 7px 12px; font-family: var(--fc-head); font-weight: 700; font-size: 13px; color: var(--fc-ink); cursor: pointer; }
.st-btn[hidden] { display: none; }
.st-btn-next { background: var(--fc-gold); border-color: var(--fc-gold); }
.st-btn-skip { color: var(--fc-muted); }


/* === schools/schools-desktop.css === */

/**
 * The schools and districts page — DESKTOP (min-width: 1025px).
 * The base lays the page out for a wide screen; this file keys the short
 * laptop (1280x720) so the title, the words and both actions sit above the
 * fold with the frame around them.
 */
@media (min-width: 1025px) and (max-height: 760px) {
    .sd-hero { padding: 28px 32px 24px; }
    .sd-hero .fc-title { font-size: 38px; margin-bottom: 10px; }
    .sd-hero .fc-sub { font-size: 15px; margin-bottom: 14px; }
    .sd-hero .fc-btn-lg { padding: 11px 18px; font-size: 14px; }
    .sd-jrotc { margin-top: 16px; }
    .sd-jrotc img { width: 36px; height: 36px; }
}

/* A desktop narrow enough that four nav links and two header buttons crowd
   the brand: the "Contact Us" button steps into the menu. */
@media (min-width: 1025px) and (max-width: 1180px) {
    .sd-talk { display: none; }
    .sd-nav-link { padding: 8px 9px; font-size: 13px; }
}


/* === schools/schools-tablet.css === */

/**
 * The schools and districts page — TABLET (769px to 1024px).
 * The header drops its page links (the menu carries them); two columns
 * survive where they read; the tiers go two by two.
 */
@media (min-width: 769px) and (max-width: 1024px) {
    .sd-nav { display: none; }
    .sd-talk { display: none; }
    .sd-hero { padding: 40px 24px 32px; }
    .sd-hero .fc-title { font-size: 40px; }
    .sd-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sd-school-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; }
}

/* A tablet in portrait is tall and narrow: the room stacks like the
   Classroom's phone view. */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .hp-room-body { grid-template-columns: 1fr; }
    .hp-room-video { border-right: 0; }
    .sd-student .hp-room-stream { flex: none; height: 240px; }
}


/* === schools/schools-mobile-portrait.css === */

/**
 * The schools and districts page — MOBILE PORTRAIT (max-width: 768px, portrait).
 * One column everywhere. The header keeps the brand, the gold action and
 * the hamburger; the hero puts the words and the action on the first screen
 * and the seat card right under them. Forms stack; the tiers go two by two.
 */
@media (max-width: 768px) and (orientation: portrait) {
    .sd-nav { display: none; }
    .sd-talk { display: none; }

    .sd-hero { padding: 28px 16px 22px; }
    .sd-hero .fc-hero-copy { display: flex; }
    .sd-hero .fc-title { font-size: 32px; }
    .sd-hero .fc-sub { margin-bottom: 0; }
    .sd-hero .fc-hero-actions { width: 100%; margin-top: 16px; }
    .sd-hero .fc-hero-actions .fc-btn { flex: 1 1 100%; }
    .sd-jrotc { margin-top: 18px; gap: 10px; }
    .sd-jrotc img { width: 36px; height: 36px; }
    .sd-shots { grid-template-columns: 1fr; gap: 12px; }

    .hp-cards { grid-template-columns: 1fr; gap: 10px; }
    .hp-card { padding: 16px; }

    .hp-guide { grid-template-columns: 1fr; gap: 18px; }
    .hp-guide-photo { width: min(240px, 70%); }

    /* The tab bar scrolls sideways on a phone; the fade says so. */
    .sd-console-bar {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
        mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
    }
    .sd-console-cap { padding: 12px 14px 14px; }
    .sd-console-cap-title { font-size: 15px; }
    .sd-console-cap-text { font-size: 13.5px; }

    .hp-room-topic { display: none; }
    .hp-room-body { grid-template-columns: 1fr; }
    .hp-room-video { border-right: 0; }
    .sd-student .hp-room-stream { flex: none; height: 240px; }

    .sd-staff { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }

    .sd-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sd-tier { padding: 12px 14px; }
    .sd-tier-rate { font-size: 26px; }
    .sd-card { padding: 18px 16px; border-radius: 14px; }
    .sd-card-title { font-size: 18px; }
    .sd-verify-row { flex-direction: column; }
    .sd-code { max-width: none; }
    .sd-form-row { grid-template-columns: 1fr; gap: 12px; }
    .sd-tab { padding: 10px 12px; font-size: 14px; }
    .sd-school-row { grid-template-columns: 1fr; gap: 10px; }
    .sd-seats { grid-template-columns: auto minmax(0, 1fr) 76px; }
    .sd-remove { justify-self: end; }
    .sd-price-table { font-size: 13px; }
    .sd-price-table th, .sd-price-table td { padding: 8px 6px; }
    /* a tier's label stays on one line ("Seats 51-100" broke into three) */
    .sd-price-table td:first-child { white-space: nowrap; }
    .sd-fee-row td:first-child { white-space: normal; }
    /* Four columns do not fit a phone (the subtotal was pushed off the screen):
       the Seats column goes (the tier's label already names its seats) and the
       total row's seats and average fold into one line under "Total". */
    .sd-tiers-table th:nth-child(2), .sd-tiers-table td:nth-child(2) { display: none; }
    .sd-tiers-table .sd-total-row td:nth-child(3) { display: none; }
    .sd-total-row td { font-size: 15px; }
    .sd-total-sub { display: block; font-family: var(--fc-body); font-weight: 400; font-size: 12px; color: var(--fc-soft); white-space: normal; margin-top: 2px; }
    .sd-form-actions .fc-btn-lg { width: 100%; }

    .sd-faq-q { font-size: 15px; padding: 12px 40px 12px 14px; }
    .sd-faq-a { padding: 0 14px 14px; font-size: 14px; }

    .hp-close-actions .fc-btn { flex: 1 1 100%; }
    .hp-close-actions { order: 0; }
}

/* The iPhone SE (375x667): tighter still, so the title and the action both
   sit on the first screen. */
@media (max-width: 768px) and (orientation: portrait) and (max-height: 700px) {
    .sd-hero { padding: 16px 16px 14px; }
    .sd-hero .fc-title { font-size: 27px; }
    .sd-hero .fc-sub { font-size: 14px; }
    .sd-jrotc { margin-top: 12px; }
}

/* The narrowest phones: the header's controls and the brand on one row. */
@media (max-width: 380px) and (orientation: portrait) {
    .sd-header { gap: 8px; }
    .sd-header .fc-brand-tag { display: none; }
    .hp-room-cap-sub { display: none; }
    .hp-room-credit { grid-template-columns: 1fr; }
    .sd-tiers { grid-template-columns: 1fr; }
}


/* === schools/schools-mobile-landscape.css === */

/**
 * The schools and districts page — MOBILE LANDSCAPE (max-width: 926px, landscape).
 * A phone on its side: two columns fit, the height is the constraint, so the
 * header goes thin and the hero drops its padding. The seat card keeps its
 * column; its small print goes.
 */
@media (max-width: 926px) and (orientation: landscape) {
    .sd-nav { display: none; }
    .sd-talk { display: none; }

    .sd-hero { padding: 16px 20px 14px; }
    .sd-hero .fc-title { font-size: 28px; margin-bottom: 8px; }
    .sd-hero .fc-sub { font-size: 13.5px; margin-bottom: 10px; }
    .sd-hero .fc-btn-lg { padding: 10px 14px; font-size: 13.5px; }
    .sd-jrotc { margin-top: 12px; gap: 8px; }
    .sd-jrotc img { width: 28px; height: 28px; }

    .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .hp-card { padding: 14px; }
    .hp-card-title { font-size: 15px; }
    .hp-card-text { font-size: 13px; }

    .hp-guide { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
    .hp-guide-photo { width: 180px; }

    .sd-console-tab { padding: 7px 12px; font-size: 12px; }
    .sd-staff { padding: 16px 18px; gap: 18px; }
    .sd-tiers { gap: 10px; }
    .sd-tier { padding: 12px; }
    .sd-tier-rate { font-size: 24px; }
    .sd-card { padding: 18px; }
    .sd-school-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; }
}


/* === schools/schools-motion.css === */

/**
 * The schools and districts page — reduced motion. A base tier carries no
 * media query of any kind; the one that is not a viewport lives here.
 */
@media (prefers-reduced-motion: reduce) {
    .sd-body .fc-scroll { scroll-behavior: auto; }
    .sd-body .fc-btn, .sd-body .hp-cp .fc-choice { transition: none; }
}


/* === recruiters/recruiters-base.css === */

/**
 * The recruiter landing page (/recruiters/ signed out) — BASE (no media query).
 *
 * Bundled AFTER free-class-*, home-* and schools-* (recruiters.bundle.css):
 * every token (--fc-*), the dashboard lock, the header, the buttons, the
 * steps, the cards (hp-card), the room (hp-room), the console and the
 * questions (sd-*) are theirs. Only what this page adds lives here, every
 * selector rl-.
 */

/* ---------- 1. Hero ---------- */
.rl-hero-note { margin: 14px 0 0; font-size: 14px; color: var(--fc-muted); text-wrap: balance; }
.rl-branches { margin-top: 22px; }

/* ---------- 2. The problem and the guide ---------- */
.rl-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rl-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rl-guide {
    margin: 26px 0 0; display: flex; align-items: flex-start; gap: 18px;
    background: var(--fc-ink); color: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: var(--fc-shadow-lg);
}
.rl-guide-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: var(--fc-ink-2); object-fit: cover; }
.rl-guide-quote { margin: 0; }
.rl-guide-quote p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: #fff; }
.rl-guide-who { font-family: var(--fc-head); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; color: var(--fc-gold); }

/* ---------- 3, 7. The call between sections ---------- */
.rl-mid-actions { justify-content: center; margin-top: 28px; }

/* ---------- 6. What the applicant gets ---------- */
.rl-gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.rl-get { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--fc-soft); }
.rl-get b { color: var(--fc-ink); font-weight: 700; }
/* The check: a gold ring and a tick drawn as two borders of a turned box. */
.rl-get-mark {
    position: relative; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background: var(--fc-gold-soft); box-shadow: inset 0 0 0 2px var(--fc-gold);
}
.rl-get-mark::after {
    content: ''; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px;
    border: solid var(--fc-gold-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.rl-free-note { margin: 18px 0 0; font-size: 14px; color: var(--fc-muted); }
.rl-room { margin-top: 22px; }
.rl-room .hp-room-stream { flex: 1 1 0; height: 0; }

/* ---------- 7. Seats ---------- */
.rl-seat-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; align-items: stretch; }
.rl-seat-card {
    background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: 18px; padding: 24px;
    box-shadow: var(--fc-shadow); display: flex; flex-direction: column; gap: 8px;
}
.rl-seat-free { border-top: 5px solid var(--fc-gold); }
.rl-seat-paid { border-top: 5px solid var(--fc-ink); }
.rl-seat-tag { margin: 0; font-family: var(--fc-head); font-weight: 800; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fc-gold-deep); }
.rl-seat-paid .rl-seat-tag { color: var(--fc-soft); }
.rl-seat-title { margin: 0; font-family: var(--fc-head); font-weight: 800; font-size: 22px; color: var(--fc-ink); }
.rl-seat-price { margin: 2px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.rl-seat-amount { font-family: var(--fc-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--fc-ink); font-variant-numeric: tabular-nums; }
.rl-seat-per { font-size: 15px; font-weight: 600; color: var(--fc-soft); }
.rl-seat-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fc-soft); }
.rl-seat-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.rl-seat-table th, .rl-seat-table td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--fc-line-soft); }
.rl-seat-table thead th {
    font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--fc-muted); font-weight: 700;
    border-bottom: 1px solid var(--fc-line);
}
.rl-seat-table th:first-child, .rl-seat-table td:first-child { text-align: left; }
.rl-seat-table tbody th { font-family: var(--fc-head); font-weight: 800; color: var(--fc-ink); }
.rl-seat-table td { color: var(--fc-ink); font-weight: 600; }
.rl-seat-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--fc-soft); }
/* each point carries the smaller twin of the check above */
.rl-seat-points li { position: relative; padding-left: 26px; }
.rl-seat-points li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
    background: var(--fc-gold-soft); box-shadow: inset 0 0 0 1.5px var(--fc-gold);
}
.rl-seat-points li::after {
    content: ''; position: absolute; left: 6px; top: 5px; width: 4px; height: 8px;
    border: solid var(--fc-gold-deep); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.rl-bulk { margin: 16px 0 0; font-size: 14px; color: var(--fc-soft); text-align: center; }
.rl-bulk a { color: var(--fc-ink); font-weight: 700; }


/* === recruiters/recruiters-desktop.css === */

/**
 * The recruiter landing page — DESKTOP (1025px and wider). A short laptop
 * screen tightens the hero so the title, the words and both actions are on
 * the first screen; a narrow desktop gives the four leader cards two rows.
 */

@media (min-width: 1025px) and (max-height: 760px) {
    .rl-hero { padding-top: 36px; padding-bottom: 30px; }
    .rl-branches { margin-top: 16px; }
}

@media (min-width: 1025px) and (max-width: 1180px) {
    .rl-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* === recruiters/recruiters-tablet.css === */

/**
 * The recruiter landing page — TABLET (769px to 1024px).
 */

@media (min-width: 769px) and (max-width: 1024px) {
    .rl-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* the room goes one column at this width (schools-tablet.css) */
    .rl-room .hp-room-stream { flex: none; height: 240px; }
    .rl-guide-quote p { font-size: 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .rl-cards-3 { grid-template-columns: 1fr; }
    .rl-gets { grid-template-columns: 1fr; }
    .rl-seat-grid { grid-template-columns: 1fr; }
}


/* === recruiters/recruiters-mobile-portrait.css === */

/**
 * The recruiter landing page — PHONE, PORTRAIT (768px and narrower). One
 * column; the header keeps the brand, the gold action and the menu (Sign In
 * moves to the menu and the final card).
 */

@media (max-width: 768px) and (orientation: portrait) {
    .rl-signin { display: none; }
    /* the phone hero orders its pieces (free-class-mobile-portrait.css): the
       note and the branches come after the actions, never before the title */
    .rl-hero-note { order: 6; }
    .rl-branches { order: 7; }
    .rl-room .hp-room-stream { flex: none; height: 260px; }
    .rl-cards-3, .rl-cards-4 { grid-template-columns: 1fr; }
    .rl-guide { flex-direction: column; gap: 12px; padding: 18px; }
    .rl-guide-img { width: 52px; height: 52px; }
    .rl-guide-quote p { font-size: 15px; }
    .rl-gets { grid-template-columns: 1fr; gap: 12px; }
    .rl-get { font-size: 14.5px; }
    .rl-seat-grid { grid-template-columns: 1fr; }
    .rl-seat-card { padding: 18px; }
    .rl-seat-amount { font-size: 34px; }
    .rl-seat-table th, .rl-seat-table td { padding: 8px 6px; }
    .rl-mid-actions .fc-btn { flex: 1 1 100%; }
}

@media (max-width: 380px) and (orientation: portrait) {
    .rl-hero-note { font-size: 13px; }
    .rl-seat-table { font-size: 13px; }
}


/* === recruiters/recruiters-mobile-landscape.css === */

/**
 * The recruiter landing page — PHONE, LANDSCAPE (926px and narrower).
 */

@media (max-width: 926px) and (orientation: landscape) {
    .rl-signin { display: none; }
    .rl-hero-note { margin-top: 10px; font-size: 13px; }
    .rl-branches { margin-top: 14px; }
    .rl-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-guide { padding: 16px 18px; }
    .rl-guide-quote p { font-size: 15px; }
    .rl-seat-card { padding: 18px; }
    .rl-mid-actions { margin-top: 20px; }
}
