* {
  box-sizing: border-box;
}

:root {
  --blue: #14589c;
  --blue-dark: #0f4376;
  --gold: #f1c40f;
  --text: #17324d;
  --muted: #5c7088;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #dbe5ef;
  --soft: #eef6ff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
}

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

.narrow {
  width: min(920px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand img {
  height: 82px;
  width: auto;
}

.brand-small img {
  height: 68px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.nav a:hover,
.text-link:hover,
.back-link:hover {
  color: var(--blue-dark);
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-visual {
  padding: 14px;
  overflow: hidden;
}

.hero-visual svg,
.illustration-block svg,
.science-banner svg {
  width: 100%;
  height: auto;
  display: block;
}

.illustration-block {
  margin: 26px 0 8px;
}

.eyebrow {
  display: inline-block;
  background: #e9f2fb;
  color: var(--blue-dark);
  border: 1px solid #cfe1f3;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 18px 0 18px;
  color: var(--blue);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 14px;
}

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

.lead {
  font-size: 1.22rem;
  color: var(--text);
}

.hero-text p,
.longform p,
.card p,
.mini-card li,
.experiment p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 24px rgba(20, 88, 156, 0.18);
}

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 24px 0 56px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.mini-card,
.experiment,
.sponsor-card,
.participation-hero-text,
.participation-hero-visual,
.intro-note,
.sponsor-callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(17, 41, 68, 0.05);
}

.card,
.mini-card,
.experiment {
  padding: 24px;
}

.longform {
  padding: 30px;
}

.card-links {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.stack-links {
  margin-top: 14px;
}

.text-link,
.back-link {
  text-decoration: none;
  font-weight: 700;
}

.page-head {
  margin-bottom: 24px;
}

.longform h2 {
  margin-top: 32px;
}

.info-grid,
.experiments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.experiments-grid {
  grid-template-columns: repeat(3, 1fr);
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 14px;
  border: 1px solid #cfe1f3;
}

.science-banner {
  margin: 20px 0 10px;
}

.sponsor-card {
  margin-top: 16px;
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
}

.sponsor-card img {
  max-height: 52px;
  width: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.participation-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.participation-hero-text {
  padding: 26px;
}

.participation-hero-visual {
  padding: 14px;
}

.intro-note {
  padding: 18px 20px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.accent-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.sponsor-callout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-top: 18px;
}

.sponsor-callout-text h3 {
  margin-bottom: 10px;
}

.space-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(159,210,255,0.08) 0, rgba(159,210,255,0.08) 2px, transparent 2px) 0 0/120px 120px,
    linear-gradient(180deg, #f3f8ff 0%, #e9f1fb 100%);
}

.space-head .lead {
  max-width: 760px;
}

.space-hero .participation-hero-text,
.space-hero .participation-hero-visual,
.space-note,
.space-experiment,
.timeline-panel,
.sponsor-callout {
  border-color: #cfe1f3;
}

.space-panel,
.space-banner {
  overflow: hidden;
}

.mission-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0f4376;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.stat-box {
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  border: 1px solid #cfe1f3;
  border-radius: 18px;
  padding: 14px;
}

.stat-label {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.space-longform {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.space-note {
  background: linear-gradient(180deg, #0f4376 0%, #14589c 100%);
  color: #ffffff;
  border: none;
}

.space-note strong {
  color: #ffffff;
}

.space-experiment {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.timeline-panel {
  margin: 26px 0;
  padding: 22px;
  background: linear-gradient(180deg, #0c1d35 0%, #12365f 100%);
  color: #ffffff;
  border-radius: 22px;
  border: 1px solid #1b4f87;
  box-shadow: 0 10px 30px rgba(17, 41, 68, 0.08);
}

.timeline-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline-item + .timeline-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: #f1c40f;
  box-shadow: 0 0 0 6px rgba(241,196,15,0.18);
}

.timeline-panel h3,
.timeline-panel p {
  color: #ffffff;
  margin: 0;
}

.timeline-panel p {
  opacity: 0.88;
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .info-grid,
  .experiments-grid,
  .participation-hero,
  .sponsor-callout,
  .mission-stats {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 72px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 32px;
  }

  .nav {
    gap: 12px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
