:root {
  --blue: #0c4da2;
  --blue-dark: #082e68;
  --text: #172033;
  --muted: #5d6676;
  --line: #d9e0ea;
  --light: #f5f8fc;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.95) 35%,
      rgba(255,255,255,.55) 57%,
      rgba(255,255,255,.08) 100%),
    url("assets/images/hero-ai-hcd.jpg") 78% 18% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .84rem;
}

h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.hero-subtitle {
  max-width: 600px;
  margin: 18px 0 22px;
  color: var(--blue-dark);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-weight: 600;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-points li { margin: 8px 0; }
.hero-points li::before { content: "✓"; margin-right: 10px; }

.section { padding: 62px 0; }
.ruled { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.two-column {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
}

h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: .015em;
}

p { color: var(--muted); }

.date-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.date-list span { color: var(--muted); }
.date-list strong { color: var(--text); }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.topic-grid article {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.topic-grid article:last-child { border-right: 0; }

.topic-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.4;
}

.space-top { margin-top: 34px; }

.question-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: questions;
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-grid li {
  position: relative;
  padding-left: 38px;
  color: var(--text);
  font-size: .92rem;
}

.question-grid li::before {
  counter-increment: questions;
  content: counter(questions);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: .8rem;
  font-weight: 800;
}

.submission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, .8fr);
  gap: 45px;
}

.paper-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.paper-grid article {
  padding: 20px;
  border: 1px solid #9db6d8;
  border-radius: 5px;
}

.paper-grid h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1rem;
}

.paper-grid p { margin: 8px 0; font-size: .9rem; }

.publication-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

code {
  padding: 2px 5px;
  background: #eef2f7;
  font-size: .85rem;
}

.sidebar {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.sidebar section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.sidebar ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.committee-section { background: var(--light); }

.committee-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

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

.committee-list strong,
.committee-list span {
  display: block;
}

.committee-list strong {
  color: var(--blue-dark);
  font-size: .98rem;
}

.committee-list span {
  margin-top: 3px;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer {
  color: #d9e1ee;
  background: var(--blue-dark);
}

.footer-main,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-main {
  padding-top: 34px;
  padding-bottom: 28px;
}

.footer-main strong { color: #fff; }
.footer-main p { max-width: 620px; color: #b9c7dc; margin-bottom: 0; }
.footer-main > div:last-child { display: flex; flex-direction: column; text-align: right; }

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a { color: #fff; }

.legal-page {
  max-width: 820px;
  padding: 60px 0;
}

.legal-page h1 {
  margin-bottom: 40px;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
}

.legal-page h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Responsive layout */
@media (max-width: 980px) {
  .two-column,
  .submission-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .topic-grid,
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid article {
    border-bottom: 1px solid var(--line);
  }

  .paper-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    padding-left: 0;
    border-left: 0;
  }

  .committee-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero {
    min-height: 610px;
    align-items: flex-start;
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,255,255,.95) 48%,
        rgba(255,255,255,.48) 72%,
        rgba(255,255,255,.18) 100%
      ),
      url("assets/images/hero-ai-hcd.jpg") 72% 12% / cover no-repeat;
  }

  .hero-content {
    padding: 46px 0 260px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
    line-height: .98;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1.12rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 6px;
  }

  .hero-points {
    font-size: .8rem;
  }

  .section {
    padding: 46px 0;
  }

  .two-column,
  .submission-layout {
    gap: 34px;
  }

  .topic-grid,
  .question-grid,
  .paper-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    border-bottom: 0;
  }

  .topic-grid article {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .question-grid {
    gap: 20px;
  }

  .date-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .paper-grid article {
    padding: 18px;
  }

  .publication-note,
  .sidebar {
    overflow-wrap: anywhere;
  }

  code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .committee-list li {
    padding: 13px 0;
  }

  .committee-list strong {
    font-size: .95rem;
  }

  .committee-list span {
    font-size: .84rem;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
  }

  .footer-main > div:last-child {
    text-align: left;
  }

  .footer-links {
    gap: 12px 18px;
  }

  .legal-page {
    padding: 42px 0;
  }

  .legal-page h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 22px);
  }

  .hero {
    min-height: 570px;
    background-position: 74% 10%;
  }

  .hero-content {
    padding: 38px 0 235px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-points li {
    margin: 6px 0;
  }

  .section {
    padding: 40px 0;
  }

  .date-list > div {
    padding: 12px 0;
  }

  .footer-bottom {
    font-size: .82rem;
  }
}
