/* ===========================================================================
   Who Verifies the Agents? — NeurIPS 2026 Workshop
   Base stylesheet
   =========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5fa;
  --ink: #14141f;
  --ink-soft: #4a4a5c;
  --ink-faint: #7a7a8c;
  --line: #e4e4ee;

  --brand: #4338ca;      /* indigo */
  --brand-deep: #2e2a86;
  --accent: #0ea5a3;     /* teal — "verified" */
  --brand-tint: #eeecfb;

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 31, 0.04), 0 8px 24px rgba(20, 20, 31, 0.06);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* --------------------------------------------------------------------------
   Staging preview banner (only shown at /dev/)
   -------------------------------------------------------------------------- */
.preview-banner {
  width: 100%;
  margin: 0;
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.preview-banner code {
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 0.85em;
}


/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; color: var(--brand); }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }

.nav-toggle-label { display: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(67, 56, 202, 0.14), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(14, 165, 163, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 108px 24px 96px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.3);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.hero-subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 28px;
}
.hero-lede {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-meta {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section-inner.narrow { max-width: 760px; }
.section-inner.center { text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.section-intro {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: -12px 0 36px;
}
.section p { font-size: 1.05rem; color: var(--ink-soft); }
.section .narrow p { color: var(--ink); }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(20, 20, 31, 0.1); }
.pillar-index {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}
.pillar h3 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.pillar p { font-size: 0.98rem; margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Tags / notes
   -------------------------------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tag-tentative { background: #fff3e0; color: #b45309; }

/* --------------------------------------------------------------------------
   Topic list / CFP
   -------------------------------------------------------------------------- */
.topic-list { list-style: disc; padding-left: 26px; margin: 8px 0 24px; }
.topic-list li {
  padding: 4px 0;
  color: var(--ink);
}
.topic-list li::marker { color: var(--ink-soft); }
.cfp-note, .tz-note {
  font-size: 0.95rem;
  color: var(--ink-faint);
  font-style: italic;
}

.cfp-h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.cfp-h3:first-of-type { margin-top: 8px; }
.cfp-h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 28px 0 4px;
  color: var(--brand-deep);
}
.guide-list { list-style: none; padding: 0; margin: 8px 0 24px; }
.guide-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Dates
   -------------------------------------------------------------------------- */
.dates { list-style: none; padding: 0; margin: 0 0 20px; }
.dates li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.date-label { font-weight: 500; color: var(--ink); }
.date-value {
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   People cards
   -------------------------------------------------------------------------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.person-card {
  width: 236px;
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}
.person-name a { color: inherit; }
.person-name a:hover { color: var(--brand); }
@media (max-width: 560px) {
  .person-card { width: 100%; max-width: 320px; }
}
.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--brand-tint), #dcefee);
}
img.avatar-photo {
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}
.person-name { font-weight: 600; color: var(--ink); }
.person-affil { font-size: 0.88rem; color: var(--ink-faint); }
.person-bio { font-size: 0.85rem; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.5; }
.person-card.placeholder .person-name { color: var(--ink-faint); font-weight: 500; }

/* --------------------------------------------------------------------------
   Schedule
   -------------------------------------------------------------------------- */
.schedule { list-style: none; padding: 0; margin: 0; }
.schedule li {
  display: flex;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.sched-time {
  flex: 0 0 110px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sched-item { color: var(--ink); }

.sched-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.sched-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 8px;
}
.sched-note {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .sched-cols { grid-template-columns: 1fr; gap: 20px; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-email { font-size: 1.15rem; font-weight: 600; margin-top: 8px; }
.contact-links { margin-top: 6px; font-weight: 500; }
.contact-links .dot, .footer-links .dot { margin: 0 10px; color: var(--ink-faint); }
.footer-links { margin: 14px 0 0; font-size: 0.92rem; }
.footer-links a { color: rgba(255, 255, 255, 0.85); }
.footer-links .dot { color: rgba(255, 255, 255, 0.45); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brand-deep);
  color: #fff;
  padding: 48px 24px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-title { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 6px; }
.footer-sub { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle-label span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: 0.2s;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links li { padding: 0 24px; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav-links { max-height: 420px; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 72px 20px 64px; }
  .section { padding: 60px 0; }
  .dates li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Speakers: cap row width so cards flow 3 + 2 */
.cards-speakers { max-width: 762px; margin: 0 auto; }
