@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

/* ============================================================================
   MYLEARNINGMAPS / STANDARDSUNPACK UNIFIED STYLESHEET
   Consolidated from Figma design system + app styles
   Last updated: January 2026
   ============================================================================ */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    /* BRAND COLORS */
    --dark-raspberry: #9f0e54;
    --sunflower-gold: #e7b10e;
    --stormy-teal: #0b5b5b;
    --stormy-teal-light: #0c8686;
    --misty-teal: #c2d6d6;

    /* ACCENT COLORS */
    --stormy-teal-accent: #28707c;
    --vintage-grape: #4f405f;
    --crimson-violet: #760f41;
    --red-ochre: #cf4b1d;
    --reddish-brown: #af4e3b;
    --dark-teal: #214247;
    --hunter-green: #2f5b36;

    /* LIGHT ACCENT COLORS */
    --light-cyan: #d4eaed;
    --alabaster-grey: #e3dee3;
    --petal-frost: #f1d0e4;
    --powder-petal: #fcdcc5;
    --lemon-chiffon: #fcf0c5;
    --powder-petal-warm: #efd9d2;
    --light-cyan-soft: #d5ebec;
    --honeydew: #cde0d0;

    /* LEGACY ALIASES (for backward compatibility) */
    --teal: var(--stormy-teal);
    --teal-dark: rgba(11, 91, 91, 1);
    --teal-light: var(--stormy-teal-light);
    --yellow: var(--sunflower-gold);
    --red: var(--dark-raspberry);
    --primary-red: rgba(159, 14, 84, 1);
    --accent-yellow: rgba(231, 177, 14, 1);
    --teal-white: rgba(252, 254, 255, 1);
    --dark: rgba(15, 43, 60, 1);
    --light: rgba(194, 214, 214, 1);
    --green: rgba(0, 187, 97, 1);
    --grey: rgba(230, 230, 230, 1);
    --teal-light-12: rgba(12, 134, 134, 0.12);
    --yellow-12: rgba(231, 177, 14, 0.12);
    --yellow-22: rgba(231, 177, 14, 0.22);
    --dark-80: rgba(15, 43, 60, 0.8);
    --teal-dark-18: rgba(11, 91, 91, 0.18);
    --dark-12: rgba(15, 43, 60, 0.12);
    --red-22: rgba(159, 14, 84, 0.22);
    --red-12: rgba(159, 14, 84, 0.12);
    --red-hover: rgba(179, 34, 104, 1);
    --yellow-hover: rgba(251, 197, 34, 1);
    --whiteyellow-22: rgba(255, 255, 255, 1);

    /* NEUTRALS */
    --ink: #0f2b3c;
    --cloud: #f6fbfd;
    --cream: #fff7e8;
    --white: #ffffff;

    /* GRAYS - adjusted for WCAG AA contrast (4.5:1 text, 3:1 UI components) */
    --gray-50: #f8fafb;
    --gray-100: #f5f8f8;
    --gray-200: #e6e6e6;
    --gray-300: #9ca3af;
    --gray-400: #8a8a8a;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;

    /* SEMANTIC COLORS */
    --success: #00bb60;
    --success-light: #e8f7ef;
    --success-border: #c6e9d2;
    --warning: #f5b82d;
    --warning-light: #fff9e6;
    --warning-border: #ffe9b3;
    --error: #be1e2d;
    --error-light: #ffe6e6;
    --error-border: #ffcccc;
    --info-light: #dbe9fd;
    --info-border: #90caf9;
    --info: #1976d2;

    /* TYPOGRAPHY */
    --font-heading: 'Lato', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* FIGMA SHADOW TOKENS */
    --item: 0px 10px 15px 0px rgba(128, 170, 171, 0.17);
    --cta-yellow-hover: 4px 4px 12px 0px rgba(243, 199, 57, 0.65);
    --card: 0px 10px 15px 0px rgba(128, 170, 171, 0.06);
    --cta-red-hover: 4px 4px 12px 0px rgba(246, 51, 52, 0.44);
    --map-item-teal: 0px 10px 15px 0px rgba(140, 178, 179, 0.62);

    /* FONT SIZES */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 22px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 32px;
    --text-5xl: 36px;
    --text-6xl: 48px;

    /* FONT WEIGHTS */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* LINE HEIGHTS */
    --leading-tight: 1.1;
    --leading-snug: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;

    /* SPACING */
    --space-0: 0;
    --space-1: 1px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-14: 14px;
    --space-16: 16px;
    --space-18: 18px;
    --space-20: 20px;
    --space-22: 22px;
    --space-24: 24px;
    --space-26: 26px;
    --space-28: 28px;
    --space-32: 32px;
    --space-40: 40px;
    --space-48: 48px;
    --space-50: 50px;
    --space-64: 64px;
    --space-70: 70px;
    --space-90: 90px;

    /* BORDER RADIUS */
    --rounded-sm: 3px;
    --rounded: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 14px;
    --rounded-2xl: 18px;
    --rounded-3xl: 22px;
    --rounded-full: 999px;

    /* SHADOWS */
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.15);
    --shadow-xs: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
    --shadow-teal: 0 12px 30px rgba(11, 91, 91, 0.12);
    --shadow-yellow: 0 12px 30px rgba(231, 177, 14, 0.16);
    --shadow-red: 0 12px 30px rgba(159, 14, 84, 0.12);
    --shadow-nav: 0 10px 26px rgba(159, 14, 84, 0.35);

    /* Z-INDEX */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 10;
    --z-drawer: 1000;
    --z-overlay: 999;
    --z-modal: 1050;

    /* TRANSITIONS */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ==========================================================================
   2. BASE RESET & TYPOGRAPHY
   ========================================================================== */

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--misty-teal);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--teal);
}

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

button:focus-visible {
    outline: 2px solid var(--teal) !important;
    outline-offset: 2px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 var(--space-10);
    color: var(--ink);
    line-height: var(--leading-tight);
    font-weight: 900;
}

h6 {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h1 span {
    color: var(--yellow);
}

p {
    margin: 0 0 var(--space-16);
}

.lead {
    font-size: 1.1rem;
    margin: var(--space-18) 0 var(--space-24);
    color: rgba(15, 43, 60, 0.82);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: var(--font-bold);
    font-size: 0.85rem;
    margin-bottom: var(--space-10);
    color: var(--teal-dark);
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.8);
}

.page-title {
    margin: 0 0 var(--space-6);
}

.page-title .accent {
    color: var(--crimson-violet);
}

.page-subtitle {
    margin: 0 0 var(--space-18);
    color: #2d4c5a;
}

/* ==========================================================================
   PAGE CONTAINER (Common wrapper for app pages)
   ========================================================================== */
.page-container {
    background: var(--cloud);
    min-height: 100vh;
    padding: var(--space-24);
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   PAGE HEADER (Common template for app pages)
   ========================================================================== */
.page-header {
    margin-bottom: var(--space-32);
}

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-16);
}

.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--ink);
    margin: 0 0 var(--space-8) 0;
}

.page-header .subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    font-family: var(--font-body);
    margin: 0;
}

.page-header .district-name {
    color: var(--stormy-teal);
    font-weight: 600;
}

.page-header .accent {
    color: var(--dark-raspberry);
}

/* Fullwidth page header variant (for map pages, etc.) */
.page-header--fullwidth {
    padding: var(--space-16) var(--space-32);
    margin-bottom: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.page-header--fullwidth .page-header-row {
    align-items: center;
}

.page-header--fullwidth h1 {
    font-size: 2rem;
    margin: 0;
}

.page-header--fullwidth .subtitle {
    font-size: 1rem;
    margin: var(--space-4) 0 0 0;
}

/* Stats badges (for map pages with completion stats) */
.page-header-stats {
    display: flex;
    gap: var(--space-12);
}

.stat-badge {
    background: var(--cloud);
    padding: var(--space-8) var(--space-14);
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: var(--space-8);
    border: 1px solid var(--gray-200);
    color: var(--ink);
}

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

.dot-complete { background: var(--success); }
.dot-progress { background: var(--sunflower-gold); }
.dot-notstarted { background: var(--gray-400); }

.accent-teal {
    color: var(--stormy-teal-accent);
}

/* ==========================================================================
   COLLAPSIBLE FILTER ACCORDION
   ========================================================================== */
.filter-panel {
    background: var(--white);
    border-radius: var(--rounded-xl);
    padding: var(--space-16);
    box-shadow: var(--card);
    border: 1px solid var(--misty-teal);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-16);
}

