:root {
  --ink: #0d1511;
  --ink-soft: #304039;
  --muted: #6c766f;
  --field: #f7f8f5;
  --paper: #fcfdfb;
  --line: #d9dfd7;
  --green: #115d40;
  --green-2: #1c7a58;
  --rust: #a34825;
  --gold: #b19952;
  --night: #101713;
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-150%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(217, 223, 215, 0.84);
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  min-height: 44px;
  padding: 13px 11px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: center;
  width: min(1380px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 70px 0 52px;
}

.status {
  margin: 0 0 18px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 6rem;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  color: var(--green);
}

.tagline {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.9rem;
  font-weight: 760;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.subscribe-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

.button {
  padding: 13px 20px;
  border: 1.5px solid var(--green);
}

.button.primary,
.subscribe-form button {
  background: var(--green);
  color: var(--paper);
}

.button.ghost {
  color: var(--green);
  background: rgba(17, 93, 64, 0.04);
}

.button:hover,
.button:focus-visible,
.subscribe-form button:hover,
.subscribe-form button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.cover-stage {
  min-width: 0;
  display: grid;
  place-items: center;
  perspective: 1800px;
  overflow: visible;
}

.part-orbit svg {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-book-stage {
  --teaser-w: min(440px, 34vw);
  --teaser-h: calc(var(--teaser-w) * 1.38);
  --spine-w: 48px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 600px;
  padding: 38px 18px 68px 92px;
  outline: none;
}

.teaser-book-stage:focus-visible {
  outline: none;
}

.teaser-book-stage:focus-visible .teaser-book {
  filter: drop-shadow(0 0 18px rgba(17, 93, 64, 0.16));
}

.teaser-shadow {
  position: absolute;
  left: 18%;
  right: 10%;
  bottom: 8%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(13, 21, 17, 0.24), transparent 68%);
  filter: blur(8px);
  transform: rotate(-4deg);
  transition:
    opacity 600ms var(--ease),
    transform 900ms var(--ease);
}

.teaser-book {
  position: relative;
  width: var(--teaser-w);
  height: var(--teaser-h);
  transform: rotateX(6deg) rotateY(-18deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  transition: transform 900ms var(--ease);
}

.teaser-book-stage:hover .teaser-book,
.teaser-book-stage:focus-visible .teaser-book,
.teaser-book-stage.is-hovered .teaser-book,
.teaser-book-stage.is-open .teaser-book {
  transform: translateX(74px) rotateX(5deg) rotateY(-7deg) rotateZ(-1deg);
}

.teaser-book-stage:hover .teaser-shadow,
.teaser-book-stage:focus-visible .teaser-shadow,
.teaser-book-stage.is-hovered .teaser-shadow,
.teaser-book-stage.is-open .teaser-shadow {
  opacity: 0.78;
  transform: translateX(12px) scaleX(1.06) rotate(-2deg);
}

.teaser-page-stack,
.teaser-title-page,
.teaser-cover,
.teaser-spine {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.teaser-page-stack {
  z-index: 1;
  left: var(--spine-w);
  width: calc(100% - var(--spine-w));
  border: 1px solid rgba(13, 21, 17, 0.28);
  border-radius: 2px 9px 9px 2px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(13, 21, 17, 0.13) 0,
      rgba(13, 21, 17, 0.13) 1px,
      transparent 1px,
      transparent 7px
    ),
    linear-gradient(90deg, #e8e1d1, #fffdf6 11%, #fffefa);
  transform: translateZ(-18px);
}

.teaser-title-page {
  z-index: 2;
  left: var(--spine-w);
  display: grid;
  align-content: center;
  width: calc(100% - var(--spine-w));
  padding: 38px;
  border: 1px solid rgba(13, 21, 17, 0.34);
  border-left: 0;
  border-radius: 0 9px 9px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 21, 17, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 21, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  box-shadow: inset 20px 0 32px rgba(13, 21, 17, 0.1);
  transform: translateZ(4px);
}

.teaser-title-page p {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.teaser-title-page h2 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 3.05rem;
  line-height: 0.95;
}

.teaser-title-page span {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 900;
}

.teaser-title-page svg {
  width: min(100%, 260px);
  margin-top: 28px;
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teaser-cover {
  z-index: 5;
  left: var(--spine-w);
  width: calc(100% - var(--spine-w));
  transform: translateZ(24px) rotateY(0deg);
  transform-origin: left center;
  transition: transform 940ms var(--ease);
}

.teaser-book-stage:hover .teaser-cover,
.teaser-book-stage:focus-visible .teaser-cover,
.teaser-book-stage.is-hovered .teaser-cover,
.teaser-book-stage.is-open .teaser-cover {
  transform: translateZ(24px) rotateY(-124deg);
}

.teaser-cover-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 36px;
  border: 1px solid rgba(5, 20, 14, 0.78);
  border-radius: 2px 10px 10px 2px;
  overflow: hidden;
  backface-visibility: hidden;
}

.teaser-front {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13), transparent 14%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 18px
    ),
    linear-gradient(145deg, #173b2e, #0d241b);
  box-shadow:
    inset 18px 0 30px rgba(255, 255, 255, 0.08),
    inset -18px 0 26px rgba(0, 0, 0, 0.26),
    24px 28px 52px rgba(13, 21, 17, 0.22);
}

.teaser-front::before,
.teaser-front::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.teaser-front::after {
  inset: 34px;
  border-color: rgba(177, 153, 82, 0.58);
}

.cover-kicker,
.cover-line {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(252, 253, 251, 0.76);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.teaser-front h2 {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  margin: 0 0 16px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 3.75rem;
  line-height: 0.92;
}

.teaser-front div p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(252, 253, 251, 0.82);
  font-size: 1.24rem;
  font-weight: 850;
}

.teaser-back {
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(13, 21, 17, 0.12), transparent 18%),
    #e5e0cf;
  color: var(--ink);
  transform: rotateY(180deg);
}

.teaser-back p {
  max-width: 230px;
  margin: 0;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.7;
}

.teaser-spine {
  z-index: 6;
  right: auto;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  width: var(--spine-w);
  padding: 22px 0;
  border: 1px solid rgba(5, 20, 14, 0.84);
  border-radius: 10px 2px 2px 10px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 30%, rgba(0, 0, 0, 0.22)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 7px
    ),
    #0d241b;
  box-shadow: inset -10px 0 18px rgba(0, 0, 0, 0.34);
  transform: translateZ(30px);
}

.teaser-spine span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(252, 253, 251, 0.86);
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 1.18rem;
  font-weight: 760;
  line-height: 1;
}

