:root {
  --paper: #f4efe4;
  --paper-soft: #fbf7ed;
  --ink: #15140f;
  --muted: #62675d;
  --faint: #d9d0bf;
  --line: #cfc3ac;
  --green: #123b2a;
  --green-2: #071c14;
  --green-3: #0c291d;
  --brass: #a56f24;
  --gold: #f4dda0;
  --red: #8d342c;
  --blue: #2d5f86;
  --white: #fffaf0;
  --shadow: 0 28px 80px rgba(36, 26, 10, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 59, 42, 0.048) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 59, 42, 0.038) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1104px, calc(100vw - 48px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(7, 28, 20, 0.88);
  backdrop-filter: blur(18px);
}

.nav-bar {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, auto);
  gap: 2px;
  column-gap: 10px;
  align-items: center;
  min-width: 180px;
  padding-left: 16px;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--gold);
}

.brand b {
  color: var(--white);
  font-size: 21px;
  font-weight: 880;
  line-height: 1.05;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 221, 160, 0.46);
  object-fit: cover;
  box-shadow: 0 0 22px rgba(51, 181, 229, 0.18);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand .brand-copy > span {
  color: rgba(255, 250, 240, 0.7);
  font-size: 12px;
  font-weight: 760;
}

.nav-links {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.06);
  padding: 5px;
}

.nav-links a {
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  font-weight: 820;
  padding: 9px 14px;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 250, 240, 0.12);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  border-bottom: 1px solid rgba(18, 59, 42, 0.2);
  background:
    radial-gradient(circle at 84% 28%, rgba(244, 221, 160, 0.14), transparent 33%),
    radial-gradient(circle at 20% 18%, rgba(18, 59, 42, 0.86), transparent 36%),
    linear-gradient(120deg, #071c14 0%, #0a2218 45%, #1a190f 100%);
  color: var(--white);
  overflow: hidden;
  padding: 108px 0 44px;
}

.hero::before {
  content: "逻辑验证 / 周期追踪 / 长期复盘";
  position: absolute;
  right: max(24px, calc((100vw - 1104px) / 2));
  top: 34px;
  color: rgba(255, 250, 240, 0.3);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
}

.hero-copy,
.host-panel,
.section-head,
.workbench-card,
.article-card,
.framework-card,
.resource-card,
.sector-card,
.deep-archive,
.article-reader,
.outline-tool {
  min-width: 0;
}

.pill,
.eyebrow,
.section-head > span,
.article-meta,
.meta-line,
.framework-card span,
.resource-card span,
.sector-card span,
.workbench-card span,
.panel-label {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(244, 221, 160, 0.62);
  border-radius: 999px;
  color: var(--gold);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 12px;
  font-weight: 820;
  line-height: 1.35;
  padding: 7px 11px;
}

.brand-sigil {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  padding-top: 18px;
}

.brand-sigil img {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(244, 221, 160, 0.38);
  object-fit: cover;
  box-shadow: 0 0 34px rgba(51, 181, 229, 0.18);
}

.brand-sigil strong {
  display: block;
  color: var(--white);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 24px;
  line-height: 1.15;
}

.brand-sigil span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 250, 240, 0.58);
  font-size: 13px;
}

.hero h1,
.hero-title,
.section-head h2,
.workbench-card h3,
.article-card h3,
.framework-card h3,
.resource-card h3,
.sector-card h3,
.deep-archive h2,
.assistant-hero h1,
.outline-result h2,
.article-reader h1,
.article-body h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 30px;
  font-size: clamp(62px, 8.2vw, 104px);
  line-height: 0.98;
}

.hero-title {
  margin-top: 24px;
  color: var(--gold);
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.24;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 19px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 860;
  padding: 12px 20px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.ghost {
  border-color: rgba(255, 250, 240, 0.35);
  color: var(--white);
}

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

.host-panel {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-top: 3px solid rgba(244, 221, 160, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.1), rgba(255, 250, 240, 0.04)),
    rgba(14, 21, 17, 0.72);
  box-shadow: 24px 28px 80px rgba(0, 0, 0, 0.28);
  padding: 22px;
}

.host-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  padding-top: 16px;
}

.host-row span {
  color: var(--gold);
  font-weight: 850;
}

