:root {
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --surface-2: #ebe7dd;
  --ink: #25251f;
  --muted: #6d6a60;
  --line: #d8d1c3;
  --accent: #6f7f4a;
  --accent-2: #b99555;
  --danger: #9a4d42;
  --ok: #4c7a5b;
  --shadow: 0 24px 80px rgba(54, 48, 37, 0.12);
  --radius: 18px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  min-height: 100dvh;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(216, 209, 195, 0.72);
  backdrop-filter: blur(18px);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-size: 20px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.66);
}

.lang-switch button {
  border: 0;
  min-height: 30px;
  min-width: 36px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.lang-switch button.active {
  color: #fffdfa;
  background: var(--ink);
}

.link-button,
.ghost-button,
.solid-button,
.soft-button,
.danger-button {
  border: 0;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 16px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
  white-space: nowrap;
}

.link-button {
  background: transparent;
  color: var(--muted);
}

.link-button:hover,
.link-button.active {
  color: var(--ink);
  background: rgba(37, 37, 31, 0.06);
}

.solid-button {
  color: #fffdfa;
  background: var(--ink);
}

.solid-button:hover {
  transform: translateY(-1px);
}

.ghost-button {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.soft-button {
  color: var(--ink);
  background: #e8eadc;
  border: 1px solid rgba(111, 127, 74, 0.28);
}

.danger-button {
  color: #fffdfa;
  background: var(--danger);
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  padding: 64px 0 56px;
}

.eyebrow {
  width: fit-content;
  border: 1px solid rgba(111, 127, 74, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent);
  background: rgba(111, 127, 74, 0.08);
  font-size: 13px;
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.97;
  letter-spacing: 0;
  max-width: 780px;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
  max-width: 650px;
  margin-top: 24px;
}

.hero-copy {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
  max-width: 670px;
  margin-top: 18px;
}

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

.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 209, 195, 0.85);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  display: block;
}

.hero-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
}

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

.stat {
  border-radius: 14px;
  background: rgba(111, 127, 74, 0.1);
  padding: 12px;
}

.stat strong {
  font-size: 22px;
  display: block;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 54px 0;
}

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

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.plain-panel,
.card,
.tool-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plain-panel {
  padding: 36px;
}

.card {
  padding: 24px;
}

.tool-panel {
  padding: 26px;
}

.purpose-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.purpose-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8eadc;
  color: var(--accent);
  font-weight: 700;
}

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

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.bento .wide {
  grid-column: span 2;
}

.image-tile {
  padding: 18px;
  overflow: hidden;
  background: #fff;
}

.image-tile img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.asset-rotator {
  position: relative;
  min-height: 520px;
}

.rotator-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: archetypeRotate 18s infinite;
}

.rotator-card:nth-child(2) {
  animation-delay: 3s;
}

.rotator-card:nth-child(3) {
  animation-delay: 6s;
}

.rotator-card:nth-child(4) {
  animation-delay: 9s;
}

.rotator-card:nth-child(5) {
  animation-delay: 12s;
}

.rotator-card:nth-child(6) {
  animation-delay: 15s;
}

.rotator-card img {
  width: 100%;
  height: calc(100% - 54px);
  object-fit: cover;
  display: block;
}

.rotator-card figcaption {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

@keyframes archetypeRotate {
  0%,
  12% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  16%,
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
}

.foundation-card {
  min-height: 220px;
}

.foundation-symbol {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f4f1e8;
  color: var(--accent);
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.head-symbol {
  background:
    radial-gradient(circle at 50% 45%, rgba(111, 127, 74, 0.18), transparent 30%),
    #f4f1e8;
}

.hand-symbol {
  border-radius: 22px;
}

.assessment-panel {
  display: grid;
  gap: 18px;
}

.assessment-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.archetype-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.archetype-showcase > img {
  width: 100%;
  display: block;
  background: #fff;
}

.archetype-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill-grid span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #e8eadc;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price {
  font-size: 36px;
  line-height: 1;
  margin-top: 16px;
  letter-spacing: 0;
}

.features {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.large-list {
  font-size: 17px;
  line-height: 1.75;
}

.impact-panel {
  display: grid;
  gap: 8px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
}

.app-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0 60px;
}

.side {
  position: sticky;
  top: 94px;
  height: fit-content;
  display: grid;
  gap: 10px;
}

.side .link-button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-radius: 12px;
  padding: 12px 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric strong {
  font-size: 30px;
  line-height: 1;
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfa;
  color: var(--ink);
  padding: 0 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.invite-list,
.result-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.row-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.5fr) minmax(160px, 0.5fr) auto;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(111, 127, 74, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.badge.warn {
  color: #8a6532;
  background: rgba(185, 149, 85, 0.16);
}

.badge.danger {
  color: var(--danger);
  background: rgba(154, 77, 66, 0.12);
}

.assessment-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0 70px;
}

.progress {
  height: 9px;
  background: #e2ddd1;
  border-radius: 999px;
  overflow: hidden;
  margin: 18px 0 26px;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: var(--progress);
  transition: width 200ms ease;
}

.question-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 54px rgba(54, 48, 37, 0.08);
}

