:root {
  color-scheme: light;
  --ink: #181713;
  --muted: #69655c;
  --subtle: #8c877c;
  --paper: #f7f3ea;
  --panel: #fffdf7;
  --line: #d9d0c1;
  --accent: #b3532c;
  --accent-dark: #79361f;
  --sage: #6f7d62;
  --sky: #526a7d;
  --shadow: 0 24px 80px rgba(47, 39, 27, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.78), rgba(247, 243, 234, 0.96)),
    radial-gradient(circle at 80% 12%, rgba(179, 83, 44, 0.13), transparent 34%),
    var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(217, 208, 193, 0.72);
  background: rgba(247, 243, 234, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 36px;
  height: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.1);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px 12px;
  border-left: 1px solid rgba(255, 253, 247, 0.28);
  border-right: 1px solid rgba(255, 253, 247, 0.28);
  pointer-events: none;
}

.monogram-letter {
  position: relative;
  z-index: 1;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.nav a {
  transition: color 160ms ease;
}

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

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(56px, 9vw, 118px) 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(60px, 10vw, 142px);
  line-height: 0.91;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--sky);
  font-size: clamp(25px, 4.1vw, 56px);
  line-height: 1.04;
  font-weight: 650;
}

.hero-intro,
.statement p,
.pillar p,
.operator-board p,
.news-panel p,
.news-item p,
.news-digest-summary p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-intro {
  max-width: 670px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

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

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

.operator-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: var(--shadow);
}

.board-header,
.signal-grid,
.section-heading,
.news-panel-heading {
  display: grid;
  gap: 20px;
}

.board-header {
  grid-template-columns: 1fr auto;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.signal-grid {
  grid-template-columns: 1fr;
  margin: 22px 0;
}

.signal-grid div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: var(--panel);
}

.signal-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.signal-grid strong {
  font-size: 20px;
}

.system-map {
  position: relative;
  min-height: 190px;
  margin: 8px 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(217, 208, 193, 0.36) 1px, transparent 1px),
    linear-gradient(0deg, rgba(217, 208, 193, 0.36) 1px, transparent 1px),
    #faf7ef;
  background-size: 28px 28px;
  overflow: hidden;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  inset: 50% 18%;
  height: 1px;
  background: var(--accent);
  transform-origin: center;
}

.system-map::after {
  transform: rotate(90deg);
  background: var(--sky);
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--panel);
  box-shadow: 0 0 0 1px rgba(24, 23, 19, 0.18);
}

.node-a {
  left: 18%;
  top: 26%;
  background: var(--accent);
}

.node-b {
  right: 22%;
  top: 21%;
  background: var(--sage);
}

.node-c {
  left: 34%;
  bottom: 20%;
  background: var(--sky);
}

.node-d {
  right: 18%;
  bottom: 28%;
  background: var(--ink);
}

.statement,
.architecture {
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid rgba(217, 208, 193, 0.86);
}

.statement h2 {
  max-width: 940px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 500;
}

.statement p {
  max-width: 740px;
  font-size: 18px;
}

.section-heading {
  grid-template-columns: 0.75fr 1fr;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.architecture h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 680;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.7);
}

.pillar {
  min-height: 430px;
  padding: 22px;
}

.pillar-index {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 850;
}

.pillar h3 {
  margin: 18px 0 12px;
  font-size: 25px;
}

.pillar ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.pillar li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink);
  font-weight: 700;
}

.pillar li a {
  color: inherit;
}

.pillar-page,
.blank-page {
  padding: clamp(64px, 9vw, 112px) 0;
}

.compact-page {
  padding-top: clamp(36px, 6vw, 72px);
}

.pillar-page .section-heading {
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.pillar-page h1,
.blank-state h1,
.news-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 500;
}

.page-intro {
  max-width: 760px;
  margin: 24px 0 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.module-stack {
  display: grid;
  gap: 14px;
}

.module-card {
  display: grid;
  grid-template-columns: 82px minmax(180px, 0.42fr) 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 253, 247, 0.72);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.module-card:hover {
  border-color: rgba(121, 54, 31, 0.52);
  box-shadow: 0 18px 48px rgba(47, 39, 27, 0.1);
  transform: translateY(-1px);
}

.module-card h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.blank-state {
  min-height: min(62svh, 620px);
  display: grid;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 72px);
  background: rgba(255, 253, 247, 0.72);
}

.blank-state p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.skill-library,
.skill-detail {
  padding: clamp(48px, 8vw, 96px) 0;
}

.skill-library-list {
  display: grid;
  gap: 18px;
}

.featured-skill,
.skill-hero,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.74);
}

.featured-skill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 44px);
  align-items: end;
  padding: clamp(24px, 5vw, 46px);
  box-shadow: var(--shadow);
}

