:root {
  --paper: #f3efe5;
  --paper-dark: #e8e1d2;
  --ink: #172033;
  --muted: #596273;
  --line: rgba(23, 32, 51, 0.18);
  --accent: #27477d;
  --accent-soft: #b9c8df;
  --display: Georgia, "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 5%, color-mix(in srgb, var(--accent-soft) 35%, transparent), transparent 29rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}
a { color: inherit; }
button { font: inherit; }
.reading-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 50; height: 3px; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.detail-shell { width: min(1380px, calc(100% - 64px)); margin: 0 auto; }

.detail-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1380px, calc(100% - 64px));
  height: 92px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.detail-brand { display: flex; align-items: center; justify-self: start; gap: 10px; text-decoration: none; }
.detail-brand > span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 700 13px/1 var(--display); }
.detail-brand b { font: 700 11px/1 var(--mono); letter-spacing: .12em; }
.detail-brand small { color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .1em; }
.detail-header nav { display: flex; gap: 38px; }
.detail-header nav a { font-size: 12px; text-decoration: none; }
.raw-link { justify-self: end; padding: 10px 13px; border-bottom: 1px solid var(--ink); font-size: 11px; text-decoration: none; }
.raw-link span { margin-left: 10px; color: var(--accent); }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(50px, 8vw, 130px);
  min-height: calc(100vh - 92px);
  align-items: center;
  padding-top: 68px;
  padding-bottom: 110px;
}
.hero-overline { display: flex; max-width: 640px; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--accent); font: 700 9px/1 var(--mono); letter-spacing: .13em; }
.hero-en { margin: 54px 0 0; color: var(--accent); font: italic 21px/1 var(--display); }
.hero-text h1 { max-width: 760px; margin: 12px 0 0; font: 400 clamp(63px, 7vw, 108px)/.98 var(--display); letter-spacing: -.06em; }
.hero-lead { max-width: 650px; margin: 32px 0 0; color: var(--muted); font: 400 clamp(17px, 1.55vw, 23px)/1.65 var(--display); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.primary-action { display: inline-flex; min-height: 52px; align-items: center; gap: 34px; padding: 0 20px; color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--accent-soft); font-size: 12px; font-weight: 700; text-decoration: none; }
.copy-first { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font-size: 11px; }
.hero-object { position: relative; overflow: hidden; aspect-ratio: .92; border: 1px solid var(--line); background: rgba(255,255,255,.22); box-shadow: 18px 20px 0 color-mix(in srgb, var(--accent) 7%, transparent); }
.object-grid { position: absolute; inset: 0; opacity: .45; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
.object-label { position: absolute; padding: 8px 10px; border: 1px solid var(--line); color: var(--accent); background: var(--paper); font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.label-a { top: 10%; left: 8%; }
.label-b { right: 8%; bottom: 10%; }
.object-coordinate { position: absolute; right: 12px; top: 44%; color: var(--muted); font: 7px/1.8 var(--mono); writing-mode: vertical-rl; }
.object-shape { position: absolute; inset: 17%; color: var(--accent); }

.hero-object-arch .object-shape::before,
.hero-object-arch .object-shape::after { position: absolute; bottom: 0; content: ""; }
.hero-object-arch .object-shape::before { inset: 5% 8% 0; border: 2px solid currentColor; border-bottom: 0; border-radius: 50% 50% 0 0; box-shadow: inset 0 0 0 18px var(--paper), inset 0 0 0 19px currentColor; }
.hero-object-arch .object-shape::after { right: 0; bottom: 0; left: 0; height: 2px; background: currentColor; box-shadow: 0 -20px 0 -9px currentColor; }
.hero-object-arch .object-shape i { position: absolute; bottom: 0; width: 1px; height: 70%; background: currentColor; }
.hero-object-arch .object-shape i:nth-child(1) { left: 27%; }.hero-object-arch .object-shape i:nth-child(2) { left: 50%; }.hero-object-arch .object-shape i:nth-child(3) { right: 27%; }
.hero-object-arch .object-shape span { position: absolute; top: 8%; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--accent); }

.hero-object-compass .object-shape { inset: 18%; border: 1px solid currentColor; border-radius: 50%; background: repeating-conic-gradient(transparent 0 14deg, color-mix(in srgb, var(--accent) 15%, transparent) 15deg 16deg); }
.hero-object-compass .object-shape::before { position: absolute; inset: 14%; border: 1px dashed currentColor; border-radius: 50%; content: ""; }
.hero-object-compass .object-shape::after { position: absolute; top: 50%; left: 50%; width: 22px; height: 82%; content: ""; background: linear-gradient(to bottom, var(--accent) 0 50%, var(--ink) 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: translate(-50%,-50%) rotate(33deg); }
.hero-object-compass .object-shape span { position: absolute; top: 50%; left: 50%; z-index: 2; width: 26px; height: 26px; border: 7px solid var(--paper); border-radius: 50%; background: var(--accent); transform: translate(-50%,-50%); }

.hero-object-plate .object-shape { inset: 18%; border: 2px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 26px var(--paper), inset 0 0 0 27px currentColor; }
.hero-object-plate .object-shape::before { position: absolute; inset: 34%; border: 1px dashed currentColor; border-radius: 50%; content: ""; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.hero-object-plate .object-shape::after { position: absolute; top: -3%; bottom: -3%; left: -14%; width: 5px; content: ""; background: currentColor; box-shadow: -9px 0 0 -1px currentColor, 9px 0 0 -1px currentColor, calc(100% + 110px) 0 0 0 currentColor; }

.hero-object-journal .object-shape { inset: 14% 19%; border: 2px solid currentColor; background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 14px 14px 0 color-mix(in srgb, var(--accent) 16%, transparent); }
.hero-object-journal .object-shape::before { position: absolute; top: 0; bottom: 0; left: 20%; width: 1px; content: ""; background: currentColor; }
.hero-object-journal .object-shape::after { position: absolute; top: 17%; right: 9%; width: 58%; height: 35%; border: 1px solid currentColor; content: ""; background: linear-gradient(145deg, transparent 48%, currentColor 49% 50%, transparent 51%), radial-gradient(circle at 73% 22%, currentColor 0 4px, transparent 5px); }
.hero-object-journal .object-shape span { position: absolute; right: 9%; bottom: 17%; width: 58%; height: 1px; background: currentColor; box-shadow: 0 15px 0 currentColor, 0 30px 0 currentColor; }

.hero-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 0; margin: -50px 0 0; padding: 0; }
.hero-metrics div { padding: 4px 28px; border-left: 1px solid var(--line); }
.hero-metrics div:first-child { padding-left: 0; border-left: 0; }
.hero-metrics dt { font: 400 29px/1 var(--display); }
.hero-metrics dd { margin: 8px 0 0; color: var(--muted); font-size: 10px; }

.overview-section { display: grid; grid-template-columns: .46fr 1.54fr; gap: 60px; padding-top: 115px; padding-bottom: 130px; border-top: 1px solid var(--line); }
.section-index { display: flex; gap: 16px; align-items: baseline; color: var(--accent); }
.section-index span { font: 400 34px/1 var(--display); }.section-index b { font: 700 9px/1 var(--mono); letter-spacing: .1em; }
.overview-copy > p { max-width: 930px; margin: 0; font: 400 clamp(27px, 3vw, 43px)/1.55 var(--display); letter-spacing: -.025em; }
.scope-line { display: flex; max-width: 720px; justify-content: space-between; gap: 30px; margin-top: 46px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.scope-line span { color: var(--accent); font-family: var(--mono); }.scope-line b { font-weight: 500; }

.use-section { padding: 80px 0 150px; }
.section-heading > p,.topics-heading > div > p,.method-heading > p,.try-heading > p,.verify-card > p,.source-list > p { margin: 0 0 20px; color: var(--accent); font: 700 9px/1 var(--mono); letter-spacing: .14em; }
.section-heading h2,.topics-heading h2,.method-heading h2,.try-heading h2,.verify-card h2 { margin: 0; font: 400 clamp(43px,5vw,72px)/1.08 var(--display); letter-spacing: -.045em; }
.section-heading em,.try-heading em { color: var(--accent); font-weight: 400; }
.use-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-card { min-height: 280px; padding: 27px; border-right: 1px solid var(--line); }.use-card:last-child { border-right: 0; }
.use-card > span { color: var(--accent); font: 700 10px/1 var(--mono); }.use-card h3 { margin: 72px 0 0; font: 400 27px/1.2 var(--display); }.use-card p { max-width: 330px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.topics-section { color: var(--paper); background: #18243a; }
.topics-shell { padding-top: 120px; padding-bottom: 130px; }
.topics-heading { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; }
.topics-heading > div > p { color: var(--accent-soft); }.topics-heading h2 { max-width: 760px; }
.topics-heading > p { max-width: 470px; margin: 0 0 4px auto; color: rgba(243,239,229,.62); font-size: 12px; line-height: 1.8; }
.topic-tabs { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); margin-top: 70px; border: 1px solid rgba(255,255,255,.2); }
.topic-tab { min-height: 74px; padding: 0 18px; border: 0; border-right: 1px solid rgba(255,255,255,.18); color: rgba(243,239,229,.52); background: transparent; cursor: pointer; font-size: 12px; }.topic-tab:last-child { border-right: 0; }.topic-tab span { margin-right: 9px; color: var(--accent-soft); font: 700 8px/1 var(--mono); }.topic-tab:hover,.topic-tab:focus-visible,.topic-tab.is-active { color: var(--paper); background: rgba(255,255,255,.08); }
.topic-panel { display: grid; grid-template-columns: .45fr 1.55fr; min-height: 390px; border: 1px solid rgba(255,255,255,.2); border-top: 0; outline: none; }
.topic-number { display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.18); color: var(--accent-soft); font: italic 110px/1 var(--display); }
.topic-content { padding: clamp(40px,6vw,80px); }.topic-content > p { margin: 0; color: var(--accent-soft); font: 700 9px/1 var(--mono); letter-spacing: .14em; }.topic-content h3 { margin: 17px 0 0; font: 400 clamp(31px,3.4vw,50px)/1.2 var(--display); }.topic-content > span { display: block; max-width: 760px; margin-top: 24px; color: rgba(243,239,229,.65); font-size: 13px; line-height: 1.9; }.topic-content ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }.topic-content li { padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); color: rgba(243,239,229,.76); font-size: 9px; }

.method-section { padding: 140px 0 160px; }
.method-heading { max-width: 800px; }
.method-steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 70px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.method-steps li { position: relative; min-height: 270px; padding: 26px; border-right: 1px solid var(--line); }.method-steps li:last-child { border-right: 0; }.method-steps li > span { color: var(--accent); font: 400 26px/1 var(--display); }.method-steps small { display: block; margin-top: 43px; color: var(--accent); font: 700 8px/1 var(--mono); letter-spacing: .12em; }.method-steps h3 { margin: 12px 0 0; font: 400 23px/1.3 var(--display); }.method-steps p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.source-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 160px; }
.verify-card,.source-list { min-height: 410px; padding: clamp(32px,5vw,66px); border: 1px solid var(--line); }
.verify-card { color: var(--paper); background: var(--accent); }.verify-card > p { color: var(--paper); opacity: .72; }.verify-card h2 { max-width: 560px; font-size: clamp(36px,4vw,58px); }.verify-card > span { display: block; max-width: 590px; margin-top: 35px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.9; }
.source-list h3 { margin: 0; font: 400 30px/1.3 var(--display); }.source-list > ul { margin: 35px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }.source-list li a { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); text-decoration: none; }.source-list li span { font-size: 12px; }.source-list li small { color: var(--muted); font: 8px/1 var(--mono); }.source-list li b { color: var(--accent); }.skill-source-link { display: inline-block; margin-top: 30px; color: var(--muted); font-size: 10px; text-underline-offset: 5px; }.skill-source-link span { color: var(--accent); }