.answers {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.answer {
  min-height: 56px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fffdfa;
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
}

.answer:hover,
.answer.selected {
  border-color: var(--accent);
  background: #eef0e3;
}

.report-shell {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.report-toolbar {
  position: sticky;
  top: 88px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
}

.report-toolbar > div:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
}

.report-document {
  display: grid;
  gap: 22px;
}

.report-page {
  min-height: 760px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.report-cover {
  display: grid;
  align-content: start;
  gap: 36px;
}

.report-page-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.report-page-head span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.report-page-head h1,
.report-page-head h2 {
  font-size: 3.75rem;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.report-page-head.compact h2 {
  font-size: 2.75rem;
}

.report-page-head p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 68ch;
  text-wrap: pretty;
}

.report-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.overview-copy,
.overview-note,
.save-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft));
}

.overview-copy h2 {
  font-size: 2rem;
}

.overview-copy p,
.overview-note p,
.reflection-card p {
  color: var(--muted);
  line-height: 1.6;
  text-wrap: pretty;
}

.result-chip-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.result-chip {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.result-chip img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.result-chip span,
.result-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.result-chip strong {
  display: block;
  margin: 2px 0;
  font-size: 1.35rem;
}

.reflection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.reflection-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft));
}

.save-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}

.score-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.chart-panel {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent-soft));
}

.chart-panel h3 {
  margin-bottom: 8px;
}

.emphasis-list {
  gap: 12px;
}

.emphasis-row {
  grid-template-columns: 140px 1fr 64px 96px;
}

.emphasis-row small {
  justify-self: end;
  color: var(--surface);
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 750;
}

.radar-panel {
  background: var(--surface);
}

.radar-wrap {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 18px;
  align-items: center;
}

.radar-wrap svg {
  width: 100%;
  max-width: 320px;
  overflow: visible;
}

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

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

.radar-area {
  fill: color-mix(in srgb, var(--accent) 28%, transparent);
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linejoin: round;
}

.radar-dot {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 2;
}

.radar-label {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 750;
  text-anchor: middle;
  dominant-baseline: middle;
}

.radar-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.radar-legend span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.radar-legend strong {
  color: var(--ink);
  display: block;
}

.top-summary {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.summary-kicker {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}

.top-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.035em;
}

.top-pair span {
  color: var(--muted);
  font-size: 0.45em;
}

.interpretation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.interpretation-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: color-mix(in srgb, var(--surface) 86%, var(--accent-soft));
}

.interpretation-image {
  width: 104px;
  height: 128px;
  object-fit: cover;
  display: block;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.interpretation-card h3 {
  margin-top: 10px;
}

.interpretation-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.chart-heading,
.report-subtitle {
  margin-top: 34px;
}

.save-note {
  margin-top: 28px;
}

.score-row {
  display: grid;
  grid-template-columns: 140px 1fr 62px;
  gap: 12px;
  align-items: center;
}

.tiny-bar {
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.82;
  width: var(--value);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.founder-story {
  display: grid;
  gap: 18px;
}

.founder-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: stretch;
}

.track-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: color-mix(in srgb, var(--surface) 72%, var(--accent-soft));
}

.clean-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.book-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.book-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: var(--surface);
}

.book-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.collaboration-note {
  max-width: 920px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--muted);
}

.footer-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer-logo-slot {
  width: min(240px, 42vw);
  height: 70px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 84%, var(--paper));
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-logo-slot.secondary {
  opacity: 0.78;
}

