:root {
  --teal: #1f7a82;
  --teal-dark: #145a61;
  --coral: #e0435a;
  --ink: #22303a;
  --paper: #ffffff;
  --muted: #5c6b74;
  --line: #e3e9ec;
  --max: 880px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: var(--teal-dark); }
a:hover { color: var(--coral); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: center;
}

.topbar a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 2px;
}

.topbar a:hover { color: var(--coral); }

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 28px;
  text-align: center;
}

.hero img.logo {
  height: 120px;
  width: auto;
}

.hero h1 {
  margin: 18px 0 4px;
  font-size: 2rem;
  color: var(--teal-dark);
}

.hero .subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .when-where {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.98rem;
}

.hero .when-where strong { font-weight: 700; }

.hero .disc-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero .disc-note a { font-weight: 600; }

/* ---------- Sections ---------- */

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 60px;
}

section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

section:first-of-type { border-top: none; }

section h2 {
  color: var(--teal-dark);
  font-size: 1.35rem;
  margin: 0 0 16px;
}

section h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin: 18px 0 8px;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

/* ---------- Committee ---------- */

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

.committee-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

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

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

/* ---------- Program table ---------- */

table.program {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.program th, table.program td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.program th {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}

table.program td.time {
  white-space: nowrap;
  color: var(--muted);
  width: 110px;
}

/* ---------- Speakers ---------- */

.speakers-grid {
  columns: 2;
  column-gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.speakers-grid li {
  break-inside: avoid;
  padding: 3px 0;
}

@media (max-width: 560px) {
  .speakers-grid { columns: 1; }
}

/* ---------- Resources / links ---------- */

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.links-grid a.card {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.links-grid a.card:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.links-grid a.card span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 3px;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 26px 20px 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer a { color: var(--teal-dark); }

footer .sponsor-logo {
  display: inline-block;
  margin-top: 10px;
  height: 60px;
  width: auto;
}