.featured-skill h2,
.detail-section h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.7vw, 58px);
  line-height: 1.02;
}

.featured-skill p,
.skill-hero p,
.detail-section p,
.prompt-list {
  color: var(--muted);
  line-height: 1.75;
}

.skill-tags,
.featured-skill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags {
  margin-top: 22px;
}

.skill-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  background: rgba(247, 243, 234, 0.64);
}

.skill-detail {
  display: grid;
  gap: 18px;
}

.skill-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 6vw, 64px);
}

.skill-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 100px);
}

.skill-meta {
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.skill-meta span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.skill-meta strong,
.skill-meta a {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
}

.skill-meta a {
  color: var(--accent-dark);
}

.detail-section {
  padding: clamp(24px, 5vw, 44px);
}

.detail-grid,
.skill-workflow-grid,
.process-row {
  display: grid;
  gap: 14px;
}

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

.detail-grid article,
.skill-workflow-grid article,
.process-row article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.detail-grid h3,
.skill-workflow-grid h3,
.process-row h3,
.module-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.skill-workflow-grid span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.skill-detail-page .featured-skill-actions {
  margin-top: 24px;
}

.compact-stack .module-card {
  grid-template-columns: 82px minmax(220px, 0.38fr) 1fr;
}

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

.process-row span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.code-panel {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0 0;
  padding: 18px;
  background: #181713;
  color: var(--panel);
  line-height: 1.7;
}

.code-panel code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.prompt-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.prompt-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink);
  font-weight: 720;
}

.final-note {
  background: rgba(247, 243, 234, 0.84);
}

.news-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 253, 247, 0.78);
}

.news-panel-heading {
  grid-template-columns: 0.5fr 1fr;
  align-items: start;
  margin-bottom: 26px;
}

.news-heading-copy h1 {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}

.news-heading-copy p {
  max-width: 760px;
}

.news-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-day {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-day:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-day-summary {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--subtle);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  text-transform: uppercase;
}

.news-day-summary::-webkit-details-marker {
  display: none;
}

.news-date {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.news-day-items {
  display: grid;
  gap: 22px;
  margin-left: 168px;
  padding-top: 18px;
}

.news-day-source {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.news-day-source a {
  color: inherit;
}

.news-digest-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(247, 243, 234, 0.6);
}

.news-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.news-stats span {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 22px;
}

.news-section {
  display: grid;
  gap: 14px;
}

.news-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.news-section-heading h5 {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
}

.news-section-heading span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.news-section-items {
  display: grid;
  gap: 16px;
}

.news-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(217, 208, 193, 0.72);
}

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-content h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.news-content p {
  margin-bottom: 12px;
}

.news-source {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.news-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.news-links a {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.learning-page {
  display: grid;
  gap: 28px;
}

.learning-hero {
  margin-bottom: 0;
}

.learning-category-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.learning-category-nav a {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 253, 247, 0.74);
  color: var(--ink);
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 760;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.learning-category-nav a:hover {
  border-color: rgba(121, 54, 31, 0.5);
  box-shadow: 0 16px 44px rgba(47, 39, 27, 0.09);
  transform: translateY(-1px);
}

.learning-category-nav span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.learning-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 110px;
}

.learning-section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.learning-section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.learning-section-heading p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.learning-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.learning-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  min-width: 0;
  min-height: 282px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.learning-card:hover {
  border-color: rgba(121, 54, 31, 0.48);
  box-shadow: 0 18px 48px rgba(47, 39, 27, 0.1);
  transform: translateY(-1px);
}

.learning-card-media {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  border-right: 1px solid var(--line);
  background: #e7e0d4;
  overflow: hidden;
}

.learning-card-visual {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(217, 208, 193, 0.42) 1px, transparent 1px),
    linear-gradient(0deg, rgba(217, 208, 193, 0.38) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(237, 231, 219, 0.96));
  background-size: 28px 28px, 28px 28px, auto;
}

.learning-card-visual::before,
.learning-card-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(121, 54, 31, 0.32);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}

.learning-card-visual::before {
  width: 46%;
  height: 34%;
  left: 12%;
  top: 16%;
}

.learning-card-visual::after {
  width: 34%;
  height: 26%;
  right: 12%;
  bottom: 16%;
}

.judgment-node,
.judgment-line {
  position: absolute;
  z-index: 1;
  display: block;
}

.judgment-node {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 253, 247, 0.92);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(24, 23, 19, 0.18);
}

.judgment-node-a {
  left: 22%;
  top: 27%;
  background: var(--accent);
}

.judgment-node-b {
  right: 28%;
  top: 38%;
  background: var(--sky);
}

.judgment-node-c {
  left: 48%;
  bottom: 24%;
  background: var(--sage);
}

