/* =========================================================================
   天赋测试 · Talent Test
   A warm editorial talent-assessment experience
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4eee2;
  --bg-deep: #ede4d3;
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --ink: #17231d;
  --ink-soft: #46524a;
  --muted: #7b8178;
  --line: #d7cebd;
  --line-dark: #b9ae9a;
  --green: #123c31;
  --green-2: #1d5142;
  --green-soft: #dbe6dc;
  --coral: #d9542f;
  --coral-deep: #b94121;
  --gold: #e3a72f;
  --gold-soft: #f4e6c4;
  --sage: #a9c0af;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Menlo", "Consolas", monospace;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 50px rgba(23, 35, 29, 0.08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  background: var(--coral);
  color: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Layout utilities ---------- */
.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--tight {
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(217, 84, 47, 0.13);
}

.eyebrow--light {
  color: rgba(251, 247, 239, 0.66);
}

.eyebrow--light .dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(227, 167, 47, 0.15);
}

.serif {
  font-family: var(--serif);
}

.muted {
  color: var(--muted);
}

.hairline {
  height: 1px;
  background: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[id] {
  scroll-margin-top: 96px;
}

[hidden] {
  display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.22s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--green);
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--green);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--green);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.btn-light:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.26);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(251, 247, 239, 0.45);
  color: var(--paper);
}

.btn-outline-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12.5px;
  border-radius: 8px;
}

.btn-wide {
  width: 100%;
}

.btn[disabled],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none !important;
  box-shadow: none !important;
}

.text-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}

.text-link:hover {
  color: var(--coral);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal--delay-3 {
  transition-delay: 0.24s;
}

/* =========================================================================
   Platform strip / shared aboutyou.buzz navigation
   ========================================================================= */
.platform-strip {
  background: #142019;
  color: rgba(251, 247, 239, 0.58);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.platform-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 32px;
}

.platform-strip-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: rgba(251, 247, 239, 0.76);
  transition: color 0.2s ease;
}

.platform-strip-brand:hover {
  color: var(--gold);
}

.platform-strip-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.platform-strip-mark svg {
  width: 13px;
  height: 13px;
}

.platform-strip-name {
  color: rgba(251, 247, 239, 0.86);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.platform-strip-brand em {
  padding-left: 7px;
  border-left: 1px solid rgba(251, 247, 239, 0.18);
  color: rgba(251, 247, 239, 0.36);
  font-style: normal;
}

.platform-strip-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: rgba(251, 247, 239, 0.56);
  transition: color 0.2s ease;
}

.platform-strip-back:hover {
  color: var(--gold);
}

/* =========================================================================
   Header / footer
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(244, 238, 226, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 238, 226, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: var(--paper);
  transition: transform 0.35s var(--ease), background-color 0.25s ease;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand:hover .brand-mark {
  transform: rotate(16deg);
  background: var(--coral);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-type small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 28px;
}

.site-nav a {
  position: relative;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #142019;
  color: rgba(251, 247, 239, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 50px;
  padding: 72px 0 56px;
}

.footer-brand .brand-mark {
  background: var(--paper);
  color: var(--green);
}

.footer-brand .brand-type strong {
  color: var(--paper);
}

.footer-brand .brand-type small {
  color: rgba(251, 247, 239, 0.45);
}

.footer-brand p {
  max-width: 330px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(251, 247, 239, 0.52);
}

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  font-size: 12.5px;
  color: rgba(251, 247, 239, 0.56);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  color: rgba(251, 247, 239, 0.36);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.footer-bottom .leaf {
  color: var(--gold);
}

/* =========================================================================
   Landing · hero
   ========================================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-top: 68px;
  padding-bottom: 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 680px;
  font-family: var(--serif);
  font-size: clamp(50px, 5.4vw, 72px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.hero h1 .mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--coral);
  padding-bottom: 8px;
}

.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 0;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10C52 3 116 3 165 7c38 3 84 4 133-2' fill='none' stroke='%23D9542F' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.85;
}

.hero-lead {
  max-width: 510px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.95;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11.5px;
}

.hero-meta li {
  position: relative;
  padding-left: 14px;
}

.hero-meta li::before {
  content: "✳";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-size: 9px;
}

.draft-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 7px 12px;
  border: 1px dashed var(--line-dark);
  border-radius: 7px;
  background: rgba(251, 247, 239, 0.55);
  color: var(--ink-soft);
  font-size: 11.5px;
}

.draft-hint strong {
  color: var(--coral);
}

/* Hero collage */
.hero-art {
  position: relative;
  height: 610px;
  perspective: 1200px;
}

.art-back {
  position: absolute;
  inset: 42px 0 4px 38px;
  border-radius: 28px;
  background: var(--green);
  transform: rotate(3.4deg);
  box-shadow: 0 34px 70px rgba(18, 60, 49, 0.2);
}

.art-back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(251, 247, 239, 0.16) 0.8px, transparent 0.8px);
  background-size: 13px 13px;
  opacity: 0.35;
}

.art-card {
  position: absolute;
  inset: 18px 24px 42px 0;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(23, 35, 29, 0.14);
  transform: rotate(-2.2deg);
  transition: transform 0.65s var(--ease);
}

.hero-art:hover .art-card {
  transform: rotate(-0.6deg) translateY(-6px);
}

.art-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.art-head span:last-child {
  color: var(--muted);
}

.art-compass {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 8px 0 2px;
}

.art-compass svg {
  width: 100%;
  height: 100%;
  max-height: 440px;
  overflow: visible;
}

.compass-ring-a {
  transform-origin: 210px 210px;
  animation: orbit 52s linear infinite;
}

.compass-ring-b {
  transform-origin: 210px 210px;
  animation: orbit-reverse 38s linear infinite;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.art-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.art-caption strong {
  color: var(--ink);
  font-weight: 600;
}

.art-note {
  position: absolute;
  top: -6px;
  right: -16px;
  z-index: 3;
  width: 154px;
  padding: 16px 15px 14px;
  border: 1px solid rgba(23, 35, 29, 0.15);
  background: var(--gold-soft);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  transform: rotate(5.5deg);
  box-shadow: 5px 7px 0 rgba(23, 35, 29, 0.08);
}

.art-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 54px;
  height: 17px;
  background: rgba(255, 253, 248, 0.6);
  transform: translateX(-50%) rotate(-2deg);
  border-left: 1px dashed rgba(23, 35, 29, 0.12);
  border-right: 1px dashed rgba(23, 35, 29, 0.12);
}