.teaser-spine strong {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(177, 153, 82, 0.78);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.idea-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.idea-strip article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.idea-strip svg {
  width: 92px;
  height: 92px;
  margin-bottom: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idea-strip h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.idea-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.book-map {
  width: min(1280px, calc(100% - 40px));
  margin: 118px auto;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.section-copy h2,
.subscribe-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  font-size: 4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.part-orbit {
  border: 1px solid var(--ink);
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
}

.orbit-line {
  fill: none;
  stroke: rgba(252, 253, 251, 0.18);
  stroke-width: 1.5;
}

.part-node rect,
.sealed-core rect {
  fill: rgba(252, 253, 251, 0.06);
  stroke: rgba(252, 253, 251, 0.32);
  stroke-width: 1.2;
}

.part-node.active rect {
  fill: rgba(177, 153, 82, 0.16);
  stroke: var(--gold);
}

.part-node text,
.sealed-core text {
  fill: var(--paper);
  font: 900 20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.part-node .part-num,
.sealed-core .sealed {
  fill: rgba(252, 253, 251, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.status-board span {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.status-board span:last-child {
  border-right: 0;
}

.status-board b {
  display: block;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

.subscribe-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1.22fr);
  gap: 72px;
  align-items: start;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto 96px;
  padding: 68px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.legacy-anchor {
  position: absolute;
  top: 0;
}

.subscribe-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.subscribe-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #aeb8af;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.subscribe-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(17, 93, 64, 0.14);
}

.subscribe-form button {
  min-width: 108px;
  border: 1px solid var(--green);
  padding: 0 20px;
}

.form-help {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-help[data-state="error"] {
  color: var(--rust);
}

.form-help[data-state="success"] {
  color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero,
  .section-copy,
  .subscribe-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 46px;
    padding: 58px 0 44px;
  }

  .teaser-book-stage {
    --teaser-w: min(430px, 68vw);
    min-height: 620px;
    padding-left: 86px;
  }

  h1 {
    font-size: 4.6rem;
  }

  .section-copy h2,
  .subscribe-section h2 {
    font-size: 3.1rem;
  }

  .idea-strip,
  .status-board {
    grid-template-columns: 1fr;
  }

  .idea-strip article {
    min-height: 0;
  }

  .status-board span,
  .idea-strip article {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    min-height: 66px;
    padding: 8px 14px;
  }

  .nav-links {
    width: auto;
    overflow-x: auto;
    gap: 0;
  }

  .nav-links a {
    padding-inline: 7px;
    white-space: nowrap;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 0.94rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    gap: 28px;
    padding: 38px 0 30px;
  }

  .hero,
  .book-map,
  .idea-strip,
  .subscribe-section,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    font-size: 3.2rem;
  }

  .tagline {
    font-size: 1.32rem;
  }

  .hero-actions,
  .input-row,
  .site-footer {
    display: flex;
    flex-direction: column;
  }

  .button,
  .subscribe-form button,
  .subscribe-form input {
    width: 100%;
  }

  .teaser-book-stage {
    --teaser-w: min(76vw, 330px);
    --spine-w: 38px;
    min-height: calc(var(--teaser-h) + 94px);
    padding: 30px 0 46px 22px;
  }

  .teaser-book,
  .teaser-book-stage:hover .teaser-book,
  .teaser-book-stage:focus-visible .teaser-book,
  .teaser-book-stage.is-hovered .teaser-book,
  .teaser-book-stage.is-open .teaser-book {
    transform: translateX(8px) rotateX(5deg) rotateY(-8deg) rotateZ(-1deg);
  }

  .teaser-book-stage:hover .teaser-cover,
  .teaser-book-stage:focus-visible .teaser-cover,
  .teaser-book-stage.is-hovered .teaser-cover,
  .teaser-book-stage.is-open .teaser-cover {
    transform: translateZ(24px) rotateY(-86deg);
  }

  .teaser-cover-face,
  .teaser-title-page {
    padding: 22px;
  }

  .teaser-front h2 {
    font-size: 2.8rem;
  }

  .teaser-title-page h2 {
    font-size: 2.15rem;
  }

  .teaser-title-page span {
    font-size: 1.2rem;
  }

  .part-orbit {
    overflow-x: auto;
  }

  .part-orbit svg {
    min-width: 760px;
  }

  .subscribe-section {
    padding: 26px;
  }

  .section-copy h2,
  .subscribe-section h2 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