.host-row p {
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 15px;
  line-height: 1.75;
}

.host-row b {
  color: var(--white);
}

.panel-visual {
  margin: 4px 0 0;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.08);
  overflow: hidden;
}

.panel-visual img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 78px;
}

.hero-metrics div {
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.07);
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  color: var(--gold);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 28px;
}

.hero-metrics span {
  color: rgba(255, 250, 240, 0.62);
  font-size: 14px;
}

.value-layout {
  border-bottom: 1px solid rgba(18, 59, 42, 0.16);
  padding: 58px 0;
}

.compact-layout {
  padding-top: 44px;
}

.section-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.section-head > span {
  border-radius: 0;
  border-width: 0;
  border-top: 3px solid var(--red);
  color: var(--brass);
  padding: 6px 0 0;
}

.section-head h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.12;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.workbench-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  background: rgba(251, 247, 237, 0.92);
  box-shadow: var(--shadow);
  padding: 26px;
}

.ask-card {
  min-height: 320px;
}

.shortcuts-card {
  grid-column: 2;
}

.workbench-card span,
.framework-card span,
.resource-card span,
.sector-card span,
.meta-line {
  border-color: rgba(165, 111, 36, 0.35);
  color: var(--brass);
  background: rgba(255, 250, 240, 0.5);
}

.workbench-card h3 {
  margin-top: 26px;
  font-size: 31px;
  line-height: 1.18;
}

.workbench-card p,
.workbench-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.workbench-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.ask-card .button {
  margin-top: 36px;
}

.mini-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 42px;
  border-top: 1px solid rgba(18, 59, 42, 0.14);
  padding-top: 22px;
}

.mini-flow b {
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
}

.mini-flow i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 59, 42, 0.58), rgba(165, 111, 36, 0.18));
}

.prompt-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.prompt-list a,
.prompt-bank button {
  border: 1px solid rgba(18, 59, 42, 0.18);
  background: rgba(255, 250, 240, 0.72);
  color: var(--green);
  cursor: pointer;
  font-weight: 840;
  padding: 10px 12px;
  text-align: center;
}

.prompt-list a:hover,
.prompt-bank button:hover {
  border-color: var(--green);
}

.article-grid,
.framework-grid,
.library-grid,
.sector-grid,
.process-grid,
.topic-grid,
.framework-detail-grid,
.check-grid {
  display: grid;
  gap: 14px;
}

.framework-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.library-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.framework-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card,
.framework-card,
.resource-card,
.sector-card,
.process-grid article,
.topic-card,
.framework-detail,
.check-grid article,
.monthly-strip,
.brief-panel,
.source-note,
.article-brief > div {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 22px 54px rgba(36, 26, 10, 0.06);
  padding: 22px;
}

.article-card {
  min-height: 250px;
  border-left: 5px solid var(--green);
}

.topic-card {
  min-height: 260px;
  border-top: 4px solid var(--green);
}

.topic-card:nth-child(3n + 2) {
  border-top-color: var(--blue);
}

.topic-card:nth-child(3n) {
  border-top-color: var(--red);
}

.framework-card {
  border-top: 4px solid var(--green);
}

.framework-card:nth-child(3n + 2) {
  border-top-color: var(--blue);
}

.framework-card:nth-child(3n) {
  border-top-color: var(--red);
}

.resource-card,
.sector-card {
  min-height: 150px;
}

.article-card:hover,
.framework-card:hover,
.resource-card:hover,
.sector-card:hover,
.topic-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
}

.article-card h3,
.framework-card h3,
.resource-card h3,
.sector-card h3,
.process-grid h3,
.topic-card h3,
.monthly-strip h3 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.28;
}

.article-card p,
.framework-card p,
.resource-card p,
.sector-card p,
.process-grid p,
.topic-card p,
.monthly-strip p,
.brief-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.article-card p,
.framework-card p,
.resource-card p,
.topic-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.topic-card span,
.monthly-strip span,
.framework-detail span,
.check-grid span,
.article-brief span,
.brief-panel span {
  width: fit-content;
  border: 1px solid rgba(165, 111, 36, 0.35);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.5);
  color: var(--brass);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 12px;
  font-weight: 820;
  padding: 7px 11px;
}

