/*
 * Public CSS Bundle: schedule.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: _public-base.css, schedule-base.css, schedule-desktop.css, schedule-mobile-portrait.css, schedule-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;
}

.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;
}

/* 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;
}


/* === schedule-base.css === */

/*
 * Schedule Page — BASE (no media queries; per the CSS bundle pattern the
 * viewport files carry layout overrides only).
 *
 * Brand language = the classroom design system (gold / slate / white cards,
 * green FREE + gold PROGRAM semantics). TOKEN SOURCE OF TRUTH:
 * modules/classroom/static/css/classroom-student-base.css — values replicated
 * verbatim under --sch-*.
 */

:root {
    --sch-gold: #fdcc05;
    --sch-gold-soft: #fef3c7;
    --sch-gold-hover: #f59e0b;
    --sch-gold-deep: #b45309;
    --sch-slate: #0f172a;
    --sch-slate-light: #1e293b;
    --sch-text: #0f172a;
    --sch-text-muted: #475569;
    --sch-text-soft: #64748b;
    --sch-border: #e2e8f0;
    --sch-border-soft: #f1f5f9;
    --sch-bg: #f8fafc;
    --sch-card: #ffffff;
    --sch-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    --sch-shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.10);
    --sch-green: #047857;
    --sch-green-soft: #d1fae5;
    --sch-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* ONE family page-wide (the classroom voice): display = Inter 800 tight,
       eyebrows = Inter 800 uppercase letter-spaced. TYPE SCALE (readable, no
       micro-text): eyebrow 0.7rem / small 0.85rem / body 0.95rem / lead
       1.05rem / card title 1.35rem / section title 1.7rem / hero 2.2rem. */
    --sch-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--sch-font);
    background: var(--sch-bg);
    color: var(--sch-text);
    line-height: 1.6;
}

/* ============ Header ============ */
.header {
    background: var(--sch-card);
    border-bottom: 1px solid var(--sch-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--sch-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--sch-slate);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sch-gold-deep);
    letter-spacing: 0.5px;
}

.header-title {
    font-family: var(--sch-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--sch-slate);
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-signin {
    padding: 8px 14px;
    background: transparent;
    color: var(--sch-text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--sch-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.header-signin:hover {
    border-color: var(--sch-gold);
    color: var(--sch-slate);
}

.header-cta,
.header-account {
    padding: 8px 16px;
    background: var(--sch-gold);
    color: var(--sch-slate);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-cta:hover,
.header-account:hover {
    background: var(--sch-gold-hover);
    color: #ffffff;
}

/* ============ Hero ============ */
.hero {
    background: var(--sch-slate);
    padding: 44px 20px;
    text-align: center;
}

.hero-title {
    font-family: var(--sch-display);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
    margin: 0 0 8px;
}

.hero-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--sch-gold);
    border-radius: 999px;
    margin: 12px auto 0;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 auto;
    max-width: 560px;
}

/* ============ Layout: rail + calendar ============ */
.schedule-layout {
    display: flex;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.schedule-rail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============ Countdown card ============ */
.countdown-section {
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: 16px;
    box-shadow: var(--sch-shadow);
    padding: 20px;
}

.countdown-heading {
    font-family: var(--sch-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--sch-text-soft);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px;
    text-align: center;
}

.countdown-in-session {
    display: inline-block;
    padding: 8px 16px;
    background: var(--sch-green);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    animation: sch-pulse-green 2s infinite;
}

@keyframes sch-pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(4, 120, 87, 0); }
}

.tooltip-zoom-link,
.countdown-zoom-link {
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--sch-text-soft);
    word-break: break-all;
    font-family: monospace;
    text-align: center;
}

/* Countdown LAYOUT lives in the viewport files: desktop + mobile landscape
   stack the slide vertically for the narrow rail (and reserve the stacked
   height — the slides are ABSOLUTE carousel layers, see _public-base.css);
   mobile portrait keeps the component's natural horizontal strip. */

/* Countdown type on the page scale — Inter ONLY. The shared timer rides
   --font-heading (Space Grotesk) in _public-base.css; overriding the PARENT
   makes digits and unit labels both inherit the page font. */
.countdown-section .countdown-timer {
    font-family: var(--sch-font);
}
.countdown-section .countdown-date {
    font-family: var(--sch-font);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--sch-text);
}

