:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --text: #1f2f46;
  --muted: #68778a;
  --line: #d7dde5;
  --accent: #0a4e96;
  --accent-soft: #e8f0fb;
  --shadow: 0 18px 40px rgba(20, 43, 74, 0.08);
  --radius: 18px;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(232, 240, 251, 0.9), rgba(243, 245, 247, 0) 30%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 245, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(104, 119, 138, 0.16);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand,
.site-nav a,
.button {
  text-decoration: none;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.main-section,
.about-section {
  padding: 4rem 0;
}

.main-section {
  padding-bottom: 2.5rem;
}

.hero {
  max-width: none;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.lead,
.section-text,
.about-card p,
.timeline-card p,
.footer-content p {
  color: var(--muted);
}

.lead {
  max-width: 78ch;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent);
  border: 1px solid rgba(10, 78, 150, 0.2);
}

.about-card,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schedule-section {
  margin-top: 3rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.timeline-card {
  padding: 1.5rem;
  opacity: 0.68;
  filter: saturate(0.7);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.timeline-card-featured {
  position: relative;
  border-color: rgba(10, 78, 150, 0.5);
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  box-shadow:
    0 24px 54px rgba(10, 78, 150, 0.18),
    0 0 0 2px rgba(10, 78, 150, 0.08);
  transform: translateY(-2px);
  opacity: 1;
  filter: none;
}

.timeline-card-active {
  opacity: 1;
  filter: none;
}

.timeline-card-featured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #0a4e96, #5c9ad6);
}

.timeline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-date {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.timeline-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.inline-link,
.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.inline-link-disabled {
  color: #8a97a8;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.about-section {
  border-top: 1px solid rgba(104, 119, 138, 0.14);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.about-card {
  padding: 1.5rem;
}

.about-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.about-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.about-list li + li {
  margin-top: 0.6rem;
}

.site-footer {
  border-top: 1px solid rgba(104, 119, 138, 0.14);
  background: #eef1f4;
}

.footer-content p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .timeline,
  .about-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 640px) {
  .header-content,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-section,
  .about-section {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
