:root {
    --blue: #0076b6;
    --blue-dark: #005f95;
    --navy: #0b1b2b;
    --navy-2: #10263c;
    --text: #172033;
    --muted: #667085;
    --line: #dfe7f1;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 20px 60px rgba(10, 35, 66, .14);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.55;
}
a { color: var(--blue); }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 27, 43, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { height: 42px; width: auto; display: block; }
.top-links { display: flex; align-items: center; gap: 22px; }
.top-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.top-links a:hover { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,.22); padding: 9px 14px; border-radius: 999px; }
.hero {
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,118,182,.45), transparent 34%),
        radial-gradient(circle at 80% 0%, rgba(0,118,182,.34), transparent 30%),
        linear-gradient(135deg, #07111d 0%, #0b1b2b 55%, #10263c 100%);
    padding: 36px 0 88px;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center; }

.invitation-reference {
    margin-bottom: 56px;
}
.invitation-reference-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    color: rgba(255,255,255,.84);
}
.invitation-reference-copy span {
    color: #77cef9;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
}
.invitation-reference-copy strong {
    font-size: 15px;
    text-align: right;
    color: rgba(255,255,255,.88);
}
.invitation-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.16);
    background: #000;
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.eyebrow, .section-kicker {
    display: inline-flex;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 14px;
}
.hero .eyebrow { color: #77cef9; }
h1, h2, h3 { line-height: 1.12; margin: 0; color: inherit; }
h1 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.04em; max-width: 900px; }
h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; color: var(--navy); }
h3 { font-size: 21px; color: var(--navy); }
.lead { font-size: 20px; color: rgba(255,255,255,.82); max-width: 760px; margin: 24px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 20px; }
.button {
    appearance: none;
    border: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 13px 20px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #0794dd); box-shadow: 0 14px 32px rgba(0,118,182,.28); }
.button-primary:hover { background: linear-gradient(135deg, var(--blue-dark), #007fc4); }
.button-secondary { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); }
.section .button-secondary, .simple-page .button-secondary { color: var(--navy); background: #eef4fa; border-color: var(--line); }
.full { width: 100%; }
.small-note, .microcopy, .form-hint { color: rgba(255,255,255,.70); font-size: 14px; }
.event-card {
    position: relative;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.event-card-glow { position: absolute; inset: -90px -60px auto auto; width: 220px; height: 220px; background: rgba(0,118,182,.38); filter: blur(35px); border-radius: 999px; }
.event-card h2 { color: #fff; margin-bottom: 22px; position: relative; }
.event-card ul { list-style: none; margin: 0; padding: 0; position: relative; }
.event-card li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.event-card span { color: rgba(255,255,255,.62); }
.event-card strong { text-align: right; }
.section { padding: 86px 0; }
.soft { background: var(--soft); }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.align-start { align-items: start; }
.prose { color: #455266; font-size: 18px; }
.prose p:first-child { margin-top: 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading p:last-child { color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 35px rgba(10,35,66,.06); }
.icon { display: inline-flex; color: #fff; background: var(--blue); border-radius: 999px; padding: 5px 10px; font-weight: 900; font-size: 12px; margin-bottom: 18px; }
.info-card p { color: var(--muted); margin-bottom: 0; }
.timeline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.timeline div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px; border-bottom: 1px solid var(--line); }
.timeline div:last-child { border-bottom: 0; }
.timeline strong { color: var(--navy); }
.timeline span { color: var(--muted); }
.registration-section { background: linear-gradient(180deg, #fff 0%, #f4f7fb 100%); }
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.form-copy { position: sticky; top: 105px; }
.notice { margin-top: 24px; border-left: 4px solid var(--blue); background: #eaf6fc; padding: 16px; border-radius: 12px; color: var(--navy); font-weight: 700; }
.registration-form { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 750; color: var(--navy); margin-bottom: 16px; }
input { width: 100%; border: 1px solid #cfd9e6; border-radius: 12px; padding: 13px 14px; font: inherit; color: var(--text); background: #fff; }
input:focus { outline: 3px solid rgba(0,118,182,.16); border-color: var(--blue); }
.checkboxes { display: grid; gap: 12px; margin: 18px 0; }
.checkboxes label { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #344054; font-weight: 600; }
.checkboxes input { width: auto; margin-top: 5px; }
.form-hint { color: var(--muted); background: #f7fafc; border: 1px solid var(--line); padding: 12px; border-radius: 12px; }
.microcopy { color: var(--muted); text-align: center; margin-bottom: 0; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.simple-page { min-height: 70vh; padding: 70px 0; background: var(--soft); }
.card-page { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.card-page h1 { color: var(--navy); font-size: clamp(30px, 4vw, 46px); }
.alert { border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.alert-error { background: #fff1f0; border: 1px solid #ffccc7; color: #7a1f16; }
.alert-success { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.alert ul { margin: 8px 0 0; }
.admin-page { padding: 46px 0 80px; background: var(--soft); min-height: 80vh; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.admin-head h1 { color: var(--navy); font-size: 46px; }
.admin-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-stats span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: #f8fafc; color: var(--navy); }
.status { display: inline-flex; white-space: nowrap; padding: 5px 9px; border-radius: 999px; font-weight: 800; font-size: 12px; background: #eef4fa; color: var(--navy); }
.status-accepted { background: #ecfdf3; color: #067647; }
.status-awaiting_review { background: #fff7e6; color: #a15c00; }
.status-waitlist { background: #eef4ff; color: #3538cd; }
.status-rejected { background: #fff1f0; color: #b42318; }
.actions form { display: flex; flex-wrap: wrap; gap: 6px; }
.actions button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 9px; cursor: pointer; font-weight: 700; }
.actions button:hover { border-color: var(--blue); color: var(--blue); }
.actions .danger:hover { border-color: #b42318; color: #b42318; }
.muted { color: var(--muted); }
.login-logo { height: 42px; width: auto; background: var(--navy); padding: 8px 10px; border-radius: 12px; }
code { background: #f1f5f9; padding: 2px 5px; border-radius: 6px; }

@media (max-width: 980px) {
    .hero-grid, .two-col, .form-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .form-copy { position: static; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 24px, 1160px); }
    .top-links { display: none; }
    .hero { padding: 28px 0 64px; }
    .invitation-reference { margin-bottom: 38px; }
    .invitation-reference-copy { display: grid; gap: 6px; }
    .invitation-reference-copy strong { text-align: left; }
    .invitation-banner { border-radius: 14px; }
    .cards, .field-row { grid-template-columns: 1fr; }
    .timeline div { grid-template-columns: 1fr; gap: 4px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .event-card li { flex-direction: column; gap: 4px; }
    .event-card strong { text-align: left; }
}
