:root {
  color-scheme: light;
  --night: #070b10;
  --night-2: #0d1218;
  --paper: #f2f1ec;
  --white: #fff;
  --ink: #101318;
  --muted: #9ba4ad;
  --paper-muted: #5a626b;
  --line-dark: #39414a;
  --line-light: #c8c8c2;
  --cyan: #1ccbe1;
  --blue: #156ef5;
  --acid: #b7ff16;
  --danger: #c92f26;
  --focus: #ffbe0b;
  --font: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.6; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 50; transform: translateY(-160%); background: var(--acid); color: var(--ink); padding: 10px 14px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.night-stage { background: var(--night); color: var(--white); min-height: 100vh; }
.site-header { height: 82px; max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { position: relative; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; transform: rotate(-8deg); }
.brand-mark i { position: absolute; display: block; width: 14px; height: 20px; border: 5px solid var(--cyan); border-radius: 10px; }
.brand-mark i:first-child { transform: translateX(-4px); }
.brand-mark i:last-child { transform: translateX(5px); border-color: var(--acid); }
.brand-mark.small { transform: scale(.8) rotate(-8deg); transform-origin: left center; margin-right: -2px; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: #c7cdd3; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--white); }
.nav-cta { min-height: 42px; border: 1px solid var(--acid); padding: 0 17px; border-radius: 0; background: var(--acid); color: var(--ink); font-weight: 800; }

.hero { max-width: 1180px; margin: 0 auto; padding: clamp(72px, 8vw, 116px) 24px 72px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .72fr); gap: clamp(48px, 8vw, 110px); align-items: center; overflow: hidden; }
.hero-copy { animation: enter .75s var(--ease) both; }
.hero-note { margin: 0 0 22px; color: var(--acid); font-weight: 820; font-size: 14px; letter-spacing: .14em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 7.4vw, 98px); line-height: .93; letter-spacing: -.07em; font-weight: 900; text-wrap: balance; }
.hero h1 span { color: var(--cyan); }
.hero-lead { max-width: 650px; margin: 34px 0 0; color: #cbd1d7; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; text-wrap: pretty; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { min-height: 52px; border-radius: 0; border: 1px solid currentColor; padding: 0 22px; font-weight: 800; transition: transform .18s var(--ease), background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translate(-2px, -2px); }
.button:active { transform: translate(0, 0); }
.button-acid { background: var(--acid); color: var(--ink); border-color: var(--acid); box-shadow: 7px 7px 0 var(--blue); }
.button-acid:hover { box-shadow: 9px 9px 0 var(--blue); }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 7px 7px 0 var(--cyan); }
.button-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.button-quiet { background: transparent; color: var(--paper-muted); border-color: var(--line-light); }
.button-quiet:hover { color: var(--ink); background: #e8e7e1; }
.text-link { color: var(--white); font-weight: 750; text-underline-offset: 6px; }

.focus-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; align-content: center; animation: enter .75s .12s var(--ease) both; background: radial-gradient(circle at 50% 50%, var(--blue) 0 15%, transparent 15.4%), repeating-radial-gradient(circle at 50% 50%, transparent 0 14%, rgba(28,203,225,.48) 14.3% 14.7%); clip-path: polygon(13% 0,87% 0,100% 13%,100% 87%,87% 100%,13% 100%,0 87%,0 13%); }
.focus-visual::before { content: ""; position: absolute; inset: 9%; border: 1px solid rgba(21,110,245,.6); transform: rotate(45deg); }
.focus-visual strong { position: relative; z-index: 2; color: var(--night); font-size: clamp(90px, 12vw, 150px); line-height: .8; letter-spacing: -.08em; font-weight: 900; }
.focus-visual p { position: relative; z-index: 2; margin: 28px 0 0; color: var(--white); font-size: 14px; font-weight: 750; text-align: center; }
.orbit-label { position: absolute; z-index: 3; padding: 2px 8px; background: var(--night); color: var(--cyan); font-size: 11px; font-weight: 800; }
.orbit-label-top { top: 11%; left: 50%; transform: translateX(-50%); }
.orbit-label-right { right: 3%; top: 50%; transform: translateY(-50%); }
.orbit-label-bottom { bottom: 10%; left: 50%; transform: translateX(-50%); }

.hero-principles { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-dark); border-right: 0; }
.hero-principles > div { min-height: 194px; padding: 28px 30px; border-right: 1px solid var(--line-dark); }
.hero-principles span { display: block; color: var(--cyan); font-size: 27px; font-weight: 900; }
.hero-principles b { display: block; margin-top: 24px; font-size: 18px; }
.hero-principles p { margin: 6px 0 0; color: var(--muted); }
.signal-strip { max-width: 1180px; margin: 30px auto 0; padding: 28px 30px; background: var(--paper); color: var(--ink); border-top: 6px solid var(--blue); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.signal-strip strong { font-size: 21px; }
.signal-strip p { margin: 0; color: var(--paper-muted); font-size: 14px; }

.method { max-width: 1180px; margin: 0 auto; padding: clamp(90px, 11vw, 150px) 24px; }
.section-marker { display: flex; justify-content: space-between; padding: 0 0 14px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 820; letter-spacing: .13em; }
.section-marker.light { color: var(--white); border-color: var(--line-dark); }
.section-intro h2 { margin: 0; font-size: clamp(48px, 6.5vw, 84px); line-height: 1.02; letter-spacing: -.06em; font-weight: 900; }
.section-intro h2 span { color: var(--blue); }
.split-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; padding: 70px 0 74px; }
.split-intro p { margin: 0 0 32px; color: var(--paper-muted); font-size: 18px; }
.method-flow { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); border-right: 0; }
.method-flow article { min-height: 245px; padding: 30px; border-right: 1px solid var(--ink); }
.method-flow span { color: var(--blue); font-size: 31px; font-weight: 900; }
.method-flow h3 { margin: 42px 0 10px; font-size: 22px; }
.method-flow p { margin: 0; color: var(--paper-muted); }

