:root {
  color-scheme: light;
  --background: #f5f9fc;
  --surface: #ffffff;
  --text: #263946;
  --muted: #647784;
  --primary: #4f86a8;
  --primary-dark: #315f7c;
  --orange: #e87524;
  --accent: #dceef8;
  --border: #d7e5ed;
  --shadow: 0 18px 45px rgba(49, 95, 124, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  max-width: none;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  padding: 96px 0 80px;
  background: #e7f3fa;
  color: var(--text);
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

main section {
  padding: 80px 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.event-overview .section-label,
.event-content .section-label {
  color: var(--primary);
}

.event-overview p:not(.section-label),
.activity-list p,
.registration-card p,
.site-footer {
  color: var(--muted);
}

.event-facts {
  margin-bottom: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.event-facts div+div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.event-facts dt {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.event-facts dd {
  margin-bottom: 0;
  font-weight: 600;
}

.event-time {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.arrival-note {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #c8dfeb;
  border-radius: 999px;
  background: #edf7fb;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.arrival-note svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.event-content {
  background: var(--surface);
}

.activity-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

.activity-list p {
  margin-bottom: 0;
}

.step-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.registration-card {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--accent);
}

.registration-card h2 {
  margin-bottom: 10px;
}

.registration-card p {
  margin-bottom: 0;
}

.registration-card .availability {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 800;
}

button {
  flex: 0 0 auto;
  min-width: 190px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }
  .site-header h1 {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
    white-space: nowrap;
  }

  #content-title {
    font-size: clamp(1.125rem, 5vw, 1.4rem);
    white-space: nowrap;
  }
  .site-header {
    padding: 68px 0 56px;
  }

  main section {
    padding: 56px 0;
  }

  .overview-grid,
  .activity-list {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    gap: 32px;
  }

  .activity-list {
    gap: 14px;
  }

  .activity-list li,
  .event-facts {
    padding: 22px;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .registration-card,
  .site-footer .container {
    flex-direction: column;
    align-items: stretch;
  }

  .registration-card {
    padding: 28px 22px;
  }

  button {
    width: 100%;
  }
}