.countdown-section .countdown-time {
    font-size: 0.9rem;
    color: var(--sch-text-soft);
}

.countdown-section .countdown-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.countdown-section .countdown-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sch-slate);
}

.countdown-section .countdown-unit {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--sch-text-soft);
}

/* Shared countdown component (_class_countdown.html) rides _public-base.css
   with the OLD blue/purple styling — rebrand it HERE (scoped, so other pages
   keep their look until their own overhauls). */
.countdown-section .countdown-btn {
    background: var(--sch-gold);
    color: var(--sch-slate);
    font-weight: 800;
}

.countdown-section .countdown-btn:hover {
    background: var(--sch-gold-hover);
    color: #ffffff;
}

.countdown-section .countdown-btn.btn-disabled {
    background: var(--sch-bg);
    color: var(--sch-text-soft);
    border: 1px solid var(--sch-border);
}

.countdown-section .countdown-dot.active {
    background: var(--sch-slate);
}

.countdown-section .countdown-badge.badge-free {
    background: var(--sch-green-soft);
    color: var(--sch-green);
}

.countdown-section .countdown-badge.badge-program {
    background: var(--sch-gold-soft);
    color: var(--sch-gold-deep);
}

/* ============ Free Replay card (proof of product) ============ */
.free-replay-card {
    background: var(--sch-slate);
    border-radius: 16px;
    box-shadow: var(--sch-shadow-lg);
    padding: 22px 20px;
    color: #ffffff;
}

.fr-eyebrow {
    display: inline-block;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sch-slate);
    background: var(--sch-gold);
    padding: 4px 11px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.fr-topic {
    font-family: var(--sch-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin: 0 0 2px;
    color: #ffffff;
}

.fr-date {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0 0 10px;
}

.fr-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 16px;
}

.fr-cta {
    display: block;
    width: 100%;
    padding: 13px 16px;
    background: var(--sch-gold);
    color: var(--sch-slate);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    border: none;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.fr-cta:hover {
    background: var(--sch-gold-hover);
    color: #ffffff;
}

.fr-note {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin: 8px 0 0;
}

/* ============ Calendar ============ */
.calendar-section {
    flex: 1;
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: 16px;
    box-shadow: var(--sch-shadow);
    padding: 20px;
    min-width: 0;
}

.calendar-legend {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot-free { background: var(--sch-green); }
.legend-dot-program { background: var(--sch-gold); }

.legend-glyph {
    display: flex;
    align-items: center;
    color: var(--sch-text-muted);
}

.legend-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sch-text-soft);
}

.calendar {
    background: var(--sch-bg);
    border: 1px solid var(--sch-border);
    border-radius: 12px;
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--sch-slate);
}

.calendar-weekday {
    padding: 10px 4px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    min-height: 58px;
    border: 1px solid var(--sch-border);
    background: var(--sch-card);
    cursor: default;
    transition: background 0.12s ease, box-shadow 0.12s ease;
}

.calendar-day.has-class { cursor: pointer; }

.calendar-day.has-class:hover {
    background: var(--sch-border-soft);
    z-index: 1;
    box-shadow: var(--sch-shadow);
}

.calendar-day.is-today {
    background: var(--sch-border-soft);
    border-color: var(--sch-slate);
    box-shadow: inset 0 0 0 1px var(--sch-slate);
}

.calendar-day.is-today .day-number {
    background: var(--sch-slate);
    color: #ffffff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.is-next-class {
    background: var(--sch-gold-soft);
}

.calendar-day.is-next-class::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: var(--sch-gold-hover);
    border-radius: 50%;
}

.calendar-day.is-live-day {
    background: var(--sch-green-soft);
    box-shadow: inset 0 0 0 1px var(--sch-green);
}

.day-number {
    font-family: var(--sch-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sch-text);
}

.day-dots {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
}

.day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.day-dot-free { background: var(--sch-green); }
.day-dot-program { background: var(--sch-gold); }

/* Replay-ready glyph on a past day; gold ring when it's the FREE replay */
.day-replay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sch-slate);
    color: #ffffff;
}

.day-replay svg { display: block; }

.day-replay-free {
    background: var(--sch-gold);
    color: var(--sch-slate);
}

