:root {
  --primary:    #1e3a8a;
  --accent:     #3b6cf7;
  --accent-lt:  #ebf0ff;
  --s1:         #0e7490;
  --s1-lt:      #ecfeff;
  --s2:         #6d28d9;
  --s2-lt:      #f5f3ff;
  --s3:         #065f46;
  --s3-lt:      #ecfdf5;
  --break-bg:   #f1f5f9;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(0,0,0,.07);
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

/* ── Header ── */
header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #2563eb 100%);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
}
header .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 22px;
}
header h1 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 760px;
  margin: 0 auto 24px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 4px;
}
.meta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 14px;
}
.meta-pill svg { flex-shrink: 0; opacity: .85; }

/* ── Layout ── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

/* ── About ── */
.about {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}
.about p { color: var(--text); }

/* ── Section label ── */
.day-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Timeline ── */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 74px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.tl-item {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

/* time column */
.tl-time {
  flex: 0 0 74px;
  padding-right: 20px;
  padding-top: 14px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
  white-space: pre-line;
}

/* dot */
.tl-dot {
  flex: 0 0 12px;
  position: relative;
  margin-top: 18px;
}
.tl-dot::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  position: absolute;
  left: -5px;
  top: 0;
}

/* card */
.tl-card {
  flex: 1;
  margin-left: 20px;
  border-radius: var(--radius);
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* session headers */
.tl-item.session-header .tl-dot::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-lt); }
.tl-item.session-header .tl-card {
  background: var(--accent-lt);
  border-color: #c7d7fd;
}
.tl-item.session-s1 .tl-dot::before { background: var(--s1); box-shadow: 0 0 0 3px var(--s1-lt); }
.tl-item.session-s1 .tl-card { background: var(--s1-lt); border-color: #a5f3fc; }
.tl-item.session-s2 .tl-dot::before { background: var(--s2); box-shadow: 0 0 0 3px var(--s2-lt); }
.tl-item.session-s2 .tl-card { background: var(--s2-lt); border-color: #ddd6fe; }
.tl-item.session-s3 .tl-dot::before { background: var(--s3); box-shadow: 0 0 0 3px var(--s3-lt); }
.tl-item.session-s3 .tl-card { background: var(--s3-lt); border-color: #a7f3d0; }

.session-title {
  font-weight: 700;
  font-size: 15px;
}
.session-s1 .session-title { color: var(--s1); }
.session-s2 .session-title { color: var(--s2); }
.session-s3 .session-title { color: var(--s3); }
.session-header .session-title { color: var(--primary); }

/* break / social */
.tl-item.break .tl-card {
  background: var(--break-bg);
  border-color: var(--border);
  box-shadow: none;
  padding: 10px 20px;
}
.tl-item.break .tl-dot::before { background: #cbd5e1; }
.break-label {
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}

/* talk cards */
.talk-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
}
.talk-speaker {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.talk-abstract {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.talk-ack {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}
.tbd { color: var(--muted); font-style: italic; }

/* discussion / closing */
.tl-item.special .tl-card {
  background: #fffbeb;
  border-color: #fcd34d;
}
.tl-item.special .tl-dot::before { background: #f59e0b; box-shadow: 0 0 0 3px #fffbeb; }
.special-label { font-weight: 700; font-size: 14px; color: #92400e; }

/* ── Acknowledgements ── */
.acks {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.acks h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.acks ul { padding-left: 20px; }
.acks li { font-size: 13.5px; color: var(--text); margin-bottom: 6px; }
.acks a { color: var(--accent); text-decoration: none; }
.acks a:hover { text-decoration: underline; }

/* ── Organizers & Contact ── */
.org-section {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.org-section h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.org-section h2:not(:first-child) { margin-top: 24px; }
.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}
.org-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-lt);
  border: 1px solid #c7d7fd;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.org-pill:hover { background: #dde8ff; }
.contact-info { font-size: 13.5px; color: var(--text); }
.contact-info a { color: var(--accent); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* ── Registration ── */
.reg-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.reg-box h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.reg-info { flex: 1; min-width: 200px; }
.reg-info p { font-size: 13.5px; color: var(--text); }
.reg-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
}

/* ── Footer ── */
footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 32px 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 560px) {
  .timeline::before { left: 60px; }
  .tl-time { flex: 0 0 60px; font-size: 11px; }
  .tl-card { padding: 12px 14px; }
}

