/* 8Minds.org: logo palette (teal/cyan, violet/magenta, orange/amber, navy) */
:root {
    --logo-navy: #0f172a;
    --logo-navy-soft: #1e293b;
    --logo-teal: #0d9488;
    --logo-teal-bright: #14b8a6;
    --logo-cyan: #22d3ee;
    --logo-violet: #7c3aed;
    --logo-magenta: #a855f7;
    --logo-fuchsia: #c026d3;
    --logo-orange: #ea580c;
    --logo-amber: #fbbf24;
    --logo-coral: #fb923c;
    --logo-green: #059669;
    --logo-mint: #34d399;
    --8m-white: #ffffff;
    --8m-surface: #f8fafc;
    --8m-surface-warm: #f0fdfa;
    --8m-gray: #475569;
    --8m-gray-light: #e2e8f0;
    /* Semantic aliases (existing class names) */
    --8m-black: var(--logo-navy);
    --8m-black-soft: var(--logo-navy-soft);
    --8m-charcoal: #334155;
    --8m-red: var(--logo-orange);
    --8m-red-dark: #c2410c;
    --8m-red-light: #ffedd5;
    --8m-red-soft: #fff7ed;
    --8m-yellow: var(--logo-amber);
    --8m-yellow-dark: #d97706;
    --8m-yellow-light: #fef9c3;
    --8m-gold: var(--logo-coral);
    --8m-cream: #ecfeff;
    --8m-peach: #e9d5ff;
    --8m-peach-light: #cffafe;
    --8m-peach-dark: var(--logo-violet);
    --8m-purple: var(--logo-teal-bright);
    --8m-purple-mid: var(--logo-violet);
    --8m-purple-dark: var(--logo-navy);
    --8m-purple-deep: var(--logo-navy);
    --gradient-main: linear-gradient(120deg, var(--logo-teal) 0%, var(--logo-violet) 45%, var(--logo-orange) 100%);
    --gradient-hero: linear-gradient(165deg, #ecfeff 0%, #f5f3ff 35%, #fff7ed 70%, var(--8m-white) 100%);
    --gradient-cta: linear-gradient(135deg, var(--logo-cyan) 0%, var(--logo-violet) 50%, var(--logo-coral) 100%);
    --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 8px 28px rgba(124, 58, 237, 0.08);
    --shadow-pop: 0 20px 50px rgba(13, 148, 136, 0.15);
    --header-height: 152px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--logo-navy);
    background: var(--8m-surface);
    background-image:
        radial-gradient(ellipse 900px 500px at 10% -10%, rgba(34, 211, 238, 0.18), transparent 55%),
        radial-gradient(ellipse 800px 480px at 95% 0%, rgba(251, 146, 60, 0.14), transparent 50%),
        radial-gradient(ellipse 600px 400px at 50% 100%, rgba(167, 139, 250, 0.1), transparent 45%);
    background-attachment: fixed;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--logo-navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: var(--logo-teal-bright);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--logo-violet);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--logo-teal), var(--logo-violet), var(--logo-orange)) 1;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
}

.site-header.is-scrolled .header-inner {
    padding: 0.4rem 1.5rem;
}

.site-header.is-scrolled .site-logo {
    height: 52px;
}

.header-inner {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    column-gap: 1rem;
    row-gap: 0;
}

.site-header .header-inner,
.site-header .site-logo {
    transition: none;
}

.logo-link {
    display: block;
    line-height: 0;
    justify-self: center;
}

.site-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(124, 58, 237, 0.2));
}

.header-spacer {
    height: var(--header-height);
    flex-shrink: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.nav-left a,
.nav-right a {
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--logo-navy);
    position: relative;
    border-radius: 999px;
}

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: width 0.2s ease, left 0.2s ease;
}

.nav-left a:hover::after,
.nav-left a.active::after,
.nav-right a:hover::after,
.nav-right a.active::after {
    width: 70%;
    left: 15%;
}

.nav-left a:hover,
.nav-left a.active,
.nav-right a:hover,
.nav-right a.active {
    color: var(--logo-violet);
}

.nav-right a.btn-cta {
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    background: var(--gradient-main);
    color: white !important;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.35);
}

.nav-right a.btn-cta::after {
    display: none;
}

.nav-right a.btn-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    opacity: 1;
    color: white !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--logo-navy);
}