.filter-header h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.filter-reset {
    color: var(--dark-raspberry);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.filter-reset:hover {
    text-decoration: underline;
}

.filter-accordion {
    border-top: 1px solid var(--misty-teal);
}

.filter-accordion-item {
    border-bottom: 1px solid var(--misty-teal);
}

.filter-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-12) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
}

.filter-accordion-trigger:hover {
    color: var(--stormy-teal);
}

.filter-accordion-trigger .chevron {
    transition: transform var(--transition-fast);
}

.filter-accordion-trigger[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.filter-accordion-content {
    display: none;
    padding: 0 0 var(--space-12) 0;
}

.filter-accordion-content.open {
    display: block;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    max-height: 300px;
    overflow-y: auto;
    padding: var(--space-8) 0;
}

.filter-checkbox-list label {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    margin: 0;
}

.filter-checkbox-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Search bar styling */
.search-bar {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-24);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: var(--space-12) var(--space-16);
    padding-right: 40px;
    border: 1px solid var(--misty-teal);
    border-radius: var(--rounded-full);
    font-size: 1rem;
    background: var(--white);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--stormy-teal);
    box-shadow: 0 0 0 3px rgba(11, 91, 91, 0.15);
}

.search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    border-radius: 50%;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.search-clear:hover {
    color: var(--dark-raspberry);
    background: rgba(159, 14, 84, 0.1);
}

.search-bar .btn-search {
    padding: var(--space-12) var(--space-24);
    background: var(--stormy-teal);
    color: var(--white);
    border: none;
    border-radius: var(--rounded-full);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-bar .btn-search:hover {
    background: var(--stormy-teal-light);
}

/* Section header with icon */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--dark-raspberry);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.section-header .count {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section {
    padding: var(--space-70) 0;
}

.section.surface {
    background: var(--white);
}

.section p {
    color: #2d4c5a;
    max-width: 740px;
}

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-18) 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: var(--z-sticky);
}

/* Dark full-width header for app pages */
.topbar-wrap {
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.topbar-wrap .topbar {
    background: transparent;
    backdrop-filter: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-12) var(--space-24);
}

.topbar-wrap .brand {
    color: white;
}

.topbar-wrap .btn-ink {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.topbar-wrap .btn-ink:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.topbar-wrap .nav-btn {
    background: var(--sunflower-gold);
    color: var(--ink);
    border: none;
}

.topbar-wrap .nav-btn:hover {
    background: var(--yellow-hover);
}

.header-logo-img {
    height: 128px;
    width: auto;
}

.topbar-wrap select {
    background: white;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
}

.topbar-wrap select option {
    background: white;
    color: var(--ink);
}

.topbar-wrap label {
    color: rgba(255, 255, 255, 0.8);
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: var(--space-6);
    color: var(--ink);
}

.brand img {
    height: 60px;
    width: auto;
}

.brand span {
    color: var(--teal);
}

nav {
    display: flex;
    align-items: center;
    gap: var(--space-20);
    font-weight: var(--font-bold);
}

nav a:hover {
    color: var(--teal);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-12) var(--space-18);
    border-radius: var(--rounded-lg);
    font-weight: var(--font-extrabold);
    letter-spacing: 0.02em;
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-base),
                border-color var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--yellow);
    color: #0d1a26;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-raspberry {
    background: var(--dark-raspberry);
    color: white;
    border: none;
}

.btn-raspberry:hover {
    background: #b31060;
    color: white;
    transform: translateY(-1px);
}

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    padding: 11px var(--space-18);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--white);
}

.btn-ink {
    border: 2px solid #d7e6eb;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.nav-btn {
    background: var(--red);
    color: var(--white);
    box-shadow: var(--shadow-nav);
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.btn-small {
    padding: var(--space-6) var(--space-12);
    font-size: 0.85rem;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: var(--teal);
    color: var(--white);
    overflow: hidden;
    border-radius: 0 0 var(--rounded-3xl) var(--rounded-3xl);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.35;
}

.hero::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 45%);
}

.hero .container {
    position: relative;
    padding: var(--space-70) 0 var(--space-90);
    z-index: var(--z-base);
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: var(--space-50);
}

.cta-row {
    display: flex;
    gap: var(--space-14);
    align-items: center;
}

.nav-spacer {
    flex-grow: 1;
    min-width: 40px;
}

/* Main navigation */
.main-nav {
    display: flex;
    gap: var(--space-14);
    align-items: center;
}

.nav-spacer {
    flex: 1;
}

.nav-right {
    display: flex;
    gap: var(--space-14);
    align-items: center;
    margin-left: auto;
}

/* Navigation dropdown menus */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
    padding: 6px 0;
    margin-top: 4px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--ink);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: background 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--misty-teal);
    color: var(--stormy-teal);
}

.nav-dropdown-menu-right {
    left: auto;
    right: 0;
}

/* Mega menu (multi-column dropdown) */
.nav-mega-menu {
    display: flex;
    gap: 0;
    min-width: auto;
    padding: 0;
}

.nav-mega-col {
    min-width: 120px;
    padding: 12px 0;
    border-right: 1px solid var(--misty-teal);
}

.nav-mega-col:last-child {
    border-right: none;
}

.nav-mega-heading {
    padding: 0 16px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--stormy-teal);
    font-family: var(--font-heading);
}

.nav-mega-menu a {
    padding: 6px 16px;
    font-size: 14px;
}

.nav-mega-menu a.disabled {
    color: #999;
    pointer-events: none;
    cursor: default;
}

.nav-mega-menu a.disabled:hover {
    background: transparent;
}

/* Account avatar */
.account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--stormy-teal);
    color: white;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.account-avatar:hover {
    border-color: var(--sunflower-gold);
    transform: scale(1.05);
}

.account-dropdown .nav-dropdown-menu {
    min-width: 120px;
}

/* Dark topbar overrides for dropdowns */
.topbar-wrap .nav-dropdown-trigger {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.topbar-wrap .nav-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.topbar-wrap .account-avatar {
    background: var(--sunflower-gold);
    color: var(--ink);
}

.district-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.district-switcher label {
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--ink);
}

.district-switcher select {
    padding: var(--space-6) var(--space-10);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: var(--text-sm);
    background: var(--white);
    cursor: pointer;
}

.pill-row {
    display: flex;
    gap: var(--space-10);
    flex-wrap: wrap;
    margin-top: var(--space-14);
}

.pill {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 7px var(--space-12);
    border-radius: var(--rounded-full);
    font-weight: var(--font-bold);
    font-size: 0.9rem;
}

/* Hero Visual / Preview Card */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-card {
    position: relative;
    width: min(440px, 100%);
    background: var(--white);
    border-radius: var(--rounded-3xl);
    padding: var(--space-26);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: var(--space-16) calc(-1 * var(--space-16)) calc(-1 * var(--space-16)) var(--space-16);
    border-radius: var(--rounded-2xl);
    background: var(--yellow);
    z-index: -1;
}

.map-preview {
    background: var(--cloud);
    border-radius: var(--rounded-xl);
    padding: var(--space-20);
    border: 1px solid #e0eef2;
    color: var(--ink);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-14);
    font-weight: var(--font-extrabold);
    color: var(--ink);
}

.map-title {
    color: var(--red);
    font-size: 1.05rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 14px 0 0 var(--yellow), 28px 0 0 #4fd0ae;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-12);
}

.node {
    background: var(--white);
    border-radius: var(--rounded-lg);
    padding: var(--space-12);
    min-height: 90px;
    border: 1px solid #e7f1f4;
    position: relative;
    box-shadow: var(--shadow-xs);
    color: var(--ink);
}

.node strong {
    display: block;
    margin-bottom: var(--space-6);
    color: var(--red);
}

.node small {
    color: #4b6a74;
}

/* ==========================================================================
   8. CARDS
   ========================================================================== */
.card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--rounded-2xl);
    padding: var(--space-18) var(--space-18) var(--space-20);
    border: 1px solid #e8f0f2;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.2rem;
    margin-top: 0;
}

.card.card-accent-teal {
    border-top: 6px solid var(--teal);
    border-color: rgba(11, 91, 91, 0.35);
    box-shadow: var(--shadow-teal);
}