@media (max-width: 900px) {
  .hero,
  .purpose-grid,
  .app-layout,
  .report,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-card,
  .hero-card img {
    min-height: 360px;
  }

  .bento,
  .plans,
  .steps,
  .dashboard-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .bento .wide {
    grid-column: span 1;
  }

  .side {
    position: static;
  }

  .nav-inner {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .report-shell {
    width: min(100% - 20px, 680px);
    padding-top: 18px;
  }

  .report-toolbar,
  .save-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .report-toolbar > div:first-child,
  .report-toolbar .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .report-page {
    min-height: auto;
    padding: 22px;
    border-radius: 14px;
  }

  .report-page-head h1,
  .report-page-head h2,
  .report-page-head.compact h2 {
    font-size: 2.15rem;
    line-height: 1.02;
  }

  .report-overview,
  .reflection-grid {
    grid-template-columns: 1fr;
  }

  .top-pair {
    font-size: 2.15rem;
  }

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

  .interpretation-card {
    grid-template-columns: 88px 1fr;
    gap: 14px;
  }

  .interpretation-image {
    width: 88px;
    height: 106px;
  }

  .founder-main,
  .book-strip {
    grid-template-columns: 1fr;
  }

  .footer-logos {
    align-items: flex-start;
    flex-direction: column;
  }

  .archetype-labels {
    grid-template-columns: 1fr;
  }

  .assessment-pair {
    grid-template-columns: 1fr;
  }

  .radar-wrap {
    grid-template-columns: 1fr;
  }

  .radar-legend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .report-shell {
    width: min(100% - 14px, 520px);
  }

  .report-page {
    padding: 18px;
  }

  .result-chip {
    grid-template-columns: 62px 1fr;
  }

  .result-chip img {
    width: 62px;
    height: 62px;
  }

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

  .interpretation-image {
    width: 100%;
    height: 180px;
  }

  .score-row {
    grid-template-columns: minmax(120px, 1fr) 72px;
    gap: 8px 12px;
  }

  .score-row > .muted {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .tiny-bar {
    justify-self: end;
    min-width: 28px;
  }

  .emphasis-row {
    grid-template-columns: minmax(116px, 1fr) 72px;
  }

  .emphasis-row small {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .radar-label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .rotator-card {
    animation: none !important;
    opacity: 0;
  }

  .rotator-card:first-child {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .nav,
  .footer,
  .print-hidden {
    display: none !important;
  }

  @page {
    size: A4;
    margin: 12mm;
  }

  body {
    background: #fff;
    font-size: 10pt;
  }

  .page {
    background: #fff;
  }

  .report-shell {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .report-document {
    display: block;
  }

  .report-page {
    min-height: 0;
    height: 273mm;
    break-after: page;
    page-break-after: always;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
  }

  .report-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .report-page-head h1,
  .report-page-head h2,
  .report-page-head.compact h2 {
    font-size: 24pt;
    line-height: 1.05;
  }

  .report-page-head {
    gap: 5mm;
  }

  .report-page-head p,
  .overview-copy p,
  .overview-note p,
  .interpretation-card p,
  .reflection-card p {
    font-size: 10pt;
    line-height: 1.35;
  }

  .report-overview,
  .reflection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10mm;
  }

  .top-pair {
    font-size: 22pt;
  }

  .top-summary {
    gap: 10px;
    margin-top: 12px;
  }

  .summary-kicker {
    font-size: 10pt;
  }

  .overview-copy,
  .overview-note,
  .save-panel,
  .reflection-card,
  .chart-panel,
  .interpretation-card,
  .result-chip {
    padding: 12px;
    border-radius: 10px;
  }

  .overview-copy h2,
  .chart-panel h3,
  .reflection-card h3 {
    font-size: 16pt;
  }

  .result-chip {
    grid-template-columns: 52px 1fr;
  }

  .result-chip img {
    width: 52px;
    height: 52px;
  }

  .interpretation-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .interpretation-card {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  .interpretation-image {
    width: 70px;
    height: 86px;
  }

  .chart-panel {
    gap: 10px;
    margin-top: 12px;
  }

  .score-list {
    gap: 5px;
    margin-top: 8px;
  }

  .score-row {
    grid-template-columns: 110px 1fr 54px;
    gap: 8px;
    font-size: 9pt;
  }

  .emphasis-row {
    grid-template-columns: 110px 1fr 48px 76px;
  }

  .emphasis-row small {
    font-size: 8pt;
    padding: 3px 6px;
  }

  .radar-wrap {
    grid-template-columns: 220px 1fr;
    gap: 10px;
  }

  .radar-wrap svg {
    max-width: 220px;
  }

  .radar-legend {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    font-size: 8pt;
  }

  .radar-legend span {
    padding: 5px 6px;
    border-radius: 8px;
  }

  .interpretation-card,
  .chart-panel,
  .overview-copy,
  .overview-note,
  .reflection-card,
  .result-chip {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
