:root {
  --ink: #102d43;
  --ink-deep: #071c2b;
  --ink-soft: #36566a;
  --red: #a52d25;
  --red-deep: #7c211d;
  --gold: #c99a4b;
  --gold-light: #ead39a;
  --paper: #f7f0df;
  --paper-light: #fffaf0;
  --paper-dark: #eadfc9;
  --line: rgba(75, 49, 26, .18);
  --shadow: 0 24px 70px rgba(18, 39, 48, .13);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #e9decb;
}

body {
  min-width: 0;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 6% 12%, rgba(201, 154, 75, .13), transparent 25rem),
    radial-gradient(circle at 90% 48%, rgba(35, 79, 94, .10), transparent 30rem),
    linear-gradient(180deg, #f9f3e5 0%, #efe5d2 100%);
  min-height: 100vh;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  z-index: 20;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0 2px, rgba(78, 47, 24, .055) 2px 3px),
    repeating-linear-gradient(94deg, transparent 0 12px, rgba(255, 255, 255, .22) 12px 13px);
  mix-blend-mode: multiply;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-seal {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #f8eac8;
  font-family: var(--serif);
  font-size: 21px;
  background: var(--red);
  border-radius: 8px 4px 9px 5px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
  transform: rotate(-2deg);
}

.brand b {
  display: block;
  font-family: var(--serif);
  letter-spacing: .16em;
  font-size: 18px;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .2em;
}

.demo-badge {
  padding: 8px 12px;
  color: var(--red-deep);
  font-size: 12px;
  letter-spacing: .06em;
  border: 1px solid rgba(165, 45, 37, .25);
  border-radius: 999px;
  background: rgba(255, 250, 240, .72);
}

main { position: relative; z-index: 1; }
.view { display: none; }
.view.is-active { display: block; animation: rise .5s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 18px auto 0;
  padding: clamp(44px, 7vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 73, 38, .18);
  border-radius: 30px 8px 30px 8px;
  background:
    linear-gradient(90deg, rgba(255, 251, 241, .97), rgba(250, 243, 226, .86)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(98, 65, 25, .025) 31px 32px);
  box-shadow: var(--shadow);
}

.hero-shell::before,
.hero-shell::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(164, 111, 41, .3);
  transform: rotate(45deg);
}

.hero-shell::before { left: -108px; top: -108px; }
.hero-shell::after { right: -108px; bottom: -108px; }

.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.3vw, 82px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: .02em;
}

.hero-copy h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: #415b6b;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

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

.primary-btn,
.ghost-btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 8px 2px 8px 2px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.primary-btn {
  color: #fff7e5;
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(8, 34, 50, .18);
}

.primary-btn:hover:not(:disabled), .ghost-btn:hover { transform: translateY(-2px); }
.primary-btn:disabled { opacity: .42; cursor: not-allowed; }

.ghost-btn {
  color: var(--ink);
  border: 1px solid rgba(18, 54, 74, .28);
  background: rgba(255,255,255,.48);
}

.microcopy {
  margin: 18px 0 0;
  color: #6c7b80;
  font-size: 12px;
  letter-spacing: .06em;
}

.hero-art {
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 8% 3%;
  z-index: -4;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 190, 124, .26), transparent 65%);
}

.zodiac-wheel {
  width: min(88vw, 410px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180,127,52,.48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,240,.94) 0 31%, rgba(16,45,67,.05) 31.5% 32%, transparent 32.5% 61%, rgba(201,154,75,.12) 61.5% 62%, transparent 62.5%);
  box-shadow: inset 0 0 0 15px rgba(255,250,240,.48), 0 22px 45px rgba(7,29,46,.14);
}

.zodiac-wheel > span {
  width: 40px;
  aspect-ratio: 1;
  position: absolute;
  left: calc(50% - 20px);
  top: calc(50% - 20px);
  display: grid;
  place-items: center;
  color: var(--ink);
  font: 700 20px var(--serif);
  border: 1px solid rgba(165,45,37,.22);
  border-radius: 50%;
  background: rgba(255,250,240,.92);
  transform: rotate(calc(var(--i) * 30deg)) translateY(-174px) rotate(calc(var(--i) * -30deg));
}

.zodiac-wheel > span:nth-child(4n+1) { color: var(--red); border-color: rgba(165,45,37,.48); }