.card.card-accent-yellow {
    border-top: 6px solid var(--yellow);
    border-color: rgba(231, 177, 14, 0.45);
    box-shadow: var(--shadow-yellow);
}

.card.card-accent-red {
    border-top: 6px solid var(--red);
    border-color: rgba(159, 14, 84, 0.35);
    box-shadow: var(--shadow-red);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--rounded-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.card-accent-teal .card-icon {
    background: var(--teal);
}

.card-accent-yellow .card-icon {
    background: var(--yellow);
    color: var(--ink);
}

.card-accent-red .card-icon {
    background: var(--red);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-18);
    margin-top: var(--space-26);
}

/* ==========================================================================
   9. BADGES & PILLS
   ========================================================================== */
.badge {
    background: var(--cream);
    color: var(--ink);
    font-weight: var(--font-extrabold);
    padding: var(--space-6) var(--space-12);
    border-radius: var(--rounded-full);
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    font-size: var(--text-sm);
}

.badge .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
}

.badge .dot.dot-teal {
    background: var(--teal);
}

.badge .dot.dot-yellow {
    background: var(--yellow);
}

.badge .dot.dot-red {
    background: var(--red);
}

/* ==========================================================================
   10. STEPS
   ========================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-18);
    margin-top: var(--space-26);
}

.step-number {
    width: 34px;
    height: 34px;
    background: var(--teal);
    color: var(--white);
    border-radius: var(--rounded-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-10);
}

.step-number-teal {
    background: var(--teal);
}

.step-number-yellow {
    background: var(--yellow);
    color: var(--ink);
}

.step-number-red {
    background: var(--red);
}

/* ==========================================================================
   11. CTA PANEL
   ========================================================================== */
.cta-panel {
    background: linear-gradient(90deg, var(--teal), var(--teal-dark));
    color: var(--white);
    border-radius: var(--rounded-3xl);
    padding: var(--space-40);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-20);
    flex-wrap: wrap;
    box-shadow: var(--shadow);
}

.cta-panel .eyebrow {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-6);
}

.cta-panel h2 {
    color: var(--white);
    margin-bottom: var(--space-8);
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cta-panel .btn-primary {
    background: var(--yellow);
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer {
    padding: var(--space-26) 0 var(--space-40);
    text-align: center;
    color: #4b6a74;
}

footer .brand {
    justify-content: center;
    margin-bottom: var(--space-8);
}

/* ==========================================================================
   13. FORMS
   ========================================================================== */
label {
    font-weight: var(--font-bold);
    color: var(--ink);
    display: block;
    margin-bottom: var(--space-6);
}

select,
input,
textarea {
    width: 100%;
    border: 1px solid #d7e6eb;
    border-radius: var(--rounded-lg);
    padding: var(--space-10) var(--space-12);
    font-size: var(--text-base);
    background: #fdfefe;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-body);
}

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(11, 91, 91, 0.15);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    font-size: 0.95rem;
}

.form-field textarea {
    min-height: 72px;
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-14) var(--space-18);
    margin-bottom: var(--space-10);
}

.filters-card {
    margin: var(--space-18) 0 var(--space-22);
    border-radius: var(--rounded-xl);
}

.filters-card form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-14) var(--space-18);
    align-items: end;
}

.filters-card label {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.filters-card .btn {
    justify-self: start;
}

.prefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-18) var(--space-32);
}

.pill-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-8) var(--space-10);
}

.pill-choice {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-6);
    padding: 7px var(--space-10);
    border: 1px solid #d7e6eb;
    border-radius: var(--rounded-lg);
    background: #fdfefe;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
    font-weight: var(--font-semibold);
    line-height: 1.2;
    font-size: 0.95rem;
}

.pill-choice:hover {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(11, 91, 91, 0.12);
}

.pill-choice input {
    width: auto;
    flex: 0 0 auto;
    accent-color: var(--teal);
    margin: 0;
}

.save-row {
    margin-top: var(--space-10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
}

.small-help {
    font-size: 0.9rem;
    color: #4b6a74;
}

/* ==========================================================================
   14. TABLES
   ========================================================================== */
.table-card {
    background: var(--white);
    border: 1px solid #e2edf1;
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: var(--space-12) var(--space-14);
    border-bottom: 1px solid #e8f1f4;
    text-align: left;
}

.data-table td {
    vertical-align: top;
}

.data-table th {
    background: #f3f8fa;
    font-weight: var(--font-extrabold);
    color: var(--ink);
}

.data-table td:nth-child(3) {
    color: #2d4c5a;
    line-height: 1.55;
    word-break: break-word;
}

.data-table a {
    color: var(--teal);
    font-weight: var(--font-bold);
}

.data-table a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

.data-table tr:hover td {
    background: #f8fcfe;
}

.data-table td:last-child {
    width: 120px;
}

/* ==========================================================================
   15. LIST COMPONENTS
   ========================================================================== */
.list-scroll {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e8f1f4;
    border-radius: var(--rounded-xl);
    background: var(--white);
}

.list-row {
    padding: var(--space-12) var(--space-14);
    border-bottom: 1px solid #eef4f6;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.list-row:last-child {
    border-bottom: none;
}

.list-row:hover {
    background: #f8fcfe;
}

.list-row.selected {
    background: #eaf7fb;
    border-left: 3px solid var(--teal);
}

/* Standards: no border, sharper corners */
.list-row.is-standard {
    border-radius: var(--rounded-md);
    background: var(--white);
}

.list-row.is-standard .list-row-code {
    color: var(--dark-raspberry);
}

/* Indicators: misty-teal border, rounder corners, smaller & indented */
.list-row.is-indicator {
    margin-left: var(--space-24);
    padding-left: var(--space-16);
    border-left: 3px solid var(--misty-teal);
    border-radius: var(--rounded-2xl);
    background: #f9fbff;
}

.list-row.is-indicator .list-row-code {
    color: var(--stormy-teal);
    font-size: 14px;
}

.list-row.is-indicator .list-row-text {
    font-size: 0.875rem;
}

.list-row-code {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 16px;
    color: var(--dark-raspberry);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.list-row-text {
    color: #2d4c5a;
    font-size: 0.96rem;
    line-height: var(--leading-normal);
}

.list-row-meta {
    color: #4b6a74;
    font-size: 0.88rem;
    display: flex;
    gap: var(--space-10);
    flex-wrap: wrap;
}

/* ==========================================================================
   16. STATUS PILLS
   ========================================================================== */
.status-pill {
    font-size: 0.85rem;
    padding: 4px var(--space-8);
    border-radius: var(--rounded-full);
    white-space: nowrap;
    font-weight: var(--font-extrabold);
}

/* Complete: hunter-green text on honeydew background */
.status-complete {
    background: var(--honeydew);
    color: var(--hunter-green);
}

/* Not started: gray text on alabaster-grey background */
.status-not_started {
    background: var(--alabaster-grey);
    color: var(--gray-500);
}

/* In progress: sunflower-gold with light yellow background */
.status-in_progress {
    background: var(--lemon-chiffon);
    color: var(--dark-teal);
}

/* ==========================================================================
   17. ALERTS
   ========================================================================== */
.alert {
    padding: var(--space-12) var(--space-14);
    border-radius: var(--rounded-lg);
    border: 1px solid transparent;
    font-weight: var(--font-bold);
    margin-bottom: var(--space-16);
}

.alert-success {
    background: var(--success-light);
    border-color: var(--success-border);
    color: #1e6f42;
}

.alert-info {
    background: var(--info-light);
    border-color: var(--info-border);
    color: var(--info);
}

.alert-warning {
    background: var(--warning-light);
    border-color: var(--warning-border);
    color: #b87503;
}

.alert-error {
    background: var(--error-light);
    border-color: var(--error-border);
    color: var(--error);
}

/* ==========================================================================
   18. DRAWER (Side Panel)
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 60, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: var(--z-overlay);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(700px, 100%);
    height: 100vh;
    background: var(--white);
    box-shadow: -6px 0 18px rgba(15, 43, 60, 0.18);
    transform: translateX(105%);
    transition: transform 0.25s ease;
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    padding: var(--space-24);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.drawer.open {
    transform: translateX(0);
}

body.drawer-open {
    overflow: hidden;
}

.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.drawer-close {
    border: none;
    background: var(--misty-teal);
    color: var(--ink);
    border-radius: var(--rounded-full);
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-close:hover {
    background: var(--stormy-teal);
    color: var(--white);
}

.drawer-meta {
    display: grid;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.drawer .form-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 960px) {
    .drawer .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.drawer-save-banner {
    background: var(--honeydew);
    color: var(--hunter-green);
    border: 1px solid #b9e2c7;
    padding: var(--space-10) var(--space-12);
    border-radius: var(--rounded-md);
    margin-bottom: var(--space-12);
    font-weight: var(--font-bold);
}

/* ==========================================================================
   18a. TAG INPUT (for verbs, etc.)
   ========================================================================== */
.tag-input-container {
    position: relative;
    border: 1px solid var(--misty-teal);
    border-radius: var(--rounded-md);
    padding: var(--space-8);
    background: var(--white);
    min-height: 44px;
}

.tag-input-container:focus-within {
    border-color: var(--stormy-teal);
    box-shadow: 0 0 0 3px rgba(11, 91, 91, 0.15);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.tag-list:empty {
    margin-bottom: 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--light-cyan);
    color: var(--dark-teal);
    padding: 4px var(--space-8);
    border-radius: var(--rounded-sm);
    font-size: 0.875rem;
    line-height: 1.25;
}

.tag-item button {
    background: none;
    border: none;
    color: var(--stormy-teal);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.tag-item button:hover {
    background: var(--misty-teal);
    color: var(--ink);
}

.tag-input-field {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    padding: 4px 0;
    background: transparent;
}

.tag-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--misty-teal);
    border-radius: var(--rounded-md);
    box-shadow: var(--shadow-lg);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.tag-autocomplete.show {
    display: block;
}

.tag-autocomplete-item {
    padding: var(--space-8) var(--space-12);
    cursor: pointer;
    font-size: 0.875rem;
}

.tag-autocomplete-item:hover,
.tag-autocomplete-item.highlighted {
    background: var(--light-cyan);
}

.tag-autocomplete-item.new-verb {
    color: var(--stormy-teal);
    font-style: italic;
}

/* Combobox (dropdown + free text) */
.combobox-container {
    position: relative;
    display: flex;
    align-items: center;
}

.combobox-input {
    flex: 1;
    padding: 10px 36px 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
}

.combobox-input:focus {
    outline: none;
    border-color: var(--stormy-teal);
    box-shadow: 0 0 0 2px rgba(11, 91, 91, 0.1);
}

.combobox-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.combobox-toggle:hover {
    color: var(--stormy-teal);
}

.combobox-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.combobox-dropdown.show {
    display: block;
}

.combobox-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.combobox-option:last-child {
    border-bottom: none;
}

.combobox-option:hover {
    background: var(--misty-teal);
}

/* ==========================================================================
   19. EMPTY STATES & INFO BARS
   ========================================================================== */
.empty-state {
    background: var(--white);
    border: 1px solid #e2edf1;
    border-radius: var(--rounded-xl);
    padding: var(--space-18);
    box-shadow: var(--shadow-sm);
    color: #4b6a74;
}

.info-bar {
    font-size: 0.95rem;
    color: #4b6a74;
    margin-bottom: var(--space-12);
}

/* ==========================================================================
   20. UTILITY CLASSES
   ========================================================================== */
.stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.stack-tight {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
}

.meta-text {
    color: #4b6a74;
    font-size: 0.95rem;
}

.meta-label {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Typography utility classes (consolidated from Figma tokens) */
.text-h1 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 64px;
    line-height: 100%;
}

.text-h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 56px;
    line-height: 100%;
}

.text-h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 48px;
    line-height: 122%;
}

