:root {
  color-scheme: light;
  --bg: #f7f4ff;
  --surface: #fbfaff;
  --surface-strong: #fefeff;
  --surface-tint: #f0ebff;
  --text: #241f38;
  --muted: #746d89;
  --faint: #9d96af;
  --line: #e2dcf2;
  --accent: #6e52dd;
  --accent-strong: #5639c7;
  --accent-soft: #e7e0ff;
  --accent-pale: #f3efff;
  --coral: #d97872;
  --warning-bg: #f8f1ff;
  --shadow: 0 26px 80px rgba(79, 54, 160, 0.15);
  --shadow-soft: 0 14px 42px rgba(79, 54, 160, 0.09);
  --radius: 26px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171323;
  --surface: #201a30;
  --surface-strong: #282039;
  --surface-tint: #34284f;
  --text: #f5f2ff;
  --muted: #c4bdd5;
  --faint: #958ca9;
  --line: #44375d;
  --accent: #a990ff;
  --accent-strong: #b9a5ff;
  --accent-soft: #3c2f5c;
  --accent-pale: #2c2242;
  --coral: #f09a91;
  --warning-bg: #332742;
  --shadow: 0 26px 80px rgba(8, 5, 18, 0.34);
  --shadow-soft: 0 14px 42px rgba(8, 5, 18, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: hidden;
  background: radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 26rem), var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { border: 0; }
a { color: inherit; text-underline-offset: 4px; }

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 3px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 70px;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.topbar-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -0.035em; }
.brand-mark { position: relative; display: grid; width: 36px; height: 36px; place-items: center; overflow: hidden; border-radius: 12px; background: var(--accent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.36), 0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent); }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; width: 5px; height: 22px; border-radius: 6px; background: #f8f5ff; transform-origin: center; }
.brand-mark::before { transform: rotate(0deg); }
.brand-mark::after { transform: rotate(60deg); opacity: 0.82; }
.brand-mark i { transform: rotate(120deg); opacity: 0.58; }
.topbar-tools { display: flex; align-items: center; gap: 13px; }
.top-note { color: var(--muted); font-size: 13px; }
.theme-toggle { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-strong); color: var(--text); cursor: pointer; }

.hero { display: grid; min-height: calc(100dvh - 70px); grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: clamp(46px, 7vw, 90px); padding: 54px 0 62px; }
.hero-content { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: 0.13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 590px; margin-bottom: 24px; font-size: clamp(48px, 6.5vw, 80px); line-height: 1.04; letter-spacing: -0.075em; }
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 440px; margin-bottom: 34px; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.8; }

.primary-btn, .secondary-btn, .text-btn, .option, .theme-toggle { transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.primary-btn:active, .secondary-btn:active, .text-btn:active, .theme-toggle:active { transform: translateY(1px) scale(0.98); }
.primary-btn { min-height: 56px; padding: 0 30px; border-radius: 17px; background: var(--accent); color: #fbfaff; font-weight: 850; cursor: pointer; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 28%, transparent); }
.primary-btn:hover { background: var(--accent-strong); transform: translateY(-2px); }
.primary-btn:disabled { cursor: not-allowed; opacity: 0.38; box-shadow: none; transform: none; }
.secondary-btn { min-height: 52px; padding: 0 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-strong); color: var(--text); font-weight: 760; cursor: pointer; }
.secondary-btn:hover { border-color: var(--accent); }
.text-btn { padding: 12px 4px; background: transparent; color: var(--accent-strong); font-weight: 760; cursor: pointer; }
.hero-actions { display: flex; align-items: center; gap: 20px; }

.hero-visual { margin: 0; }
.hero-image-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,0.56); border-radius: 42% 42% var(--radius) var(--radius); background: var(--accent-soft); box-shadow: var(--shadow); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,0.58); pointer-events: none; }
.hero-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption { max-width: 380px; margin: 15px 0 0 auto; color: var(--muted); font-size: 13px; text-align: right; }

