:root {
    --radius: 12px;
    --background: #fcfcfd;
    --foreground: #30343d;
    --card: #f0f0f0;
    --primary: #315f9b;
    --primary-foreground: #fff;
    --secondary: #f8d406;
    --secondary-foreground: #34445e;
    --muted: #f8d406;
    --muted-foreground: #747b88;
    --accent: #f2c14e;
    --accent-foreground: #514018;
    --border: #dfe3e9;
    --hero: #fbfcff;
    --hero-muted: #e4eaf2;
    --hero-veil: #19283f
}

.dark {
    --background: var(--primary);
    --foreground: #f2f4f8;
    --card: #202a3a;
    --primary: #0267af;
    --primary-foreground: #172131;
    /* --secondary: #2b3546; #f8d406; */
    --secondary: #f8d406;
    --secondary-foreground: #f1f4fa;
    --muted: #2b3546;
    --muted-foreground: #b3bdcc;
    --border: #394354
}

* {
    box-sizing: border-box;
    border-color: var(--border)
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: Poppins, Arial, sans-serif
}

button,
input {
    font: inherit
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

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

h1,
h2,
h3 {
    font-family: "DM Serif Text", Georgia, serif;
    font-weight: 400;
    margin: 0
}

.d-none {
    display: none !important;
}

.hero {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    flex-direction: column
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 40, 63, .62), rgba(25, 40, 63, .38) 45%, rgba(25, 40, 63, .72))
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px 0
}

.brand-group,
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.wordmark-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
    color: var(--primary)
}

.wordmark-pill img {
    width:  100%;
    max-width: 30px;
}

.wordmark-pill svg {
    width: 20px;
    height: 20px
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em
}

.brand-subtitle {
    font-size: 10px;
    line-height: 1.25;
    color: var(--muted-foreground)
}

.brand-symbol {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    color: var(--accent-foreground)
}

.brand-symbol svg {
    width: 20px
}

.organizations-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--hero);
    transition: color .2s
}

.organizations-link:hover/* ,
.glass-pill:hover */ {
    color: var(--accent)
}

.glass-pill {
    /* background: rgba(255, 255, 255, .12); */
    background: rgba(49, 95, 155, .9);
    border: 1px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--hero)
}

.icon-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer
}

.icon-button svg {
    width: 16px
}

.language-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer
}

.language-button svg {
    width: 16px
}

.hero-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 16px;
    text-align: center
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hero);
    animation: badge-glow 3.2s ease-in-out infinite
}

.hero-badge svg {
    width: 16px;
    color: var(--accent)
}

.hero h1 {
    margin-top: 25px;
    color: var(--hero);
    font-family: Poppins, Arial, sans-serif;
    font-size: clamp(2.6rem, 6vw, 3.7rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.035em
}

.hero-subtitle {
    margin: 16px 0 0;
    color: var(--hero-muted);
    font-size: clamp(1.1rem, 2.3vw, 1.5rem)
}

.glass-panel {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: 0 18px 45px -18px rgba(0, 0, 0, .45);

}

.theme-panel {
    width: min(100%, 672px);
    margin-top: 40px;
    padding: 27px 32px;
    border-radius: 16px
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase
}

.theme-copy {
    margin: 7px 0 0;
    color: var(--hero);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-top: 30px;
    color: var(--hero);
    font-size: 16px
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.event-meta svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex: none
}

.updates-panel {
    width: min(100%, 576px);
    margin-top: 48px;
    padding: 28px;
    border-radius: 16px
}

.updates-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.updates-heading svg {
    width: 20px;
    color: var(--accent)
}

.updates-heading h2 {
    color: var(--hero);
    font-family: Poppins, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600
}

.updates-description {
    margin: 8px 0 0;
    color: var(--hero-muted);
    font-size: 14px
}

.notify-form {
    display: flex;
    gap: 12px;
    margin-top: 24px
}

.notify-form input {
    height: 44px;
    min-width: 0;
    flex: 1;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, .15);
    color: var(--hero)
}

.notify-form input::placeholder {
    color: var(--hero-muted)
}

.notify-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(242, 193, 78, .25)
}

.notify-form input[aria-invalid=true] {
    border-color: #ff9d9d
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .2s, transform .2s
}

.primary-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

.primary-button svg {
    width: 16px
}

.success-message {
    margin: 24px 0 0;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(49, 95, 155, .9);
    color: white;
    font-size: 14px;
    font-weight: 500
}

.form-error {
    margin: 10px 0 0;
    color: #ffd1d1;
    font-size: 13px
}

.discover-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 38px;
    border: 0;
    background: none;
    color: var(--hero-muted);
    font-size: 14px;
    cursor: pointer;
    transition: color .2s
}

.discover-button:hover {
    color: var(--hero)
}

.discover-button svg {
    width: 20px;
    animation: bounce 1.8s infinite
}