.text-h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 0.32px;
    line-height: 122%;
}

.text-h5 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    line-height: normal;
}

.text-h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.72px;
    line-height: normal;
}

.text-p16 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 144%;
}

.text-p16-semibold {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 144%;
}

.text-p14 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 148%;
}

.text-p12 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 116%;
}

.text-cta {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
}

.text-cta-big {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    line-height: normal;
}

@media (max-width: 720px) {
    .text-h1 { font-size: 36px; }
    .text-h2 { font-size: 28px; }
    .text-h3 { font-size: 24px; }
    .text-h4 { font-size: 22px; letter-spacing: 0.22px; }
    .text-h5 { font-size: 18px; }
    .text-h6 { font-size: 14px; letter-spacing: 0.56px; }
}

/* ==========================================================================
   21. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .drawer .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar {
        position: static;
    }

    nav {
        gap: var(--space-12);
        font-size: 0.95rem;
    }

    .hero-card::before {
        inset: var(--space-12) calc(-1 * var(--space-12)) calc(-1 * var(--space-12)) var(--space-12);
    }

    .hero .container {
        padding: var(--space-50) 0 var(--space-70);
    }

    .cta-panel {
        padding: var(--space-28);
    }

    .node-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   22. FIGMA HOMEPAGE (home-figma.php)
   ========================================================================== */
.home-page-desktop {
  background:
    linear-gradient(180deg, rgba(245, 248, 248, 0) 81.22%, #F5F8F8 97.91%),
    radial-gradient(circle, #d0d0d0 1px, transparent 1px);
  background-size: 100% 100%, 22.73px 22.73px;
  background-color: #f5f8f8;
  width: 100%;
  min-width: 0;
  min-height: 2993px;
  display: flex;
}

.home-page-desktop .frame {
  display: flex;
  z-index: 1;
  width: 100%;
  height: 2993px;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
}

.home-page-desktop .div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .top-hero {
  position: relative;
  width: 100%;
  height: 1180px;
  overflow: visible;
}

.home-page-desktop .vector {
  position: absolute;
  top: 0;
  left: auto;
  right: -140px;
  width: 1012px;
  height: 965px;
  transform: scaleX(-1);
}

.home-page-desktop .globe-wash {
  position: absolute;
  top: -120px;
  right: -400px;
  width: 1500px;
  height: 1300px;
  border-radius: 50%;
  background: radial-gradient(
      ellipse 120% 80% at 65% 30%,
      rgba(11, 91, 91, 0.2) 0%,
      rgba(11, 91, 91, 0.10) 50%,
      rgba(245, 248, 248, 0) 78%
    ),
    radial-gradient(
      ellipse 75% 55% at 60% 45%,
      rgba(11, 91, 91, 0.09) 0%,
      rgba(11, 91, 91, 0) 72%
    );
  filter: blur(36px);
  pointer-events: none;
}

.home-page-desktop .rectangle {
  position: absolute;
  top: 250px;
  left: -150px;
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.home-page-desktop .frame-2 {
  display: flex;
  flex-direction: column;
  width: 566px;
  align-items: flex-start;
  gap: 32px;
  position: absolute;
  top: 187px;
  left: 143px;
}

.home-page-desktop .frame-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .frame-4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .text-wrapper {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 18px;
  letter-spacing: 0.72px;
  line-height: normal;
}

.home-page-desktop .a-clear-path-from {
  position: relative;
  align-self: stretch;
  font-family: var(--font-heading);
  font-weight: 900;
  color: transparent;
  font-size: 64px;
  line-height: 100%;
}

.home-page-desktop .span {
  color: #0f2b3c;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 64px;
  line-height: 100%;
}

.home-page-desktop .text-wrapper-2 {
  color: #760f41;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 64px;
  line-height: 100%;
}

.home-page-desktop .p {
  position: relative;
  align-self: stretch;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark);
  font-size: 16px;
  line-height: 144%;
}

.home-page-desktop .CTA {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 32px;
  position: relative;
  flex: 0 0 auto;
  margin-bottom: -2px;
  margin-left: -2px;
  background-color: var(--accent-yellow);
  border-radius: 100px;
  border: 2px solid;
  border-color: var(--yellow-22);
}

.home-page-desktop .get-started {
  position: relative;
  width: fit-content;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--dark);
  font-size: 18px;
  line-height: normal;
}

/* Smaller CTA button in global-CTA section */
.home-page-desktop .global-CTA .CTA {
  padding: 14px 24px;
}

.home-page-desktop .global-CTA .get-started {
  font-size: 16px;
}

.home-page-desktop .device-macbook-air {
  top: 177px;
  left: 661px;
  width: 924px;
  height: 571px;
  position: absolute;
  aspect-ratio: 1.62;
}

.home-page-desktop .img {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page-desktop .device-macbook-air-2 {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  aspect-ratio: 1.62;
}

/* Mobile-only laptop preview - hidden on desktop */
.home-page-desktop .mobile-laptop-preview {
  display: none;
}

.home-page-desktop .laptop-wrap {
  position: absolute;
  top: 193px;
  left: 675px;
  width: 893px;
  height: 553px;
}

.home-page-desktop .footprints {
  position: absolute;
  left: -170px;
  top: 565px;
  width: 108px;
  height: auto;
}

.home-page-desktop .frame-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 143px 96px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .about-2 {
  display: flex;
  height: 572px;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.home-page-desktop .frame-6 {
  width: 566px;
  gap: 32px;
  padding: 0px 22px 0px 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-page-desktop .div-2 {
  position: relative;
  align-self: stretch;
  font-family: var(--font-heading);
  font-weight: 900;
  color: transparent;
  font-size: 56px;
  line-height: 100%;
}

.home-page-desktop .text-wrapper-3 {
  color: #0f2b3c;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 56px;
  line-height: 100%;
}

.home-page-desktop .text-wrapper-4 {
  color: var(--crimson-violet);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 56px;
  line-height: 100%;
}

.home-page-desktop .each-student-s {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-80);
  font-size: 16px;
  line-height: 144%;
}

.home-page-desktop .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-80);
  font-size: 16px;
  line-height: 144%;
}

.home-page-desktop .frame-7 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.home-page-desktop .about-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 22px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--teal-white);
  border-radius: 22px;
  box-shadow: var(--card);
}