.wheel-core {
  width: 142px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
  color: #f8ead0;
  border-radius: 50%;
  background: linear-gradient(145deg, #123d55, #071d2e);
  box-shadow: inset 0 0 0 1px rgba(234,211,154,.42), 0 14px 30px rgba(7,29,46,.2);
}

.wheel-core small { color: var(--gold-light); font-size: 11px; letter-spacing: .24em; }
.wheel-core b { font: 700 23px var(--serif); letter-spacing: .08em; }
.wheel-core em { color: rgba(255,255,255,.54); font-size: 10px; font-style: normal; letter-spacing: .32em; }

.orbit {
  position: absolute;
  border: 1px solid rgba(180, 127, 52, .32);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "✦";
  position: absolute;
  color: var(--gold);
  font-size: 15px;
}

.orbit-a { width: 410px; height: 410px; transform: rotate(-12deg); }
.orbit-a::before { left: 38px; top: 48px; }
.orbit-a::after { right: 12px; bottom: 88px; }
.orbit-b { width: 335px; height: 335px; border-style: dashed; opacity: .6; }

.moon-disc {
  position: absolute;
  right: 2%;
  top: 5%;
  width: 94px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: #f9ecd0;
  background: var(--red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.12), 0 12px 24px rgba(111,29,26,.15);
}

.moon-disc span { font: 700 22px var(--serif); letter-spacing: .12em; }
.moon-disc small { margin-top: 4px; font-size: 10px; letter-spacing: .3em; }

.cloud {
  position: absolute;
  width: 110px;
  height: 24px;
  border-top: 3px solid rgba(27, 67, 87, .28);
  border-radius: 50%;
}

.cloud::before, .cloud::after { content: ""; position: absolute; border-top: inherit; border-radius: 50%; }
.cloud::before { width: 55px; height: 18px; top: -13px; left: 20px; }
.cloud::after { width: 65px; height: 18px; top: 6px; right: -22px; }
.cloud-one { left: 4%; top: 22%; }
.cloud-two { right: 12%; bottom: 11%; transform: scale(.75); }

.value-strip {
  width: min(980px, calc(100% - 60px));
  margin: -24px auto 0;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
  color: #f8eedb;
  background: var(--ink);
  border: 1px solid rgba(233, 210, 157, .35);
  border-radius: 16px 4px 16px 4px;
  box-shadow: 0 16px 40px rgba(5, 24, 37, .2);
}

.value-strip div { padding: 0 24px; border-right: 1px solid rgba(255,255,255,.15); }
.value-strip div:last-child { border-right: 0; }
.value-strip b { margin-right: 10px; color: var(--gold-light); font: 700 31px var(--serif); }
.value-strip span { color: rgba(255,255,255,.72); font-size: 13px; }

.intro-note {
  width: min(820px, calc(100% - 52px));
  margin: 68px auto 80px;
  text-align: center;
}

.intro-note span { color: var(--red); font: 700 15px var(--serif); letter-spacing: .28em; }
.intro-note p { margin: 18px 0 0; font: 400 clamp(18px, 2.5vw, 25px)/1.9 var(--serif); }

.section-head {
  width: min(920px, calc(100% - 40px));
  margin: 46px auto 32px;
  text-align: center;
}

.section-head .back-link { display: block; margin-bottom: 40px; }
.section-head h2, .report-heading h2, .result-loading h2, .share-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.3;
}
.section-head > p:last-child { color: var(--ink-soft); }

.back-link {
  padding: 6px 0;
  color: var(--ink-soft);
  border: 0;
  background: none;
  cursor: pointer;
}
.back-link.light { color: rgba(255,255,255,.72); }