.topic-card b {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  line-height: 1.55;
}

.section-link-row {
  margin-top: 20px;
}

.monthly-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-left: 5px solid var(--green);
}

.read-more {
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.archive-tools {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.84);
  padding: 12px;
}

.archive-tools label {
  color: var(--green);
  font-weight: 900;
}

.archive-tools input,
.outline-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
}

.archive-tools input:focus,
.outline-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 59, 42, 0.14);
}

.deep-archive,
.next-step-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: end;
  margin-top: 58px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-top: 3px solid rgba(244, 221, 160, 0.72);
  background:
    radial-gradient(circle at 88% 20%, rgba(244, 221, 160, 0.13), transparent 34%),
    linear-gradient(135deg, var(--green-2), #15170f);
  color: var(--white);
  padding: 34px;
}

.deep-archive h2,
.next-step-block h2 {
  margin-top: 18px;
  font-size: 38px;
  line-height: 1.12;
}

.deep-archive p:not(.pill),
.next-step-block p:not(.pill) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 16px;
  line-height: 1.78;
}

.poster-card {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 250, 240, 0.22);
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.poster-card figcaption {
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  color: rgba(255, 250, 240, 0.62);
  font-size: 12px;
  padding: 9px 10px;
}

.disclaimer {
  margin-top: 24px;
  border: 1px solid rgba(18, 59, 42, 0.16);
  background: rgba(251, 247, 237, 0.86);
  color: var(--muted);
  padding: 16px 18px;
}

.disclaimer strong {
  color: var(--red);
}

.disclaimer p {
  margin: 4px 0 0;
  line-height: 1.72;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(18, 59, 42, 0.16);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: var(--green);
  font-weight: 880;
}

.article-main,
.assistant-main {
  padding: 52px 0 0;
}

.article-reader {
  max-width: 830px;
}

.topic-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  padding-bottom: 28px;
}