.home-page-desktop .frame-8 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .icon {
  position: relative;
  width: 64px;
  height: 64px;
  background-color: var(--teal-light-12);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.home-page-desktop .icons {
  position: absolute;
  top: 20px;
  left: 16px;
  width: 32px;
  height: 32px;
  aspect-ratio: 1;
}

.home-page-desktop .text-wrapper-6 {
  position: relative;
  flex: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--dark);
  font-size: 24px;
  line-height: normal;
}

.home-page-desktop .icon-2 {
  background-color: var(--yellow-12);
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.home-page-desktop .icon-3 {
  background-color: var(--red-12);
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.home-page-desktop .how-it-works {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 143px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .vector-3 {
  position: absolute;
  top: -360px;
  left: 116px;
  width: 1324px;
  height: 1023px;
}

.home-page-desktop .how-it-works-2 {
  display: flex;
  width: 1154px;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  flex: 0 0 auto;
}

.home-page-desktop .frame-9 {
  width: 566px;
  gap: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-page-desktop .about-card-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 22px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--teal-white);
  border-radius: 22px;
  border: 2px solid;
  border-color: var(--teal-dark-18);
  box-shadow: var(--card);
}

.home-page-desktop .text-wrapper-7 {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--teal-dark);
  font-size: 24px;
  text-align: center;
  line-height: normal;
}

.home-page-desktop .element {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent-yellow);
  font-size: 24px;
  text-align: center;
  line-height: normal;
}

.home-page-desktop .element-2 {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--primary-red);
  font-size: 24px;
  text-align: center;
  line-height: normal;
}

.home-page-desktop .global-CTA {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  padding: 134px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background: linear-gradient(
    180deg,
    rgba(245, 248, 248, 1) 0%,
    rgba(245, 248, 248, 0) 100%
  );
}

.home-page-desktop .global-CTA-2 {
  position: relative;
  width: 1154px;
  height: 290px;
  border-radius: 22px;
  background: #0b8585;
}

.home-page-desktop .vector-4 {
  position: absolute;
  width: 58.23%;
  height: 34.48%;
  top: 55.69%;
  left: 25.26%;
}

.home-page-desktop .frame-10 {
  width: 966px;
  height: 226px;
  gap: 32px;
  position: absolute;
  top: 32px;
  left: 94px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-page-desktop .coming-soon {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-light);
  font-size: 18px;
  letter-spacing: 0.72px;
  line-height: normal;
}

.home-page-desktop .text-wrapper-8 {
  color: #fcfeff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 56px;
  line-height: 100%;
}

.home-page-desktop .text-wrapper-9 {
  color: #fbc000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 56px;
  line-height: 100%;
}

.home-page-desktop .text-wrapper-10 {
  position: relative;
  align-self: stretch;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--teal-white);
  font-size: 16px;
  line-height: 144%;
}

.home-page-desktop .racing-finish {
  position: absolute;
  top: 157px;
  left: 934px;
  width: 110px;
  height: 110px;
  aspect-ratio: 1;
}

.home-page-desktop .footer {
  display: flex;
  flex-direction: column;
  height: 358px;
  align-items: flex-start;
  gap: 10px;
  padding: 41px 143px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: var(--dark);
}

.home-page-desktop .frame-11 {
  display: flex;
  flex-direction: column;
  width: 1154px;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
  margin-bottom: -24px;
}

.home-page-desktop .logo {
  position: relative;
  width: 200px;
  height: auto;
  aspect-ratio: auto;
}

.home-page-desktop .frame-12 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .links {
  display: flex;
  width: 664px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  flex: 0 0 auto;
}

.home-page-desktop .frame-13 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  flex: 0 0 auto;
}

.home-page-desktop .text-wrapper-11 {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--light);
  font-size: 16px;
  line-height: 144%;
}

.home-page-desktop .frame-14 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .text-wrapper-12 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--light);
  font-size: 14px;
  line-height: 148%;
  white-space: nowrap;
}

.home-page-desktop .text-wrapper-13 {
  position: relative;
  width: fit-content;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--light);
  font-size: 14px;
  line-height: 148%;
  white-space: nowrap;
}

.home-page-desktop .text-wrapper-14 {
  position: relative;
  width: fit-content;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--teal-white);
  font-size: 14px;
  line-height: 148%;
  white-space: nowrap;
}

.home-page-desktop .frame-15 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .rectangle-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 1px;
  background-color: var(--light);
  border-radius: 1px;
  opacity: 0.2;
}

.home-page-desktop .text-wrapper-15 {
  position: relative;
  align-self: stretch;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--light);
  font-size: 14px;
  text-align: right;
  line-height: 148%;
}

.home-page-desktop .header {
  display: flex;
  z-index: 2;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 12px 143px 8px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #f5f8f8;
  box-shadow: none;
}

.home-page-desktop .frame-16 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home-page-desktop .screenshot {
  position: relative;
  width: 215px;
  height: 57px;
  aspect-ratio: 3.78;
  object-fit: cover;
}

.home-page-desktop .frame-17 {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  position: relative;
  flex: 0 0 auto;
}

.home-page-desktop .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.home-page-desktop .text-wrapper-16 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--dark);
  font-size: 16px;
  line-height: normal;
}

.home-page-desktop .frame-18 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  align-self: stretch;
  flex: 0 0 auto;
}

.home-page-desktop .button {
  all: unset;
  box-sizing: border-box;
  gap: 6px;
  padding: 10px 14px;
  margin-top: -2px;
  margin-bottom: -2px;
  margin-left: -2px;
  background-color: var(--primary-red);
  border: 2px solid;
  border-color: var(--red-22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  border-radius: 100px;
}

.home-page-desktop .access-special {
  position: relative;
  width: 16px;
  height: 16px;
  aspect-ratio: 1;
  background-image: url("images/Vector%209.png");
  background-size: 100% 100%;
}

.home-page-desktop .get-started-2 {
  position: relative;
  width: fit-content;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--teal-white);
  font-size: 16px;
  line-height: normal;
}

.home-page-desktop .div-wrapper {
  all: unset;
  box-sizing: border-box;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--red-12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  border-radius: 100px;
}

.home-page-desktop .text-wrapper-17 {
  position: relative;
  width: fit-content;
  margin-top: -2px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary-red);
  font-size: 16px;
  line-height: normal;
}

/* ==========================================================================
   22b. FIGMA HOMEPAGE - MOBILE RESPONSIVE
   ========================================================================== */