.hero-facts { display: grid; grid-template-columns: 0.72fr 0.72fr 1fr 1.45fr; margin: 10px 0 118px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { min-height: 116px; padding: 26px 28px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; margin-bottom: 8px; color: var(--accent); font-size: 28px; letter-spacing: -0.04em; }
.fact span { color: var(--muted); font-size: 13px; }
.fact-accent { background: var(--accent-pale); }
.fact-accent strong { color: var(--accent-strong); }
.fact-accent span { color: var(--muted); }

.sample-section { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: clamp(38px, 8vw, 110px); padding: 0 4vw 118px; }
.sample-copy h2, .section-heading h2 { margin-bottom: 16px; font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -0.06em; }
.sample-copy p, .section-heading p { max-width: 630px; color: var(--muted); line-height: 1.82; }
.preview { position: relative; padding: clamp(24px, 4vw, 42px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: var(--radius); background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%), var(--surface-strong); box-shadow: var(--shadow); }
.preview-kicker { color: var(--muted); font-size: 13px; }
.preview h3 { margin: 8px 0 6px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.05em; }
.preview-sub { color: var(--accent); font-weight: 800; }
.radar-wrap { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 18px auto 0; }
canvas { display: block; width: 100%; height: 100%; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tag, .report-chip { padding: 9px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 760; }

.section { padding: 0 0 118px; }
.section-heading { max-width: 700px; margin-bottom: 40px; }
.dimension-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 15px; }
.dimension-item { min-height: 184px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.dimension-item:nth-child(1), .dimension-item:nth-child(6) { grid-column: span 2; }
.dimension-item:nth-child(2), .dimension-item:nth-child(7) { background: var(--accent); color: #fbfaff; border-color: transparent; }
.dimension-item:nth-child(4) { background: var(--accent-pale); }
.dimension-index { display: block; margin-bottom: 34px; color: var(--accent); font-size: 12px; font-weight: 850; }
.dimension-item:nth-child(2) .dimension-index, .dimension-item:nth-child(7) .dimension-index { color: rgba(251,250,255,0.72); }
.dimension-item h3 { margin-bottom: 9px; font-size: 21px; letter-spacing: -0.03em; }
.dimension-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.dimension-item:nth-child(2) p, .dimension-item:nth-child(7) p { color: rgba(251,250,255,0.75); }

.how-strip { display: grid; min-height: 520px; grid-template-columns: 1.34fr 0.66fr; grid-template-rows: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.how-visual { display: grid; grid-row: 1 / 4; grid-template-rows: 1fr auto; min-width: 0; margin: 0; padding: 14px; border-right: 1px solid var(--line); }
.how-visual img { display: block; width: 100%; min-height: 420px; height: 100%; overflow: hidden; border-radius: 18px; object-fit: cover; transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.how-visual:hover img { transform: scale(1.018); }
.how-visual figcaption { padding: 15px 8px 2px; color: var(--muted); font-size: 13px; }
.how-item { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
.how-item + .how-item { border-top: 1px solid var(--line); }
.how-item strong { display: block; margin-bottom: 12px; font-size: 23px; letter-spacing: -0.03em; }
.how-item p { max-width: 360px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.final-cta { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(20px, 4vw, 54px); align-items: stretch; overflow: hidden; margin-bottom: 76px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow); }
.cta-visual { min-width: 0; margin: 0; overflow: hidden; border-radius: 18px; }
.cta-visual img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1); }
.final-cta:hover .cta-visual img { transform: scale(1.018); }
.cta-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 44px) clamp(28px, 5vw, 56px) 0; }
.final-cta h2 { margin-bottom: 9px; font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -0.055em; }
.final-cta p { margin: 0 0 28px; color: var(--muted); line-height: 1.75; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.75; }

.gate-page, .test-page { min-height: 100dvh; }
.gate-wrap { display: grid; min-height: calc(100dvh - 70px); place-items: center; padding: 46px 20px; }
.gate-card { width: min(100%, 470px); padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow); }
.gate-card::before { content: ""; display: block; width: 64px; height: 7px; margin-bottom: 30px; border-radius: 7px; background: var(--accent); }
.gate-card h1 { margin-bottom: 12px; font-size: 36px; letter-spacing: -0.05em; }
.gate-card > p { color: var(--muted); line-height: 1.75; }
.field { display: grid; gap: 9px; margin: 28px 0 12px; }
.field label { font-size: 14px; font-weight: 760; }
.field input { min-height: 56px; padding: 0 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--text); font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input::placeholder { color: var(--faint); }
.form-error { min-height: 22px; margin: 0 0 8px; color: #b83f56; font-size: 13px; }
.gate-card .primary-btn { width: 100%; }
.gate-help { margin: 17px 0 0; text-align: center; font-size: 12px; }

.test-page { background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28rem), var(--bg); }
.test-header { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.test-header-inner { width: min(100%, 770px); margin: 0 auto; padding: 16px 20px 17px; }
.test-meta { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.progress-track { height: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.progress-value { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); transform-origin: left center; transition: transform 260ms ease; }
.question-wrap { display: grid; width: min(100%, 770px); min-height: calc(100dvh - 100px); margin: 0 auto; padding: 42px 20px calc(122px + env(safe-area-inset-bottom)); align-content: start; }
.question-card { position: relative; padding: clamp(26px, 5vw, 46px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow); animation: enter 360ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.question-card::before { content: ""; position: absolute; z-index: 0; width: 130px; height: 130px; top: -86px; right: -44px; border: 28px solid var(--accent-soft); border-radius: 50%; pointer-events: none; }
.question-card > * { position: relative; z-index: 1; }
.question-label { margin-bottom: 19px; color: var(--accent); font-size: 13px; font-weight: 850; }
.question-card h1 { max-width: 650px; margin-bottom: 28px; font-size: clamp(26px, 5vw, 39px); line-height: 1.42; letter-spacing: -0.045em; }
.question-hint { margin-bottom: 22px; padding: 15px 17px; border-radius: 15px; background: var(--accent-pale); color: var(--muted); font-size: 13px; line-height: 1.65; }
.options { display: grid; gap: 11px; }
.option { display: flex; min-height: 60px; align-items: center; gap: 14px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--text); cursor: pointer; text-align: left; }
.option:hover { border-color: var(--accent); transform: translateX(3px); }
.option:active { transform: scale(0.99); }
.option.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.radio { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border: 2px solid var(--line); border-radius: 50%; }
.selected .radio { border-color: var(--accent); }
.selected .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.test-controls { position: fixed; z-index: 9; right: 0; bottom: 0; left: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.test-controls-inner { display: grid; width: min(100%, 730px); margin: 0 auto; grid-template-columns: 0.72fr 1.28fr; gap: 12px; }

.report-page { padding-bottom: 60px; }
.report-hero { padding: 64px 0 38px; }
.report-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(34px, 6vw, 72px); align-items: center; padding: clamp(28px, 5vw, 58px); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-strong), var(--accent-pale)); box-shadow: var(--shadow); }
.report-label { color: var(--accent); font-size: 13px; font-weight: 850; }
.report-hero h1 { margin: 13px 0 19px; color: var(--accent-strong); font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.07em; }
.report-lead { max-width: 610px; color: var(--muted); font-size: 17px; line-height: 1.86; }
.report-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.report-radar { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface-strong) 78%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.38); }
.report-section { margin-top: 20px; padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.report-section:nth-of-type(3) { background: var(--surface-strong); color: var(--text); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.report-section:nth-of-type(3) .section-intro { color: var(--muted); }
.report-section h2 { margin-bottom: 9px; font-size: clamp(27px, 4vw, 38px); letter-spacing: -0.05em; }
.section-intro { margin-bottom: 26px; color: var(--muted); line-height: 1.78; }
.score-list { display: grid; gap: 18px; }
.score-row { display: grid; grid-template-columns: 90px 1fr 43px; gap: 15px; align-items: center; }
.score-name { font-weight: 760; }
.score-line { height: 7px; overflow: hidden; border-radius: 7px; background: var(--line); }
.score-line span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.score-number { color: var(--accent); font-weight: 850; text-align: right; }
.strength-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.strength-card { display: flex; min-height: 250px; flex-direction: column; justify-content: flex-start; padding: 25px; border-radius: 20px; background: var(--accent-pale); }
.strength-card:first-child { background: var(--accent); color: #fbfaff; }
.strength-rank { display: block; margin-bottom: 20px; color: var(--accent); font-size: 12px; font-weight: 850; }
.strength-card:first-child .strength-rank { color: rgba(251,250,255,0.72); }
.strength-card h3 { margin-bottom: 10px; font-size: 23px; }
.strength-card p { margin: 0; color: var(--muted); line-height: 1.76; }
.strength-card:first-child p { color: rgba(251,250,255,0.78); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.info-block { padding: 25px; border-radius: 20px; background: var(--accent-pale); }
.info-block h3 { margin-bottom: 15px; font-size: 19px; }
.clean-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding-left: 19px; color: var(--muted); line-height: 1.72; }
.clean-list li::before { content: ""; position: absolute; top: 0.68em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.career-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.career-item { padding: 21px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.career-item strong { display: block; margin-bottom: 7px; color: var(--accent-strong); }
.career-item span { color: var(--muted); font-size: 13px; line-height: 1.65; }
.plan-list { display: grid; grid-template-columns: 1.14fr 0.86fr 0.86fr 1.14fr; gap: 12px; }
.plan-item { padding: 22px; border-radius: 19px; background: var(--accent-pale); }
.plan-item strong { display: block; margin-bottom: 18px; color: var(--accent); font-size: 13px; }
.plan-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.quality-note { margin-top: 20px; padding: 17px 19px; border-radius: 16px; background: var(--warning-bg); color: var(--muted); font-size: 13px; line-height: 1.7; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 28px 0; }

/* Result report redesign */
.report-page { position: relative; }
.report-page::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: 0.34; background: radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--accent) 15%, transparent) 0 1px, transparent 1.5px) 0 0 / 24px 24px; mask-image: linear-gradient(to bottom, #000, transparent 60%); }
.report-hero { padding: 48px 0 22px; }
.report-hero-grid { position: relative; grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 5vw, 66px); overflow: hidden; padding: clamp(30px, 5vw, 62px); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 34px; background: radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 34%), linear-gradient(150deg, var(--surface-strong), var(--accent-pale)); box-shadow: 0 32px 90px color-mix(in srgb, var(--accent) 16%, transparent); }
.report-hero-grid::after { content: "✦"; position: absolute; top: 24px; right: 30px; color: color-mix(in srgb, var(--accent) 54%, transparent); font-size: 26px; }
.report-label, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: 0.12em; }
.report-label::before, .section-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.report-hero h1 { margin: 14px 0 20px; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; text-wrap: balance; }
.report-lead { font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.report-chips { margin-top: 24px; }
.report-summary-line { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); }
.report-summary-line span { color: var(--faint); font-size: 12px; }
.report-summary-line strong { color: var(--accent-strong); font-size: 14px; }
.report-radar { position: relative; padding: 18px; border-color: color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 30px; background: color-mix(in srgb, var(--surface-strong) 82%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 18px 50px color-mix(in srgb, var(--accent) 11%, transparent); }

.report-method { margin-top: 20px; padding: clamp(28px, 4vw, 46px); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); border-radius: 30px; background: color-mix(in srgb, var(--accent-pale) 76%, var(--surface-strong)); box-shadow: var(--shadow-soft); }
.method-heading { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 6px 40px; align-items: end; }
.method-heading .section-kicker { grid-column: 1 / -1; }
.method-heading h2 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.16; letter-spacing: -0.055em; text-wrap: balance; }
.method-heading > p { margin: 8px 0 0; color: var(--muted); line-height: 1.76; }
.method-grid { display: grid; grid-template-columns: 0.82fr 1.35fr 1fr; gap: 1px; overflow: hidden; margin-top: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--line); }
.method-grid article { min-height: 210px; padding: 25px; background: var(--surface-strong); }
.method-grid article:nth-child(2) { background: var(--accent); color: #fbfaff; }
.method-code { display: block; min-height: 40px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }
.method-grid article:nth-child(2) .method-code { color: rgba(251,250,255,0.68); }
.method-grid h3 { margin: 0 0 12px; font-size: 18px; }
.method-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.method-grid article:nth-child(2) p { color: rgba(251,250,255,0.78); }

.report-section { position: relative; overflow: hidden; padding: clamp(27px, 4vw, 44px); border-radius: 30px; }
.report-section::after { content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 4px; background: var(--accent); opacity: 0.75; }
.report-section:nth-of-type(3) { border-color: var(--line); }
.report-section h2 { margin: 9px 0; font-size: clamp(27px, 4vw, 40px); line-height: 1.14; text-wrap: balance; }
.score-row { grid-template-columns: 30px 90px 1fr 43px; gap: 14px; }
.score-rank { color: var(--faint); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.score-line { height: 8px; background: color-mix(in srgb, var(--line) 76%, transparent); }
.score-line span { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 72%, white), var(--accent)); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 24%, transparent); }
.score-number { font-variant-numeric: tabular-nums; }