.day-month {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--sch-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ Tooltip ============ */
.class-tooltip {
    position: absolute;
    z-index: 200;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.class-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.tooltip-content {
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: 12px;
    box-shadow: var(--sch-shadow-lg);
    padding: 16px;
    min-width: 230px;
    max-width: 300px;
}

.tooltip-class { text-align: center; }

.tooltip-class + .tooltip-class {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--sch-border);
}

.tooltip-badge {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 2px 6px;
}

.tooltip-badge-free {
    background: var(--sch-green-soft);
    color: var(--sch-green);
}

.tooltip-badge-program {
    background: var(--sch-gold-soft);
    color: var(--sch-gold-deep);
}

.tooltip-badge-live {
    background: var(--sch-green);
    color: #ffffff;
    animation: sch-pulse-green 2s infinite;
}

.tooltip-topic {
    font-family: var(--sch-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--sch-text);
    margin: 0 0 2px;
}

.tooltip-time {
    font-size: 0.9rem;
    color: var(--sch-text-soft);
    margin: 0 0 10px;
}

.tooltip-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.tooltip-chip {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sch-text-muted);
    background: var(--sch-bg);
    border: 1px solid var(--sch-border);
    border-radius: 999px;
    padding: 3px 10px;
}

.tooltip-note {
    font-size: 0.85rem;
    color: var(--sch-text-soft);
    margin: 0 0 6px;
}

.tooltip-btn {
    display: block;
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-family: inherit;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
}

.tooltip-btn + .tooltip-btn { margin-top: 6px; }

.tooltip-btn-primary {
    background: var(--sch-gold);
    color: var(--sch-slate);
}

.tooltip-btn-primary:hover {
    background: var(--sch-gold-hover);
    color: #ffffff;
}

.tooltip-btn-live {
    background: var(--sch-green);
    color: #ffffff;
}

.tooltip-btn-live:hover { background: #065f46; }

.tooltip-btn-secondary {
    background: var(--sch-bg);
    color: var(--sch-text);
    border: 1px solid var(--sch-border);
}

.tooltip-btn-secondary:hover { background: var(--sch-border-soft); }

.tooltip-btn-disabled {
    background: var(--sch-bg);
    color: var(--sch-text-soft);
    border: 1px solid var(--sch-border);
    cursor: not-allowed;
}

/* ============ Flow strip: every class lives on ============ */
.flow-section {
    padding: 40px 20px 10px;
}

.flow-content {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.flow-title {
    font-family: var(--sch-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--sch-slate);
    margin: 0 0 4px;
}

.flow-subtitle {
    font-size: 1rem;
    color: var(--sch-text-soft);
    margin: 0 0 24px;
}

.flow-steps {
    display: flex;
    gap: 16px;
}

.flow-step {
    flex: 1;
    background: var(--sch-card);
    border: 1px solid var(--sch-border);
    border-radius: 14px;
    box-shadow: var(--sch-shadow);
    padding: 22px 18px;
    text-align: left;
}

.flow-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sch-gold);
    color: var(--sch-slate);
    font-family: var(--sch-display);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.flow-step-title {
    font-family: var(--sch-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: var(--sch-text);
    margin: 0 0 6px;
}

.flow-step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--sch-text-muted);
    margin: 0;
}

.flow-footnote {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sch-text-muted);
    margin: 20px 0 0;
}

/* ============ CTA ============ */
.cta-section {
    padding: 36px 20px 48px;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    background: var(--sch-slate);
    border-radius: 18px;
    padding: 34px 26px;
    text-align: center;
}

.cta-title {
    font-family: var(--sch-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
    margin: 0 0 6px;
}

.cta-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0 0 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-button {
    padding: 13px 26px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.cta-button-primary {
    background: var(--sch-gold);
    color: var(--sch-slate);
}

.cta-button-primary:hover {
    background: var(--sch-gold-hover);
    color: #ffffff;
}

.cta-button-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #334155;
}

.cta-button-secondary:hover { border-color: var(--sch-gold); }

/* ============ Footer ============ */
.footer {
    border-top: 1px solid var(--sch-border);
    padding: 20px;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--sch-text-soft);
    margin: 0;
}

.footer-text a {
    color: var(--sch-text);
    font-weight: 600;
}


/* === schedule-desktop.css === */

/*
 * Schedule Page — Desktop layout overrides (>= 769px).
 * Base (schedule-base.css) carries all styling; this file is layout only.
 * Natural page scroll: rail (countdown + free replay) beside the calendar,
 * flow strip + CTA + footer below.
 */