/* Tablet breakpoint (1024px and below) */
@media (max-width: 1024px) {
    .home-page-desktop {
        min-height: auto;
    }

    .home-page-desktop .frame {
        height: auto;
    }

    .home-page-desktop .top-hero {
        height: auto;
        min-height: 600px;
        padding-bottom: 40px;
    }

    .home-page-desktop .header {
        padding: 12px 24px 8px;
    }

    .home-page-desktop .frame-2 {
        width: calc(100% - 48px);
        left: 24px;
        top: 120px;
    }

    .home-page-desktop .a-clear-path-from,
    .home-page-desktop .span,
    .home-page-desktop .text-wrapper-2 {
        font-size: 48px;
    }

    .home-page-desktop .laptop-wrap {
        display: none;
    }

    .home-page-desktop .device-macbook-air {
        display: none;
    }

    .home-page-desktop .globe-wash {
        right: -200px;
        width: 800px;
    }

    .home-page-desktop .about {
        padding: 0 24px 64px;
    }

    .home-page-desktop .about-2 {
        flex-direction: column;
        height: auto;
        gap: 32px;
    }

    .home-page-desktop .frame-6 {
        width: 100%;
        padding: 0;
    }

    .home-page-desktop .frame-7 {
        flex-direction: column;
        width: 100%;
    }

    .home-page-desktop .about-card,
    .home-page-desktop .about-card-2 {
        width: 100%;
    }

    .home-page-desktop .div-2,
    .home-page-desktop .text-wrapper-3,
    .home-page-desktop .text-wrapper-4 {
        font-size: 42px;
    }

    .home-page-desktop .how-it-works {
        padding: 0 24px;
    }

    .home-page-desktop .how-it-works-2 {
        width: 100%;
    }

    .home-page-desktop .global-CTA {
        padding: 80px 24px;
    }

    .home-page-desktop .global-CTA-2 {
        width: 100%;
        height: auto;
        padding: 32px;
    }

    .home-page-desktop .frame-10 {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
    }

    .home-page-desktop .text-wrapper-8,
    .home-page-desktop .text-wrapper-9 {
        font-size: 36px;
    }

    .home-page-desktop .racing-finish {
        display: none;
    }

    .home-page-desktop .vector-4 {
        display: none;
    }

    .home-page-desktop .footer {
        padding: 41px 24px;
        height: auto;
    }

    .home-page-desktop .frame-11 {
        width: 100%;
    }

    .home-page-desktop .links {
        width: 100%;
        flex-wrap: wrap;
        gap: 32px;
    }

    .home-page-desktop .frame-17 {
        gap: 16px;
    }
}

/* Mobile breakpoint (768px and below) - Figma mobile design */
@media (max-width: 768px) {
    /* ===== HEADER ===== */
    .home-page-desktop .header {
        padding: 12px 20px 8px;
        background: rgba(245, 248, 248, 0.95);
        position: fixed;
        box-shadow: none;
        z-index: 1000;
    }

    .home-page-desktop .frame-16 {
        justify-content: space-between;
        align-items: center;
    }

    .home-page-desktop .screenshot {
        width: 105px;
        height: auto;
    }

    /* Hide entire desktop nav container */
    .home-page-desktop .frame-17 {
        display: none !important;
    }

    /* Show hamburger menu on mobile */
    .home-page-desktop .home-mobile-menu-toggle {
        display: flex !important;
    }

    /* ===== TOP HERO ===== */
    .home-page-desktop .top-hero {
        height: auto;
        min-height: auto;
        padding: 0;
        overflow: visible;
    }

    /* Hero content container - position static, use flexbox */
    .home-page-desktop .frame-2 {
        position: relative;
        width: calc(100% - 64px);
        left: auto;
        top: auto;
        margin: 84px 32px 0;
        opacity: 0.96;
    }

    .home-page-desktop .frame-3 {
        gap: 12px;
    }

    .home-page-desktop .frame-4 {
        gap: 8px;
    }

    /* Eyebrow text */
    .home-page-desktop .text-wrapper {
        font-size: 18px;
        color: rgba(15, 43, 60, 0.80);
    }

    /* Main headline */
    .home-page-desktop .a-clear-path-from,
    .home-page-desktop .span,
    .home-page-desktop .text-wrapper-2 {
        font-size: 36px;
        line-height: 36px;
    }

    /* Mobile laptop preview - shown only on mobile */
    .home-page-desktop .mobile-laptop-preview {
        display: block;
        width: 100%;
        max-width: 296px;
        height: auto;
        margin-top: 8px;
    }

    /* Description paragraph */
    .home-page-desktop .p {
        font-size: 16px;
        line-height: 23.04px;
    }

    /* CTA button - full width */
    .home-page-desktop .CTA {
        width: 100%;
        height: 48px;
        padding: 22px 32px;
        justify-content: center;
    }

    .home-page-desktop .get-started {
        font-size: 18px;
    }

    /* Hide desktop laptop and decorative elements */
    .home-page-desktop .laptop-wrap,
    .home-page-desktop .device-macbook-air,
    .home-page-desktop .device-macbook-air-2,
    .home-page-desktop .footprints {
        display: none !important;
    }

    .home-page-desktop .globe-wash {
        opacity: 0.1;
    }

    .home-page-desktop .img {
        display: none;
    }

    .home-page-desktop .rectangle {
        display: none;
    }

    /* ===== ABOUT SECTION ===== */
    .home-page-desktop .frame-5 {
        gap: 0 !important;
        margin-top: 40px !important;
    }

    .home-page-desktop .about {
        padding: 0 20px 40px !important;
    }

    .home-page-desktop .about-2 {
        flex-direction: column !important;
        height: auto !important;
        gap: 22px !important;
        width: 100% !important;
    }

    .home-page-desktop .frame-6 {
        width: 100% !important;
        padding-right: 0 !important;
        gap: 20px !important;
    }

    /* Section eyebrow */
    .home-page-desktop .about .text-wrapper,
    .home-page-desktop .how-it-works .text-wrapper {
        color: var(--dark-raspberry) !important;
    }

    /* Section headings */
    .home-page-desktop .div-2,
    .home-page-desktop .text-wrapper-3,
    .home-page-desktop .text-wrapper-4 {
        font-size: 28px !important;
        line-height: 32px !important;
    }

    /* Body text */
    .home-page-desktop .each-student-s,
    .home-page-desktop .text-wrapper-5 {
        font-size: 16px !important;
        line-height: 23px !important;
        color: rgba(15, 43, 60, 0.80) !important;
    }

    /* Cards container - stack vertically */
    .home-page-desktop .frame-7 {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    /* Cards - full width */
    .home-page-desktop .about-card,
    .home-page-desktop .about-card-2 {
        width: 100% !important;
        padding: 12px 12px 22px !important;
        border-radius: 22px !important;
        background: #FCFEFF !important;
        box-shadow: 0px 10px 15px rgba(128, 170, 171, 0.06) !important;
    }

    .home-page-desktop .frame-8 {
        gap: 10px;
    }

    .home-page-desktop .icon,
    .home-page-desktop .icon-2,
    .home-page-desktop .icon-3 {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .home-page-desktop .text-wrapper-6 {
        font-size: 18px;
    }

    /* ===== HOW IT WORKS ===== */
    .home-page-desktop .how-it-works {
        padding: 0 32px;
    }

    .home-page-desktop .how-it-works-2 {
        width: 100%;
        gap: 22px;
    }

    .home-page-desktop .frame-9 {
        gap: 12px;
    }

    /* ===== GLOBAL CTA ===== */
    .home-page-desktop .global-CTA {
        padding: 96px 32px;
        background: linear-gradient(180deg, #F5F8F8 0%, rgba(245, 248, 248, 0) 100%);
    }

    .home-page-desktop .global-CTA-2 {
        width: 100%;
        height: auto;
        padding: 22px;
        border-radius: 22px;
        background: linear-gradient(164deg, #0097B2 0%, #02A4C1 100%);
    }

    .home-page-desktop .frame-10 {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        gap: 22px;
    }

    .home-page-desktop .coming-soon {
        color: #C2D6D6;
    }

    .home-page-desktop .text-wrapper-8,
    .home-page-desktop .text-wrapper-9 {
        font-size: 28px;
        line-height: 28px;
    }

    .home-page-desktop .text-wrapper-10 {
        font-size: 16px;
        line-height: 23.04px;
    }

    .home-page-desktop .global-CTA .CTA {
        width: 100%;
        background: var(--dark-raspberry);
    }

    .home-page-desktop .global-CTA .get-started {
        color: var(--ink);
    }

    .home-page-desktop .racing-finish {
        display: none;
    }

    .home-page-desktop .vector-4 {
        display: none;
    }

    /* ===== FOOTER ===== */
    .home-page-desktop .footer {
        padding: 41px 32px;
        height: auto;
    }

    .home-page-desktop .frame-11 {
        width: 100%;
        align-items: center;
    }

    .home-page-desktop .logo {
        width: 148px;
        margin: 0 auto;
    }

    .home-page-desktop .frame-12 {
        align-items: center;
        gap: 32px;
    }

    .home-page-desktop .links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        justify-content: center;
    }

    .home-page-desktop .frame-13 {
        align-items: center;
        gap: 22px;
    }

    .home-page-desktop .text-wrapper-11 {
        text-align: center;
    }

    .home-page-desktop .frame-14 {
        align-items: center;
    }

    .home-page-desktop .text-wrapper-12,
    .home-page-desktop .text-wrapper-13,
    .home-page-desktop .text-wrapper-14 {
        text-align: center;
    }

    .home-page-desktop .frame-15 {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .home-page-desktop .rectangle-2 {
        width: 100%;
        height: 1px;
        opacity: 0.2;
        background: #F5F8F8;
        border-radius: 1px;
    }

    .home-page-desktop .text-wrapper-15 {
        text-align: center;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .home-page-desktop .header {
        padding: 12px 16px 8px;
    }

    .home-page-desktop .frame-2 {
        width: calc(100% - 32px);
        margin: 70px 16px 0;
    }

    .home-page-desktop .about {
        padding: 0 16px 48px;
    }

    .home-page-desktop .how-it-works {
        padding: 0 16px;
    }

    .home-page-desktop .global-CTA {
        padding: 64px 16px;
    }

    .home-page-desktop .footer {
        padding: 32px 16px;
    }
}

/* Home page mobile menu styles */
.home-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    flex-direction: column;
    gap: 4px;
    width: 28px;
}

.home-mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-raspberry);
    border-radius: 32px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.home-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.home-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.home-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.home-mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 43, 60, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.home-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.home-mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: auto;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
}

.home-mobile-menu-drawer.active {
    right: 0;
    visibility: visible;
}

@media (max-width: 768px) {
    .home-mobile-menu-toggle {
        display: flex;
    }

    .home-mobile-menu-overlay,
    .home-mobile-menu-drawer {
        display: block;
    }
}

/* ==========================================================================
   22c. MOBILE HAMBURGER MENU
   ========================================================================== */

/* Hamburger button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 43, 60, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu drawer */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: auto;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
}

.mobile-menu-drawer.active {
    right: 0;
    visibility: visible;
}

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

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-500);
    padding: 4px;
}

