:root {
  --ink: #141527;
  --muted: #686a7a;
  --paper: #f5f2eb;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(20, 21, 39, 0.13);
  --violet: #6a54e8;
  --violet-dark: #38247f;
  --coral: #ff755d;
  --mint: #5dc9a7;
  --navy: #0e1020;
  --shadow: 0 24px 70px rgba(35, 30, 70, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.ambient { position: fixed; z-index: -2; filter: blur(16px); border-radius: 50%; opacity: .7; pointer-events: none; }
.ambient-one { width: 36rem; height: 36rem; background: rgba(106, 84, 232, .16); right: -14rem; top: -14rem; }
.ambient-two { width: 28rem; height: 28rem; background: rgba(255, 117, 93, .12); left: -12rem; top: 48rem; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { font-size: .72rem; color: var(--muted); margin-top: 3px; }
.brand-mark {
  width: 36px; height: 36px; border: 1px solid rgba(106,84,232,.35); border-radius: 50%;
  display: grid; place-items: center; position: relative; background: rgba(255,255,255,.55);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid rgba(106,84,232,.28); border-radius: 50%; }
.brand-mark::before { width: 24px; height: 24px; }
.brand-mark::after { width: 10px; height: 10px; background: var(--violet); border-color: var(--violet); }
.brand-mark i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); right: -2px; top: 5px; box-shadow: 0 0 0 3px var(--paper); }
.version-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; color: var(--muted); background: rgba(255,255,255,.4); }

.hero { min-height: 640px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; padding-block: 64px 84px; }
.eyebrow { margin: 0 0 15px; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--violet); }
h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.8rem); letter-spacing: -.075em; line-height: .95; font-weight: 780; }
h1 em { font-style: normal; color: var(--violet); }
.hero-text { max-width: 620px; margin: 28px 0 0; font-size: 1.12rem; color: var(--muted); line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.button { border: 0; border-radius: 12px; padding: 13px 20px; text-decoration: none; cursor: pointer; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; display: inline-flex; align-items: center; justify-content: center; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 12px 26px rgba(14,16,32,.18); }
.button-primary:hover { box-shadow: 0 16px 30px rgba(14,16,32,.24); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.55); color: var(--ink); }
.privacy-strip { margin-top: 22px; display: inline-flex; gap: 9px; align-items: center; font-size: .78rem; color: var(--muted); }
.privacy-strip > span:first-child { color: var(--mint); font-size: .7rem; }