.judgment-line {
  height: 2px;
  background: rgba(24, 23, 19, 0.22);
  transform-origin: left center;
}

.judgment-line-a {
  width: 40%;
  left: 28%;
  top: 34%;
  transform: rotate(11deg);
}

.judgment-line-b {
  width: 34%;
  left: 38%;
  bottom: 32%;
  transform: rotate(-18deg);
}

.task-bar {
  position: absolute;
  z-index: 1;
  display: block;
  height: 10px;
  border: 1px solid rgba(121, 54, 31, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 10px 22px rgba(47, 39, 27, 0.08);
}

.task-bar-a {
  width: 42%;
  left: 17%;
  top: 24%;
}

.task-bar-b {
  width: 58%;
  left: 17%;
  top: 39%;
}

.task-bar-c {
  width: 36%;
  right: 15%;
  bottom: 35%;
}

.task-bar-d {
  width: 50%;
  right: 15%;
  bottom: 21%;
}

.task-node-a {
  left: 16%;
  top: 36%;
  background: var(--accent);
}

.task-node-b {
  right: 17%;
  bottom: 18%;
  background: var(--sky);
}

.tips-step,
.tips-line {
  position: absolute;
  z-index: 1;
  display: block;
}

.tips-step {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 253, 247, 0.9);
  border-radius: 999px;
  background: rgba(121, 54, 31, 0.9);
  box-shadow: 0 0 0 1px rgba(24, 23, 19, 0.14);
}

.tips-step::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  background: rgba(255, 253, 247, 0.88);
}

.tips-step-a {
  left: 17%;
  top: 24%;
}

.tips-step-b {
  left: 43%;
  top: 39%;
  background: var(--sky);
}

.tips-step-c {
  right: 18%;
  bottom: 22%;
  background: var(--sage);
}

.tips-line {
  height: 2px;
  background: rgba(24, 23, 19, 0.2);
  transform-origin: left center;
}

.tips-line-a {
  width: 34%;
  left: 27%;
  top: 40%;
  transform: rotate(22deg);
}

.tips-line-b {
  width: 31%;
  left: 53%;
  bottom: 37%;
  transform: rotate(-21deg);
}

.parallel-pane,
.parallel-core {
  position: absolute;
  z-index: 1;
  display: block;
}

.parallel-pane {
  width: 34%;
  height: 24%;
  border: 1px solid rgba(121, 54, 31, 0.3);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  box-shadow: 0 12px 26px rgba(47, 39, 27, 0.08);
}

.parallel-pane-a {
  left: 14%;
  top: 18%;
}

.parallel-pane-b {
  right: 13%;
  top: 34%;
}

.parallel-pane-c {
  left: 27%;
  bottom: 18%;
}

.parallel-core {
  left: 45%;
  top: 39%;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 253, 247, 0.9);
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(24, 23, 19, 0.14),
    0 16px 34px rgba(121, 54, 31, 0.18);
}

.learning-card-media img,
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learning-card-body {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 12px;
  padding: 20px;
}

.learning-meta,
.article-meta span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.learning-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.learning-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.learning-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.learning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.learning-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  background: rgba(247, 243, 234, 0.64);
}

.article-page {
  display: grid;
  gap: 18px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 64px);
  background: rgba(255, 253, 247, 0.76);
}

.article-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.98;
}

.article-meta {
  display: grid;
  align-content: start;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.article-meta strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.article-cover {
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e7e0d4;
  overflow: hidden;
}

.article-content {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 52px);
  background: rgba(255, 253, 247, 0.82);
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.12;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content code {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(247, 243, 234, 0.86);
  color: var(--accent-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section-heading,
  .news-panel-heading,
  .learning-section-heading,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .module-card {
    grid-template-columns: 1fr;
  }

  .learning-category-nav,
  .learning-article-grid,
  .learning-card {
    grid-template-columns: 1fr;
  }

  .learning-card-media {
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-skill,
  .skill-hero,
  .detail-grid,
  .skill-workflow-grid,
  .process-row,
  .compact-stack .module-card {
    grid-template-columns: 1fr;
  }

  .featured-skill-actions {
    width: 100%;
  }

  .skill-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .article-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }

  .hero {
    min-height: auto;
  }

  .operator-board {
    order: -1;
  }

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

  .pillar {
    min-height: auto;
  }

  .news-meta,
  .news-day-summary {
    grid-template-columns: 1fr;
  }

  .news-meta {
    display: grid;
  }

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

  .news-day-items {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 14px;
  }

  .nav {
    gap: 16px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .pillar-page h1,
  .blank-state h1,
  .news-panel h1,
  .article-hero h1 {
    font-size: clamp(40px, 15vw, 68px);
  }

  .learning-category-nav a {
    font-size: 20px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}