.art-note small {
  display: block;
  margin-top: 8px;
  color: rgba(23, 35, 29, 0.52);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.art-stamp {
  position: absolute;
  left: -24px;
  bottom: 22px;
  z-index: 3;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.55;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-5deg);
  box-shadow: 3px 3px 0 var(--coral);
}

.art-stamp strong {
  display: block;
  color: var(--coral);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 15px 0;
  background: var(--green);
  color: var(--paper);
  transform: rotate(-0.85deg) scale(1.015);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.marquee-group span::after {
  content: "✦";
  color: var(--gold);
  font-size: 11px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================================
   Landing · premise / manifesto
   ========================================================================= */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.section-head h2 em {
  color: var(--coral);
  font-style: normal;
}

.section-note {
  max-width: 360px;
  margin-left: auto;
  padding-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.value-card {
  position: relative;
  padding: 30px 34px 36px 0;
  border-top: 1px solid var(--ink);
}

.value-card + .value-card {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.value-num {
  display: block;
  margin-bottom: 26px;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.value-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.value-card p {
  max-width: 300px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.9;
}

.value-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 3px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifesto {
  position: relative;
  overflow: hidden;
  padding: 118px 0;
  background: var(--green);
  color: var(--paper);
}

.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(251, 247, 239, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.manifesto::before {
  width: 720px;
  height: 720px;
  top: -400px;
  right: -120px;
}

.manifesto::after {
  width: 420px;
  height: 420px;
  bottom: -280px;
  left: -100px;
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: end;
  gap: 60px;
}

.manifesto h2 {
  max-width: 850px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.manifesto h2 em {
  color: var(--gold);
  font-style: normal;
}

.manifesto-note {
  padding: 22px;
  border: 1px solid rgba(251, 247, 239, 0.22);
  border-radius: 12px;
  background: rgba(251, 247, 239, 0.04);
  color: rgba(251, 247, 239, 0.62);
  font-size: 12px;
  line-height: 1.9;
}

.manifesto-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.manifesto-sticker {
  position: absolute;
  top: 54px;
  right: 5%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
  transform: rotate(9deg);
}

/* =========================================================================
   Landing · talents / types
   ========================================================================= */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.talent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 24px 22px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    transform 0.35s var(--ease),
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.talent-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border: 1px solid var(--dim-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s var(--ease);
}

.talent-card:hover {
  transform: translateY(-5px);
  border-color: var(--dim-color);
  background: var(--dim-soft);
}

.talent-card:hover::after {
  opacity: 0.28;
  transform: scale(1.25);
}

.talent-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.talent-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--dim-soft);
  color: var(--dim-color);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.talent-card:hover .talent-icon {
  background: var(--dim-color);
  color: var(--paper);
}

.talent-icon svg {
  width: 25px;
  height: 25px;
}

.talent-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.talent-card h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.talent-tagline {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.talent-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.talent-keywords span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.55);
  color: var(--muted);
  font-size: 9.5px;
}

.type-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}

.type-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 20px 26px 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, color 0.25s ease, padding 0.3s var(--ease);
}

.type-row:nth-child(odd) {
  padding-right: 36px;
  border-right: 1px solid var(--line);
}

.type-row:nth-child(even) {
  padding-left: 36px;
}

.type-row:hover {
  padding-left: 18px;
  background: var(--green);
  color: var(--paper);
}

.type-row:nth-child(even):hover {
  padding-left: 50px;
}

.type-num {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.type-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.type-name strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.type-name strong::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim-color, var(--coral));
}

.type-name small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.type-line {
  max-width: 230px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
  text-align: right;
}

.type-row:hover .type-num,
.type-row:hover .type-line,
.type-row:hover .type-name small {
  color: rgba(251, 247, 239, 0.55);
}

.type-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--coral);
  transform: translateY(-50%);
  transition: width 0.25s ease;
}

.type-row:hover::before {
  width: 8px;
}

.type-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11.5px;
}

.type-footnote::before {
  content: "↳";
  color: var(--coral);
  font-size: 16px;
}

/* =========================================================================
   Landing · method / final CTA
   ========================================================================= */
