:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #182033;
  --muted: #5c667b;
  --blue: #2150e8;
  --line: #e1e6ef;
  --blue-wash: #edf2ff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 3px;
}
p,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
}
section,
li[id] {
  scroll-margin-top: 2rem;
}
.wrap {
  width: min(100% - 96px, 1160px);
  margin-inline: auto;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--blue);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  display: block;
  padding: 10px 24px;
  color: var(--blue);
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  text-decoration: none;
  line-height: 1.3;
}
.brand img {
  object-fit: contain;
}
.brand-small {
  margin-left: 7px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
}
.site-header nav a {
  color: var(--muted);
}
.header-link {
  color: var(--blue);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding-block: 80px 84px;
}
.hero .eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
h1 {
  font-size: clamp(2.6rem, 3.45vw, 3.3rem);
  line-height: 1.55;
  letter-spacing: -0.055em;
  margin-block: 20px 24px;
  font-weight: 800;
}
.highlight {
  color: var(--blue);
}
.hero-lead {
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 600;
}
.hero-description {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
  padding: 12px 21px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 150ms,
    box-shadow 150ms,
    transform 150ms;
}
.primary {
  color: #fff;
  background: var(--blue);
  box-shadow:
    0 2px 3px rgb(20 48 145 / 9%),
    0 6px 14px rgb(20 48 145 / 9%);
}
.button:active {
  transform: scale(0.96);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}