.lens-visual { width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto; position: relative; display: grid; place-items: center; }
.lens-visual::before { content: ""; position: absolute; inset: 8%; background: radial-gradient(circle at 42% 40%, rgba(255,255,255,.95), rgba(106,84,232,.18) 43%, rgba(14,16,32,.04) 70%); border-radius: 50%; border: 1px solid rgba(106,84,232,.18); box-shadow: inset 0 0 40px rgba(106,84,232,.16), 0 30px 80px rgba(57,37,128,.12); }
.lens-visual::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(20,21,39,.15); animation: rotate 30s linear infinite; }
.lens-core { z-index: 2; width: 132px; height: 132px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 40px rgba(14,16,32,.25); }
.lens-core span { font-size: 3rem; line-height: 1; color: #a99cff; }
.lens-core small { font-size: .65rem; margin-top: 8px; color: rgba(255,255,255,.72); }
.orbit { position: absolute; inset: 11%; z-index: 3; border-radius: 50%; }
.orbit span { position: absolute; padding: 7px 12px; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 800; box-shadow: 0 8px 20px rgba(35,30,70,.08); }
.orbit-a span { top: 8%; left: 7%; }
.orbit-b span { right: -2%; top: 42%; }
.orbit-c span { left: 17%; bottom: 3%; }
@keyframes rotate { to { transform: rotate(360deg); } }

.method, .checker-section, .principle { padding-block: 100px; }
.section-heading { max-width: 670px; }
.section-heading h2, .checker-intro h2, .report-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.045em; line-height: 1.08; }
.section-heading > p:last-child, .checker-intro > p:last-child { color: var(--muted); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.method-grid article { padding: 28px; min-height: 220px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); backdrop-filter: blur(18px); }
.method-index { color: var(--violet); font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.method-grid h3 { margin: 52px 0 6px; font-size: 1.4rem; }
.method-grid p { margin: 0; color: var(--muted); }

.checker-section { padding-top: 82px; }
.checker-intro { text-align: center; max-width: 690px; margin: 0 auto 34px; }
.checker-card { max-width: 920px; margin: 0 auto; border-radius: 28px; border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.72); box-shadow: var(--shadow); padding: 26px; backdrop-filter: blur(24px); }
.progress-wrap { padding: 7px 8px 24px; border-bottom: 1px solid var(--line); }
.progress-meta { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 750; color: var(--muted); margin-bottom: 9px; }
.progress-track { height: 5px; border-radius: 99px; background: rgba(20,21,39,.08); overflow: hidden; }
.progress-track > div { width: 25%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--coral)); border-radius: inherit; transition: width .35s ease; }
.form-step { display: none; padding: 38px 10px 16px; animation: fade .28s ease; }
.form-step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-kicker { font-size: .72rem; font-weight: 850; letter-spacing: .14em; color: var(--violet); }
.form-step h3 { font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.035em; margin: 8px 0 24px; }
.form-step h3.subquestion { margin-top: 38px; font-size: 1.35rem; }
.step-note { color: var(--muted); margin: -16px 0 22px; font-size: .86rem; }
.option-grid { display: grid; gap: 12px; }
.radio-grid { grid-template-columns: repeat(4, 1fr); }
.pre-label { margin: 28px 0 10px; font-size: .78rem; font-weight: 850; color: var(--muted); letter-spacing: .02em; }
.route-preview { margin-top: 22px; padding: 17px 18px; border-radius: 15px; background: var(--navy); color: #fff; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
.route-preview span { font-size: .68rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; }
.route-preview strong { font-size: 1rem; color: #c8c0ff; }
.route-preview p { grid-column: 1 / -1; margin: 5px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.select-card { position: relative; cursor: pointer; }
.select-card input { position: absolute; opacity: 0; }
.select-card > span { min-height: 105px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; display: flex; flex-direction: column; justify-content: flex-end; font-weight: 800; background: rgba(255,255,255,.55); transition: .2s; }
.select-card small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.select-card input:checked + span { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106,84,232,.12); background: rgba(106,84,232,.07); }
.field-label { display: block; margin: 24px 0 8px; font-weight: 800; font-size: .88rem; }
.field-label span { color: var(--muted); font-weight: 500; }
input[type="text"], select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.7); color: var(--ink); padding: 14px 15px; outline: none; transition: border .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 92px; }
input[type="text"]:focus, select:focus, textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106,84,232,.1); }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: .72rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-grid label, .boundary-list label { cursor: pointer; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; transition: .2s; }
.check-grid label:has(input:checked), .boundary-list label:has(input:checked) { border-color: var(--violet); background: rgba(106,84,232,.07); }
.check-grid input, .boundary-list input, .consent-box input { margin-top: 4px; accent-color: var(--violet); }
.check-grid span { display: flex; flex-direction: column; }
.check-grid b { font-size: .86rem; }
.check-grid small { color: var(--muted); font-size: .72rem; margin-top: 2px; }
.responsibility-grid label:has(input:checked) { border-color: var(--mint); background: rgba(93,201,167,.08); }
.boundary-list { display: grid; gap: 10px; }
.boundary-list label { align-items: center; }
.consent-box { margin-top: 24px; padding: 16px; border-radius: 14px; background: rgba(255,117,93,.08); color: #5e3d36; font-size: .78rem; }
.consent-box label { display: flex; gap: 10px; cursor: pointer; }
.form-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 22px 8px 2px; }
.generate-button { display: none; background: var(--violet); }

