/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a2e;
  --color-muted: #555;
  --color-accent: #2c5282;
  --color-accent-light: #ebf4ff;
  --color-border: #e2e8f0;
  --max-width: 820px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Navigation === */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul a {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 500;
}

nav ul a:hover { color: var(--color-accent); text-decoration: none; }

/* === Hero === */
#hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

#hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.meta {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Sections === */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

section { margin-bottom: 3rem; }

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-accent);
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p { margin-bottom: 0.75rem; }

ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

li { margin-bottom: 0.35rem; }

/* === Dates table === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75rem;
}

td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

td:first-child { color: var(--color-muted); }
td:last-child { text-align: right; }

.note {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

/* === Organizers === */
.organizer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.organizer {
  background: var(--color-accent-light);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}

ul.advisory {
  list-style: none;
  margin-left: 0;
}

ul.advisory li {
  padding: 0.3rem 0;
}

/* === CfP highlight box === */
.cfp-highlight {
  background: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 6px 6px 0;
}

/* === Footer === */
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* === Responsive === */
@media (max-width: 600px) {
  #hero h1 { font-size: 1.5rem; }
  .organizer-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
}
