:root {
  --ink: #14171C; --muted: #5B6472; --body: #3A414B; --line: #E3E6EB; --soft: #F6F7F9;
  --red: #C8102E; --red-dark: #9E0C24; --red-text: #A50E26; --pink: #F08A98; --slate: #12161C;
  --ok-bg: #E6F4EC; --ok: #1E7A46; --warn-bg: #FFF4E0; --warn: #7A4800;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--red); } a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 1120px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #000; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { margin: 0; font-family: 'Varela Round', sans-serif; font-size: 26px; line-height: 1; color: #fff; }
.brand-tag { margin: 5px 0 0; font-family: 'Varela Round', sans-serif; font-size: 11px; letter-spacing: 1.8px; white-space: nowrap; color: var(--pink); }
.nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 14px; }
.nav a { color: #C9D0DA; text-decoration: none; } .nav a:hover { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #3A414B; border-radius: 999px; font-size: 13px; color: #fff; }

/* buttons */
.btn { display: inline-block; padding: 14px 22px; border-radius: 8px; border: none; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border: 1px solid #4A535F; color: #fff; font-weight: 500; background: transparent; } .btn-ghost:hover { color: #fff; border-color: #8A939E; }
.btn-dark { background: var(--ink); color: #fff; font-size: 14px; padding: 11px 16px; } .btn-dark:hover { color: #fff; background: #000; }
.btn-line { background: #fff; border: 1px solid #D3D8DF; color: var(--ink); font-size: 14px; font-weight: 500; padding: 11px 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* landing */
.hero { background: var(--slate); color: #fff; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--pink); }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 700; }
.hero .lead { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: #C9D0DA; max-width: 560px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.agenda-card { flex: 1 1 380px; min-width: 0; background: #1C222A; border: 1px solid #2E3640; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.agenda-card .label { margin: 0; font-size: 12px; color: #A9B1BC; letter-spacing: .5px; }
.agenda-card .title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 4px 10px; border-radius: 999px; background: #3A1A20; color: #F5B5BF; font-size: 12px; font-weight: 600; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #2E3640; font-size: 14px; }
.row span:last-child { color: #A9B1BC; white-space: nowrap; }
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--body); }
.strip .wrap span:first-child { font-weight: 500; color: var(--muted); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section h2 { margin: 0; font-size: 36px; font-weight: 700; }
.section .sub { margin: 12px 0 40px; font-size: 17px; color: var(--muted); max-width: 620px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.card h3 { margin: 12px 0 8px; font-size: 18px; font-family: Inter, sans-serif; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.step-no { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--red); }
.steps { list-style: none; margin: 0; padding: 0; }
.bg-soft { background: var(--soft); }
.topic { margin: 0 !important; font-size: 12px !important; font-weight: 600; color: var(--red-text) !important; }
.meta { margin-top: 10px !important; font-size: 13px !important; color: var(--muted) !important; }
.invite-only { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 28px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.invite-only h2 { font-size: 28px; }
.invite-only p { margin: 8px 0 0; color: var(--body); max-width: 640px; line-height: 1.55; }
.request { background: var(--slate); color: #fff; }
.request .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.request-copy { flex: 1 1 360px; min-width: 0; }
.request-copy h2 { font-size: 40px; line-height: 1.1; }
.request-copy p, .request-copy li { color: #C9D0DA; font-size: 16px; line-height: 1.55; }
.request-copy ul { padding-left: 20px; display: grid; gap: 8px; }
.panel { flex: 1 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; }
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 18px 0; }
.faq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--body); }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* forms */
form.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #D3D8DF; border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.hint { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.error { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--red-text); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.45; margin: 0; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.notice { padding: 12px; border-radius: 8px; font-size: 13px; }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-error { background: #FCE8EB; color: var(--red-text); }
.done { display: flex; flex-direction: column; gap: 12px; }
.done h3 { margin: 0; font-size: 22px; }
.done p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.tick { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-bg); display: flex; align-items: center; justify-content: center; }
.tick-grey { background: #EEF0F3; }
[hidden] { display: none !important; }

/* invite page */
.invite-page { background: var(--soft); min-height: 70vh; }
.invite-page .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 40px; padding-bottom: 64px; }
.invite-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.invite-side { flex: 1 1 360px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.tag-red { background: #FCE8EB; color: var(--red-text); font-weight: 600; }
.tag-plain { background: #fff; border: 1px solid #D3D8DF; color: var(--body); }
.invite-main h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; font-weight: 700; }
.invite-main .lead { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--body); }
.by { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.facts dt { font-size: 12px; color: var(--muted); } .facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.box h2 { margin: 0 0 8px; font-size: 18px; font-family: Inter, sans-serif; font-weight: 600; }
.box p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--body); }
.agenda { margin: 0; padding: 0; list-style: none; }
.agenda li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #EEF0F3; font-size: 14px; }
.agenda li:last-child { border-bottom: none; }
.agenda .t { width: 56px; flex: none; color: var(--muted); }
.agenda .lab { font-weight: 500; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.side-form { display: flex; flex-direction: column; gap: 14px; }
.side-form h2 { margin: 0; font-size: 21px; font-family: Inter, sans-serif; font-weight: 600; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.small { margin: 0; font-size: 12px; color: var(--muted); }
.loading { color: var(--muted); font-size: 15px; }

@media (max-width: 640px) {
  form.fields, .pair { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .brand-name { font-size: 22px; }
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.mb-24 { margin-bottom: 24px !important; }
.self-start { align-self: flex-start; }
.mt-12 { margin-top: 12px !important; }
.hidden-pill { display: none; }

/* portal */
.nav-link { color: #C9D0DA; font-size: 14px; text-decoration: none; } .nav-link:hover { color: #fff; }
.auth-page { background: var(--soft); min-height: 70vh; display: flex; justify-content: center; align-items: flex-start; padding: 64px 24px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; }
.auth-card .side-form { margin-top: 20px; }
.user-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.who { color: #C9D0DA; font-size: 13px; }
.portal-page { background: var(--soft); min-height: 70vh; padding: 32px 0 64px; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.portal-head h1 { margin: 0; font-size: 30px; }
.eyebrow-dark { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--red-text); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 10px 14px; border: none; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { border-bottom-color: var(--red); color: var(--ink); font-weight: 600; }
.panel-stack { display: flex; flex-direction: column; gap: 20px; }
form.fields.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
.link-box { margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--ok-bg); }
.link-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #14532D; }
.link-row { display: flex; gap: 8px; margin-bottom: 8px; }
.link-row input { flex: 1; font-family: ui-monospace, monospace; font-size: 13px; }
.table-wrap { overflow-x: auto; margin-top: 8px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid #EEF0F3; white-space: nowrap; vertical-align: middle; }
table.data td.wrap-cell { white-space: normal; min-width: 220px; }
table.data select { width: auto; padding: 6px 8px; font-size: 13px; }
.row-actions { white-space: nowrap; }
.row-actions .btn + .btn { margin-left: 6px; }
.btn-xs { padding: 6px 10px; font-size: 12px; }
.badge { padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-active, .badge-registered { background: var(--ok-bg); color: var(--ok); }
.badge-invited { background: #EAF0FA; color: #1F5FBF; }
.badge-disabled { background: #EEF0F3; color: var(--muted); }
.badge-waitlisted { background: var(--warn-bg); color: var(--warn); }
.sr { position: absolute; left: -9999px; }
@media (max-width: 900px) { form.fields.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
                  