.topic-hero h1 {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.topic-hero p:not(.pill) {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.article-reader h1 {
  margin-top: 14px;
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.article-source {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-source span {
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.78);
  color: var(--muted);
  font-size: 14px;
  padding: 7px 10px;
}

.article-source a {
  border: 1px solid rgba(18, 59, 42, 0.28);
  background: rgba(18, 59, 42, 0.08);
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  padding: 7px 10px;
}

.article-lead {
  margin: 22px 0 0;
  border-left: 5px solid var(--green);
  background: rgba(251, 247, 237, 0.82);
  color: #30352f;
  font-size: 20px;
  line-height: 1.76;
  padding: 16px 18px;
}

.article-body {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.article-body h2 {
  margin: 32px 0 10px;
  font-size: 31px;
}

.article-body p,
.article-body li {
  color: #242820;
  font-size: 18px;
  line-height: 1.9;
}

.article-body blockquote {
  margin: 22px 0;
  border-left: 5px solid var(--red);
  background: rgba(141, 52, 44, 0.08);
  color: var(--ink);
  padding: 14px 18px;
}

.article-disclaimer {
  max-width: 830px;
}

.article-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.article-brief p,
.article-brief li {
  margin: 0;
  color: #30352f;
  font-size: 15px;
  line-height: 1.72;
}

.article-brief ul,
.topic-section ul,
.framework-detail ul,
.source-note ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.related-block {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.related-block h2,
.topic-section h2,
.brief-panel h2,
.framework-detail h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.topic-section {
  margin-top: 28px;
}

.compact-head {
  margin-bottom: 18px;
}

.brief-panel {
  border-left: 5px solid var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split-section > div {
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 22px 54px rgba(36, 26, 10, 0.06);
  padding: 24px;
}

.split-section li,
.source-note li,
.framework-detail li,
.check-grid p {
  color: #30352f;
  line-height: 1.72;
}

.check-grid article {
  min-height: 132px;
  box-shadow: 0 18px 42px rgba(36, 26, 10, 0.05);
}

.check-grid p {
  margin: 0;
  font-size: 15px;
}

.source-note {
  border-left: 5px solid var(--brass);
}

.inline-deep {
  width: 100%;
  margin: 34px 0 0;
}

.inline-deep.no-poster {
  grid-template-columns: 1fr;
}

.framework-detail {
  min-height: 260px;
  border-top: 4px solid var(--green);
}

.framework-detail:nth-child(3n + 2) {
  border-top-color: var(--blue);
}

.framework-detail:nth-child(3n) {
  border-top-color: var(--red);
}

.framework-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  border: 1px solid rgba(18, 59, 42, 0.2);
  background: rgba(251, 247, 237, 0.9);
  color: var(--green);
  font-weight: 850;
  padding: 10px 13px;
}

.assistant-hero {
  position: relative;
  margin: -52px calc((100vw - min(1104px, calc(100vw - 48px))) / -2) 30px;
  background:
    radial-gradient(circle at 78% 24%, rgba(244, 221, 160, 0.14), transparent 34%),
    linear-gradient(120deg, var(--green-2), #15170f);
  color: var(--white);
  padding: 76px max(24px, calc((100vw - 1104px) / 2)) 56px;
}

.assistant-hero h1 {
  margin-top: 20px;
  font-size: clamp(42px, 5.8vw, 68px);
  line-height: 1.08;
}

.assistant-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.75);
  font-size: 18px;
  line-height: 1.82;
}

.outline-tool {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
}

.outline-form,
.outline-result {
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.9);
  box-shadow: var(--shadow);
  padding: 22px;
}

.outline-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.outline-form label {
  color: var(--green);
  font-weight: 900;
}

.outline-result h2 {
  font-size: 30px;
  line-height: 1.2;
}

.outline-result h3 {
  margin: 20px 0 8px;
  color: var(--green);
}

.outline-result p,
.outline-result li {
  color: #30352f;
  line-height: 1.76;
}

.prompt-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  color: var(--muted);
  padding: 22px;
}

.compact-home .hero {
  min-height: 620px;
  padding: 92px 0 38px;
  background:
    radial-gradient(circle at 82% 22%, rgba(45, 95, 134, 0.34), transparent 28%),
    radial-gradient(circle at 22% 18%, rgba(18, 59, 42, 0.96), transparent 36%),
    linear-gradient(120deg, #061811 0%, #0a2419 46%, #17170f 100%);
}

.compact-home .hero-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
}

.compact-home .hero h1 {
  font-size: clamp(54px, 7.2vw, 92px);
}

.compact-home .hero-lead {
  max-width: 620px;
}

.compact-host {
  align-self: stretch;
  gap: 18px;
  align-content: start;
  border-top-color: rgba(244, 221, 160, 0.9);
}

.host-note {
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  padding-top: 16px;
}

.host-note b {
  color: var(--gold);
  font-size: 18px;
}

.host-note p {
  margin: 8px 0 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.72;
}

.compact-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.compact-metrics div {
  padding: 14px;
}

.compact-metrics strong {
  font-size: 24px;
}

.home-dashboard {
  padding: 30px 0 0;
}

.home-card-grid,
.knowledge-grid,
.sample-grid,
.counter-grid,
.resource-pack-grid,
.variant-grid,
.copy-grid,
.timeline-list {
  display: grid;
  gap: 14px;
}

.home-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-map {
  padding: 42px 0 0;
}

.knowledge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card,
.knowledge-card,
.weekly-card,
.variant-card,
.sample-card,
.counter-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.92);
  box-shadow: 0 18px 46px rgba(36, 26, 10, 0.06);
  padding: 20px;
}

.home-card {
  min-height: 156px;
  border-top: 4px solid var(--green);
}

.knowledge-card {
  position: relative;
  min-height: 190px;
  border-left: 5px solid var(--green);
  overflow: hidden;
}

.knowledge-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(18, 59, 42, 0.14);
  transform: rotate(45deg);
}

.knowledge-card:nth-child(3n + 2) {
  border-left-color: var(--blue);
}

.knowledge-card:nth-child(3n) {
  border-left-color: var(--red);
}

.home-card:nth-child(3n + 2) {
  border-top-color: var(--blue);
}

.home-card:nth-child(3n) {
  border-top-color: var(--red);
}