@media (min-width: 769px) {

.schedule-rail {
    width: 300px;
    flex-shrink: 0;
}

/* Narrow rail: stack the countdown slide vertically and reserve the stacked
   height (the slides are absolute carousel layers). */
.countdown-section .countdown-slides {
    min-height: 250px;
}

.countdown-section .countdown-slide {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.countdown-section .countdown-left,
.countdown-section .countdown-right {
    align-items: center;
}

.hero {
    padding: 36px 20px;
}

/* Calendar cells breathe on big screens */
.calendar-day {
    min-height: 72px;
}

} /* End min-width: 769px */


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

/*
 * Schedule Page — Mobile portrait layout overrides.
 * Base carries all styling; this file is layout only.
 *
 * The calendar IS the page — it must be reachable on the first screen:
 * slim hero, compact countdown strip, calendar immediately after, replay
 * card below the calendar. The rail dissolves (display: contents) so its
 * cards interleave with the calendar in one flex column.
 */

@media (max-width: 768px) and (orientation: portrait) {

.header { padding: 10px 14px; }
.header-title { display: none; }
.header-cta { display: none; }

.hero {
    padding: 18px 18px 20px;
}

.hero-title { font-size: 1.45rem; margin-bottom: 6px; }
.hero-subtitle { font-size: 0.88rem; }

.schedule-layout {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
}

/* Rail dissolves: countdown strip (0) -> calendar (1) -> replay card (2) */
.schedule-rail { display: contents; }
.calendar-section { order: 1; }
.free-replay-card { order: 2; }

/* --- Compact countdown strip ------------------------------------------- */
/* Only the ACTIVE slide stays in flow (no absolute layers, no reserved
   height) so the strip hugs its content on every phone width. */
.countdown-section { padding: 12px 14px 10px; }

.countdown-section .class-countdown { padding: 0; }

.countdown-heading { margin-bottom: 8px; }

.countdown-section .countdown-slides { min-height: 0; }

.countdown-section .countdown-slide {
    position: static;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
}

.countdown-section .countdown-slide.active { display: flex; }

/* Timer and CTA leave the right-hand column. Each gets its OWN full-width
   row (flex-basis 100%) so the arrangement is identical on every slide —
   left to auto-wrap, the timer lands beside short dates and under long
   ones, which read as three different layouts. */
.countdown-section .countdown-right { display: contents; }

.countdown-section .countdown-timer {
    gap: 8px;
    flex: 1 1 100%;
}

.countdown-section .countdown-btn {
    flex: 1 1 100%;
    text-align: center;
}

/* ----------------------------------------------------------------------- */

.calendar-section { padding: 12px; }

.calendar-legend {
    justify-content: center;
    gap: 14px;
}

.calendar-day {
    min-height: 52px;
    padding: 4px 2px;
}

.flow-section { padding: 28px 14px 6px; }

.flow-steps {
    flex-direction: column;
    gap: 12px;
}

.cta-section { padding: 24px 14px 36px; }

} /* End mobile portrait */


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

/*
 * Schedule Page — Mobile landscape layout overrides.
 * Base carries all styling; this file is layout only. The rail sits beside
 * the calendar like desktop, just tighter.
 */

@media (max-width: 900px) and (orientation: landscape) {

.header { padding: 8px 14px; }
.header-title { display: none; }

.hero { padding: 22px 16px; }
.hero-title { font-size: 1.5rem; margin-bottom: 4px; }
.hero-subtitle { font-size: 0.85rem; }

.schedule-layout {
    padding: 14px;
    gap: 14px;
}

.schedule-rail { width: 250px; }

/* Rail sits beside the calendar here too — same stacked countdown form */
.countdown-section .countdown-slides {
    min-height: 250px;
}

.countdown-section .countdown-slide {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.countdown-section .countdown-left,
.countdown-section .countdown-right {
    align-items: center;
}

.calendar-section { padding: 14px; }

.calendar-day {
    min-height: 46px;
    padding: 3px 2px;
}

.flow-section { padding: 24px 14px 4px; }

.flow-steps { gap: 12px; }

.flow-step { padding: 16px 14px; }

.cta-section { padding: 20px 14px 30px; }

} /* End mobile landscape */