.report-section { padding-block: 90px 110px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.report-head > div:first-child { max-width: 700px; }
.report-head > div:first-child > p:last-child { color: var(--muted); }
.report-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status-panel { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; color: #fff; background: var(--navy); margin-bottom: 16px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); margin-top: 8px; flex: 0 0 auto; box-shadow: 0 0 0 6px rgba(255,117,93,.14); }
.status-panel small { color: rgba(255,255,255,.6); display: block; }
.status-panel strong { font-size: 1.2rem; display: block; margin: 2px 0 4px; }
.status-panel p { margin: 0; color: rgba(255,255,255,.72); }
.status-panel.balanced .status-dot { background: var(--mint); box-shadow: 0 0 0 6px rgba(93,201,167,.14); }
.report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.report-card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.7); }
.report-card.wide { grid-column: 1 / -1; }
.card-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; color: var(--violet); }
.report-card h3 { margin: 12px 0 10px; font-size: 1.25rem; }
.report-card p { color: var(--muted); margin: 0; white-space: pre-wrap; }
.split-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.split-content > div { padding-right: 18px; border-right: 1px solid var(--line); }
.split-content > div:last-child { border: 0; padding: 0; }
.token-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.token-list span { border-radius: 999px; padding: 7px 11px; background: rgba(106,84,232,.09); color: var(--violet-dark); font-size: .76rem; font-weight: 750; }
.responsibility-tokens span { background: rgba(93,201,167,.12); color: #216c56; }
.insight-list, .question-list { margin: 14px 0 0; padding-left: 22px; }
.insight-list li, .question-list li { padding: 7px 0; color: var(--muted); }
.accent-card { background: linear-gradient(135deg, rgba(106,84,232,.1), rgba(255,255,255,.72) 60%, rgba(255,117,93,.08)); }
.tension-card { background: linear-gradient(135deg, rgba(93,201,167,.08), rgba(255,255,255,.72) 64%, rgba(106,84,232,.06)); }
.boundary-output { margin-top: 20px; padding: 14px; border-left: 3px solid var(--coral); background: rgba(255,117,93,.06); border-radius: 0 10px 10px 0; }
.boundary-output strong { font-size: .78rem; }
.boundary-output p { margin-top: 4px; }
.report-disclaimer { margin-top: 18px; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: .74rem; }

.principle-card { background: var(--navy); color: #fff; padding: clamp(34px, 6vw, 72px); border-radius: 30px; overflow: hidden; position: relative; }
.principle-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.principle-card .eyebrow { color: #a99cff; }
.principle-card blockquote { margin: 22px 0; font-size: clamp(2rem, 5vw, 4.8rem); line-height: 1.15; letter-spacing: -.055em; font-weight: 750; }
.principle-card > p:last-child { color: rgba(255,255,255,.62); max-width: 650px; }
footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; min-height: 130px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-brand { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .lens-visual { max-width: 390px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 160px; }
  .method-grid h3 { margin-top: 28px; }
  .radio-grid { grid-template-columns: repeat(2, 1fr); }
  .split-content { grid-template-columns: 1fr; }
  .split-content > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; }
}

@media (max-width: 620px) {
  .shell, .site-header, footer { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 72px; }
  .version-pill { font-size: .62rem; padding: 6px 9px; }
  .hero { min-height: auto; gap: 26px; padding-block: 48px 65px; }
  h1 { font-size: 3.3rem; }
  .hero-text { font-size: .98rem; }
  .lens-visual { max-width: 300px; }
  .lens-core { width: 105px; height: 105px; }
  .method, .checker-section, .principle { padding-block: 72px; }
  .checker-card { padding: 14px; border-radius: 20px; }
  .form-step { padding: 28px 4px 12px; }
  .radio-grid, .check-grid, .report-grid { grid-template-columns: 1fr; }
  .select-card > span { min-height: 82px; }
  .report-head { align-items: flex-start; flex-direction: column; }
  .report-card.wide { grid-column: auto; }
  .principle-card { border-radius: 22px; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 28px; }
}

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