.home-card span,
.knowledge-card span,
.weekly-card span,
.variant-card span,
.sample-card span,
.timeline-list span {
  width: fit-content;
  border: 1px solid rgba(165, 111, 36, 0.35);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.5);
  color: var(--brass);
  font-family: "SF Mono", "Cascadia Code", monospace;
  font-size: 12px;
  font-weight: 820;
  padding: 7px 11px;
}

.home-card h3,
.knowledge-card h3,
.variant-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.22;
}

.home-card p,
.knowledge-card p,
.variant-card p,
.sample-card p,
.counter-card li,
.timeline-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.home-update {
  padding: 28px 0 0;
}

.weekly-card {
  border-left: 5px solid var(--brass);
}

.weekly-card h2,
.mini-archive h2,
.sample-card h2,
.counter-card h2,
.timeline-list h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.18;
}

.weekly-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.weekly-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding-left: 20px;
}

.weekly-card li {
  color: #30352f;
  line-height: 1.72;
}

.weekly-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mini-archive {
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.72);
  padding: 20px;
}

.mini-archive .section-head {
  margin-bottom: 16px;
}

.mini-archive .section-head h2 {
  font-size: 30px;
}

.mini-archive .section-head p {
  font-size: 15px;
}

.mini-article-grid {
  grid-template-columns: 1fr;
}

.mini-article-grid .article-card {
  min-height: 0;
  padding: 16px;
}

.mini-article-grid .article-card h3 {
  font-size: 20px;
}

.mini-article-grid .article-card p {
  -webkit-line-clamp: 2;
}

.mini-archive > .button {
  width: 100%;
  margin-top: 14px;
}

.home-focus {
  padding: 34px 0 0;
}

.compact-deep {
  margin-top: 34px;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: stretch;
}

.compact-poster {
  align-self: center;
}

.button.ghost-light {
  margin-top: 18px;
  border-color: rgba(255, 250, 240, 0.36);
  color: var(--white);
}

.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.topic-facts span,
.topic-card-meta b {
  border: 1px solid rgba(18, 59, 42, 0.16);
  background: rgba(251, 247, 237, 0.86);
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  padding: 7px 10px;
}

.topic-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.topic-card strong {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  line-height: 1.55;
}

.copy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.copy-grid p {
  margin: 0;
  border: 1px solid rgba(18, 59, 42, 0.16);
  background: rgba(251, 247, 237, 0.9);
  color: #30352f;
  line-height: 1.78;
  padding: 18px;
}

.article-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.article-next a {
  border: 1px solid var(--line);
  background: rgba(251, 247, 237, 0.9);
  padding: 16px;
}

.article-next span {
  display: block;
  color: var(--brass);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.article-next b {
  color: var(--green);
  line-height: 1.45;
}

.timeline-list {
  position: relative;
  grid-template-columns: 1fr;
}

.timeline-list article {
  display: grid;
  gap: 10px;
  border-left: 5px solid var(--green);
  background: rgba(251, 247, 237, 0.9);
  box-shadow: 0 18px 46px rgba(36, 26, 10, 0.06);
  padding: 22px;
}

.timeline-list article:nth-child(3n + 2) {
  border-left-color: var(--blue);
}

.timeline-list article:nth-child(3n) {
  border-left-color: var(--red);
}

.sample-grid,
.counter-grid,
.resource-pack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sample-card,
.counter-card,
.resource-pack-grid .resource-card {
  min-height: 220px;
}

.sample-card ul,
.counter-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.sample-card li {
  color: #30352f;
  line-height: 1.7;
}

.variant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.variant-card {
  min-height: 170px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.95), rgba(244, 239, 228, 0.92));
}

.deep-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.deep-showcase .variant-grid {
  grid-template-columns: 1fr;
}

.lead-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 16px;
  align-items: end;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(177, 70, 49, 0.44);
  background:
    radial-gradient(circle at 94% 20%, rgba(45, 95, 134, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(244, 239, 228, 0.84));
  box-shadow: 0 14px 34px rgba(36, 26, 10, 0.035);
  padding: 18px 20px;
}

.lead-strip h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.12;
}