.examples { background: var(--night); color: var(--white); }
.examples-inner { max-width: 1180px; margin: 0 auto; padding: clamp(90px, 11vw, 150px) 24px; }
.examples-heading { position: relative; padding: 70px 0; }
.examples-heading .side-label { position: absolute; left: 0; top: 82px; margin: 0; color: var(--acid); font-weight: 800; writing-mode: vertical-rl; letter-spacing: .12em; }
.examples-heading h2 { padding-left: 62px; }
.examples-heading h2 span { color: var(--cyan); }
.examples-heading > p:last-child { max-width: 580px; margin: 30px 0 0 62px; color: var(--muted); font-size: 18px; }
.example-list { border-top: 1px solid var(--line-dark); }
.example-case { display: grid; grid-template-columns: 70px 130px minmax(280px, 1.3fr) 1fr; gap: 30px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line-dark); color: inherit; text-decoration: none; transition: color .18s ease, transform .18s var(--ease); }
.example-case:hover { color: var(--white); transform: translateX(6px); }
.example-case:focus-visible { outline-offset: 8px; }
.example-no { color: var(--cyan); font-size: 26px; font-weight: 900; }
.example-role { color: var(--acid); font-weight: 800; }
.example-list h3 { margin: 0; font-size: 21px; line-height: 1.45; }
.example-list p { margin: 0; color: var(--muted); }
.example-list span { grid-column: 3 / 5; margin-top: -14px; color: #ccd2d8; font-size: 13px; font-weight: 720; }
.example-list b { grid-column: 4; justify-self: end; color: var(--acid); font-size: 13px; }
.examples-more { display: flex; justify-content: flex-end; margin-top: 34px; }
.button-outline-light { color: var(--white); border-color: var(--cyan); text-decoration: none; display: inline-flex; align-items: center; }
.button-outline-light:hover { background: var(--cyan); color: var(--night); }

.final-cta { background: var(--blue); color: var(--white); padding: clamp(70px, 10vw, 130px) max(24px, calc((100vw - 1132px) / 2)); display: grid; grid-template-columns: 150px 1fr .55fr; gap: 42px; align-items: end; }
.final-cta > p { margin: 0; color: var(--acid); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.final-cta h2 { margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: 1.06; letter-spacing: -.06em; }
.final-cta > div p { margin: 0 0 28px; font-size: 18px; }
footer { background: var(--night); color: var(--muted); padding: 36px max(24px, calc((100vw - 1132px) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; font-size: 13px; }
.footer-brand { color: var(--white); }
.icp-link { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.icp-link:hover { color: var(--white); }

.diagnostic-dialog { width: min(1120px, calc(100vw - 32px)); max-height: min(860px, calc(100vh - 32px)); padding: 0; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--paper); overflow: hidden; box-shadow: 14px 14px 0 var(--blue); }
.diagnostic-dialog::backdrop { background: rgba(7,11,16,.82); backdrop-filter: blur(4px); }
.dialog-shell { height: min(780px, calc(100vh - 32px)); min-height: 0; display: flex; flex-direction: column; }
.dialog-header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; color: var(--white); background: var(--night); border-bottom: 1px solid var(--line-dark); }
.dialog-brand { display: flex; align-items: center; gap: 5px; font-weight: 800; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 0; background: transparent; color: var(--white); font-size: 28px; line-height: 1; }
.icon-button:hover { background: var(--acid); color: var(--ink); }
.progress-wrap { padding: 24px 28px 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--paper-muted); font-size: 12px; font-weight: 720; }
.progress { height: 6px; margin-top: 10px; background: #d8d8d2; overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(.1667); transform-origin: left center; transition: transform .28s var(--ease); }
.dialog-content { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; padding: 40px 28px 28px; gap: 48px; }
.question-pane { max-width: 660px; padding-left: clamp(0px, 4vw, 48px); }
.question-pane.animate { animation: question-in .25s var(--ease) both; }
.question-context { margin: 0 0 12px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.question-pane h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.question-help { margin: 16px 0 28px; color: var(--paper-muted); }
.choice-list { display: grid; gap: 11px; }
.choice { position: relative; width: 100%; min-height: 66px; padding: 14px 50px 14px 18px; text-align: left; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: var(--white); font-weight: 800; }
.choice small { display: block; margin-top: 2px; color: var(--paper-muted); font-size: 12px; font-weight: 500; }
.choice::after { content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; border: 2px solid var(--ink); transform: translateY(-50%); }
.choice[aria-pressed="true"] { background: var(--acid); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.choice[aria-pressed="true"]::after { background: var(--blue); box-shadow: inset 0 0 0 3px var(--acid); }
.answer-textarea { width: 100%; min-height: 150px; resize: vertical; padding: 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); line-height: 1.7; }
.answer-textarea:focus { border-color: var(--blue); outline: 3px solid rgba(21,110,245,.25); }
.field-hint { margin: 8px 0 0; color: var(--paper-muted); font-size: 12px; }
.field-error { min-height: 23px; margin: 8px 0 0; color: var(--danger); font-size: 13px; font-weight: 700; }
.question-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.answer-trail { padding: 22px; background: var(--night); color: var(--white); border-top: 6px solid var(--cyan); }
.answer-trail > p { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 820; letter-spacing: .08em; }
.answer-trail span { color: var(--muted); font-size: 13px; }
.answer-trail dl { margin: 0; }
.answer-trail dt { margin-top: 16px; color: var(--muted); font-size: 11px; }
.answer-trail dd { margin: 3px 0 0; font-size: 13px; line-height: 1.55; }

.result-sheet { width: 100%; }
.result-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.result-heading p { margin: 0; color: var(--blue); font-size: 12px; font-weight: 820; letter-spacing: .1em; }
.result-heading h2 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 44px); }
.result-status { padding: 9px 12px; background: var(--acid); border: 1px solid var(--ink); font-size: 12px; font-weight: 820; white-space: nowrap; }
.result-summary { padding: 22px 0; color: var(--paper-muted); font-size: 17px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.result-grid section { padding-top: 20px; border-top: 1px solid var(--line-light); }
.result-grid h3 { margin: 0 0 12px; font-size: 17px; }
.result-grid ul { margin: 0; padding-left: 19px; color: var(--paper-muted); }
.result-grid li + li { margin-top: 8px; }
.next-step { margin-top: 28px; padding: 20px; background: var(--night); color: var(--white); border-top: 4px solid var(--cyan); }
.next-step p { margin: 5px 0 0; color: #ccd2d8; }
.result-caveat { color: var(--paper-muted); font-size: 12px; margin: 16px 0 0; }
.result-actions { display: flex; gap: 12px; margin-top: 24px; }
.copy-status { min-height: 22px; margin: 8px 0 0; color: var(--blue); font-size: 13px; }

@keyframes enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes question-in { from { opacity: .25; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .focus-visual { max-width: 540px; justify-self: center; width: 100%; }
  .split-intro { grid-template-columns: 1fr; gap: 28px; }
  .example-case { grid-template-columns: 55px 120px 1fr; }
  .example-list p { grid-column: 3; }
  .example-list span { grid-column: 3; }
  .example-list b { grid-column: 3; justify-self: start; }
  .final-cta { grid-template-columns: 1fr; align-items: start; }
  .dialog-content { grid-template-columns: 1fr; gap: 20px; }
  .answer-trail { display: none; }
  .question-pane { padding-left: 0; max-width: none; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding: 0 18px; }
  .site-header nav a { display: none; }
  .site-header nav { gap: 0; }
  .nav-cta { min-height: 40px; }
  .hero { padding: 56px 18px 64px; gap: 46px; }
  .hero-note { font-size: 11px; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(52px, 15vw, 70px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero-actions .text-link { align-self: flex-start; }
  .focus-visual strong { font-size: 100px; }
  .hero-principles { margin: 0 18px; grid-template-columns: 1fr; border-bottom: 0; }
  .hero-principles > div { min-height: 0; padding: 23px; border-bottom: 1px solid var(--line-dark); }
  .hero-principles span { font-size: 22px; }
  .hero-principles b { margin-top: 12px; }
  .signal-strip { margin: 24px 18px 0; padding: 22px; display: block; }
  .signal-strip strong { font-size: 17px; }
  .signal-strip p { margin-top: 8px; }
  .method, .examples-inner { padding: 86px 18px; }
  .section-intro h2 { font-size: 48px; }
  .split-intro { padding: 52px 0; }
  .method-flow { grid-template-columns: 1fr; border-bottom: 0; }
  .method-flow article { min-height: 0; padding: 25px; border-bottom: 1px solid var(--ink); }
  .method-flow h3 { margin-top: 18px; }
  .examples-heading { padding: 52px 0; }
  .examples-heading .side-label { position: static; writing-mode: initial; margin-bottom: 18px; }
  .examples-heading h2 { padding-left: 0; font-size: 44px; }
  .examples-heading > p:last-child { margin-left: 0; }
  .example-case { display: grid; grid-template-columns: 54px 1fr; gap: 12px 18px; padding: 28px 0; }
  .example-role { align-self: center; }
  .example-list h3, .example-list p, .example-list span, .example-list b { grid-column: 2; margin-top: 0; }
  .examples-more { justify-content: stretch; }
  .examples-more .button { width: 100%; justify-content: center; }
  .final-cta { padding: 78px 18px; }
  .final-cta h2 { font-size: 46px; }
  footer { grid-template-columns: 1fr; gap: 8px; padding: 28px 18px; }
  footer p { margin: 0; }
  .diagnostic-dialog { width: 100vw; max-width: none; max-height: 100dvh; height: 100dvh; border: 0; box-shadow: none; }
  .dialog-shell { height: 100dvh; min-height: 0; }
  .dialog-header { padding: 0 18px; }
  .progress-wrap { padding: 18px 18px 0; }
  .dialog-content { padding: 32px 18px 20px; overflow-y: auto; }
  .question-pane h2 { font-size: 31px; }
  .choice { min-height: 62px; }
  .question-actions { position: sticky; bottom: -20px; margin-left: -18px; margin-right: -18px; padding: 14px 18px 20px; background: linear-gradient(to top, var(--paper) 78%, transparent); }
  .result-heading { flex-direction: column; }
  .result-grid { grid-template-columns: 1fr; gap: 24px; }
  .result-actions { flex-direction: column; }
}

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