@media (max-width: 992px) {
    .header-spacer {
        height: 120px;
    }
    .header-inner {
        grid-template-columns: 1fr auto;
        justify-content: stretch;
        padding: 0.75rem 1rem;
    }
    .nav-left,
    .nav-right {
        display: none;
    }
    .logo-link {
        justify-self: start;
    }
    .site-logo {
        height: 88px;
    }
    .nav-toggle {
        display: block;
        justify-self: end;
    }
    .header-inner.menu-open .nav-left,
    .header-inner.menu-open .nav-right {
        display: flex;
        grid-column: 1 / -1;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem 0 0;
        border-top: 2px dashed var(--8m-gray-light);
        margin-top: 0.5rem;
    }
    .header-inner.menu-open .nav-left {
        order: 2;
    }
    .header-inner.menu-open .nav-right {
        order: 3;
    }
    .header-inner.menu-open .logo-link {
        order: 1;
    }
    .header-inner.menu-open .nav-toggle {
        order: 4;
    }
}

/* Main */
.main-content {
    min-height: 60vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 4rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
    background: var(--gradient-hero);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 70%);
    top: -40px;
    left: 8%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.4) 0%, transparent 70%);
    bottom: 10%;
    right: 6%;
    pointer-events: none;
}

.hero .tagline {
    font-size: 1.15rem;
    color: var(--8m-charcoal);
    max-width: 620px;
    margin: 0 auto 1.25rem;
    font-weight: 600;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.hero .tagline strong {
    color: var(--logo-violet);
}

.hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--logo-teal);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.hero .btn {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    margin-bottom: 0.75rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero .btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 800;
    background: var(--gradient-main);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    box-shadow: var(--shadow-pop);
}

.hero .btn:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
    color: white;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    background: var(--gradient-main);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

/* Photo frames */
.photo-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: min(960px, 100%);
    margin: 1.75rem auto 0;
    position: relative;
    z-index: 1;
}

.photo-frame {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.photo-frame__inner {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 250, 0.9));
    border: 3px dashed currentColor;
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.photo-frame--has-img .photo-frame__inner {
    border-style: solid;
    padding: 0;
    background: #0f172a;
}

.photo-frame__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-frame:hover .photo-frame__inner {
    transform: scale(1.02);
}

.photo-frame__hint {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.45;
}

.photo-frame--teal {
    color: var(--logo-teal);
}
.photo-frame--teal .photo-frame__inner {
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.2);
}

.photo-frame--sunset {
    color: var(--logo-orange);
}
.photo-frame--sunset .photo-frame__inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.95));
    box-shadow: 0 8px 28px rgba(234, 88, 12, 0.18);
}

.photo-frame--violet {
    color: var(--logo-violet);
}
.photo-frame--violet .photo-frame__inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 243, 255, 0.95));
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.18);
}

.photo-frame--lime {
    color: var(--logo-green);
}
.photo-frame--lime .photo-frame__inner {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.95));
    box-shadow: 0 8px 28px rgba(5, 150, 105, 0.18);
}

@media (max-width: 600px) {
    .photo-row {
        grid-template-columns: 1fr;
        max-width: min(420px, 100%);
    }
}

/* Sprinkle layout: text + frame side by side (frame column wide enough for landscape) */
.sprinkle-block {
    display: grid;
    grid-template-columns: 1fr minmax(220px, min(42%, 400px));
    gap: 2rem;
    align-items: start;
    margin: 2.5rem 0;
}

/* Match aside height to text column; stack mascots vertically */
.sprinkle-block--stretch {
    align-items: stretch;
}

.sprinkle-block__aside--mascots {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    height: 100%;
    align-self: stretch;
}

.sprinkle-block__aside--mascots .pow-mascot--sidebar {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 0.5rem 0.65rem;
    box-sizing: border-box;
    overflow: hidden;
}