.lead-strip p:not(.pill) {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.lead-strip .button.primary {
  margin-top: 14px;
  border-color: rgba(18, 59, 42, 0.32);
  background: transparent;
  color: var(--deep);
  box-shadow: none;
}

.lead-strip .button.primary:hover {
  border-color: rgba(18, 59, 42, 0.48);
  background: rgba(18, 59, 42, 0.06);
}

.qr-card {
  display: grid;
  width: 92px;
  justify-items: center;
  justify-self: end;
  gap: 6px;
  border: 1px solid rgba(18, 59, 42, 0.1);
  background: rgba(255, 255, 255, 0.55);
  padding: 7px;
  opacity: 0.46;
  filter: grayscale(0.18) saturate(0.82);
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.qr-card:hover {
  opacity: 0.9;
  filter: none;
  transform: translateY(-2px);
}

.qr-card img {
  width: min(78px, 100%);
  aspect-ratio: 335 / 375;
  object-fit: contain;
}

.inline-lead {
  margin-top: 28px;
}

@media (max-width: 1020px) {
  .hero-grid,
  .outline-tool,
  .compact-home .hero-grid,
  .compact-deep,
  .deep-showcase {
    grid-template-columns: 1fr;
  }

  .lead-strip {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .host-panel {
    max-width: 640px;
  }

  .framework-grid,
  .article-grid,
  .library-grid,
  .topic-grid,
  .check-grid,
  .framework-detail-grid,
  .home-card-grid,
  .knowledge-grid,
  .variant-grid,
  .sample-grid,
  .counter-grid,
  .resource-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: calc(100vw - 28px);
  }

  .nav-bar {
    min-height: 94px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
    grid-template-columns: 36px minmax(0, auto);
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    border-radius: 0;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 11px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 28px;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: 48px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.76;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .host-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .value-layout {
    padding: 42px 0;
  }

  .section-head,
  .workbench-grid,
  .deep-archive,
  .monthly-strip,
  .split-section,
  .article-brief,
  .copy-grid,
  .article-next,
  .home-card-grid,
  .variant-grid,
  .sample-grid,
  .counter-grid,
  .resource-pack-grid {
    grid-template-columns: 1fr;
  }

  .shortcuts-card {
    grid-column: auto;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2,
  .deep-archive h2 {
    font-size: 33px;
  }

  .brand-sigil {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .brand-sigil img {
    width: 58px;
    height: 58px;
  }

  .brand-sigil strong {
    font-size: 21px;
  }

  .framework-grid,
  .article-grid,
  .library-grid,
  .sector-grid,
  .process-grid,
  .topic-grid,
  .framework-detail-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .compact-home .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .compact-home .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .compact-home .home-card {
    min-height: 148px;
    padding: 14px;
  }

  .compact-home .home-card h3 {
    font-size: 21px;
  }

  .compact-home .home-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 13px;
    line-height: 1.52;
  }

  .compact-home .topic-card {
    min-height: 0;
    padding: 16px;
  }

  .compact-home .topic-card h3 {
    font-size: 22px;
  }

  .compact-home .topic-card p {
    -webkit-line-clamp: 2;
  }

  .article-card {
    min-height: 0;
  }

  .topic-card,
  .framework-detail,
  .check-grid article {
    min-height: 0;
  }

  .topic-hero h1 {
    font-size: 38px;
  }

  .topic-hero p:not(.pill) {
    font-size: 16px;
  }

  .archive-tools {
    grid-template-columns: 1fr;
  }

  .assistant-hero {
    margin-left: -14px;
    margin-right: -14px;
    padding: 54px 14px 42px;
  }

  .assistant-hero h1,
  .article-reader h1 {
    font-size: 36px;
  }

  .prompt-list {
    grid-template-columns: 1fr;
  }

  .lead-strip {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
    padding: 16px;
  }

  .lead-strip h2 {
    font-size: 24px;
  }

  .lead-strip p:not(.pill) {
    font-size: 13px;
  }

  .lead-strip .button.primary {
    padding: 9px 12px;
    font-size: 13px;
  }

  .qr-card {
    width: 72px;
    padding: 5px;
  }

  .qr-card img {
    width: min(60px, 100%);
  }

  .poster-card {
    width: min(230px, 100%);
  }

  .mini-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .mini-flow i {
    display: none;
  }

  .mini-flow b {
    border: 1px solid rgba(18, 59, 42, 0.16);
    background: rgba(255, 250, 240, 0.62);
    padding: 8px;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