.welcome-window {
  border-radius: 13px;
  border: 1px solid #bcc9ee;
  background: var(--blue-wash);
  box-shadow:
    0 4px 8px rgb(23 44 103 / 4%),
    0 15px 44px rgb(23 44 103 / 8%);
  transform: rotate(1.5deg);
}
.window-top {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #ccd6ef;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: #59678b;
}
.window-top span:first-child {
  color: var(--ink);
  font-weight: 700;
}
.welcome-content {
  padding: 32px 22px 15px;
  text-align: center;
  background: #e8efff;
}
.welcome-small {
  color: #465c96;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}
.welcome-word {
  color: #2348aa;
  font-size: 3rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  font-weight: 800;
  margin-top: 6px;
}
.characters {
  min-height: 151px;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 35px;
  padding: 18px 0 10px;
}
.character {
  flex-shrink: 1;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center bottom;
}
.mona {
  margin-bottom: 13px;
}
.shii {
  max-width: 32%;
}
.welcome-window figcaption {
  padding: 12px 15px;
  text-align: center;
  background: #fff;
  border-radius: 0 0 12px 12px;
  border-top: 1px solid #ccd6ef;
  color: #5c6880;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.about {
  border-top: 1px solid var(--line);
  padding-block: 57px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 80px;
}
h2 {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1.55;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.about-body > p {
  margin-top: 16px;
  color: var(--muted);
}
.about-body > p:first-child {
  margin-top: 0;
}
.about-body .about-intro {
  color: var(--ink);
}
.facts {
  margin: 28px 0 0;
  font-size: 0.875rem;
}
.facts > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 14px;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.facts a {
  color: var(--blue);
  text-decoration-thickness: 1px;
}
.facts .fact-reference {
  display: inline-flex;
  margin-left: 10px;
  font-size: 0.8125rem;
}
.history-band {
  background: #153799;
  color: #fff;
}
.history {
  padding-block: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 80px;
}
.history .eyebrow {
  color: #c2d4ff;
}
.history-date .year {
  font-size: 4.25rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.055em;
  margin-block: 18px 8px;
}
.year span {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -0.015em;
  color: #a4c1ff;
}
.history-date > p:last-child {
  color: #c2d4ff;
  font-size: 0.875rem;
  margin-top: 21px;
}
.history-story h2 {
  margin-top: 0;
}
.history-story > p {
  margin-top: 21px;
  color: #dce6ff;
}
.history-sources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 22px;
}
.history-sources a {
  padding: 13px 0;
  border-top: 1px solid #4260ac;
  display: grid;
  gap: 1px;
  font-size: 0.875rem;
  text-decoration: none;
}
.source-kicker {
  color: #b7cbff;
  font-size: 0.75rem;
}
.community {
  padding-block: 75px 70px;
}
.community-heading > p:last-child {
  color: var(--muted);
  margin-top: 14px;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 35px;
  gap: 30px;
}
.community-grid article {
  padding-top: 21px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: start;
}
.community-number {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: var(--blue);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.65;
  letter-spacing: -0.02em;
}
.community-grid h3 {
  margin-top: 15px;
  font-size: 1.4rem;
}
.community-grid p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 1rem;
}
.community-grid a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.updates {
  border-top: 1px solid var(--line);
  padding-block: 70px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 80px;
}
.updates-intro > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
}
.log-note {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 21px;
  max-width: 280px;
}
.log-note > span {
  font-size: 0.8125rem;
  font-weight: 700;
}
.log-note p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 9px;
}
.updates-intro .text-link {
  margin-top: 15px;
  color: var(--blue);
}
.timeline {
  list-style: none;
  counter-reset: updates;
  padding: 0;
  margin: 0;
}
.timeline > li {
  position: relative;
  padding: 0 0 28px 31px;
  border-left: 1px solid #c9d3e9;
  counter-increment: updates;
}
.timeline > li::before {
  content: counter(updates, decimal-leading-zero);
  position: absolute;
  left: -14px;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #c9d3e9;
  background: #fff;
  color: #667490;
  border-radius: 50%;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
}
.timeline > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline article {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}
.timeline > li:last-child article {
  border-bottom: 0;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  min-height: 28px;
}
.post-meta time {
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}
.post-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f1f3f7;
  border-radius: 4px;
  color: #535f77;
  font-size: 0.75rem;
  line-height: 1.7;
}
.community-tag {
  color: #2850b6;
  background: var(--blue-wash);
}
.timeline h3 {
  margin-top: 12px;
}
.timeline article > p {
  color: var(--muted);
  margin-top: 10px;
}
.post-source {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--blue);
  text-decoration: none;
}
blockquote {
  border-left: 3px solid #aec0f5;
  padding: 12px 16px;
  background: #f5f7fc;
  margin-top: 17px;
}
blockquote p {
  font-weight: 700;
  font-size: 1rem;
}
blockquote cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 5px;
}
.timeline article > .report-note {
  font-size: 0.8125rem;
  line-height: 1.8;
}
.sources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-block: 44px 58px;
}
.sources h2 {
  font-size: 1.2rem;
}
.sources p:not(.eyebrow) {
  font-size: 0.875rem;
  color: var(--muted);
}
.sources p + p {
  margin-top: 13px;
}
.sources p.source-date {
  font-size: 0.75rem;
}
.site-footer {
  background: #f1f5ff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 40px;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.footer-inner p + p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 5px;
}
.footer-button {
  background: #fff;
  color: var(--blue);
  box-shadow:
    0 0 0 1px #d8e1f5,
    0 4px 8px rgb(29 50 100 / 4%);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 16px;
  border-top: 1px solid #d8e1f5;
  font-size: 0.75rem;
  color: #5b6883;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}
@media (hover: hover) {
  .primary:hover {
    background: #183ec1;
    box-shadow:
      0 3px 5px rgb(20 48 145 / 12%),
      0 8px 20px rgb(20 48 145 / 14%);
  }
  .footer-button:hover {
    background: #e5edff;
  }
  nav a:hover,
  .text-link:hover,
  .post-source:hover,
  .community-grid a:hover,
  .header-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.35em;
  }
  .history-sources a:hover > span:last-child {
    text-decoration: underline;
  }
}
@media (width < 1000px) {
  .wrap {
    width: min(100% - 48px, 740px);
  }
  .site-header {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 20px 13px;
    gap: 14px;
  }
  .brand {
    font-size: 1.35rem;
    gap: 10px;
  }
  .brand-small {
    font-size: 0.75rem;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    gap: 12px 25px;
    flex-wrap: wrap;
  }
  .site-header nav a {
    font-size: 0.8125rem;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-block: 44px 53px;
  }
  h1 {
    font-size: clamp(2rem, 5.8vw, 3.1rem);
    line-height: 1.55;
    margin-block: 15px 22px;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 13px 24px;
    margin-top: 24px;
  }
  .welcome-window {
    width: min(100% - 8px, 450px);
    justify-self: center;
    transform: rotate(1deg);
  }
  .welcome-content {
    padding-top: 25px;
  }
  .welcome-word {
    font-size: 2.5rem;
  }
  .characters {
    min-height: 137px;
    gap: 27px;
  }
  .about,
  .history,
  .updates,
  .sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .about {
    padding-block: 38px 44px;
  }
  h2 {
    font-size: 1.65rem;
    line-height: 1.6;
  }
  .section-heading h2 br,
  .updates-intro h2 br {
    display: none;
  }
  .facts > div {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 10px;
  }
  .facts .fact-reference {
    margin-left: 0;
    margin-right: 10px;
  }
  .history {
    padding-block: 39px 44px;
    gap: 30px;
  }
  .history-date .year {
    font-size: 3rem;
    margin-block: 10px 0;
  }
  .year span {
    display: inline;
    font-size: 2rem;
  }
  .history-date > p:last-child {
    margin-top: 8px;
  }
  .community {
    padding-block: 42px 45px;
  }
  .community-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    margin-top: 26px;
  }
  .community-grid h3 {
    font-size: 1.35rem;
    margin-top: 9px;
  }
  .community-grid h3 br {
    display: none;
  }
  .community-grid p {
    margin-top: 11px;
  }
  .community-grid article {
    padding-top: 16px;
  }
  .community-grid a {
    padding-top: 11px;
  }
  .updates {
    padding-block: 41px 25px;
    gap: 31px;
  }
  .updates-intro > p:not(.eyebrow) {
    margin-top: 12px;
  }
  .updates-intro > p br {
    display: none;
  }
  .log-note {
    max-width: none;
    margin-top: 20px;
    padding-top: 15px;
  }
  .timeline {
    margin-left: 13px;
  }
  .timeline > li {
    padding-left: 24px;
  }
  .timeline h3 {
    font-size: 1.15rem;
  }
  .sources {
    padding-block: 31px 39px;
    gap: 15px;
  }
  .footer-inner {
    flex-wrap: wrap;
    padding-block: 30px;
  }
  .footer-bottom {
    gap: 4px 15px;
  }
  .footer-bottom a {
    margin-left: auto;
  }
}
@media (width < 480px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 1.25rem;
  }
  .brand-small {
    font-size: 0.75rem;
    margin-left: 5px;
  }
  .header-link {
    gap: 8px;
    font-size: 0.8125rem;
  }
  .site-header nav {
    gap: 9px 18px;
  }
  .site-header nav a {
    font-size: 0.8125rem;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  h1 {
    font-size: clamp(1.65rem, 7.9vw, 2.4rem);
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .characters {
    gap: 20px;
  }
  .window-top {
    padding-inline: 12px;
    font-size: 0.75rem;
  }
  .welcome-window figcaption {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  .welcome-word {
    font-size: 2.25rem;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .facts dt {
    font-size: 0.8125rem;
  }
  .facts .fact-reference {
    margin-left: 10px;
  }
  .post-meta {
    gap: 7px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:active {
    transform: none;
  }
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}
.evidence-figure {
  width: min(100%, 320px);
  margin-block: 22px 16px;
  min-width: 0;
}
.evidence-grid .evidence-figure {
  margin: 0;
}
.evidence-image-link {
  display: block;
  text-decoration: none;
  border-radius: 8px;
}
.evidence-image-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  outline: 1px solid rgb(0 0 0 / 10%);
  outline-offset: -1px;
}
.evidence-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  font-size: 0.875rem;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.evidence-figure figcaption {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.evidence-figure figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 6px;
}
.evidence-figure code {
  font-size: 0.8125rem;
}
@media (width < 1000px) {
  .evidence-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