.sprinkle-block__aside--mascots .pow-mascot--sidebar img {
    width: auto;
    max-width: min(220px, 100%);
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

.sprinkle-block__aside--mascots .pow-mascot--sidebar figcaption {
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.sprinkle-block .photo-frame {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    max-width: 100%;
}

.sprinkle-block--mirror {
    grid-template-columns: minmax(220px, min(42%, 400px)) 1fr;
}

.sprinkle-block--mirror .photo-frame {
    order: -1;
}

.sprinkle-block--no-sticky .photo-frame {
    position: static;
    top: auto;
}

.sprinkle-block--no-sticky .photo-frame__inner {
    /* Height increased ~30% compared to 3/4 */
    aspect-ratio: 3 / 5.2;
}

.sprinkle-block .content-block h2:first-child {
    margin-top: 0;
}

@media (max-width: 768px) {
    .sprinkle-block,
    .sprinkle-block--mirror {
        grid-template-columns: 1fr;
    }
    .sprinkle-block--mirror .photo-frame {
        order: 0;
    }
    .sprinkle-block .photo-frame {
        position: static;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .sprinkle-block__aside--mascots {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        height: auto;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .sprinkle-block__aside--mascots .pow-mascot--sidebar {
        flex: 1 1 50%;
        min-height: 0;
    }
    .sprinkle-block__aside--mascots .pow-mascot--sidebar img {
        max-height: 200px;
    }
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.minds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.35rem;
    margin-top: 2rem;
}

.mind-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.35rem;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.mind-card:nth-child(8n+1) { border-color: rgba(13, 148, 136, 0.35); }
.mind-card:nth-child(8n+2) { border-color: rgba(124, 58, 237, 0.35); }
.mind-card:nth-child(8n+3) { border-color: rgba(234, 88, 12, 0.35); }
.mind-card:nth-child(8n+4) { border-color: rgba(5, 150, 105, 0.35); }
.mind-card:nth-child(8n+5) { border-color: rgba(34, 211, 238, 0.4); }
.mind-card:nth-child(8n+6) { border-color: rgba(192, 38, 211, 0.3); }
.mind-card:nth-child(8n+7) { border-color: rgba(251, 191, 36, 0.45); }
.mind-card:nth-child(8n)   { border-color: rgba(99, 102, 241, 0.35); }

/* Yearly highlighted intelligence (update the card in the-8-minds.php when the theme changes) */
.minds-grid > .mind-card--featured {
    border: 2px solid transparent;
    background:
        linear-gradient(145deg, rgba(240, 253, 250, 0.97) 0%, rgba(245, 243, 255, 0.94) 42%, rgba(255, 247, 237, 0.97) 100%) padding-box,
        linear-gradient(120deg, var(--logo-teal), var(--logo-violet), var(--logo-amber)) border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 36px rgba(124, 58, 237, 0.14);
}

.mind-card--featured:hover {
    box-shadow: 0 14px 44px rgba(13, 148, 136, 0.18);
}

.mind-card .mind-card__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--gradient-main);
    color: white;
}

.mind-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: var(--shadow-soft);
}

.mind-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
    color: var(--logo-violet);
}

.mind-card p {
    font-size: 0.95rem;
    color: var(--8m-gray);
    font-weight: 500;
}

.mind-card--featured .mind-card__badge + h3 {
    margin-top: 0;
}

/* Content pages */
.page-title {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--logo-teal), var(--logo-violet), var(--logo-orange)) 1;
}

.content-block h2 {
    font-size: 1.4rem;
    margin: 2.25rem 0 0.85rem;
    color: var(--logo-violet);
}

.content-block h3 {
    font-size: 1.15rem;
    margin: 1.75rem 0 0.6rem;
    color: var(--logo-teal);
}

.content-block p,
.content-block li {
    margin-bottom: 1rem;
    color: var(--logo-navy-soft);
    font-weight: 500;
}

.content-block ul {
    padding-left: 1.35rem;
    margin-bottom: 1.25rem;
}

/* Power of Words: Junior / Senior mascot cards */
.pow-mascot {
    margin: 0;
    text-align: center;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 255, 0.65) 100%);
    border-radius: var(--radius-lg);
    padding: 1rem 0.75rem 0.9rem;
    border: 1px solid rgba(124, 58, 237, 0.18);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
}

.pow-mascot img {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.pow-mascot figcaption {
    margin-top: 0.65rem;
    font-weight: 800;
    font-size: 0.82rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

.pow-mascot--junior figcaption {
    color: var(--logo-teal);
}

.pow-mascot--senior figcaption {
    color: var(--logo-violet);
}

.task-tabs {
    margin-top: 1rem;
}

.task-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
    justify-content: center;
    align-items: center;
}

.task-tabs__btn {
    border: 2px solid rgba(124, 58, 237, 0.2);
    background: white;
    color: var(--logo-navy);
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    min-width: 250px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.task-tabs__btn:hover {
    border-color: rgba(13, 148, 136, 0.45);
    transform: translateY(-1px);
}

.task-tabs__btn.is-active {
    color: white;
    border-color: transparent;
    background: var(--gradient-main);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.24);
}

.task-tabs__panel {
    display: none;
}

.task-tabs__panel.is-active {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.task-tabs__panel .task-box {
    margin: 0;
}

/* Power of Words: bottom photo + 3-column text */
.pow-bottom-block {
    margin-top: 2rem;
}

.pow-horizontal-photo {
    max-width: 100%;
    margin: 0 auto 1.5rem;
}

.pow-horizontal-photo .photo-frame {
    max-width: 100%;
}

.pow-horizontal-photo .photo-frame__inner {
    aspect-ratio: 16 / 6;
}

.pow-horizontal-photo--double {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.pow-horizontal-photo--double .photo-frame__inner {
    aspect-ratio: 16 / 9;
}

.pow-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pow-info-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 243, 255, 0.72) 100%);
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 14px;
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.06);
}