.method-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.method-copy h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.method-copy > p {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

.method-steps {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.method-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.method-step:last-child {
  border-bottom: 1px solid var(--line);
}

.method-step-num {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.method-step strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.method-step p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.quadrant-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 26px;
}

.quad-axis-y {
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 9%;
  width: 1px;
  background: var(--line-dark);
}

.quad-axis-y::before {
  content: "胜任感 ↑";
  position: absolute;
  bottom: 100%;
  left: -6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.quad-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 0.92;
  border: 1px solid var(--line-dark);
  background: var(--paper-strong);
}

.quad-cell {
  position: relative;
  padding: 18px;
  border: 1px dashed var(--line);
}

.quad-cell:nth-child(2) {
  border-left: 1px dashed transparent;
}

.quad-cell:nth-child(3) {
  border-top: 1px dashed transparent;
}

.quad-cell:nth-child(4) {
  border-left: 1px dashed transparent;
  border-top: 1px dashed transparent;
}

.quad-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quad-label strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.quad-label span {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.quad-cell--core {
  background: var(--green-soft);
}

.quad-cell--core strong {
  color: var(--green);
}

.quad-cell--edge {
  background: rgba(215, 206, 189, 0.16);
}

.quad-dot {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}

.quad-dot--2 {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.quad-dot--3 {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.quad-x {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-left: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: var(--coral);
  color: #fff9ef;
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -220px;
  top: -240px;
  border: 1px solid rgba(255, 249, 239, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -170px;
  bottom: -210px;
  border: 1px solid rgba(255, 249, 239, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.final-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 60px;
}

.final-inner h2 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.final-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.final-side p {
  color: rgba(255, 249, 239, 0.72);
  font-size: 12px;
  line-height: 1.85;
}

.final-code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px dashed rgba(255, 249, 239, 0.42);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 249, 239, 0.68);
}

.final-code strong {
  color: #fff9ef;
  font-weight: 600;
}

/* =========================================================================
   Auth / modal / toast
   ========================================================================= */
.modal {
  width: min(470px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(18, 30, 25, 0.35);
}

.modal::backdrop {
  background: rgba(16, 28, 23, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-shell {
  position: relative;
  padding: 36px 36px 26px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.auth-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--green);
  color: var(--paper);
}

.mini-mark svg {
  width: 14px;
  height: 14px;
}

.auth-modal h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.auth-lead {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.85;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-field {
  position: relative;
}

.code-field input {
  width: 100%;
  height: 58px;
  padding: 10px 74px 10px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  background: var(--paper-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 21px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.code-field input::placeholder {
  color: #b7ad9d;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
}

.code-field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 60, 49, 0.1);
}

.code-field input[aria-invalid="true"] {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(217, 84, 47, 0.1);
}

.code-count {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.field-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
}

.auth-error {
  margin-top: 9px;
  color: var(--coral-deep);
  font-size: 11.5px;
  line-height: 1.6;
}

.auth-modal .btn {
  margin-top: 18px;
}

.demo-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 11px 13px;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  background: rgba(219, 230, 220, 0.38);
  color: var(--ink-soft);
  font-size: 10.5px;
}

.demo-code button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-code-note {
  color: var(--muted);
  font-size: 9px;
}

.auth-fineprint {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.75;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.modal-actions .btn {
  flex: 1;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 3000;
  padding: 11px 18px;
  border: 1px solid rgba(251, 247, 239, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast[data-tone="success"] {
  background: var(--green);
}

.toast[data-tone="error"] {
  background: var(--coral-deep);
}

/* =========================================================================
   Test page
   ========================================================================= */
.test-page {
  overflow-anchor: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(217, 84, 47, 0.07), transparent 28%),
    radial-gradient(circle at 6% 62%, rgba(169, 192, 175, 0.14), transparent 30%),
    var(--bg);
}

.test-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 238, 226, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.test-header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}

.test-title-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
}

.test-title-chip span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.test-title-chip strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

.test-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.save-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
}

.save-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6f9a72;
  box-shadow: 0 0 0 3px rgba(111, 154, 114, 0.12);
}

.exit-link {
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s ease;
}

.exit-link:hover {
  color: var(--coral);
}

.test-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding-top: 42px;
  padding-bottom: 72px;
}

.test-rail {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.rail-ring-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.rail-ring {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
}

.rail-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rail-ring .ring-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.rail-ring .ring-value {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s var(--ease);
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ring-center strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ring-center span {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.rail-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rail-meta strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.rail-meta span {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.chapter-list {
  display: flex;
  flex-direction: column;
}

.chapter-item {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0 13px 16px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.chapter-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-dark);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.chapter-item.is-active {
  border-left-color: var(--coral);
  color: var(--ink);
}

.chapter-item.is-active::before {
  background: var(--coral);
  transform: translateY(-50%) scale(1.4);
}

.chapter-item.is-done {
  color: var(--ink-soft);
}

.chapter-item.is-done::before {
  background: var(--green);
}

.chapter-num {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.chapter-name {
  font-size: 12px;
  font-weight: 500;
}

.chapter-count {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}

.rail-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.rail-note h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rail-note h3::before {
  content: "✳";
  color: var(--coral);
  font-size: 10px;
}

.rail-note p {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

.kbd-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 9px;
}

.kbd-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 1px solid var(--line-dark);
  border-bottom-width: 2px;
  border-radius: 3px;
  background: var(--paper-strong);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
}

.rail-reset {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rail-reset:hover {
  color: var(--coral);
}

/* Test stage */
.test-stage {
  min-width: 0;
}

.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.part-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.part-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--part-color, var(--coral));
}

.q-counter {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.q-counter strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-right: 4px;
}

.question-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 48px 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.question-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--part-color, var(--coral));
}

.question-panel.is-entering {
  animation: panel-in 0.42s var(--ease) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.question-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 10.5px;
}

.question-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--part-color, var(--coral));
}

.question-story {
  max-width: 650px;
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 2px solid var(--part-color, var(--coral));
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.question-prompt {
  max-width: 660px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.question-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 600px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.question-hint::before {
  content: "↳";
  flex: 0 0 auto;
  color: var(--part-color, var(--coral));
  font-size: 13px;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-strong);
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s var(--ease);
}

.choice-card:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateX(3px);
}

.choice-card.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.choice-letter {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.choice-card:hover .choice-letter {
  border-color: var(--ink);
}

.choice-card.is-selected .choice-letter {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.choice-text {
  display: block;
}

.choice-check {
  position: relative;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.choice-card.is-selected .choice-check {
  border-color: var(--paper);
  background: var(--paper);
}

.choice-card.is-selected .choice-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(42deg);
}

.choice-card.is-selected:hover {
  background: var(--ink);
}

/* scale */
.scale-block {
  padding-top: 2px;
}

.scale-statement {
  position: relative;
  max-width: 650px;
  margin-bottom: 34px;
  padding: 24px 26px 24px 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-strong);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.scale-statement::before {
  content: "“";
  position: absolute;
  left: 15px;
  top: 4px;
  color: var(--part-color, var(--coral));
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  opacity: 0.6;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.scale-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scale-option:hover {
  border-color: var(--line);
  background: var(--paper-strong);
}

.scale-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.scale-option:hover .scale-dot {
  border-color: var(--ink);
  transform: scale(1.04);
}

.scale-option.is-selected .scale-dot {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
  transform: scale(1.08);
}

.scale-option.is-selected .scale-label {
  color: var(--ink);
  font-weight: 600;
}

.scale-label {
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

/* ranking */
.rank-instruction {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-strong);
  color: var(--ink);
  text-align: left;
  font-size: 13.5px;
  line-height: 1.6;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.rank-item:hover {
  border-color: var(--ink);
  background: #fff;
}

.rank-item.is-ranked {
  border-color: var(--line);
  background: rgba(219, 230, 220, 0.28);
}

.rank-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rank-item.is-ranked .rank-index {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}

.rank-status {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.rank-item.is-ranked .rank-status {
  color: var(--green);
}

.rank-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.rank-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rank-action:hover {
  color: var(--coral);
}

.rank-action[disabled] {
  color: var(--line-dark);
  cursor: not-allowed;
}

.rank-confirm {
  min-height: 40px;
  margin-left: auto;
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: var(--paper);
  font-size: 12px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.rank-confirm:hover {
  background: var(--green-2);
}

.rank-confirm[disabled] {
  border-color: var(--line);
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

/* test controls */
.test-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.control-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.control-btn:hover {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.control-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.overview-trigger {
  margin-inline: auto;
  border-color: transparent;
  color: var(--muted);
}

.overview-trigger:hover {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.control-next {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.control-next:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}

.stage-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 9.5px;
  text-align: center;
}

/* Overview modal */
.overview-modal {
  width: min(660px, calc(100vw - 32px));
}

.overview-shell {
  position: relative;
  padding: 34px 34px 28px;
}

.overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.overview-head h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.overview-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.overview-progress {
  flex: 0 0 auto;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.03em;
}

.overview-progress span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-strong);
}

.grid-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.grid-cell:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.grid-cell.is-answered {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}

.grid-cell.is-current {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.overview-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 9.5px;
}

.overview-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
}

.legend-swatch--done {
  border-color: var(--green);
  background: var(--green);
}

.legend-swatch--current {
  border-color: var(--coral);
  background: transparent;
  outline: 1px solid var(--coral);
}

.overview-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.overview-footer .overview-count {
  margin-right: auto;
  color: var(--muted);
  font-size: 10.5px;
}

.overview-footer .overview-count strong {
  color: var(--ink);
}

.overview-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.overview-reset:hover {
  color: var(--coral);
}

/* Completion */
.completion-screen {
  padding: 50px 0 80px;
}

.completion-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  padding: 62px 60px 50px;
  border-radius: 26px;
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 30px 80px rgba(18, 60, 49, 0.22);
}

.completion-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -240px;
  right: -120px;
  border: 1px solid rgba(251, 247, 239, 0.18);
  border-radius: 50%;
}

.completion-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  bottom: -160px;
  left: -80px;
  border: 1px solid rgba(251, 247, 239, 0.18);
  border-radius: 50%;
}

.completion-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.completion-count {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.completion-count span {
  color: rgba(251, 247, 239, 0.35);
  font-size: 0.34em;
  letter-spacing: 0;
}

.completion-card h1 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.completion-card > p {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin-top: 12px;
  color: rgba(251, 247, 239, 0.62);
  font-size: 12.5px;
  line-height: 1.85;
}

.completion-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(251, 247, 239, 0.2);
  border-bottom: 1px solid rgba(251, 247, 239, 0.2);
}

.completion-stat {
  padding: 18px 20px 18px 0;
}

.completion-stat + .completion-stat {
  padding-left: 22px;
  border-left: 1px solid rgba(251, 247, 239, 0.2);
}

.completion-stat span {
  display: block;
  color: rgba(251, 247, 239, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.completion-stat strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.completion-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.completion-note {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: rgba(251, 247, 239, 0.36);
  font-size: 9px;
}

/* Generating overlay */
.generating {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 30px;
  background: var(--green);
  color: var(--paper);
  text-align: center;
}

.gen-orbit {
  position: relative;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(251, 247, 239, 0.22);
  border-radius: 50%;
}

.gen-orbit::before,
.gen-orbit::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(251, 247, 239, 0.3);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.gen-orbit::after {
  inset: 38px;
  border-style: solid;
  border-color: var(--coral);
  border-top-color: transparent;
  animation-duration: 2.4s;
}

.gen-orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.gen-copy h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.gen-copy p {
  margin-top: 10px;
  color: rgba(251, 247, 239, 0.56);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.gen-progress {
  width: min(300px, 70vw);
  height: 2px;
  overflow: hidden;
  background: rgba(251, 247, 239, 0.16);
}

.gen-progress span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: gen-slide 1.5s var(--ease) infinite;
}

@keyframes gen-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

/* =========================================================================
   Report page
   ========================================================================= */
.report-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background: var(--green);
  color: var(--paper);
}

.report-hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  top: -420px;
  right: -180px;
  border: 1px solid rgba(251, 247, 239, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.report-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  bottom: -320px;
  left: -140px;
  border: 1px dashed rgba(251, 247, 239, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.report-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: center;
  gap: 70px;
}

.report-hero-copy .eyebrow {
  margin-bottom: 24px;
}

.report-hero h1 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: clamp(54px, 7.4vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.report-type-en {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.report-type-line {
  max-width: 660px;
  color: rgba(251, 247, 239, 0.78);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
}

.report-summary {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(251, 247, 239, 0.54);
  font-size: 12.5px;
  line-height: 1.9;
}

.report-low-note {
  max-width: 620px;
  margin-top: 14px;
  padding: 10px 13px;
  border-left: 2px solid var(--gold);
  background: rgba(227, 167, 47, 0.08);
  color: rgba(251, 247, 239, 0.62);
  font-size: 10.5px;
  line-height: 1.8;
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.report-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(251, 247, 239, 0.26);
  border-radius: 4px;
  color: rgba(251, 247, 239, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.report-tags span:first-child {
  border-color: var(--gold);
  color: var(--gold);
}

.report-hero-side {
  position: relative;
}

.score-dial {
  position: relative;
  width: 236px;
  height: 236px;
  margin: 0 auto;
}

.score-dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-dial .dial-track {
  fill: none;
  stroke: rgba(251, 247, 239, 0.14);
  stroke-width: 2;
}

.score-dial .dial-value {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease);
}

.score-dial .dial-dash {
  fill: none;
  stroke: rgba(251, 247, 239, 0.1);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dial-center strong {
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.dial-center strong span {
  color: rgba(251, 247, 239, 0.42);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
}

.dial-center small {
  margin-top: 8px;
  color: rgba(251, 247, 239, 0.46);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dial-label {
  margin-top: 4px;
  padding: 4px 10px;
  border: 1px solid rgba(227, 167, 47, 0.5);
  border-radius: 999px;
  color: var(--gold);
  font-size: 9px;
}

.hero-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(251, 247, 239, 0.18);
}

.hero-mini div {
  padding: 14px 12px 0 0;
}

.hero-mini div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(251, 247, 239, 0.18);
}

.hero-mini span {
  display: block;
  color: rgba(251, 247, 239, 0.42);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-mini strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.demo-banner {
  padding: 10px 20px;
  background: var(--gold-soft);
  color: var(--ink-soft);
  font-size: 11px;
  text-align: center;
}

.demo-banner strong {
  color: var(--ink);
}

.demo-banner a {
  margin-left: 8px;
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  padding-top: 66px;
  padding-bottom: 96px;
}

.report-toc {
  position: sticky;
  top: 100px;
}

.toc-head {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.toc-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0 9px 16px;
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s ease;
}

.toc-link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.toc-link span {
  color: var(--line-dark);
  font-family: var(--mono);
  font-size: 8px;
  transition: color 0.2s ease;
}

.toc-link:hover,
.toc-link.is-active {
  color: var(--ink);
}

.toc-link.is-active::before {
  background: var(--coral);
}

.toc-link.is-active span {
  color: var(--coral);
}

.toc-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.toc-actions button,
.toc-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: left;
  transition: color 0.2s ease;
}

.toc-actions button:hover,
.toc-actions a:hover {
  color: var(--coral);
}

.report-sections {
  min-width: 0;
}

.report-section {
  scroll-margin-top: 104px;
  margin-bottom: 82px;
}

.report-section:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.section-index {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(29px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.section-lead {
  max-width: 650px;
  margin: 0 0 26px 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.top-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.signal-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.signal-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -46px;
  width: 118px;
  height: 118px;
  border: 1px solid var(--dim-color);
  border-radius: 50%;
  opacity: 0.18;
}

.signal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.signal-rank {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.signal-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--dim-soft);
  color: var(--dim-color);
}

.signal-icon svg {
  width: 19px;
  height: 19px;
}

.signal-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.signal-type {
  margin-top: 1px;
  color: var(--dim-color);
  font-size: 10px;
  font-weight: 600;
}

.signal-score {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.signal-score span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0;
}

.signal-bar {
  height: 3px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--line);
}

.signal-bar span {
  display: block;
  height: 100%;
  width: var(--value);
  background: var(--dim-color);
}

.signal-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.signal-quadrant {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--dim-soft);
  color: var(--ink-soft);
  font-size: 8.5px;
}

/* spectrum */
.spectrum-card {
  margin-top: 14px;
  padding: 26px 26px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.spectrum-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.spectrum-top h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.spectrum-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 8.5px;
}

.spectrum-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-line {
  width: 16px;
  height: 3px;
  background: var(--ink);
}

.legend-line--soft {
  opacity: 0.35;
}

.spectrum-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.spectrum-row + .spectrum-row {
  border-top: 1px dashed rgba(215, 206, 189, 0.55);
}

.spectrum-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
}

.spectrum-name small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
}

.spectrum-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-line {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
}

.bar-line span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--dim-color);
  transform-origin: left;
  animation: bar-grow 0.9s var(--ease) both;
}

.bar-line--confidence span {
  opacity: 0.5;
}

@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.spectrum-score {
  font-family: var(--serif);
  font-size: 18px;
  text-align: right;
}

.spectrum-score small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

/* map / radar */
.map-card {
  padding: 30px 30px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.map-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.map-top h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.layer-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-strong);
}

.layer-btn {
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.layer-btn.is-active {
  background: var(--green);
  color: var(--paper);
}

.radar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: 20px;
}

.radar-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.radar-svg .grid-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 0.7;
}

.radar-svg .axis-line {
  stroke: var(--line);
  stroke-width: 0.7;
}

.radar-svg .axis-label {
  fill: var(--ink-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
}

.radar-svg .axis-score {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}

.radar-svg .layer-interest {
  fill: rgba(217, 84, 47, 0.09);
  stroke: var(--coral);
  stroke-width: 1.3;
  stroke-dasharray: 4 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.radar-svg .layer-confidence {
  fill: rgba(18, 60, 49, 0.1);
  stroke: var(--green);
  stroke-width: 1.5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.radar-svg.show-interest .layer-interest,
.radar-svg.show-confidence .layer-confidence {
  opacity: 1;
}

.map-aside {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.map-aside h4 {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-aside p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.85;
}

.map-legend {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 9px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-legend i {
  width: 16px;
  height: 0;
  border-top: 1.5px dashed var(--coral);
}

.map-legend span:last-child i {
  border-top-style: solid;
  border-color: var(--green);
}

.map-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.quadrant-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 26px;
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.quadrant-chart {
  position: relative;
}

.quadrant-chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.quadrant-chart .q-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 0.8;
}

.quadrant-chart .q-axis {
  stroke: var(--line-dark);
  stroke-width: 0.8;
}

.quadrant-chart .q-mid {
  stroke: var(--line-dark);
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
}

.quadrant-chart .q-label {
  font-family: var(--sans);
  font-size: 9px;
  fill: var(--muted);
}

.quadrant-chart .q-axis-label {
  font-family: var(--mono);
  font-size: 7px;
  fill: var(--muted);
  letter-spacing: 0.06em;
}

.quadrant-chart .q-dot {
  stroke: var(--paper);
  stroke-width: 1.4;
}

.quadrant-chart .q-dot-label {
  font-family: var(--sans);
  font-size: 7.5px;
  fill: var(--ink-soft);
}

.quadrant-copy h4 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.quadrant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quadrant-list div {
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
}

.quadrant-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quadrant-list strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
}

.quadrant-list span {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
}

/* primary deep dive */
.primary-card {
  position: relative;
  overflow: hidden;
  padding: 34px 36px 32px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--dim-color);
  border-radius: 18px;
  background: var(--paper);
}

.primary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.primary-id {
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 13px;
  background: var(--dim-soft);
  color: var(--dim-color);
}

.primary-icon svg {
  width: 31px;
  height: 31px;
}

.primary-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.primary-sub {
  margin-top: 3px;
  color: var(--dim-color);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-score {
  flex: 0 0 auto;
  text-align: right;
}

.primary-score strong {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.primary-score span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
}

.primary-type-line {
  max-width: 650px;
  margin-bottom: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--dim-color);
  background: var(--dim-soft);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.75;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}

.detail-block h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-block h4::before {
  content: "—";
  color: var(--dim-color);
}

.signal-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.signal-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.signal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dim-color);
  font-size: 10px;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-row span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-strong);
  color: var(--ink-soft);
  font-size: 9.5px;
}

.watch-box {
  padding: 12px 14px;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  background: var(--gold-soft);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.75;
}

.fuel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fuel-grid div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-strong);
}

.fuel-grid strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fuel-grid p {
  font-size: 10px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* secondary combination */
.secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.secondary-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.secondary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.secondary-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--dim-soft);
  color: var(--dim-color);
}

