:root {
  --bg: #f6f8fb;
  --text: #172033;
  --muted: #657083;
  --primary: #2f66ff;
  --primary-dark: #194edb;
  --accent: #00b8a9;
  --panel: #ffffff;
  --line: #e3e8f0;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 251, 0.86);
  border-bottom: 1px solid rgba(227, 232, 240, 0.8);
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-weight: 800; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--primary); }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 80px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 70px 0 auto auto;
  width: 52vw;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(47,102,255,.28), transparent 38%), radial-gradient(circle at 70% 60%, rgba(0,184,169,.22), transparent 35%);
  pointer-events: none;
  filter: blur(8px);
}
.hero-content, .hero-card { position: relative; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}
h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 18px;
  color: var(--muted);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--primary); box-shadow: 0 12px 24px rgba(47,102,255,.24); }
.button.primary:hover { background: var(--primary-dark); }
.button.secondary { color: var(--primary); background: white; border-color: var(--line); }
.button.small { min-height: 40px; padding: 0 16px; color: white; background: var(--primary); font-size: 14px; }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-label, .tag {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-card h2 { margin: 0 0 24px; font-size: 28px; line-height: 1.25; }
dl { margin: 0; }
dl div { padding: 16px 0; border-top: 1px solid var(--line); }
dt { font-size: 13px; color: var(--muted); }
dd { margin: 2px 0 0; font-weight: 800; }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 24px;
}
.section.muted {
  max-width: none;
  background: #eef3fb;
  padding: 76px 24px;
}
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -0.03em; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.grid.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.panel, .download-card, .score-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(23,32,51,.06);
}
.panel h3, .download-card h3 { margin-top: 0; font-size: 22px; }
.panel p, .download-card p, .score-box p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}
.data-list { display: grid; gap: 16px; }
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.download-card p { margin-bottom: 0; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: white;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 24px;
}
.step span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900;
}
.center { text-align: center; margin-top: 28px; }
.formula {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: #f2f6ff;
  color: var(--primary-dark);
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.footer {
  padding: 38px 24px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}
.footer p { margin: 4px 0; }

@media (max-width: 820px) {
  .nav { align-items: flex-start; gap: 12px; flex-direction: column; }
  .nav-links { flex-wrap: wrap; gap: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .grid.two, .timeline { grid-template-columns: 1fr; }
  .download-card { align-items: flex-start; flex-direction: column; }
}

.theme-label {
  display: inline-block;
  margin: 24px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0,184,169,.12);
  color: #027d73;
  font-weight: 900;
}
.briefing-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}
.briefing-content {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}
.briefing-date {
  min-height: 220px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--primary), var(--accent));
  color: white;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 24px;
}
.briefing-date .month { font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.briefing-date strong { display: block; font-size: 76px; line-height: 1; letter-spacing: -0.06em; }
.briefing-content h3 { margin-top: 0; font-size: 26px; }
.program-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: program;
}
.program-list li {
  counter-increment: program;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.program-list li::before {
  content: counter(program);
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 13px;
}
.program-list span { line-height: 1.6; }
.program-list strong { white-space: nowrap; color: var(--text); }
.note { color: var(--muted); }
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.flow-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(23,32,51,.06);
}
.flow-item span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}
.flow-item h3 { margin: 8px 0 10px; font-size: 22px; }
.flow-item p { color: var(--muted); margin-bottom: 0; }
.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
}
@media (max-width: 820px) {
  .briefing-card { grid-template-columns: 1fr; }
  .briefing-date { min-height: 160px; }
  .program-list li { grid-template-columns: 34px 1fr; }
  .program-list strong { grid-column: 2; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
}

.info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  margin-top: 28px;
}
code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef3fb;
  color: var(--primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code-sample {
  overflow-x: auto;
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 14px;
  background: #101828;
  color: #e6edf7;
  font-size: 13px;
  line-height: 1.7;
}
.score-box h3 { margin-top: 0; }
@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; }
}



/* v6: unified alignment for Briefing, Data, and Submission sections */
.section.muted > .section-heading {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 8px;
}

.section.muted > .briefing-card,
.section.muted > .data-list,
.section.muted > .timeline,
.section.muted > .score-box,
.section.muted > .center {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section.muted > .briefing-card {
  max-width: 1120px;
}

.section.muted > .score-box {
  margin-top: 22px;
}

.briefing-card,
.download-card,
.step,
.score-box {
  padding-left: 34px;
  padding-right: 34px;
}

.data-list,
.timeline {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 820px) {
  .section,
  .section.muted {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section.muted > .section-heading {
    padding-left: 0;
    padding-right: 0;
  }
  .briefing-card,
  .download-card,
  .step,
  .score-box,
  .panel,
  .flow-item {
    padding-left: 22px;
    padding-right: 22px;
  }
}