.mobile-menu-close:hover {
    color: var(--ink);
}

.mobile-menu-nav {
    padding: 16px 0;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 20px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s ease;
}

.mobile-menu-nav a:hover {
    background: var(--gray-50);
}

.mobile-menu-nav a.disabled {
    color: var(--gray-400);
    pointer-events: none;
}

.mobile-menu-section {
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    background: var(--gray-50);
}

.mobile-menu-cta {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
}

/* Show hamburger on mobile for app header */
@media (max-width: 768px) {
    .topbar-wrap .mobile-menu-toggle {
        display: block;
        color: white;
    }

    .topbar-wrap .main-nav {
        display: none;
    }

    .topbar-wrap .nav-right {
        display: none;
    }

    .topbar-wrap .mobile-menu-overlay,
    .topbar-wrap .mobile-menu-drawer {
        display: block;
    }

    .topbar-wrap .topbar {
        padding: var(--space-12) var(--space-16);
    }

    .header-logo-img {
        height: 80px;
    }

    /* Account avatar stays visible */
    .topbar-wrap .account-dropdown {
        display: flex;
    }

    /* District switcher in mobile menu */
    .district-switcher {
        display: none;
    }

    .mobile-district-switcher {
        padding: 16px 20px;
        border-bottom: 1px solid var(--gray-200);
    }

    .mobile-district-switcher label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--gray-500);
        margin-bottom: 8px;
    }

    .mobile-district-switcher select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid var(--gray-300);
        border-radius: 6px;
        font-size: 14px;
    }
}

/* Tablet - show some nav items */
@media (min-width: 769px) and (max-width: 1024px) {
    .topbar-wrap .main-nav {
        gap: var(--space-8);
    }

    .topbar-wrap .nav-right {
        gap: var(--space-8);
    }

    .header-logo-img {
        height: 100px;
    }
}

/* ==========================================================================
   23. DASHBOARD COMPONENTS
   ========================================================================== */

/* Compact Stat Cards */
.stats-row-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card-compact {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--card);
    border-left: 4px solid var(--stormy-teal);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card-compact.accent-1 { border-left-color: var(--stormy-teal); }
.stat-card-compact.accent-2 { border-left-color: var(--vintage-grape); }
.stat-card-compact.accent-3 { border-left-color: var(--crimson-violet); }
.stat-card-compact.accent-4 { border-left-color: var(--sunflower-gold); }
.stat-card-compact.accent-5 { border-left-color: var(--hunter-green); }

.stat-card-compact .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--ink);
}

.stat-card-compact .stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    font-family: var(--font-body);
}

/* Quick Filter Buttons */
.quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.quick-filters-section {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.quick-filters-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-right: 4px;
}

.quick-filters-divider {
    width: 1px;
    height: 24px;
    background: var(--misty-teal);
    margin: 0 12px;
}

.quick-filter-btn {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--misty-teal);
    background: var(--white);
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--ink);
    transition: all 0.15s ease;
}

.quick-filter-btn:hover {
    border-color: var(--stormy-teal);
    background: var(--light-cyan);
}

.quick-filter-btn.active {
    background: var(--stormy-teal);
    color: var(--white);
    border-color: var(--stormy-teal);
}

.quick-filter-btn.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
}

.quick-filter-btn.preferences-btn {
    background: var(--light-cyan);
    border-color: var(--stormy-teal);
    color: var(--stormy-teal);
    font-weight: 600;
}

.quick-filter-btn.preferences-btn:hover {
    background: var(--stormy-teal);
    color: var(--white);
}

/* Compact Charts Grid */
.charts-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1100px) {
    .charts-grid-compact {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 700px) {
    .charts-grid-compact {
        grid-template-columns: 1fr !important;
    }
}

.chart-card-compact {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--card);
    border: 1px solid var(--misty-teal);
}

.chart-card-compact h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--ink);
    margin: 0 0 12px 0;
    font-weight: 700;
}

.chart-card-compact .chart-container {
    position: relative;
    height: 200px;
}

/* Expandable Standards Cards */
.standards-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.standard-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--card);
    border: 1px solid var(--misty-teal);
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.standard-card:hover {
    box-shadow: var(--item);
}

.standard-card-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    gap: 16px;
}

.standard-card-header:hover {
    background: var(--light-cyan);
}

.standard-card-main {
    flex: 1;
    min-width: 0;
}

.standard-card-code {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--stormy-teal);
    margin-bottom: 4px;
}

.standard-card-code a {
    color: inherit;
    text-decoration: none;
}

.standard-card-code a:hover {
    text-decoration: underline;
}

.standard-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.standard-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.standard-card-strand {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 6px;
}

.standard-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.standard-card-chevron {
    color: var(--gray-400);
    transition: transform 0.2s ease;
}

.standard-card.expanded .standard-card-chevron {
    transform: rotate(180deg);
}

.standard-card-body {
    display: none;
    padding: 0 16px 16px;
    border-top: 1px solid var(--misty-teal);
}

.standard-card.expanded .standard-card-body {
    display: block;
}

.standard-card-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding-top: 16px;
}

.standard-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.standard-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.standard-field-value {
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.4;
}

.standard-field-value:empty::before {
    content: '—';
    color: var(--gray-300);
}

.standard-field-value.indicator-text {
    font-size: 0.95rem;
    line-height: 1.5;
    grid-column: 1 / -1;
}

/* Dashboard Filter Section Card */
.dashboard-filters-card {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--card);
    border: 1px solid var(--misty-teal);
    margin-bottom: 24px;
}

.dashboard-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dashboard-filters-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--ink);
    margin: 0;
    font-weight: 700;
}

/* ==========================================================================
   24. SAVED VIEWS DROPDOWN & MODAL
   ========================================================================== */
.saved-views-dropdown {
    position: relative;
}

.saved-views-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--misty-teal);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 100;
    display: none;
}

.saved-views-menu.open {
    display: block;
}

.saved-views-empty {
    padding: 12px 16px;
    color: var(--gray-500);
    font-size: 0.85rem;
    text-align: center;
}

.saved-view-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border-bottom: 1px solid var(--alabaster-grey);
}

