:root {
  color: #1c241e;
  background: #f2f0e7;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f2f0e7;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(28, 36, 30, 0.045) 1px, transparent 1px),
    #f2f0e7;
  background-size: 72px 100%;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(rgba(28, 36, 30, 0.025) 1px, transparent 1px);
  background-size: 100% 48px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #f2f0e7;
  background: #1c241e;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(28, 36, 30, 0.16);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-name {
  font-weight: 650;
  text-decoration: none;
}

.site-status {
  color: #687268;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(28, 36, 30, 0.2);
}

.eyebrow {
  margin: 0 0 18px;
  color: #748b31;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

h1 {
  max-width: 800px;
  margin: 0;
  color: #1a221c;
  font-size: 68px;
  font-weight: 600;
  line-height: 1.04;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: #59645a;
  font-size: 16px;
  line-height: 1.85;
}

.hero-status {
  align-self: end;
  padding: 16px 0 0 22px;
  border-left: 1px solid rgba(28, 36, 30, 0.18);
}

.status-label {
  margin: 0 0 8px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-status p:last-child {
  margin: 0;
  color: #687268;
  font-size: 12px;
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 64px;
  padding: 44px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}

.section-title h2 {
  margin: 0;
  color: #1c241e;
  font-size: 28px;
  font-weight: 600;
}

.section-title span {
  color: #7d867d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: right;
}

.experiment-list {
  border-top: 1px solid rgba(28, 36, 30, 0.2);
}

.experiment {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(28, 36, 30, 0.14);
}

.experiment-index {
  padding-top: 2px;
  color: #8a948a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.experiment h3 {
  margin: 0 0 7px;
  color: #1c241e;
  font-size: 16px;
  font-weight: 650;
}

.experiment p {
  max-width: 550px;
  margin: 0;
  color: #657067;
  font-size: 12px;
  line-height: 1.65;
}

.phase {
  padding-top: 3px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.phase-green {
  color: #496a22;
}

.phase-blue {
  color: #355f8a;
}

.phase-rust {
  color: #9c5c32;
}

.body-card {
  overflow: hidden;
  border-radius: 8px;
  color: #f1f0e7;
  background: #26351f;
}

.body-card-content {
  padding: 24px;
}

.body-kicker {
  margin: 0 0 12px;
  color: #b9cf70;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.body-card h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.36;
}

.practice-list {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(241, 240, 231, 0.16);
}

.practice-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #2e3e25;
  font-size: 11px;
}

.practice-list li span:last-child {
  color: #b9cf70;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.run-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 24px;
  color: #1f2b19;
  background: #dce7a9;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.run-link:hover,
.run-link:focus-visible {
  background: #cbdc84;
}

.run-link:focus-visible {
  outline: 3px solid #1f2b19;
  outline-offset: -4px;
}

.run-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.updates {
  padding: 36px 0 42px;
  border-top: 1px solid rgba(28, 36, 30, 0.2);
}

.updates-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
}

.updates-label {
  margin: 0;
  color: #748b31;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.update-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.update-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
}

.update-list dt {
  color: #8a948a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.update-list dd {
  margin: 0;
  color: #59645a;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(28, 36, 30, 0.16);
  color: #7d867d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .hero,
  .content-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding: 52px 0 42px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-status {
    padding: 20px 0 0;
    border-top: 1px solid rgba(28, 36, 30, 0.15);
    border-left: 0;
  }

  .content-grid {
    gap: 42px;
  }

  .updates-grid {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  body {
    background-size: 48px 100%;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

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

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .content-grid {
    padding-top: 34px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section-title span {
    text-align: left;
  }

  .experiment {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .phase {
    grid-column: 2;
    padding-top: 0;
  }

  .body-card h3 {
    font-size: 22px;
  }

  .update-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