.pow-info-card h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .pow-horizontal-photo--double {
        grid-template-columns: 1fr;
    }
    .pow-info-grid {
        grid-template-columns: 1fr;
    }
    .pow-horizontal-photo--double .photo-frame__inner {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 560px) {
    .task-tabs__list {
        gap: 0.5rem;
    }
    .task-tabs__btn {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    .task-tabs__panel.is-active {
        grid-template-columns: 1fr;
    }
}

.content-block .task-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #ecfeff 100%);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    margin: 1.15rem 0;
    border: 1px solid rgba(124, 58, 237, 0.14);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
    font-weight: 600;
}

.content-block .task-box__title {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--logo-navy);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.content-block .task-box__limit {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--logo-teal);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(124, 58, 237, 0.25);
}

.content-block .task-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: task-step;
}

.content-block .task-steps li {
    position: relative;
    margin: 0 0 0.85rem;
    padding: 0.5rem 0.65rem 0.5rem 2.85rem;
    font-weight: 600;
    color: var(--logo-navy-soft);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.content-block .task-steps li:last-child {
    margin-bottom: 0;
}

.content-block .task-steps li::before {
    counter-increment: task-step;
    content: counter(task-step);
    position: absolute;
    left: 0.55rem;
    top: 0.72rem;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.content-block .task-steps li + li::after {
    content: '';
    position: absolute;
    left: 1.35rem;
    top: -0.55rem;
    width: 2px;
    height: 0.55rem;
    background: linear-gradient(180deg, var(--logo-violet), var(--logo-teal));
    opacity: 0.45;
    border-radius: 1px;
}

.home-band {
    background: linear-gradient(120deg, rgba(224, 231, 255, 0.5) 0%, rgba(204, 251, 241, 0.45) 50%, rgba(255, 237, 213, 0.5) 100%) !important;
    padding: 3rem 1.5rem !important;
    border-radius: var(--radius-xl);
    margin: 1rem 1rem 0;
    max-width: calc(1200px + 2rem);
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: linear-gradient(165deg, var(--logo-navy) 0%, #1e1b4b 100%);
    color: #e2e8f0;
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--logo-teal), var(--logo-violet), var(--logo-amber)) 1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

/* Footer columns: center headings, lists, and body copy */
.footer-inner > .footer-col {
    text-align: center;
}

.footer-col--brand .footer-logo-wrap {
    justify-content: center;
}

.footer-col--brand > p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.98;
}

.footer-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.site-footer p {
    font-size: 0.95rem;
    opacity: 0.92;
    max-width: 100%;
    font-weight: 500;
}

.site-footer a {
    color: var(--logo-cyan);
    font-weight: 700;
}

.site-footer a:hover {
    color: var(--logo-amber);
}

.footer-links h4 {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.88;
}
.footer-legal-links {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    opacity: 0.75;
}
.footer-legal-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-legal-links a:hover { opacity: 0.65; }

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-wrap { justify-content: center; }
    .footer-col--brand > p {
        max-width: none;
    }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.lead-in {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--8m-charcoal);
    line-height: 1.75;
    max-width: 720px;
}

/* Video submission (paid, Stripe Payment Element) */
.video-submit-page .video-submit-card {
    max-width: 560px;
    margin: 0 auto 3rem;
    padding: 1.75rem 1.5rem 2rem;
}

.video-submit-lead {
    margin-bottom: 1.5rem;
}

.video-submit-alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.video-submit-alert code {
    font-size: 0.82em;
    font-weight: 600;
    word-break: break-word;
}

.video-submit-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.video-submit-alert--ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.video-submit-form .video-submit-field {
    margin-bottom: 1.1rem;
}

.video-submit-form .video-submit-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--logo-navy);
}

.video-submit-form .video-submit-field input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 2px solid var(--8m-gray-light);
    font-family: inherit;
    font-size: 0.95rem;
}

.video-submit-form .video-submit-field input:focus {
    outline: none;
    border-color: var(--logo-teal-bright);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.video-submit-readonly {
    background: var(--8m-surface);
    color: var(--8m-charcoal);
    cursor: default;
}

.video-submit-optional {
    font-weight: 600;
    color: var(--8m-gray);
    font-size: 0.8rem;
}

.video-submit-fee {
    margin: 1rem 0 1.25rem;
    font-size: 1rem;
    color: var(--logo-navy);
}

.video-submit-next,
.video-submit-pay-btn {
    width: 100%;
    text-align: center;
}

.video-submit-pay-btn.btn-cta {
    margin-top: 0.5rem;
}

.video-submit-pay-section {
    margin-top: 0.5rem;
}

.video-submit-divider {
    height: 1px;
    background: var(--8m-gray-light);
    margin: 1.25rem 0 1rem;
}

.video-submit-pay-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    color: var(--logo-navy);
}

.video-submit-payment-element {
    margin-bottom: 1rem;
}

.video-submit-message {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--logo-navy);
    margin-bottom: 0.75rem;
}

.video-submit-message--error {
    color: #b91c1c;
}

.main-content .btn.btn-cta {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