.saved-view-item:last-of-type {
    border-bottom: none;
}

.saved-view-item.active {
    background: var(--light-cyan);
}

.saved-view-link {
    flex: 1;
    padding: 10px 16px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
}

.saved-view-link:hover {
    background: var(--light-cyan);
}

.saved-view-delete {
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

.saved-view-delete:hover {
    color: var(--dark-raspberry);
}

.saved-views-divider {
    height: 1px;
    background: var(--misty-teal);
    margin: 4px 0;
}

.saved-view-add {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--stormy-teal);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
}

.saved-view-add:hover {
    background: var(--light-cyan);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 43, 60, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--dark-raspberry);
}

.modal-content form {
    padding: 20px;
}

.modal-summary {
    background: var(--alabaster-grey);
    border-radius: 6px;
    padding: 12px;
    margin: 16px 0;
    font-size: 0.85rem;
}

.modal-summary p {
    margin: 0;
}

.modal-summary p + p {
    margin-top: 4px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

/* ==========================================================================
   25. PRINT STYLES
   ========================================================================== */
@media print {
    .topbar,
    .hero,
    .cta-panel,
    footer,
    .btn,
    .drawer,
    .drawer-overlay {
        display: none;
    }

    body {
        background: var(--white);
        color: black;
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ========================================
   Split-Pane Standards View (Dashboard)
   ======================================== */

.standards-split-pane {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    min-height: 500px;
}

/* Left Pane - Standards List */
.standards-list-pane {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--misty-teal);
    box-shadow: var(--card);
    display: flex;
    flex-direction: column;
    max-height: 700px;
}

.standards-list-header {
    padding: 12px 14px;
    border-bottom: 1px solid var(--misty-teal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.standards-list-header h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.sort-dropdown {
    padding: 4px 8px;
    font-size: 0.75rem;
    border: 1px solid var(--misty-teal);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.sort-dropdown:focus {
    outline: none;
    border-color: var(--stormy-teal);
}

.standards-list-actions {
    display: flex;
    align-items: center;
    gap: 8px 12px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--misty-teal);
    font-size: 0.8rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.multi-select-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.multi-select-toggle input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.multi-select-toggle span {
    line-height: 1;
}

/* Small action buttons (Select All, Clear, etc.) */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--light-cyan);
    border: 1px solid var(--misty-teal);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--stormy-teal);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-link:hover {
    background: var(--stormy-teal);
    color: var(--white);
    border-color: var(--stormy-teal);
}

/* Stat card as clickable button */
.stat-card-btn {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    text-align: left;
}

.stat-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-card-btn .stat-label {
    color: var(--ink);
    font-weight: 600;
}

.standards-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    overscroll-behavior: contain;
}

.standard-list-item {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    transition: background 0.1s ease, border-color 0.1s ease;
}

.standard-list-item:hover {
    background: var(--light-cyan);
}

.standard-list-item.selected {
    background: var(--light-cyan);
    border-color: var(--stormy-teal);
}

.standard-list-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.standard-list-code {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--stormy-teal);
}

.standard-list-status {
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent !important;
    padding: 0;
    border-radius: 0;
}

.standard-list-status.status-complete {
    color: var(--hunter-green);
}

.standard-list-status.status-in_progress {
    color: var(--sunflower-gold);
}

.standard-list-status.status-not_started {
    color: var(--gray-400);
}

.standard-list-meta {
    display: flex;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.standard-list-preview {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.standard-list-edit {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px;
    color: var(--gray-400);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.1s ease, color 0.1s ease;
}

.standard-list-item:hover .standard-list-edit {
    opacity: 1;
}

.standard-list-edit:hover {
    color: var(--stormy-teal);
    background: var(--white);
}

/* Standard vs Indicator styling */
.standard-list-item.is-standard .standard-list-code {
    color: var(--dark-raspberry);
}

.standard-list-item.is-indicator {
    margin-left: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--misty-teal);
    border-radius: 0 6px 6px 0;
}

.standard-list-item.is-indicator .standard-list-code {
    color: var(--stormy-teal);
    font-size: 0.8rem;
}

.standard-list-item.is-indicator.selected {
    border-left-color: var(--stormy-teal);
}

/* Right Pane - Data Tables */
.standards-data-pane {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.data-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--misty-teal);
    box-shadow: var(--card);
    overflow: hidden;
}

.data-card-small {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.data-card-small .data-card-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none;
    padding: 0;
}

.data-card-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--stormy-teal);
}

.data-tables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.data-card-header {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--misty-teal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-count {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.75rem;
}

.data-table-wrapper {
    max-height: 220px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    font-size: 0.75rem;
    border-collapse: collapse;
}

.data-table thead {
    position: sticky;
    top: 0;
    background: var(--light-cyan);
    z-index: 1;
}

.data-table th {
    padding: 6px 10px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.data-table td {
    padding: 6px 10px;
    border-top: 1px solid var(--light-cyan);
    color: var(--ink);
    vertical-align: top;
}

.data-table .std-col {
    width: 80px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--stormy-teal);
    white-space: nowrap;
}

.data-table .text-cell {
    line-height: 1.3;
}

.data-table tbody tr:hover {
    background: var(--light-cyan-soft);
}

.data-table tbody tr.highlighted {
    background: var(--lemon-chiffon);
}

.data-table tbody tr.highlighted td {
    font-weight: 600;
}

.show-more-btn {
    width: 100%;
    padding: 8px;
    border: none;
    background: var(--light-cyan);
    color: var(--stormy-teal);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.1s ease;
}

.show-more-btn:hover {
    background: var(--misty-teal);
}

/* Clickable table rows */
.data-table tbody tr.clickable-row {
    cursor: pointer;
    transition: background 0.1s ease;
}

.data-table tbody tr.clickable-row:hover {
    background: var(--petal-frost) !important;
}

.data-table tbody tr.clickable-row:active {
    background: var(--misty-teal) !important;
}

/* Dashboard actions row */
.dashboard-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Action buttons (unified style) */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--light-cyan);
    border: 1px solid var(--misty-teal);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--stormy-teal);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--stormy-teal);
    color: var(--white);
    border-color: var(--stormy-teal);
}

.action-btn:hover svg {
    stroke: var(--white);
}

/* Reset button - more prominent with red accent */
.action-btn.reset-btn {
    background: var(--petal-frost);
    border-color: var(--dark-raspberry);
    color: var(--dark-raspberry);
}

.action-btn.reset-btn:hover {
    background: var(--dark-raspberry);
    color: var(--white);
    border-color: var(--dark-raspberry);
}

/* Clear selection button in standards list */
.clear-selection-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--petal-frost);
    border: 1px solid var(--dark-raspberry);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--dark-raspberry);
    cursor: pointer;
    transition: all 0.15s ease;
}

.clear-selection-btn:hover {
    background: var(--dark-raspberry);
    color: var(--white);
}

.clear-selection-btn:hover svg {
    stroke: var(--white);
}

/* ============================================================================
   COLLAPSIBLE STANDARDS GROUPS
   ============================================================================ */

.standards-group {
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.standards-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.standards-group-header:hover {
    background: var(--light-cyan);
}

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

.group-chevron {
    transition: transform 0.2s ease;
    color: var(--stormy-teal);
    flex-shrink: 0;
}

.standards-group.collapsed .group-chevron {
    transform: rotate(-90deg);
}

.group-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
}

.group-count {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 400;
}

.group-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.group-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.group-stat.complete {
    color: var(--success);
}

.group-stat.in-progress {
    color: var(--sunflower-gold);
}

.standards-group-items {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.standards-group.collapsed .standards-group-items {
    max-height: 0;
    padding: 0 8px;
}

/* Collapse/Expand All button */
.collapse-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s ease;
}

.collapse-all-btn:hover {
    background: var(--gray-100);
    border-color: var(--stormy-teal);
    color: var(--stormy-teal);
}

/* Responsive: Stack on smaller screens */
@media (max-width: 1200px) {
    .data-tables-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .standards-split-pane {
        grid-template-columns: 1fr;
    }

    .standards-list-pane {
        max-height: 350px;
    }

    .data-tables-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .data-tables-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Site Footer
   ======================================== */

.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 3rem 2rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.footer-logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.footer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--misty-teal);
    margin-bottom: 0.25rem;
}

.footer-column-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column-items a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-column-items a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .footer-column {
        min-width: 140px;
    }
}