.strength-grid { grid-template-columns: 1.16fr 0.92fr 0.92fr; gap: 12px; }
.strength-card { min-height: 0; justify-content: flex-start; padding: 25px; border: 1px solid color-mix(in srgb, var(--accent) 12%, var(--line)); border-radius: 22px; }
.strength-card:first-child { box-shadow: 0 20px 46px color-mix(in srgb, var(--accent) 22%, transparent); }
.strength-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.strength-rank { margin: 0; font-size: 11px; letter-spacing: 0.09em; }
.strength-score { color: var(--accent); font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.strength-card:first-child .strength-score { color: rgba(251,250,255,0.78); }
.strength-card h3 { margin: 0 0 10px; font-size: 24px; }
.strength-card p { line-height: 1.72; }
.strength-evidence { display: grid; gap: 8px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); list-style: none; }
.strength-evidence li { position: relative; padding-left: 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.strength-evidence li::before { content: "↗"; position: absolute; left: 0; color: var(--accent); }
.strength-card:first-child .strength-evidence { border-color: rgba(255,255,255,0.18); }
.strength-card:first-child .strength-evidence li { color: rgba(251,250,255,0.76); }
.strength-card:first-child .strength-evidence li::before { color: #fff; }

.career-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.career-count { flex: 0 0 auto; padding: 9px 12px; border-radius: 12px; background: var(--accent-pale); color: var(--accent); font-size: 12px; font-weight: 800; }
.career-grid { gap: 12px; }
.career-item { display: flex; min-height: 258px; flex-direction: column; padding: 23px; border-color: color-mix(in srgb, var(--accent) 14%, var(--line)); border-radius: 22px; background: color-mix(in srgb, var(--surface) 88%, var(--accent-pale)); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.career-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 11%, transparent); }
.career-item:first-child { grid-column: 1 / -1; min-height: 230px; padding: 28px; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.16), transparent 32%), var(--accent); color: #fbfaff; }
.career-item-head, .career-source { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.career-index { color: var(--faint); font-size: 12px; font-weight: 850; font-variant-numeric: tabular-nums; }
.holland-badge { padding: 7px 10px; border-radius: 10px; background: var(--accent-pale); color: var(--accent); font-size: 11px; font-weight: 850; }
.career-item h3 { margin: 25px 0 8px; color: var(--accent-strong); font-size: 24px; letter-spacing: -0.03em; }
.career-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.career-fit { display: grid; grid-template-columns: 1fr 42px; gap: 12px; align-items: center; margin-top: auto; padding-top: 25px; }
.career-fit > div { height: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.career-fit > div span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.career-fit strong { color: var(--accent); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.career-source { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.career-source b { color: var(--text); font-size: 12px; }
.career-item:first-child .career-index, .career-item:first-child p, .career-item:first-child .career-source { color: rgba(251,250,255,0.72); }
.career-item:first-child .career-source span { color: rgba(251,250,255,0.72); }
.career-item:first-child .holland-badge { background: rgba(255,255,255,0.14); color: #fff; }
.career-item:first-child h3, .career-item:first-child .career-fit strong, .career-item:first-child .career-source b { color: #fff; }
.career-item:first-child .career-fit > div { background: rgba(255,255,255,0.2); }
.career-item:first-child .career-fit > div span { background: #fff; }
.career-item:first-child .career-source { border-color: rgba(255,255,255,0.18); }

.toast { position: fixed; z-index: 30; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; padding: 13px 19px; border-radius: 14px; background: #2f2449; color: #fbfaff; font-size: 14px; box-shadow: var(--shadow); transform: translateX(-50%); animation: toast-in 240ms ease both; }

.legal-page { width: min(100% - 32px, 760px); margin: 0 auto; padding: 64px 0 100px; }
.legal-page h1 { font-size: clamp(36px, 7vw, 58px); }
.legal-page h2 { margin-top: 38px; font-size: 22px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.85; }
.legal-page .secondary-btn { display: inline-flex; align-items: center; margin-top: 30px; text-decoration: none; }

@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes visual-rise { from { opacity: 0; transform: translateY(34px) rotate(1.5deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes section-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: hero-rise 720ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-visual { animation: visual-rise 900ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-facts, .section, .final-cta {
      animation: section-reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 24%;
    }
  }
}

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

@media (max-width: 820px) {
  .shell { width: min(100% - 30px, 680px); }
  .top-note { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding: 48px 0 58px; }
  .hero h1 { max-width: 680px; font-size: clamp(48px, 13vw, 72px); }
  .hero-image-frame { width: min(100%, 580px); margin: 0 auto; aspect-ratio: 4 / 4.5; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-bottom: 92px; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sample-section { grid-template-columns: 1fr; gap: 34px; padding: 0 0 92px; }
  .section { padding-bottom: 92px; }
  .dimension-grid { grid-template-columns: 1fr 1fr; }
  .dimension-item:nth-child(1), .dimension-item:nth-child(6) { grid-column: span 1; }
  .how-strip { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .how-visual { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .how-visual img { min-height: 0; aspect-ratio: 3 / 2; }
  .how-item { min-height: 140px; }
  .final-cta { grid-template-columns: 1fr; gap: 0; }
  .cta-visual img { min-height: 0; aspect-ratio: 4 / 3; }
  .cta-copy { padding: 34px 28px 30px; }
  .final-cta .primary-btn { width: 100%; }
  .footer { flex-direction: column; }
  .report-hero-grid { grid-template-columns: 1fr; }
  .method-heading { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: auto; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-card { min-height: auto; }
  .plan-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 520px); }
  .topbar, .topbar-inner { min-height: 62px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 11px; }
  .theme-toggle { width: 35px; height: 35px; }
  .hero { padding: 36px 0 50px; gap: 32px; }
  .eyebrow { margin-bottom: 17px; font-size: 11px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(44px, 15vw, 62px); }
  .hero-copy { margin-bottom: 26px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .primary-btn, .hero-actions .text-btn { width: 100%; }
  .hero-image-frame { aspect-ratio: 4 / 4.6; border-radius: 38% 38% 24px 24px; }
  .hero-visual figcaption { text-align: left; }
  .hero-facts { margin: 0 0 76px; }
  .fact { min-height: 108px; padding: 21px 18px; }
  .fact strong { font-size: 23px; }
  .sample-section, .section { padding-bottom: 76px; }
  .sample-copy h2, .section-heading h2 { font-size: 34px; }
  .preview { padding: 22px 18px; border-radius: 22px; }
  .radar-wrap { width: min(100%, 310px); }
  .dimension-grid { grid-template-columns: 1fr; }
  .dimension-item { min-height: 150px; border-radius: 22px; }
  .dimension-index { margin-bottom: 22px; }
  .how-strip, .final-cta { border-radius: 22px; }
  .final-cta { padding: 10px; }
  .how-visual { padding: 10px; }
  .how-visual img, .cta-visual { border-radius: 15px; }
  .cta-copy { padding: 28px 14px 20px; }
  .gate-card { padding: 30px 21px; border-radius: 22px; }
  .question-wrap { padding-top: 24px; }
  .question-card { padding: 27px 18px; border-radius: 22px; }
  .question-card h1 { font-size: 25px; }
  .option { min-height: 58px; border-radius: 16px; }
  .report-hero { padding-top: 28px; }
  .report-hero-grid { padding: 27px 18px; border-radius: 22px; }
  .report-hero h1 { font-size: 42px; }
  .report-method { padding: 26px 18px; border-radius: 22px; }
  .method-grid { margin-top: 24px; border-radius: 18px; }
  .method-grid article { padding: 22px; }
  .method-code { min-height: 30px; }
  .report-section { padding: 26px 18px; border-radius: 22px; }
  .strength-grid, .two-column, .career-grid, .plan-list { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 24px 70px 1fr 34px; gap: 8px; }
  .career-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .career-item:first-child { grid-column: auto; }
  .report-actions .primary-btn, .report-actions .secondary-btn { width: 100%; }
}

@media print {
  :root { color-scheme: light; --bg: #f7f4ff; --surface: #fbfaff; --surface-strong: #fefeff; --surface-tint: #f0ebff; --text: #241f38; --muted: #746d89; --line: #e2dcf2; --accent: #6e52dd; --accent-strong: #5639c7; --accent-soft: #e7e0ff; --accent-pale: #f3efff; }
  .topbar, .report-actions { display: none; }
  .report-page { background: #fefeff; }
  .report-section, .report-hero-grid, .report-method, .career-item { break-inside: avoid; box-shadow: none; }
}