.try-section { color: var(--paper); background: #151d2b; }
.try-shell { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(60px,9vw,150px); padding-top: 130px; padding-bottom: 140px; }
.try-heading > p { color: var(--accent-soft); }.try-heading h2 { font-size: clamp(45px,5vw,70px); }.try-heading em { color: var(--accent-soft); }
.prompt-list { border-top: 1px solid rgba(255,255,255,.2); }
.prompt-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }.prompt-card > div span,.prompt-card > div small { display: block; }.prompt-card > div span { color: var(--accent-soft); font: 400 21px/1 var(--display); }.prompt-card > div small { margin-top: 7px; color: rgba(255,255,255,.4); font: 7px/1 var(--mono); }.prompt-card code { color: rgba(243,239,229,.72); font: 10px/1.75 var(--mono); overflow-wrap: anywhere; }.prompt-card button { padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); color: var(--paper); background: transparent; cursor: pointer; font-size: 9px; }.prompt-card button:hover { color: var(--ink); background: var(--accent-soft); }

.detail-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; min-height: 210px; padding: 40px max(32px,calc((100% - 1380px)/2)); color: var(--paper); background: #101722; border-top: 1px solid rgba(255,255,255,.1); }.detail-footer > a:first-child { display: flex; align-items: center; gap: 12px; text-decoration: none; }.detail-footer > a:first-child span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font: 700 13px/1 var(--display); }.detail-footer b { font: 700 10px/1 var(--mono); letter-spacing: .12em; }.detail-footer p { color: rgba(255,255,255,.7); font: italic 15px/1.6 var(--display); text-align: center; }.detail-footer p small { color: rgba(255,255,255,.35); font: 7px/1 var(--mono); letter-spacing: .08em; }.detail-footer > a:last-child { justify-self: end; color: var(--accent-soft); font-size: 10px; text-decoration: none; }
.detail-toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; padding: 13px 18px; color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--accent); font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }.detail-toast.is-visible { opacity: 1; transform: none; }
.reveal { opacity: 1; transform: none; transition: opacity .65s ease,transform .65s ease; }.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(20px); }
.missing { display: grid; min-height: 100vh; place-items: center; text-align: center; }

