/* Story / About / Roadmap — Arctic palette, pixel chrome */
.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  justify-content: center;
  flex: 1 1 auto;
}
.site-nav-links a {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
  padding: 10px 10px;
  border: 3px solid transparent;
}
.site-nav-links a:hover,
.site-nav-links a:focus-visible {
  color: var(--gold);
  outline: none;
}
.site-nav-links a.is-on {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
body.chibi-soft .site-nav-links a { color: #081D38; }
body.chibi-soft .site-nav-links a.is-on,
body.chibi-soft .site-nav-links a:hover { color: #143352; }

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px max(16px, 5vw) 72px;
}
.page-kicker {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #E8EEF2;
  text-align: center;
  margin-bottom: 14px;
}
.page-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(16px, 4.2vw, 28px);
  line-height: 1.45;
  text-align: center;
  color: #E8EEF2;
  text-shadow: 3px 3px 0 #081D38;
  margin-bottom: 16px;
}
.page-lede {
  text-align: center;
  color: #E8EEF2;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}
.page-block {
  background: #E8EEF2;
  color: #081D38;
  border: 4px solid #143352;
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  margin: 0 0 20px;
}
.page-block h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(11px, 2.6vw, 14px);
  line-height: 1.5;
  margin-bottom: 14px;
  color: #081D38;
}
.page-block h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  margin: 20px 0 8px;
  color: #081D38;
}
.page-block p,
.page-block li {
  font-size: 16px;
  line-height: 1.7;
  color: #081D38;
}
.page-block p + p { margin-top: 12px; }
.page-block ul { padding-left: 18px; }
.page-block li { margin: 6px 0; }
.page-block a { color: #143352; font-weight: 600; }
.play-lead { display: flex; justify-content: center; margin: 0 0 28px; }
.play-lead a {
  display: block;
  width: min(100%, 560px);
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(16px, 4.6vw, 22px);
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 26px 20px;
  background: #F3D600;
  color: #081D38;
  border: 4px solid #081D38;
  box-shadow: 6px 6px 0 #143352;
}
.social a.play-ice {
  background: #F3D600;
  color: #081D38;
  border-color: #081D38;
}
.play-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 28px; }
.play-row a {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 18px;
  border: 3px solid #081D38;
  background: #F3D600;
  color: #081D38;
}
.play-row a.play-ghost { background: transparent; color: #E8EEF2; border-color: #4B7690; }
.guide-hero-img { display: block; width: min(100%, 720px); height: auto; margin: 0 auto 28px; border: 4px solid #143352; }
.ice-diagram { display: block; width: 100%; height: auto; margin-top: 16px; border: 3px solid #143352; }
.guide-steps { counter-reset: step; list-style: none; padding: 0; }
.guide-steps li { padding-left: 36px; position: relative; margin: 12px 0; }
.guide-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  color: #081D38;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 20px;
}
.stat-card {
  background: #081D38;
  border: 4px solid #4B7690;
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
  color: #E8EEF2;
}
.stat-card b {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(16px, 4vw, 22px);
  color: #F3D600;
  margin-bottom: 8px;
}
.stat-card span {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #E8EEF2;
  margin-bottom: 10px;
}
.stat-card p { color: #E8EEF2; font-size: 15px; }

.timeline { position: relative; margin: 8px 0 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: #4B7690;
}
.phase {
  position: relative;
  background: #E8EEF2;
  border: 4px solid #143352;
  margin: 0 0 16px 28px;
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-soft);
  color: #081D38;
}
.phase::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #F3D600;
  border: 3px solid #081D38;
  box-shadow: 0 0 0 3px #4B7690;
}
.phase.soon::before { background: #BFCAD3; }
.phase .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.phase .meta b,
.phase .pill {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.phase .pill {
  border: 2px solid #143352;
  padding: 4px 8px;
  color: #081D38;
  background: #BFCAD3;
}
.phase .pill.live { background: #F3D600; color: #081D38; border-color: #081D38; }
.phase .pill.done { background: #6191A3; color: #081D38; border-color: #081D38; }
.phase h2 {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(11px, 2.8vw, 14px);
  margin-bottom: 8px;
  color: #081D38;
}
.phase .sub {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
  color: #143352;
  margin-bottom: 12px;
  line-height: 1.7;
}
.phase ul { list-style: none; padding: 0; }
.phase li {
  font-size: 15px;
  line-height: 1.6;
  padding: 4px 0 4px 18px;
  position: relative;
  color: #081D38;
}
.phase li::before {
  content: "\25A0";
  position: absolute;
  left: 0;
  color: #143352;
  font-size: 10px;
  top: 7px;
}

.principles {
  display: grid;
  gap: 12px;
}
.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  background: #143352;
  border: 3px solid #4B7690;
  padding: 16px;
}
.principle em {
  font-family: "Press Start 2P", monospace;
  font-style: normal;
  font-size: 12px;
  color: #F3D600;
}
.principle strong {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  margin-bottom: 6px;
  color: #E8EEF2;
}
.principle p { color: #E8EEF2; font-size: 15px; line-height: 1.6; }

.campaign-hero {
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
  align-items: start;
}
.campaign-art {
  background: #625c50;
  border: 4px solid #143352;
  box-shadow: var(--shadow-soft);
  padding: 10px;
}
.campaign-art img {
  display: block;
  width: 100%;
  height: auto;
}
.campaign-meta {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #081D38;
  margin-bottom: 12px;
}
.campaign-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.campaign-links a {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-decoration: none;
  color: #081D38;
  border: 3px solid #143352;
  padding: 12px 14px;
  background: #fff;
}
.campaign-links a:hover,
.campaign-links a:focus-visible {
  color: #081D38;
  border-color: #081D38;
  outline: none;
}
.contract {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
}
.campaign-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 22px;
}
.campaign-switch button {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding: 12px 12px;
  border: 3px solid #4B7690;
  background: #081D38;
  color: #E8EEF2;
  cursor: pointer;
}
.campaign-switch button.is-on {
  background: #F3D600;
  color: #081D38;
  border-color: #F3D600;
}
.contest-clock {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 640px;
}
.contest-clock-kicker {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  color: #F3D600;
  margin-bottom: 10px;
}
.contest-clock-time {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(22px, 6vw, 36px);
  letter-spacing: 0.08em;
  color: #E8EEF2;
  text-shadow: 3px 3px 0 #081D38;
  margin: 0 0 14px;
}
.contest-clock p:last-child {
  color: #E8EEF2;
  font-size: 16px;
  line-height: 1.65;
}
.contest-formula {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.7;
  color: #081D38;
  margin: 8px 0 12px;
}
.contest-example img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 16px auto 0;
  border: 4px solid #143352;
  background: #081d38;
}
.contest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.contest-grid figure {
  margin: 0;
  background: #081d38;
  border: 3px solid #143352;
  padding: 8px;
}
.contest-grid img {
  display: block;
  width: 100%;
  height: auto;
}
.contest-grid a {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #081D38;
  background: #F3D600;
  border: 3px solid #081D38;
  padding: 10px 8px;
}
.contest-form label {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  margin: 14px 0 8px;
}
.contest-form input {
  width: 100%;
  font-size: 16px;
  padding: 12px;
  border: 3px solid #143352;
  background: #fff;
  color: #081D38;
}
.contest-form button {
  margin-top: 16px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  background: #F3D600;
  color: #081D38;
  border: 3px solid #081D38;
  padding: 14px 16px;
  cursor: pointer;
}
.contest-form button[disabled] { opacity: 0.6; cursor: default; }
#contest-msg { min-height: 1.4em; margin: 12px 0 0; }
#contest-msg.ok { color: #0a7d3c; }
#contest-msg.bad { color: #9a3412; }

@media (min-width: 720px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .campaign-hero { grid-template-columns: minmax(220px, 320px) 1fr; }
  .contest-grid { grid-template-columns: repeat(4, 1fr); }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .site-nav-links { order: 3; width: 100%; justify-content: flex-start; }
}
