:root {
  --ink: #2d2f33;
  --muted: #666c73;
  --line: #dedede;
  --soft: #f3f4f6;
  --white: #ffffff;
  --kaist-blue: #005dab;
  --kaist-sky: #00a3e0;
  --red: #ef3340;
  --shadow: 0 12px 34px rgba(16, 24, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Helvetica Neue", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  padding: 16px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.98rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--kaist-blue);
}

.hero {
  display: grid;
  width: min(1320px, calc(100% - 44px));
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: end;
  gap: clamp(32px, 5vw, 72px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 126px) 0 clamp(56px, 8vw, 92px);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--kaist-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 5.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-actions,
.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .button {
  min-height: 56px;
  padding: 15px 28px;
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 2px;
  border: 1px solid var(--line);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--kaist-blue);
  border-color: var(--kaist-blue);
}

.button.secondary {
  color: var(--kaist-blue);
  background: var(--white);
}

.button:hover,
.pdf-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.event-card {
  padding: 30px;
  background: var(--soft);
  border-left: 6px solid var(--kaist-blue);
}

dl {
  margin: 0;
}

.event-card dl {
  display: grid;
  gap: 20px;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.section,
.registration,
.support {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-heading {
  max-width: 1060px;
  margin-bottom: 44px;
}

.section-heading p,
.registration p {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.42rem);
  line-height: 1.45;
}

.section-heading a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.pdf-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 36px;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-height: 112px;
  padding: 22px 28px;
  color: var(--ink);
  background: #f1f1f1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pdf-icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 64px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 1rem;
  line-height: 1;
}

.pdf-icon::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 0;
  height: 0;
  border-top: 18px solid #b8202c;
  border-left: 18px solid transparent;
}

.pdf-meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(0.98rem, 1.25vw, 1.16rem);
  line-height: 1.2;
}

.pdf-meta small {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
}

.download-icon {
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
}

.program-section {
  border-top: 1px solid var(--line);
}

.format-note {
  margin: 0 0 34px;
  padding: 26px 30px;
  background: #f6f9fc;
  border-left: 6px solid var(--kaist-blue);
}

.format-note h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.25;
}

.format-note h3 span {
  color: var(--muted);
  font-weight: 700;
}

.format-note p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.program-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 24, 35, 0.05);
}

.program-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  background: var(--white);
}

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

.program-table th {
  color: var(--white);
  background: var(--kaist-blue);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.program-table th:first-child,
.program-table td:first-child {
  width: 150px;
  font-weight: 800;
  white-space: nowrap;
}

.program-table th:nth-child(2) {
  width: 42%;
}

.program-table th:nth-child(3),
.program-table th:nth-child(4) {
  width: 22%;
}

.paper-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: rgba(0, 93, 171, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.paper-link:hover {
  color: var(--kaist-blue);
  text-decoration-color: currentColor;
}

.paper-coauthors {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.session-row td {
  color: var(--white);
  background: #263746;
}

.session-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.session-row span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.break-row td {
  background: #eef5fb;
  font-weight: 800;
}

.program-location {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.program-actions {
  margin: 0 0 28px;
}

.paper-link-note {
  margin: -10px 0 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.registration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.registration p {
  max-width: 820px;
  margin-bottom: 18px;
}

.registration p:last-of-type {
  margin-bottom: 0;
}

.deadline-callout {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.35em;
  padding: 12px 16px;
  color: var(--kaist-blue);
  background: #eef5fb;
  border-left: 5px solid var(--kaist-blue);
  font-weight: 800;
}

.large-button {
  min-width: min(100%, 260px);
  min-height: 60px;
  padding: 16px 30px;
  font-size: 1.08rem;
}

.support {
  border-top: 1px solid var(--line);
}

.support h2 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.support h3 {
  margin: 0 0 12px;
  color: var(--kaist-blue);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support p,
.support-list {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.support-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.support-list a {
  color: var(--kaist-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(22px, 5vw, 72px);
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .registration {
    grid-template-columns: 1fr;
  }

  .event-card {
    max-width: 460px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 112px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-actions,
  .program-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .pdf-card {
    grid-template-columns: 48px minmax(0, 1fr) 26px;
    gap: 12px;
    min-height: 96px;
    padding: 16px 14px;
  }

  .pdf-icon {
    width: 38px;
    height: 50px;
    font-size: 0.8rem;
  }

  .pdf-icon::after {
    border-top-width: 14px;
    border-left-width: 14px;
  }

  .download-icon {
    font-size: 1.55rem;
  }
}