.progress-section {
    padding: 80px 16px;
    scroll-margin-top: 16px
}

.progress-card {
    max-width: 896px;
    margin: auto;
    padding: 40px;
    /* border: 1px solid var(--border); */
    border-radius: 24px;
    background: var(--card);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.progress-card h2,
.organizers-inner>h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    color: var(--primary)
}

.progress-description {
    max-width: 576px;
    margin: 16px auto 0;
    color: var(--muted-foreground);
    line-height: 1.7
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    color: var(--muted-foreground);
    font-size: 14px;
    font-weight: 500
}

.progress-label strong {
    color: var(--foreground)
}

.progress-track {
    height: 12px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--hero-muted)
}

.progress-fill {
    width: 30%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent));
    transition: width 1.2s cubic-bezier(.22, 1, .36, 1)
}

.organizers-section {
    padding: 80px 16px;
    /* background: color-mix(in srgb, var(--secondary) 60%, transparent); */
    background: #0267AF1F;
    scroll-margin-top: 16px
}

.organizers-inner {
    max-width: 1024px;
    margin: auto
}

.section-eyebrow {
    text-align: center;
    color: #747474;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase
}

.organizers-inner>h2 {
    margin-top: 12px;
    text-align: center;
    color: var(--primary)
}

.organizer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 48px
}

.organizer-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.organizer-logo {
    display: flex;
    height: 80px;
    align-items: center;
    gap: 12px;
    color: var(--primary)
}

.organizer-logo img {
    width: auto;
    height: 100%;
}

.organizer-logo svg {
    width: 36px;
    height: 36px
}

.organizer-logo span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .03em
}

.fmps-logo {
    color: var(--foreground)
}

.organizer-card h3 {
    margin-top: 15px;
    font-size: 24px;
    color: var(--primary)
}

.organizer-description {
    flex: 1;
    margin: 12px 0 0;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.8
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none
}

.facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e3e3e3;
    color: var(--secondary-foreground);
    font-size: 12px;
    font-weight: 500
}

.facts svg {
    width: 12px;
    height: 12px;
    color: var(--primary)
}

.outline-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 32px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 500;
    transition: background .2s;
    background: var(--secondary)
}

.outline-button:hover {
    background: var(--primary);
    color: var(--hero);
}

.outline-button svg {
    width: 16px
}

.site-footer {
    padding: 32px 16px;
    border-top: 1px solid var(--border);
    color: var(--hero);
    text-align: center;
    font-size: 14px;
    background: var(--primary)
}

.site-footer > span {
    font-weight: 600;
    color: #f8d406;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@keyframes badge-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(242, 193, 78, .45)
    }

    50% {
        box-shadow: 0 0 0 8px transparent
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-3px)
    }

    50% {
        transform: translateY(3px)
    }
}

@media(max-width:760px) {
    .site-header {
        padding: 18px 20px 0;
        justify-content: center;
    }

    .organizations-link {
        display: none
    }

    .hero-main {
        padding: 64px 18px
    }

    .hero h1 {
        max-width: 700px
    }

    .event-meta {
        flex-direction: column;
        align-items: center;
        gap: 12px
    }

    .organizer-grid {
        grid-template-columns: 1fr
    }

    .progress-card {
        padding: 30px 22px
    }

    .organizer-card {
        padding: 26px
    }

    .theme-panel {
        padding: 24px
    }

    .updates-panel {
        padding: 24px
    }
}

@media(max-width:520px) {
    .brand-group {
        gap: 7px
    }

    .wordmark-pill {
        padding: 7px 11px;
        gap: 7px
    }

    .brand-symbol {
        width: 40px;
        height: 40px;
        padding: 0
    }

    .header-actions {
        gap: 7px
    }

    .language-button {
        padding: 8px 11px
    }

    .hero-main {
        padding: 54px 16px
    }

    .hero h1 {
        font-size: 2.55rem
    }

    .hero-subtitle {
        font-size: 1.1rem
    }

    .event-meta {
        font-size: 13px
    }

    .notify-form {
        flex-direction: column
    }

    .notify-form input,
    .primary-button {
        width: 100%;
        height: 46px
    }

    .updates-panel {
        padding: 22px 18px
    }

    .theme-copy {
        font-size: 16px
    }

    .progress-section,
    .organizers-section {
        padding: 60px 16px
    }

    .organizer-logo span {
        font-size: 27px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}



.notify-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* Submission loading state */
.notify-form .primary-button {
    position: relative;
    transition: opacity 0.2s ease;
}

.notify-form .primary-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: notify-spin 0.7s linear infinite;
}

.notify-form .primary-button.is-loading .button-spinner {
    display: inline-block;
}

.notify-form .primary-button.is-loading i {
    display: none;
}

@keyframes notify-spin {
    to {
        transform: rotate(360deg);
    }
}