@media (max-width: 980px) {
  .detail-header { grid-template-columns: 1fr auto; }.detail-header nav { display: none; }
  .detail-hero { grid-template-columns: 1fr; }.hero-text { max-width: 760px; }.hero-object { max-width: 650px; width: 100%; justify-self: center; }
  .hero-metrics { margin-top: 0; }
  .overview-section { grid-template-columns: 1fr; }
  .topics-heading,.try-shell { grid-template-columns: 1fr; }.topics-heading > p { margin: 0; }
  .method-steps { grid-template-columns: repeat(2,1fr); }.method-steps li:nth-child(2) { border-right: 0; }.method-steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .source-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .detail-shell,.detail-header { width: calc(100% - 28px); }
  .detail-header { height: 76px; }.detail-brand small { display: none; }.raw-link { font-size: 9px; }
  .detail-hero { min-height: auto; padding: 62px 0 80px; gap: 50px; }.hero-overline { font-size: 7px; }.hero-en { margin-top: 38px; font-size: 17px; }.hero-text h1 { font-size: clamp(52px,16vw,72px); }.hero-lead { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }.hero-object { max-width: 450px; }.hero-metrics { grid-template-columns: repeat(3,1fr); }.hero-metrics div { padding: 4px 13px; }.hero-metrics dt { font-size: 23px; }
  .overview-section { gap: 36px; padding: 80px 0 95px; }.overview-copy > p { font-size: 26px; }.scope-line { align-items: flex-start; flex-direction: column; gap: 9px; }
  .use-section { padding: 30px 0 95px; }.section-heading h2,.topics-heading h2,.method-heading h2,.try-heading h2 { font-size: 43px; }.use-grid { grid-template-columns: 1fr; }.use-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }.use-card:last-child { border-bottom: 0; }.use-card h3 { margin-top: 50px; }
  .topics-shell { padding: 85px 0 95px; }.topic-tabs { grid-template-columns: repeat(2,1fr); margin-top: 45px; }.topic-tab { border-bottom: 1px solid rgba(255,255,255,.18); }.topic-panel { grid-template-columns: 1fr; min-height: 0; }.topic-number { min-height: 150px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 78px; }.topic-content { padding: 34px 24px 44px; }
  .method-section { padding: 90px 0; }.method-steps { grid-template-columns: 1fr; margin-top: 48px; }.method-steps li { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }.method-steps li:last-child { border-bottom: 0; }
  .source-section { padding-bottom: 90px; }.verify-card,.source-list { min-height: 0; padding: 34px 25px; }.verify-card h2 { font-size: 39px; }.source-list li a { grid-template-columns: 1fr auto; }.source-list li small { display: none; }
  .try-shell { padding: 85px 0 95px; }.prompt-card { grid-template-columns: 44px 1fr; }.prompt-card button { grid-column: 2; justify-self: start; }.detail-footer { grid-template-columns: auto 1fr; gap: 18px; padding: 45px 20px; }.detail-footer p { display: none; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }.reveal-ready .reveal:not(.is-visible) { opacity:1; transform:none; }
}
