:root {
    --bg: #f7f8fb;
    --panel: #ffffff;
    --panel-2: #f3f4f6;
    --text: #111827;
    --muted: #4b5563;

    --brand: #2563eb;
    --brand-2: #7c3aed;

    --grad1: rgba(37, 99, 235, .10);
    --grad2: rgba(124, 58, 237, .08);

    --header-bg: rgba(247, 248, 251, .85);

    --border: rgba(17, 24, 39, .12);
    --shadow: 0 10px 30px rgba(17, 24, 39, .08);
    --radius: 16px;
    --radius-sm: 12px;
    --max: 1120px;
}

html[data-theme="dark"] {
    --bg: #0b0f17;
    --panel: #121a27;
    --panel-2: #0f1622;
    --text: #e7edf7;
    --muted: #a9b6cc;

    --brand: #7dd3fc;
    --brand-2: #a78bfa;

    --grad1: rgba(125, 211, 252, .12);
    --grad2: rgba(167, 139, 250, .10);

    --header-bg: rgba(11, 15, 23, .70);

    --border: rgba(255, 255, 255, .10);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: radial-gradient(1200px 700px at 20% 0%, var(--grad1), transparent 60%),
    radial-gradient(1200px 700px at 80% 10%, var(--grad2), transparent 60%),
    var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.skip-link:focus {
    left: 12px;
    z-index: 999;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .12));
    border: 1px solid var(--border);
    font-weight: 800;
}


html[data-theme="dark"] .brand-mark {
    background: linear-gradient(135deg, rgba(125, 211, 252, .25), rgba(167, 139, 250, .22));
}

.brand-title {
    font-weight: 800;
    letter-spacing: .3px;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.92rem;
}

.theme-toggle {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-toggle__icon {
    width: 1.2em;
    text-align: center;
}

.theme-toggle__text {
    color: var(--muted);
    font-weight: 700;
}

.theme-toggle.floating {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
}


.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.nav-toggle {
    display: none;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 12px;
    color: var(--muted);
}

.nav a:hover, .nav a:focus {
    background: rgba(17, 24, 39, .05);
    color: var(--text);
    outline: none;
}

html[data-theme="dark"] .nav a:hover,
html[data-theme="dark"] .nav a:focus {
    background: rgba(255, 255, 255, .06);
}

.hero {
    padding: 48px 0 28px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.45fr .85fr;
    gap: 18px;
    align-items: start;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    line-height: 1.1;
}

.lead {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1.05rem;
}

.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

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

.btn:active {
    transform: translateY(0);
}

.btn.primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .12));
    border-color: rgba(37, 99, 235, .18);
}

html[data-theme="dark"] .btn.primary {
    background: linear-gradient(135deg, rgba(125, 211, 252, .22), rgba(167, 139, 250, .20));
    border-color: rgba(125, 211, 252, .22);
}

.btn.small {
    padding: 8px 10px;
    border-radius: 12px;
    font-size: .95rem;
    box-shadow: none;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(17, 24, 39, .03);
    color: var(--muted);
    font-size: .92rem;
}

html[data-theme="dark"] .badge {
    background: rgba(255, 255, 255, .04);
}

.section {
    padding: 36px 0;
}

.section.alt {
    background: rgba(17, 24, 39, .02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

html[data-theme="dark"] .section.alt {
    background: rgba(255, 255, 255, .02);
}

.section h2 {
    margin: 0 0 14px;
    font-size: 1.4rem;
}

.muted {
    color: var(--muted);
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.grid {
    display: grid;
    gap: 14px;
}

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

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

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(243, 244, 246, .85));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    margin-top: 15px;
}

html[data-theme="dark"] .card {
    background: linear-gradient(180deg, rgba(18, 26, 39, .85), rgba(15, 22, 34, .85));
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.callout {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(37, 99, 235, .35);
    background: rgba(37, 99, 235, .05);
}

html[data-theme="dark"] .callout {
    border: 1px dashed rgba(125, 211, 252, .35);
    background: rgba(125, 211, 252, .06);
}

.clean-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.clean-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

html[data-theme="dark"] .clean-list li {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

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


.card a {
    color: #06c;
    text-decoration: underline;
}

.card a:visited {
    color: #551A8B;
}

details a {
    color: #06c;
    text-decoration: underline;
}

details a:visited {
    color: #551A8B;
}

.table-wrap {
    overflow: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(17, 24, 39, .08);
    background: var(--panel);
}

html[data-theme="dark"] .table-wrap {
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .02);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.table th, .table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

html[data-theme="dark"] .table th,
html[data-theme="dark"] .table td {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.table th {
    color: var(--muted);
    font-weight: 700;
}

.schedule-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.table-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}


.pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(17, 24, 39, .03);
    color: var(--muted);
    font-size: .92rem;
}

html[data-theme="dark"] .pill {
    background: rgba(255, 255, 255, .04);
}

.linklike {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    color: var(--brand);
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
}

.linklike:hover {
    filter: brightness(0.9);
}


.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(17, 24, 39, .02);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-meta {
    text-align: right;
}

.footer-credit {
    margin-top: 6px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    gap: 18px;
}

.footer-ack {
    padding-top: 6px;
}

.footer-inner {
    padding-top: 6px;
    border-top: 1px solid var(--border);
}


.footer-ack .sponsor-logos {
    margin-top: 14px;
}


.sponsor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
    text-decoration: none;
    margin-right: 16px;
}

.sponsor:hover {
    transform: translateY(-1px);
}

.sponsor:active {
    transform: translateY(0);
}


.sponsor-note {
    display: block;
    line-height: 1.35;
}

.sponsor img {
    height: 35px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    filter: none;
}

.eu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-top: 20px;
}

.eu-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
}

.eu-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.eu-badge img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.eu-badge-title {
    font-size: 12px;
    color: var(--muted);
}

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

@media (max-width: 760px) {
    .grid.two, .grid.three {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        right: 16px;
        top: 64px;
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        min-width: 220px;
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav a {
        padding: 10px 12px;
    }
}


.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 14px;

    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    box-shadow: var(--shadow);

    display: grid;
    place-items: center;

    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#organizers .organizers-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

#organizers .organizer-avatar {
    width: 85px;
    height: 85px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    border: 2px solid var(--border);
    background: var(--panel-2);
}

#organizers .organizer-text {
    min-width: 0;
}
