:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-strong: #fffdfa;
  --ink: #221f1f;
  --muted: #625e58;
  --line: #d2cabd;
  --line-strong: #91887d;
  --oxblood: #7e2d2d;
  --green: #526752;
  --blue: #455e7b;
  --amber: #b4762c;
  --shadow: 0 22px 50px rgba(34, 31, 31, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, var(--ink) 0 8px, transparent 8px),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 46%, #ece8de 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 31, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 31, 31, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.45;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper-strong);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
  background: rgba(245, 243, 238, 0.92);
  border-bottom: 1px solid rgba(34, 31, 31, 0);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.brand {
  flex: 0 1 19rem;
  display: inline-flex;
  min-width: 12rem;
}

.brand img {
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.nav a {
  min-height: 2.75rem;
  padding: 0.72rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 253, 250, 0.74);
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.section {
  margin-top: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.summary-band,
.source-card,
.split-section,
.release-panel,
.timeline article,
.faq-list details,
.notice-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.86);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 31rem;
}

.hero-visual {
  padding: 0.75rem;
  min-height: 31rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(82, 103, 82, 0.16), rgba(126, 45, 45, 0.06)),
    var(--paper-strong);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.eyebrow,
.band-kicker,
.source-tag,
.source-index {
  margin: 0;
  color: var(--oxblood);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 0.75rem;
  max-width: 11ch;
  font-size: 5.1rem;
  line-height: 0.93;
}

h2 {
  font-size: 2.45rem;
  line-height: 1.03;
}

h3 {
  font-size: 1.32rem;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.dek {
  max-width: 61ch;
  margin-top: 1.25rem;
  color: #3d3934;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: var(--paper-strong);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.source-note {
  margin-top: 1.25rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--green);
  font-size: 0.94rem;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.summary-band > div {
  padding: 1.35rem;
}

.summary-band > div + div {
  border-left: 1px solid var(--line);
}

.band-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--blue);
}

.section-heading {
  max-width: 47rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-top: 0.5rem;
}

.section-heading p:last-child {
  margin-top: 0.75rem;
}

.section-heading.compact {
  max-width: 37rem;
  margin-bottom: 0;
}

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

.source-card {
  min-height: 18rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.source-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.source-index {
  color: var(--line-strong);
}

.source-tag {
  color: var(--green);
}

.source-card p {
  margin-top: 0.75rem;
}

.source-card a {
  margin-top: auto;
  color: var(--oxblood);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 1.2rem;
  padding: 1.4rem;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: checks;
}

.checklist li {
  min-height: 9.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--muted);
  line-height: 1.58;
  counter-increment: checks;
}

.checklist li::before {
  content: counter(checks, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  color: var(--oxblood);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.checklist span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 800;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.82fr);
  gap: 1.2rem;
  padding: 1.4rem;
  background:
    linear-gradient(90deg, rgba(34, 31, 31, 0.04), transparent),
    rgba(255, 253, 250, 0.9);
}

.release-copy p {
  margin-top: 1rem;
}

.inline-source {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--oxblood);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.release-stats {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.release-stats div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
}

.release-stats dt {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.release-stats dd {
  margin: 0.3rem 0 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.timeline article {
  min-height: 11.5rem;
  padding: 1.2rem;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.timeline p {
  margin-top: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.faq-list p {
  margin-top: 0.75rem;
}

.notice-section {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem;
  border-color: rgba(126, 45, 45, 0.4);
}

.notice-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--oxblood);
  border-radius: 8px;
  color: var(--paper-strong);
  background: var(--oxblood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}

.notice-section p:last-child {
  margin-top: 0.8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .summary-band,
  .source-grid,
  .split-section,
  .release-panel,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .summary-band > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }

  h1 {
    font-size: 4rem;
  }
}

@media (max-width: 640px) {
  body {
    background:
      linear-gradient(90deg, var(--ink) 0 5px, transparent 5px),
      linear-gradient(180deg, #fbfaf7 0%, var(--paper) 100%);
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 1rem, var(--max-width));
  }

  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
    width: 100%;
    max-width: 19rem;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 9.4rem;
    text-align: center;
  }

  .section {
    margin-top: 2.6rem;
  }

  .hero-copy,
  .source-card,
  .split-section,
  .release-panel,
  .timeline article,
  .faq-list details,
  .notice-section {
    padding: 1rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .dek {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .notice-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