.secondary-icon svg {
  width: 21px;
  height: 21px;
}

.secondary-score {
  color: var(--dim-color);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.secondary-score small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
}

.secondary-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.secondary-card .secondary-tag {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}

.secondary-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.75;
}

.combo-line {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.combo-line strong {
  color: var(--ink);
}

/* experiments */
.experiments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.experiment-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.experiment-card:hover {
  border-color: var(--line-dark);
  transform: translateY(-2px);
}

.experiment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.experiment-num {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.experiment-time {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.experiment-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.experiment-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.75;
}

.experiment-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px dashed var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 9.5px;
  text-align: left;
  transition: color 0.2s ease;
}

.experiment-add::after {
  content: "+";
  font-size: 14px;
  color: var(--coral);
}

.experiment-add:hover {
  color: var(--coral);
}

.experiment-add.is-added {
  color: var(--green);
}

.experiment-add.is-added::after {
  content: "✓";
  color: var(--green);
}

.experiment-footnote {
  margin-top: 14px;
  color: var(--muted);
  font-size: 9.5px;
}

/* evidence */
.evidence {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}

.evidence summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.evidence summary::-webkit-details-marker {
  display: none;
}

.evidence summary:hover {
  background: rgba(255, 253, 248, 0.7);
}

.evidence summary::after {
  content: "＋";
  color: var(--coral);
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.evidence[open] summary::after {
  content: "−";
}

.evidence-summary-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.evidence-list {
  border-top: 1px solid var(--line);
}

.evidence-group-title {
  padding: 12px 22px;
  background: rgba(237, 228, 211, 0.45);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 15px 22px;
  border-top: 1px solid rgba(215, 206, 189, 0.6);
}

.evidence-num {
  color: var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  padding-top: 2px;
}

.evidence-body h4 {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.evidence-answer {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.evidence-answer strong {
  color: var(--ink-soft);
  font-weight: 500;
}

.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: flex-start;
  justify-content: flex-end;
  max-width: 190px;
}

.evidence-tags span {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

.evidence-tags span:first-child {
  border-color: var(--line-dark);
  color: var(--ink-soft);
}

.report-disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px dashed var(--line-dark);
  border-radius: 10px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.85;
}

.report-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.report-foot .brand-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
}

.report-foot .brand-mini svg {
  width: 13px;
  height: 13px;
  color: var(--coral);
}

.empty-report {
  max-width: 560px;
  margin: 70px auto 100px;
  padding: 50px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  text-align: center;
}

.empty-report .empty-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
}

.empty-report .empty-mark svg {
  width: 30px;
  height: 30px;
}

.empty-report h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
}