.zodiac-grid {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.zodiac-card {
  min-height: 132px;
  padding: 22px 15px;
  position: relative;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px 4px 16px 4px;
  background: rgba(255, 251, 241, .75);
  cursor: pointer;
  transition: .22s ease;
}

.zodiac-card:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(22,46,58,.12); }
.zodiac-card.is-selected { color: #fff5df; border-color: var(--ink); background: var(--ink); }
.zodiac-card:disabled { cursor: not-allowed; opacity: .54; }
.zodiac-card .animal { display: block; font: 700 32px var(--serif); }
.zodiac-card .branch { display: inline-grid; width: 28px; aspect-ratio: 1; place-items: center; margin-top: 12px; border: 1px solid currentColor; border-radius: 50%; font: 700 14px var(--serif); }
.zodiac-card small { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .12em; opacity: .65; }
.zodiac-card .locked { position: absolute; right: 10px; top: 10px; font-size: 9px; }

.selection-footer {
  width: min(920px, calc(100% - 40px));
  margin: 24px auto 90px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.selection-footer p { color: var(--ink-soft); }

#quizView { width: min(840px, calc(100% - 40px)); margin: 28px auto 90px; }
.quiz-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.progress-meta { display: flex; gap: 20px; color: var(--ink-soft); font-size: 13px; }
.progress-meta b { color: var(--red); }
.progress-track { height: 4px; margin: 16px 0 30px; overflow: hidden; background: rgba(12,43,63,.12); border-radius: 20px; }
.progress-track i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .35s ease; }

.question-card {
  min-height: 610px;
  padding: clamp(28px, 6vw, 62px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 6px 24px 6px;
  background: rgba(255,251,241,.9);
  box-shadow: var(--shadow);
}
.question-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -170px; bottom: -170px; border: 1px solid rgba(190,139,65,.28); border-radius: 50%; box-shadow: 0 0 0 38px rgba(190,139,65,.04), 0 0 0 75px rgba(190,139,65,.035); }
.question-number { color: var(--gold); font: 700 56px/1 var(--serif); opacity: .65; }
.scenario-label { margin: 28px 0 10px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.question-card h2 { max-width: 700px; margin: 0; font: 700 clamp(25px,4vw,37px)/1.55 var(--serif); }
.answer-list { margin-top: 34px; display: grid; gap: 12px; }

.answer-btn {
  width: 100%;
  min-height: 66px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  border: 1px solid rgba(27, 67, 87, .15);
  border-radius: 12px 3px 12px 3px;
  background: rgba(255,255,255,.66);
  cursor: pointer;
  transition: .2s ease;
}
.answer-btn:hover { border-color: rgba(165,45,37,.45); transform: translateX(3px); }
.answer-btn.is-selected { color: #fff8e8; border-color: var(--ink); background: var(--ink); }
.answer-letter { width: 30px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 700 13px var(--serif); }
.answer-hint { margin: 22px 0 0; color: #768284; font-size: 12px; }

.result-loading { min-height: 70vh; padding: 14vh 20px 80px; text-align: center; }
.result-loading h2 { margin-top: 8px; }
.result-loading > p:last-child { color: var(--ink-soft); }
.compass-loader { width: 118px; aspect-ratio: 1; margin: 0 auto 28px; position: relative; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; }
.compass-loader::before, .compass-loader::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(201,154,75,.55); border-radius: 50%; animation: spin 7s linear infinite; }
.compass-loader::after { inset: 28px; animation-direction: reverse; animation-duration: 4s; }
.compass-loader i { position: absolute; width: 2px; height: 78px; background: linear-gradient(var(--red) 50%, var(--ink) 50%); animation: spin 2s ease-in-out infinite; }
.compass-loader b { z-index: 2; width: 37px; aspect-ratio: 1; display: grid; place-items: center; color: #f8e8c9; background: var(--red); border-radius: 50%; font-family: var(--serif); }
@keyframes spin { to { transform: rotate(360deg); } }

#resultView { background: linear-gradient(#0c2b40 0 620px, transparent 620px); }
.result-shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding-top: 34px; }
.result-hero { min-height: 545px; padding: 20px clamp(24px, 8vw, 86px) 64px; position: relative; overflow: hidden; text-align: center; color: #fff6e3; }
.result-hero::before, .result-hero::after { content: ""; position: absolute; border: 1px solid rgba(226,193,119,.22); border-radius: 50%; }
.result-hero::before { width: 440px; height: 440px; left: 50%; top: 36px; transform: translateX(-50%); box-shadow: 0 0 0 38px rgba(218,188,119,.025), 0 0 0 78px rgba(218,188,119,.018); }
.result-hero::after { width: 290px; height: 290px; left: 50%; top: 112px; transform: translateX(-50%); border-style: dashed; animation: spin 35s linear infinite; }
.result-hero .back-link { position: relative; z-index: 2; display: block; }
.gold { color: var(--gold-light); margin-top: 22px; }
.result-seal { width: 72px; aspect-ratio: 1; margin: 24px auto 14px; position: relative; z-index: 2; display: grid; place-items: center; color: #f7e6bd; border: 1px solid #d9ae5a; border-radius: 50%; font: 700 34px var(--serif); background: rgba(3,19,31,.3); }
.result-kicker { margin: 0; position: relative; z-index: 2; color: rgba(255,255,255,.65); font-size: 13px; letter-spacing: .16em; }
.result-hero h1 { margin: 13px 0; position: relative; z-index: 2; font: 700 clamp(48px,7vw,80px)/1.2 var(--serif); }
.keyword-row { min-height: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; }
.keyword-row span { padding: 6px 13px; color: var(--gold-light); border: 1px solid rgba(232,205,145,.35); border-radius: 999px; font-size: 12px; }
.result-summary { max-width: 710px; margin: 24px auto 0; position: relative; z-index: 2; color: rgba(255,255,255,.76); line-height: 1.9; }
.hero-score { margin-top: 30px; position: relative; z-index: 2; display: inline-flex; align-items: baseline; gap: 12px; }
.hero-score span { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .1em; }
.hero-score b { color: var(--gold-light); font: 700 22px var(--serif); }
.hero-score small { font-size: 12px; color: rgba(255,255,255,.55); }

.result-nav { margin-top: -34px; padding: 18px 24px; display: flex; justify-content: center; gap: clamp(20px,5vw,55px); position: sticky; top: 8px; z-index: 9; border: 1px solid rgba(119,85,42,.15); border-radius: 14px 4px 14px 4px; background: rgba(255,250,240,.94); backdrop-filter: blur(15px); box-shadow: 0 12px 32px rgba(10,31,43,.12); }
.result-nav a { color: var(--ink-soft); text-decoration: none; font-size: 13px; }
.result-nav a:hover { color: var(--red); }

.report-section { margin: 28px 0; padding: clamp(32px, 6vw, 68px); position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px 6px 24px 6px; background: rgba(255,251,242,.93); box-shadow: 0 18px 50px rgba(17, 39, 49, .08); }
.section-index { position: absolute; right: 30px; top: 16px; color: rgba(165,45,37,.12); font: 700 90px/1 var(--serif); }
.report-heading { position: relative; z-index: 1; }
.report-heading > p:first-child { margin: 0 0 9px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.section-lead { max-width: 720px; color: var(--ink-soft); line-height: 1.8; }

.profile-grid { margin-top: 36px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.narrative-card, .dimension-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px 4px 16px 4px; background: rgba(255,255,255,.5); }
.narrative-card h3, .dimension-card h3 { margin: 0 0 16px; font: 700 21px var(--serif); }
.narrative-card p { color: #415a68; line-height: 2; }
.dimension-list { display: grid; gap: 14px; }
.dim-row { display: grid; grid-template-columns: 44px 1fr 34px; align-items: center; gap: 10px; font-size: 12px; }
.dim-track { height: 7px; overflow: hidden; border-radius: 10px; background: rgba(15,48,67,.10); }
.dim-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ink), var(--red)); }
.dim-row b { color: var(--red); text-align: right; }

.insight-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.insight-grid article { padding: 22px; border-top: 3px solid var(--gold); background: rgba(236,225,203,.36); }
.insight-grid span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.insight-grid h3 { margin: 10px 0; font: 700 18px var(--serif); }
.insight-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }

.tinted-section { background: #e9efe9; }
.month-timeline { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.month-card { min-height: 200px; padding: 24px; position: relative; overflow: hidden; border: 1px solid rgba(36,80,78,.16); border-radius: 14px 3px 14px 3px; background: rgba(255,255,255,.48); }
.month-card::after { content: attr(data-month); position: absolute; right: 10px; bottom: -18px; color: rgba(17,65,64,.07); font: 700 80px var(--serif); }
.month-card b { color: var(--red); font: 700 26px var(--serif); }
.month-card h3 { margin: 14px 0 8px; font: 700 19px var(--serif); }
.month-card p { margin: 0; position: relative; z-index: 1; color: #456361; font-size: 14px; line-height: 1.8; }

.domain-tabs { margin-top: 28px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.domain-tabs::-webkit-scrollbar { display: none; }
.domain-tab { flex: 0 0 auto; padding: 10px 18px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; }
.domain-tab.is-active { color: #fff7e4; border-color: var(--ink); background: var(--ink); }
.domain-panel { min-height: 420px; margin-top: 18px; padding: clamp(24px,5vw,46px); border: 1px solid var(--line); border-radius: 18px 4px 18px 4px; background: rgba(255,255,255,.5); }
.domain-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.domain-title-row small { color: var(--red); font-size: 11px; letter-spacing: .12em; }
.domain-title-row h3 { margin: 8px 0 0; font: 700 clamp(25px,4vw,38px) var(--serif); }
.domain-score { width: 76px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 1px solid var(--gold); border-radius: 50%; }
.domain-score b { color: var(--red); font: 700 25px var(--serif); }
.domain-score span { color: var(--ink-soft); font-size: 9px; }
.domain-summary { margin: 28px 0; color: #385365; font-size: 16px; line-height: 1.95; }
.domain-personalized { display: grid; gap: 7px; margin: 24px 0 0; padding: 16px 18px; color: var(--ink-soft); line-height: 1.8; border-left: 3px solid var(--gold); background: rgba(201,154,75,.09); }
.domain-personalized b { color: var(--red); font: 700 14px var(--serif); letter-spacing: .08em; }
.domain-analysis { display: grid; gap: 12px; margin: -8px 0 26px; }
.domain-analysis p { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; margin: 0; color: var(--ink-soft); line-height: 1.85; }
.domain-analysis b { padding-top: 2px; color: var(--red); font: 700 12px var(--serif); letter-spacing: .08em; }
.domain-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.domain-columns article { padding: 20px; background: rgba(238,227,206,.42); }
.domain-columns h4 { margin: 0 0 12px; color: var(--red); font: 700 17px var(--serif); }
.domain-columns p { margin: 0; color: var(--ink-soft); line-height: 1.85; }
.domain-actions { margin-top: 22px; }
.domain-actions h4 { margin: 0 0 12px; font: 700 17px var(--serif); }
.domain-actions ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; list-style: none; }
.domain-actions li { padding-left: 22px; position: relative; color: var(--ink-soft); line-height: 1.7; }
.domain-actions li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.theme-focus { margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.theme-focus:empty { display: none; }
.theme-focus li { padding: 7px 11px; color: var(--red-deep); font-size: 12px; border: 1px solid rgba(165,45,37,.22); border-radius: 999px; background: rgba(255,250,240,.6); }
.month-card dl { margin: 18px 0 0; padding-top: 15px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.month-card dl div { display: grid; grid-template-columns: 36px 1fr; gap: 9px; }
.month-card dt { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.month-card dd { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

.action-section { background: var(--ink); color: #fff4dd; }
.action-section .section-index { color: rgba(255,255,255,.06); }
.action-section .report-heading > p:first-child { color: var(--gold-light); }
.action-layout { margin-top: 34px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; align-items: center; }
.action-intro { color: rgba(255,255,255,.65); line-height: 1.8; }
.action-checklist { margin: 24px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; counter-reset: actions; }
.action-checklist li { counter-increment: actions; padding: 14px 16px 14px 55px; position: relative; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; }
.action-checklist li::before { content: counter(actions, decimal-leading-zero); position: absolute; left: 15px; color: var(--gold-light); font: 700 15px var(--serif); }
.action-layout blockquote { margin: 0; padding: 30px; position: relative; color: var(--gold-light); border: 1px solid rgba(232,205,145,.32); font: 700 clamp(23px,3vw,34px)/1.65 var(--serif); }
.action-layout blockquote::before { content: "“"; position: absolute; left: 12px; top: -18px; color: rgba(234,211,154,.22); font: 700 90px var(--serif); }

.share-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.share-section h2 { font-size: clamp(28px,4vw,42px); }
.share-section p:not(.eyebrow) { max-width: 600px; color: var(--ink-soft); line-height: 1.75; }
.share-actions { margin: 0; flex: 0 0 auto; }
.report-footer { padding: 22px 30px 58px; text-align: center; color: #6a7778; font-size: 11px; line-height: 1.8; }
.site-legal-footer { width: min(1180px, calc(100% - 40px)); margin: 28px auto 0; padding: 20px 12px calc(24px + env(safe-area-inset-bottom)); position: relative; z-index: 10; text-align: center; color: #6a7778; font-size: 11px; line-height: 1.8; border-top: 1px solid var(--line); }
.site-legal-footer p { margin: 0 0 5px; }
.site-legal-footer a { color: #526c78; text-decoration: none; }
.site-legal-footer a:hover { color: var(--red); text-decoration: underline; }

.modal { position: fixed; inset: 0; z-index: 99; padding: 20px; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,19,29,.78); backdrop-filter: blur(8px); }
.modal-card { width: min(520px, 100%); max-height: calc(100vh - 40px); padding: 28px; position: relative; overflow-y: auto; text-align: center; border-radius: 18px; background: var(--paper-light); box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.modal-card h2 { margin: 0; font: 700 28px var(--serif); }
.modal-card p { color: var(--ink-soft); font-size: 13px; }
.modal-card img { display: block; width: min(100%, 390px); margin: 20px auto; border-radius: 10px; box-shadow: 0 12px 30px rgba(11,40,57,.16); }
.modal-close { position: absolute; right: 14px; top: 10px; padding: 5px; color: var(--ink-soft); border: 0; background: none; font-size: 28px; cursor: pointer; }

@media (max-width: 860px) {
  .hero-shell { grid-template-columns: 1fr; padding-bottom: 20px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { min-height: 380px; }
  .zodiac-wheel { width: 350px; }
  .zodiac-wheel > span { transform: rotate(calc(var(--i) * 30deg)) translateY(-148px) rotate(calc(var(--i) * -30deg)); }
  .orbit-a { width: 350px; height: 350px; }
  .orbit-b { width: 285px; height: 285px; }
  .value-strip { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .value-strip div:nth-child(2) { border-right: 0; }
  .profile-grid, .action-layout { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .month-timeline { grid-template-columns: repeat(2, 1fr); }
  .share-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); min-height: 68px; }
  .brand small, .demo-badge { display: none; }
  .brand b { font-size: 16px; }
  .hero-shell { width: calc(100% - 20px); min-height: 0; margin-top: 4px; padding: 42px 22px 18px; border-radius: 22px 6px 22px 6px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lead { margin-top: 22px; font-size: 15px; line-height: 1.85; }
  .hero-actions { flex-direction: column; }
  .primary-btn, .ghost-btn { width: 100%; }
  .hero-art { min-height: 300px; margin: -12px -12px 0; }
  .zodiac-wheel { width: 260px; }
  .zodiac-wheel > span { width: 32px; left: calc(50% - 16px); top: calc(50% - 16px); font-size: 16px; transform: rotate(calc(var(--i) * 30deg)) translateY(-108px) rotate(calc(var(--i) * -30deg)); }
  .wheel-core { width: 104px; }
  .wheel-core b { font-size: 19px; }
  .moon-disc { width: 70px; right: 0; }
  .orbit-a { width: 310px; height: 310px; }
  .orbit-b { width: 245px; height: 245px; }
  .value-strip { width: calc(100% - 36px); margin-top: -8px; padding: 18px 10px; }
  .value-strip div { padding: 0 12px; }
  .value-strip b { display: block; margin: 0; font-size: 26px; }
  .intro-note { margin-block: 48px 65px; }
  .zodiac-grid { width: calc(100% - 28px); grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .zodiac-card { min-height: 112px; padding: 16px 8px; }
  .selection-footer { width: calc(100% - 28px); align-items: stretch; flex-direction: column; }
  .selection-footer .primary-btn { width: 100%; }
  #quizView { width: calc(100% - 20px); margin-top: 10px; }
  .question-card { min-height: 600px; padding: 26px 18px; }
  .question-card h2 { font-size: 24px; }
  .answer-btn { min-height: 72px; }
  #resultView { background: linear-gradient(#0c2b40 0 650px, transparent 650px); }
  .result-shell { width: 100%; padding-top: 10px; }
  .result-hero { min-height: 620px; padding-inline: 22px; }
  .result-hero h1 { font-size: 48px; }
  .result-nav { width: calc(100% - 20px); margin-inline: auto; justify-content: flex-start; overflow-x: auto; gap: 26px; }
  .result-nav a { flex: 0 0 auto; }
  .report-section { margin: 14px 10px; padding: 32px 20px; border-radius: 18px 5px 18px 5px; }
  .section-index { right: 10px; font-size: 72px; }
  .report-heading h2 { font-size: 33px; }
  .month-timeline { grid-template-columns: 1fr; }
  .domain-panel { padding: 24px 17px; }
  .domain-columns, .domain-actions ul { grid-template-columns: 1fr; }
  .domain-title-row { align-items: center; }
  .share-actions { width: 100%; }
  .share-actions .primary-btn, .share-actions .ghost-btn { width: 100%; }
  .report-footer { padding-inline: 24px; }
  .site-legal-footer { width: calc(100% - 28px); margin-top: 18px; padding-inline: 8px; }
}

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