.empty-report p {
  margin: 12px auto 24px;
  max-width: 380px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* =========================================================================
   History page
   ========================================================================= */
.archive-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(227, 167, 47, 0.1), transparent 26%),
    var(--bg);
}

.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 60px;
  padding-top: 66px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.archive-hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

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

.archive-sub {
  max-width: 430px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.archive-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.archive-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-dark);
  color: var(--muted);
  font-size: 10px;
}

.archive-meta-row strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.archive-body {
  padding-top: 42px;
  padding-bottom: 90px;
}

.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.archive-toolbar h2 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.archive-toolbar .device-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9.5px;
}

.archive-toolbar .device-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.draft-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 22px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--gold-soft);
}

.draft-card .draft-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.draft-card .draft-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
}

.draft-card strong {
  display: block;
  font-size: 12px;
}

.draft-card span {
  color: var(--ink-soft);
  font-size: 10px;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.report-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s ease;
}

.report-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: 0 16px 40px rgba(23, 35, 29, 0.06);
}

.report-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.report-card-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.report-card-index {
  color: var(--line-dark);
  font-family: var(--mono);
  font-size: 8px;
}

.report-card-type {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.report-card-type h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.report-card-type span {
  color: var(--dim-color, var(--coral));
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-card-line {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}

.report-card-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.report-card-score span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0;
}

.report-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.report-card-chips span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 8.5px;
}

.report-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.report-card-actions .view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}

.report-card-actions .view-link::after {
  content: "→";
  color: var(--coral);
  transition: transform 0.2s ease;
}

.report-card-actions .view-link:hover::after {
  transform: translateX(3px);
}

.report-card-actions .delete-link {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  transition: color 0.2s ease;
}

.report-card-actions .delete-link:hover {
  color: var(--coral-deep);
}

.empty-archive {
  padding: 70px 30px;
  border: 1px dashed var(--line-dark);
  border-radius: 18px;
  text-align: center;
}

.empty-archive .empty-orbit {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.empty-archive .empty-orbit::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed var(--coral);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}

.empty-archive .empty-orbit span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--coral);
}

.empty-archive h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.empty-archive p {
  max-width: 360px;
  margin: 10px auto 22px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.archive-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.archive-footnote::before {
  content: "✳";
  color: var(--coral);
  font-size: 10px;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1120px) {
  .hero {
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(50px, 6.4vw, 72px);
  }

  .hero-art {
    height: 560px;
  }

  .art-card {
    inset: 16px 12px 34px 0;
  }

  .talent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .report-body {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 44px;
  }

  .report-hero-inner {
    gap: 44px;
  }

  .test-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 36px;
  }

  .rail-ring-wrap {
    gap: 14px;
  }

  .rail-ring {
    width: 96px;
    height: 96px;
  }

  .ring-center strong {
    font-size: 28px;
  }
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  body.nav-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 12px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  body.nav-open .site-nav a {
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 14px;
  }

  .header-actions .text-link {
    display: none;
  }

  .report-page .header-actions .text-link {
    display: inline-flex;
  }

  body.nav-open .header-actions .text-link {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 70px;
    gap: 22px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(50px, 8vw, 68px);
  }

  .hero-art {
    width: min(620px, 100%);
    height: 580px;
    margin: 10px auto 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-note {
    margin-left: 0;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 26px 0 30px;
  }

  .value-card + .value-card {
    padding-left: 0;
    border-left: 0;
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manifesto-note {
    max-width: 380px;
  }

  .manifesto-sticker {
    top: 30px;
    right: 30px;
    width: 74px;
    height: 74px;
  }

  .talent-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .type-list {
    grid-template-columns: 1fr;
  }

  .type-row:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .type-row:nth-child(even) {
    padding-left: 0;
  }

  .type-row:nth-child(even):hover {
    padding-left: 18px;
  }

  .type-row:hover {
    padding-left: 18px;
  }

  .method-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px;
  }

  .quadrant-demo {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .final-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .final-side {
    max-width: 400px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 30px;
  }

  .test-layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .test-rail {
    position: static;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .rail-ring-wrap {
    grid-row: span 2;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .chapter-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .chapter-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 8px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .chapter-item::before {
    display: none;
  }

  .chapter-item.is-active {
    border-bottom-color: var(--coral);
  }

  .chapter-item.is-done {
    border-bottom-color: var(--line-dark);
  }

  .chapter-count {
    display: none;
  }

  .rail-note {
    display: none;
  }

  .stage-top {
    margin-top: 6px;
  }

  .question-panel {
    padding: 34px 30px 30px;
  }

  .report-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .report-hero-side {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .score-dial {
    width: 180px;
    height: 180px;
    margin: 0;
    flex: 0 0 auto;
  }

  .dial-center strong {
    font-size: 48px;
  }

  .hero-mini {
    flex: 1;
    margin-top: 0;
    border-top: 0;
  }

  .hero-mini div {
    padding-top: 0;
  }

  .report-body {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
  }

  .report-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .toc-head {
    display: none;
  }

  .toc-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 16px;
    border-left: 0;
  }

  .toc-link {
    padding: 4px 0;
  }

  .toc-link::before {
    display: none;
  }

  .toc-actions {
    display: none;
  }

  .map-card {
    padding: 24px;
  }

  .quadrant-card {
    grid-template-columns: 1fr;
  }

  .archive-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .archive-meta {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .container,
  .container-wide {
    width: calc(100% - 32px);
  }

  .section {
    padding: 76px 0;
  }

  .section--tight {
    padding: 58px 0;
  }

  .header-inner {
    height: 66px;
    gap: 16px;
  }

  .brand-type strong {
    font-size: 16px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 11.5px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(44px, 12.5vw, 62px);
    line-height: 1.1;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14.5px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-meta {
    margin-top: 22px;
    font-size: 10.5px;
  }

  .hero-art {
    height: 490px;
    margin-top: 6px;
  }

  .art-back {
    inset: 32px 0 0 20px;
  }

  .art-card {
    inset: 10px 8px 28px 0;
    padding: 16px 16px 14px;
  }

  .art-note {
    width: 128px;
    padding: 12px;
    font-size: 12px;
    right: -6px;
    top: -4px;
  }

  .art-stamp {
    left: -8px;
    bottom: 10px;
    font-size: 7px;
    padding: 8px 10px;
  }

  .art-stamp strong {
    font-size: 11px;
  }

  .art-head {
    font-size: 8px;
  }

  .art-compass svg {
    max-height: 340px;
  }

  .art-caption {
    font-size: 8.5px;
  }

  .marquee {
    padding: 12px 0;
  }

  .marquee-group span {
    font-size: 16px;
    gap: 18px;
    padding: 0 18px;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: clamp(30px, 8.2vw, 40px);
  }

  .section-note {
    font-size: 12.5px;
  }

  .value-num {
    font-size: 38px;
    margin-bottom: 18px;
  }

  .value-card h3 {
    font-size: 20px;
  }

  .manifesto {
    padding: 74px 0;
  }

  .manifesto h2 {
    font-size: clamp(34px, 9.4vw, 48px);
  }

  .manifesto-sticker {
    display: none;
  }

  .talent-grid {
    grid-template-columns: 1fr;
  }

  .talent-card {
    min-height: 0;
  }

  .talent-top {
    margin-bottom: 18px;
  }

  .type-row {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 88px;
  }

  .type-line {
    grid-column: 2;
    max-width: none;
    text-align: left;
    font-size: 10px;
  }

  .type-name strong {
    font-size: 23px;
  }

  .method-panel {
    padding: 26px 20px;
    border-radius: 16px;
  }

  .method-copy h2 {
    font-size: 30px;
  }

  .quad-grid {
    aspect-ratio: 1 / 1.05;
  }

  .quad-cell {
    padding: 12px;
  }

  .quad-label strong {
    font-size: 14px;
  }

  .quad-label span {
    font-size: 8.5px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .final-inner h2 {
    font-size: clamp(34px, 9.6vw, 46px);
  }

  .final-side .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 54px 0 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .auth-shell {
    padding: 30px 24px 22px;
  }

  .auth-modal h2 {
    font-size: 30px;
  }

  .test-header-inner {
    height: 60px;
    gap: 14px;
  }

  .test-title-chip {
    display: none;
  }

  .save-state {
    font-size: 9px;
  }

  .exit-link {
    font-size: 10px;
  }

  .test-header-actions {
    gap: 10px;
  }

  .test-header .btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .test-layout {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .test-rail {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rail-ring-wrap {
    display: flex;
    grid-row: auto;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
  }

  .rail-ring {
    width: 76px;
    height: 76px;
  }

  .ring-center strong {
    font-size: 23px;
  }

  .ring-center span {
    margin-top: 3px;
    font-size: 6.5px;
  }

  .rail-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .rail-meta strong {
    font-size: 18px;
  }

  .chapter-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .chapter-item {
    padding: 4px 6px 4px 9px;
  }

  .chapter-num {
    display: none;
  }

  .chapter-name {
    font-size: 10.5px;
  }

  .question-panel {
    padding: 26px 18px 24px;
    border-radius: 16px;
  }

  .question-story {
    font-size: 12.5px;
    padding-left: 12px;
  }

  .question-prompt {
    font-size: 24px;
  }

  .question-hint {
    font-size: 9.5px;
    margin-bottom: 20px;
  }

  .choice-card {
    grid-template-columns: 27px minmax(0, 1fr) 16px;
    gap: 10px;
    padding: 13px 13px;
    font-size: 13px;
  }

  .choice-letter {
    width: 26px;
    height: 26px;
    font-size: 9px;
  }

  .choice-check {
    width: 15px;
    height: 15px;
  }

  .choice-card.is-selected .choice-check::after {
    left: 4px;
    top: 2px;
    width: 3px;
    height: 7px;
  }

  .scale-statement {
    padding: 18px 16px 18px 34px;
    font-size: 17px;
    margin-bottom: 24px;
  }

  .scale-statement::before {
    left: 10px;
    font-size: 34px;
  }

  .scale-grid {
    gap: 0;
  }

  .scale-option {
    padding: 8px 1px;
  }

  .scale-dot {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .scale-label {
    font-size: 8.5px;
    white-space: normal;
  }

  .scale-ends {
    font-size: 7px;
  }

  .rank-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    font-size: 12.5px;
  }

  .rank-status {
    grid-column: 2;
    margin-top: -5px;
  }

  .rank-confirm {
    margin-left: 0;
    width: 100%;
  }

  .test-controls {
    flex-wrap: wrap;
    gap: 8px;
  }

  .overview-trigger {
    order: 3;
    width: 100%;
    margin: 4px 0 0;
  }

  .control-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 10px;
    font-size: 10.5px;
  }

  .overview-shell {
    padding: 28px 20px 22px;
  }

  .overview-grid {
    grid-template-columns: repeat(6, 1fr);
    padding: 12px;
  }

  .overview-head h2 {
    font-size: 26px;
  }

  .overview-footer {
    flex-wrap: wrap;
  }

  .overview-footer .btn {
    flex: 1;
  }

  .completion-card {
    padding: 42px 24px 30px;
    border-radius: 20px;
  }

  .completion-stats {
    grid-template-columns: 1fr;
  }

  .completion-stat {
    padding: 12px 0;
  }

  .completion-stat + .completion-stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(251, 247, 239, 0.18);
  }

  .completion-actions {
    flex-direction: column-reverse;
  }

  .completion-actions .btn {
    width: 100%;
  }

  .report-hero {
    padding: 48px 0 42px;
  }

  .report-hero h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .report-type-line {
    font-size: 16px;
  }

  .report-summary {
    font-size: 11.5px;
  }

  .report-hero-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .score-dial {
    width: 160px;
    height: 160px;
  }

  .dial-center strong {
    font-size: 44px;
  }

  .hero-mini {
    width: 100%;
  }

  .report-body {
    padding-top: 32px;
    padding-bottom: 64px;
    gap: 24px;
  }

  .report-section {
    margin-bottom: 62px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-lead {
    margin-left: 0;
    font-size: 11px;
  }

  .top-signals {
    grid-template-columns: 1fr;
  }

  .signal-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 16px;
  }

  .signal-card-top {
    margin: 0;
    display: contents;
  }

  .signal-rank {
    display: none;
  }

  .signal-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .signal-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 19px;
  }

  .signal-type {
    grid-column: 2;
    grid-row: 2;
    margin-top: -10px;
  }

  .signal-score {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    font-size: 30px;
  }

  .signal-bar,
  .signal-card p,
  .signal-quadrant {
    grid-column: 1 / -1;
  }

  .signal-bar {
    margin-top: 4px;
  }

  .spectrum-card {
    padding: 18px 14px;
  }

  .spectrum-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .spectrum-row {
    grid-template-columns: 82px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .spectrum-name {
    font-size: 10.5px;
  }

  .spectrum-score {
    font-size: 15px;
  }

  .map-card {
    padding: 16px;
  }

  .radar-wrap {
    grid-template-columns: 1fr;
  }

  .map-aside {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px dashed var(--line);
  }

  .map-aside p {
    font-size: 10px;
  }

  .quadrant-card {
    padding: 16px;
  }

  .primary-card {
    padding: 24px 18px;
  }

  .primary-head {
    flex-direction: column;
    gap: 12px;
  }

  .primary-title {
    font-size: 30px;
  }

  .primary-icon {
    width: 46px;
    height: 46px;
  }

  .primary-icon svg {
    width: 25px;
    height: 25px;
  }

  .primary-score {
    text-align: left;
  }

  .primary-score strong {
    font-size: 34px;
  }

  .primary-type-line {
    font-size: 14px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .secondary-grid {
    grid-template-columns: 1fr;
  }

  .experiments-grid {
    grid-template-columns: 1fr;
  }

  .evidence-row {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 13px 16px;
  }

  .evidence-tags {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
  }

  .evidence summary {
    padding: 14px 16px;
    font-size: 11px;
  }

  .evidence-summary-meta {
    display: none;
  }

  .report-foot {
    font-size: 7.5px;
  }

  .archive-hero {
    padding-top: 42px;
    padding-bottom: 30px;
  }

  .archive-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .archive-sub {
    font-size: 12px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .draft-card .btn {
    width: 100%;
  }

  .empty-archive {
    padding: 44px 20px;
  }
}

@media (max-width: 420px) {
  .landing-page .header-actions .btn {
    display: none;
  }

  body.nav-open .landing-page .header-actions .btn {
    display: inline-flex;
  }

  .report-page .header-actions .btn-ghost {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 0 0 auto;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 50px);
  }

  .hero-art {
    height: 440px;
  }

  .scale-label {
    font-size: 7.5px;
  }

  .scale-dot {
    width: 27px;
    height: 27px;
  }

  .overview-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .question-prompt {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .container,
  .container-wide {
    width: calc(100% - 28px);
  }

  .test-header .save-state {
    display: none;
  }

  .test-header .brand-type small {
    display: none;
  }

  .test-header .btn {
    padding: 6px 8px;
    font-size: 9.5px;
  }

  .report-page .header-actions .text-link {
    display: none;
  }

  .report-hero h1 {
    font-size: 48px;
  }

  .report-tags span {
    font-size: 7.5px;
    padding: 4px 7px;
  }
}

/* =========================================================================
   Reduced motion / print
   ========================================================================= */
@media (max-width: 720px) {
  .platform-strip-inner {
    height: 28px;
    font-size: 7.5px;
  }

  .platform-strip-brand em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  body::before,
  .platform-strip,
  .site-header,
  .demo-banner,
  .report-toc,
  .report-foot,
  .experiment-add,
  .toast,
  .modal {
    display: none !important;
  }

  .report-hero {
    padding: 24px 0;
    background: #fff !important;
    color: #111 !important;
    border-bottom: 2px solid #111;
  }

  .report-hero-inner {
    grid-template-columns: 1fr 180px;
    gap: 24px;
  }

  .report-hero h1 {
    font-size: 44pt;
  }

  .report-type-en,
  .report-type-line,
  .report-summary,
  .report-tags span {
    color: #333 !important;
  }

  .report-hero .eyebrow {
    color: #555 !important;
  }

  .score-dial {
    width: 150px;
    height: 150px;
  }

  .score-dial .dial-track {
    stroke: #ddd;
  }

  .score-dial .dial-value {
    stroke: #111;
  }

  .dial-center strong {
    font-size: 36pt;
    color: #111;
  }

  .dial-center small,
  .dial-label,
  .hero-mini span,
  .hero-mini strong {
    color: #333 !important;
    border-color: #999;
  }

  .report-body {
    display: block;
    padding: 24px 0;
  }

  .report-section {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 30px;
  }

  .report-section:nth-of-type(2) {
    break-before: page;
  }

  .report-hero::before,
  .report-hero::after {
    display: none;
  }

  .section-title {
    font-size: 22pt;
  }

  .top-signals {
    grid-template-columns: repeat(3, 1fr);
  }

  .signal-card,
  .spectrum-card,
  .map-card,
  .quadrant-card,
  .primary-card,
  .secondary-card,
  .experiment-card,
  .evidence {
    border-color: #bbb;
    background: #fff !important;
    box-shadow: none;
  }

  .evidence {
    max-height: none;
  }

  .evidence > .evidence-list {
    display: block !important;
  }

  a {
    text-decoration: none;
    color: inherit;
  }
}

/* ---------- Server license check ---------- */
.access-check {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg, #f4eee2);
  color: var(--muted, #7b8178);
  font-family: var(--mono, "SFMono-Regular", Menlo, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.access-check[hidden] {
  display: none !important;
}

.access-check-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral, #d9542f);
  animation: access-pulse 1.1s infinite ease-in-out;
}

@keyframes access-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-check-dot {
    animation: none;
  }
}

/* ---------- Quick / deep mode ---------- */
.test-mode-label {
  display: inline-block;
  margin-top: 4px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .overview-grid {
    max-height: 48vh;
    overflow: auto;
  }
}

/* ---------- Quick / deep choice ---------- */
.mode-choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
}

.mode-choice > span {
  margin-right: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.mode-link {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.mode-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.mode-link.is-active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}
