/* PELAGIC / JiaVerse — an ocean journal. Presentation only; quiz and export stay intact. */
:root {
  --abyss: #062d45;
  --abyss-soft: #0b405a;
  --cyan: #72e6dc;
  --ice: #c6f4ee;
  --bone: #f3f8f5;
  --ink: #092f43;
  --muted: #516f79;
  --line: #b7d1cd;
  --focus: #ffac48;
  background: var(--bone);
}
html, body { background: var(--bone); }
button { -webkit-tap-highlight-color: transparent; }
.topbar {
  height: 76px;
  padding: 0 clamp(24px, 4.4vw, 72px);
  background: var(--abyss);
  border: 0;
}
.brand { gap: 12px; font-size: 17px; letter-spacing: .06em; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); }
.brand small { margin-left: 12px; color: #a4c9d2; font-size: 10px; letter-spacing: .15em; }
.topbar .icon-button { border-color: #769dac; border-radius: 50%; }
.primary-button, .secondary-button, .danger-button {
  min-height: 52px;
  padding-inline: 25px;
  border-radius: 999px;
  font-size: 14px;
}
.primary-button { color: #f3ffff; background: #075775; border-color: #075775; }
.primary-button:hover:not(:disabled) { color: #fff; background: #063c55; border-color: #063c55; }
.secondary-button { color: #124c60; border-color: #6b999f; }
.secondary-button:hover:not(:disabled) { background: #d1f4ed; border-color: #165c70; }
.section-kicker, .detail-label { font-size: 11px; letter-spacing: .09em; color: #286b7c; }
.text-link { font-size: 13px; }

/* Cover: clear type at the left, a photograph with its own breathing room. */
.home-page { background: var(--bone); }
.home-hero {
  min-height: 680px;
  height: min(780px, calc(100svh - 76px));
  color: var(--ink);
  background: #bcf1e9;
  border-bottom: 1px solid #8dc9c3;
  overflow: hidden;
}
.hero-background {
  z-index: -1;
  inset: 38px 3% 72px auto;
  width: 50%;
  height: calc(100% - 110px);
  object-fit: cover;
  object-position: 53% center;
  border-radius: 2px 2px 120px 2px;
  animation: none;
}
.hero-wash { display: none; }
.hero-content {
  align-items: flex-start;
  justify-content: center;
  width: 47%;
  max-width: 720px;
  height: 100%;
  margin: 0;
  padding: 34px 3.3% 40px 4.4%;
}
.eyebrow {
  color: #165e70;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: .12em;
}
.eyebrow svg { width: 17px; height: 17px; }
.hero-content h1 {
  width: max-content;
  max-width: 100%;
  color: #07364c;
  margin: 28px 0 30px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(68px, 7.45vw, 118px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.hero-lead {
  max-width: 450px;
  color: #0a4659;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 550;
  line-height: 1.65;
}
.hero-description { max-width: 420px; color: #426f78; margin-top: 18px; font-size: 13px; line-height: 1.8; }
.hero-actions { gap: 10px; margin-top: 30px; }
.hero-actions .primary-button { min-height: 56px; padding-inline: 26px; }
.hero-secondary { color: #124c60; border-color: #63969c; }
.hero-secondary:hover:not(:disabled) { color: #123f51; background: #effcf8; }
.hero-reset { color: #326c79; font-size: 12px; }
.hero-stats { width: 100%; max-width: 420px; margin-top: 38px; border-top: 1px solid #6faeac; border-bottom: 0; }
.hero-stats span { flex: 1 1 0; min-width: 0; margin-right: 12px; padding: 17px 12px 0 0; border-right-color: #86bab7; }
.hero-stats strong { color: #0a4a62; font-family: Georgia, serif; font-weight: 400; font-size: 30px; }
.hero-stats small { color: #3d747e; margin-top: 5px; font-size: 10px; }
.hero-observation {
  z-index: 2;
  top: 64px;
  right: calc(3% + 26px);
  color: #f2ffff;
  padding: 10px 12px;
  border: 1px solid #c6f3fa60;
  background: #07304778;
  font-size: 9px;
  letter-spacing: .07em;
}
.hero-bottom-line { color: #256579; right: 4.4%; bottom: 28px; font-size: 10px; letter-spacing: .04em; }
.preview-band { padding: 68px 4.4% 50px; background: var(--bone); }
.section-heading { max-width: 1320px; width: 100%; margin-bottom: 36px; }
.section-heading h2 { max-width: 760px; font-size: clamp(27px, 3vw, 43px); line-height: 1.5; letter-spacing: -.035em; }
.preview-grid { width: 100%; max-width: 1320px; gap: 30px; }
.preview-organism { background: transparent; border: 0; border-radius: 0; }
.preview-media { aspect-ratio: 5 / 4; border-radius: 2px; }
.preview-media > span { top: 15px; left: 15px; padding: 7px 9px; border-radius: 50%; background: #f3fbef; color: #0b465d; border: 0; }
.preview-copy { min-height: 216px; border-top: 0; border-bottom: 1px solid #b6cfca; padding: 22px 0 28px; }
.preview-copy h3 { color: #0b4057; font-family: "Songti SC", "STSong", serif; font-size: 35px; letter-spacing: -.04em; }
.preview-copy strong { display: block; margin-top: 7px; font-weight: 500; }
.preview-copy p { max-width: 34em; font-size: 14px; }
.disclaimer { border-top: 1px solid #d5e3dc; color: #6a8187; font-size: 11px; padding-top: 26px; }

/* The dive: a photographic journal spread, with generous answer targets. */
.quiz-page { background: #d7efe9; color: var(--ink); min-height: calc(100vh - 76px); padding: 32px 4.4% 52px; }
.quiz-progress-row { width: 100%; max-width: 1360px; margin-bottom: 24px; gap: 20px; }
.quiz-progress-row .icon-button { color: #0d5067; border-color: #71a4a8; border-radius: 50%; }
.progress-journey { gap: 12px; }
.progress-chapter { gap: 12px; }
.progress-chapter span { color: #276a79; font-size: 11px; letter-spacing: .08em; }
.progress-chapter strong { color: #0b455b; font-size: 13px; font-weight: 650; }
.progress-track { height: 3px; border-radius: 0; background: #a8d2ca; }
.progress-track .progress-fill { background: #075875; }
.progress-track i { background: #78aea9; }
.progress-number { color: #1d6070; font-size: 13px; }
.quiz-stage {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  width: 100%;
  max-width: 1360px;
  min-height: 670px;
  border: 0;
  border-radius: 0 0 56px 0;
  background: var(--bone);
}
.question-media { min-height: 670px; background: #06374d; }
.question-media > img, .question-media > .image-fallback { animation: none; }
.question-media-shade { background: transparent; box-shadow: inset 0 -230px 130px #032438bd; }
.observation-grid { inset: 28px; border: 0; grid-template-columns: 1fr; }
.observation-grid > span { width: fit-content; height: fit-content; padding: 9px 11px; border: 1px solid #c4f1fa70; background: #07304755; font-size: 10px; }
.observation-grid > strong { padding: 0 0 20px; max-width: 10em; font-size: clamp(28px, 3.4vw, 49px); font-weight: 500; line-height: 1.45; letter-spacing: -.045em; }
.observation-grid > small { grid-area: 3 / 1; width: 100%; border-top: 1px solid #b4dfeb80; padding: 15px 0 0; color: #a2e7e0; font-size: 11px; letter-spacing: .14em; }
.question-panel { padding: 42px clamp(30px, 4vw, 64px); }
.question-kicker { color: #287a87; font-size: 12px; letter-spacing: .04em; }
.question-panel h1 { margin: 15px 0 26px; font-size: clamp(27px, 2.4vw, 37px); line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
.question-prompt { margin-top: -8px; margin-bottom: 24px; color: #617f85; font-size: 12px; line-height: 1.6; }
.option-list { gap: 10px; }
.option-button { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 13px; min-height: 84px; padding: 14px 17px; background: #fffefa; border-color: #c3d9d2; border-radius: 2px; }
.option-button:hover:not(:disabled) { background: #e7f9f1; border-color: #2a8a91; transform: translateX(3px); }
.option-letter { width: 32px; height: 32px; color: #215b6b; background: transparent; border-color: #9fbdba; font-family: Georgia, serif; font-size: 15px; font-weight: 500; }
.option-copy { gap: 5px; }
.option-copy strong { color: #103e50; font-size: 15px; line-height: 1.4; }
.option-copy span { color: #54737b; font-size: 13px; line-height: 1.6; }
.option-button.selected { background: #baf0e2; border-color: #167777; box-shadow: inset 4px 0 #087077; }
.option-button.selected .option-letter { color: #fff; background: #096b78; border-color: #096b78; }
.option-check > span { border-color: #8aaea9; }

/* Field notes: the result is a keepsake spread, not a dashboard card. */
.result-page { background: #d7eee7; padding: 44px 4.4% 70px; }
.result-toolbar { width: 100%; max-width: 1280px; margin-bottom: 32px; }
.result-toolbar h1 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -.04em; }
.result-actions .secondary-button { background: #f0faf4; border-color: #8bafaa; }
.result-archive { width: 100%; max-width: 1280px; border: 0; border-radius: 0; background: #fbfcf6; }
.result-hero { min-height: 580px; background: #063b53; }
.result-hero > img, .result-hero > .image-fallback { height: 580px; animation: none; object-position: center 45%; }
.result-hero-shade { background: transparent; box-shadow: inset 0 -330px 190px #02273ac9; }
.result-identity { left: 5%; bottom: 48px; width: min(760px, 90%); }
.result-identity > span { font-size: 12px; letter-spacing: .14em; color: #cef4e8; }
.result-identity h2 { margin: 14px 0 12px; font-size: clamp(64px, 7.2vw, 104px); font-weight: 500; letter-spacing: -.065em; }
.result-identity > strong { color: #d1eeda; font-size: 13px; font-weight: 500; }
.result-identity blockquote { max-width: 34em; margin-top: 22px; font-size: 22px; line-height: 1.65; }
.result-code { top: 28px; right: 30px; min-width: 110px; background: #f2f9e7; color: #155166; border: 0; border-radius: 0; padding: 15px 18px; font-size: 23px; }
.result-code small { color: #4a7780; }
.result-sonar { top: 32px; left: 5%; width: 78px; height: 78px; border-color: #c0efe096; }
.result-sonar span:nth-child(3) { width: 34px; }
.result-introduction { gap: 56px; padding: 50px 5%; border-bottom-color: #c6d9cd; }
.intro-copy > p { color: #294d56; font-size: 17px; line-height: 1.95; }
.intro-copy .ecology-note { font-size: 12px; color: #6e8587; }
.result-observation { border-top-color: #167280; }
.result-observation > div { padding-block: 15px; border-color: #cfdfd4; }
.result-observation dd { color: #285c65; line-height: 1.55; }
.trait-section, .axis-insight-section, .reflection-section { padding: 48px 5%; border-bottom-color: #c6d9cd; }
.result-section-heading h2 { color: #0d4557; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.035em; }
.result-section-heading > p { color: #627f80; max-width: 360px; }
.axis-list { gap: 26px 54px; }
.axis-name strong { color: #0e5c70; font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.axis-track { height: 5px; border-radius: 0; background: #d9e8dc; margin-top: 11px; }
.axis-poles { margin-top: 9px; }
.axis-insight-grid { border-color: #c5d9cd; gap: 22px; }
.axis-insight, .axis-insight:nth-child(3n) { margin-right: 0; padding: 26px 24px 20px 0; border-right-color: #cfdfd4; }
.axis-insight:last-child { padding-right: 0; border-right: 0; }
.axis-insight h3 { font-size: 22px; line-height: 1.5; }
.axis-insight p { font-size: 14px; }
.reflection-columns { gap: 24px; }
.reflection-columns > div { background: #edf5e9; border-left-width: 2px; padding: 24px; }
.life-guide-grid { border-color: #cadacf; }
.life-guide-grid > div { border-color: #cadacf; padding: 25px; }
.growth-note { border-radius: 0; border-color: #c0d7c5; padding: 24px; }
.growth-note p { line-height: 1.7; }
.shadow-strip { background: #0a4256; gap: 38px; }
.shadow-strip h2 { font-size: 41px; font-weight: 500; }
.result-footer { background: #edf3e8; color: #637c7d; letter-spacing: .05em; }
.feedback-panel { max-width: 1280px; background: #0a3e53; border: 0; border-radius: 0; padding: 36px 5%; }
.feedback-heading h2 { font-weight: 500; }
.feedback-rating label > span { background: #154d60; border-color: #65939c; border-radius: 0; }
.feedback-rating input:checked + span { background: #c7edd0; border-color: #c7edd0; }
.feedback-choice-list button { border-radius: 999px; }
.feedback-submit { background: #9de5d8; color: #083a4e; border-color: #9de5d8; }
.after-result-actions { margin-top: 30px; }

/* Atlas: photographic index pages in the same journal. */
.atlas-page { background: #eaf5eb; color: #103e50; padding: 52px 4.4% 72px; }
.atlas-heading { max-width: 1320px; width: 100%; margin-bottom: 42px; gap: 22px; }
.atlas-heading .icon-button { color: #165d71; border-color: #81aaa8; border-radius: 50%; }
.atlas-heading .section-kicker { color: #32747d; }
.atlas-heading h1 { color: #0a4157; font-size: clamp(34px, 4vw, 58px); font-weight: 500; letter-spacing: -.05em; }
.atlas-heading p { color: #567a80; max-width: 50em; font-size: 14px; }
.atlas-grid { width: 100%; max-width: 1320px; gap: 36px 28px; }
.atlas-organism { background: #f9fcf3; border: 0; border-radius: 0; }
.atlas-image { aspect-ratio: 5 / 4; }
.atlas-image > span { color: #0b4759; background: #eff7e5; border: 0; border-radius: 0; padding: 8px 11px; }
.atlas-image > small { color: #f4ffff; background: #06374aab; padding: 7px 9px; border-radius: 0; }
.atlas-copy { min-height: 255px; padding: 24px 24px 28px; border-top: 0; border-bottom: 1px solid #b7d1c2; }
.atlas-copy > span { color: #698c88; font-size: 10px; letter-spacing: .07em; }
.atlas-copy h2 { color: #0b4a5e; margin-top: 12px; font-size: 35px; font-weight: 500; }
.atlas-copy > strong { color: #35727b; display: block; margin-top: 6px; font-weight: 600; }
.atlas-copy > p { color: #4c7078; font-size: 14px; }
.atlas-tags small { color: #426b71; border-color: #c2d8cc; background: #eff7e9; border-radius: 999px; padding: 5px 9px; }
.hidden-note { color: #577d80; max-width: 1320px; width: 100%; border-color: #91b5af; border-radius: 0; margin-top: 32px; }
.reset-dialog { background: #f5faf0; border: 0; border-radius: 4px; }
.reset-dialog .icon-button { border-radius: 50%; }
.toast { border-radius: 999px; background: #0a4157; border-color: #75b3b9; }

@media (width <= 1100px) and (width > 760px) {
  .home-hero { min-height: 710px; }
  .hero-content { padding-left: 4%; padding-right: 2.8%; }
  .hero-content h1 { font-size: 7.5vw; margin-block: 25px; }
  .hero-lead { font-size: 22px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 9px; margin-top: 24px; }
  .hero-actions .primary-button, .hero-actions .secondary-button { padding-inline: 17px; min-height: 49px; font-size: 12px; }
  .hero-stats { margin-top: 28px; }
  .hero-stats strong { font-size: 26px; }
  .quiz-stage { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .question-panel { padding: 34px 26px; }
  .question-panel h1 { font-size: 28px; }
  .observation-grid { inset: 22px; }
  .observation-grid > strong { font-size: 31px; }
  .preview-grid { gap: 22px; }
  .result-introduction { gap: 30px; }
}

@media (width <= 760px) {
  .topbar { height: 62px; padding-inline: 18px; }
  .brand { font-size: 14px; gap: 9px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand small { display: none; }
  .topbar .icon-button { width: 38px; height: 38px; }
  .primary-button, .secondary-button, .danger-button { min-height: 48px; font-size: 13px; padding-inline: 18px; }
  .home-hero { height: auto; min-height: 0; }
  .hero-background { inset: 145px 18px auto; width: calc(100% - 36px); height: 225px; border-radius: 0 0 70px 0; object-position: center 47%; }
  .hero-content { display: block; width: 100%; max-width: none; height: auto; padding: 26px 22px 30px; }
  .eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .06em; }
  .eyebrow svg { width: 14px; height: 14px; }
  .hero-content h1 { margin: 15px 0 264px; font-size: clamp(54px, 14.6vw, 76px); line-height: 1.03; letter-spacing: -.065em; }
  .hero-lead { max-width: 100%; font-size: 21px; line-height: 1.6; }
  .hero-description { max-width: 100%; margin-top: 10px; color: #427078; font-size: 12px; line-height: 1.8; }
  .hero-actions { width: 100%; gap: 9px; margin-top: 20px; flex-wrap: wrap; }
  .hero-actions .primary-button, .hero-actions .secondary-button { min-height: 50px; min-width: 0; flex: 1 1 auto; padding-inline: 15px; font-size: 13px; }
  .hero-reset { flex-basis: 100%; width: max-content; justify-content: center; min-height: 32px; }
  .hero-stats { margin-top: 22px; max-width: none; }
  .hero-stats span { margin-right: 12px; padding: 13px 12px 0 0; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats small { font-size: 9px; margin-top: 4px; }
  .hero-observation { top: 160px; right: 33px; font-size: 7px; gap: 5px; padding: 8px 9px; }
  .hero-bottom-line { display: none; }
  .preview-band { padding: 38px 22px 32px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: 28px; line-height: 1.55; }
  .preview-grid { grid-template-columns: 1fr; gap: 28px; }
  .preview-media { aspect-ratio: 5 / 3; }
  .preview-copy { min-height: 0; padding: 19px 0 23px; }
  .preview-copy h3 { font-size: 31px; }
  .preview-copy p { margin-top: 12px; }
  .disclaimer { margin-inline: 22px; padding: 23px 0 32px; font-size: 10px; }
  .quiz-page { min-height: calc(100vh - 62px); padding: 18px 14px 32px; }
  .quiz-progress-row { grid-template-columns: 38px minmax(0, 1fr) 63px; gap: 11px; margin-bottom: 17px; }
  .progress-journey { gap: 10px; }
  .progress-chapter { gap: 7px; }
  .progress-chapter span { font-size: 9px; }
  .progress-chapter strong { font-size: 11px; }
  .progress-number { font-size: 11px; }
  .quiz-stage { grid-template-columns: 1fr; min-height: 0; border-radius: 0 0 30px 0; }
  .question-media { min-height: 0; height: 190px; }
  .question-media > img, .question-media > .image-fallback { object-position: center 45%; }
  .question-media-shade { box-shadow: inset 0 -145px 100px #032438ad; }
  .observation-grid { inset: 17px 20px; grid-template-rows: auto 1fr; grid-template-columns: 1fr auto; }
  .observation-grid > span { padding: 0; border: 0; background: none; font-size: 9px; }
  .observation-grid > strong { grid-column: 1 / -1; padding: 0; max-width: 12em; font-size: 30px; line-height: 1.3; }
  .observation-grid > small { grid-area: 1 / 2; width: auto; padding: 0; border: 0; font-size: 8px; align-self: center; }
  .question-panel { padding: 27px 21px 29px; }
  .question-kicker { font-size: 11px; letter-spacing: .03em; }
  .question-panel h1 { margin: 12px 0 23px; font-size: 25px; line-height: 1.5; }
  .question-prompt { margin-top: -10px; margin-bottom: 20px; font-size: 11px; }
  .option-list { gap: 10px; }
  .option-button { grid-template-columns: 29px minmax(0, 1fr) 16px; gap: 10px; min-height: 79px; padding: 13px 12px; }
  .option-letter { width: 28px; height: 28px; font-size: 13px; }
  .option-copy strong { font-size: 14px; }
  .option-copy span { font-size: 12px; line-height: 1.55; }
  .option-check { width: 16px; height: 20px; }
  .result-page { padding: 29px 14px 46px; }
  .result-toolbar { display: block; margin-bottom: 21px; }
  .result-toolbar h1 { margin-top: 9px; font-size: 30px; }
  .result-actions { gap: 9px; margin-top: 18px; }
  .result-actions .secondary-button { min-height: 44px; font-size: 12px; padding-inline: 18px; }
  .result-hero, .result-hero > img, .result-hero > .image-fallback { min-height: 470px; height: 470px; }
  .result-hero-shade { box-shadow: inset 0 -300px 150px #02273ace; }
  .result-identity { left: 23px; bottom: 29px; width: calc(100% - 46px); }
  .result-identity > span { font-size: 10px; letter-spacing: .1em; }
  .result-identity h2 { margin: 12px 0; font-size: clamp(49px, 15vw, 70px); line-height: 1.08; }
  .result-identity > strong { font-size: 11px; line-height: 1.6; }
  .result-identity blockquote { margin-top: 18px; font-size: 18px; line-height: 1.7; }
  .result-code { top: 19px; right: 20px; min-width: 98px; padding: 12px; font-size: 18px; }
  .result-code small { font-size: 9px; }
  .result-sonar { left: 22px; top: 24px; width: 61px; height: 61px; }
  .result-sonar span { inset: 11px; }
  .result-sonar span:nth-child(2) { inset: 23px; }
  .result-sonar span:nth-child(3) { width: 26px; }
  .result-introduction, .trait-section, .axis-insight-section, .reflection-section { padding: 32px 23px; }
  .result-introduction { gap: 29px; }
  .intro-copy > p { font-size: 15px; line-height: 1.9; }
  .intro-copy .ecology-note { font-size: 11px; }
  .result-section-heading { margin-bottom: 25px; }
  .result-section-heading h2 { font-size: 27px; line-height: 1.5; }
  .result-section-heading > p { font-size: 11px; line-height: 1.7; }
  .axis-list { gap: 24px; }
  .axis-name strong { font-size: 28px; }
  .axis-insight-grid, .axis-insight-grid.is-hidden-result { gap: 0; }
  .axis-insight, .axis-insight:nth-child(2n), .axis-insight:nth-child(3n) { border-right: 0; padding: 23px 0; margin: 0; }
  .axis-insight h3 { font-size: 21px; }
  .axis-insight p { font-size: 13px; }
  .reflection-columns { gap: 14px; }
  .reflection-columns > div { padding: 19px; }
  .reflection-columns ul { font-size: 14px; }
  .life-guide-grid > div { padding: 22px 0; }
  .growth-note { padding: 19px; gap: 12px; }
  .growth-note svg { flex: 0 0 22px; }
  .growth-note p { font-size: 16px; }
  .shadow-strip { grid-template-columns: 106px minmax(0, 1fr); gap: 17px; padding-right: 16px; }
  .shadow-strip > img, .shadow-strip > .image-fallback { width: 106px; height: 186px; }
  .shadow-strip h2 { font-size: 30px; }
  .shadow-strip strong { font-size: 11px; line-height: 1.6; display: block; }
  .result-footer { padding: 12px; font-size: 9px; line-height: 1.5; text-align: center; }
  .feedback-panel { padding: 28px 22px; }
  .feedback-heading h2 { font-size: 26px; }
  .feedback-heading > p { font-size: 11px; }
  .feedback-rating label > span { min-height: 66px; }
  .feedback-rating small { font-size: 9px; }
  .feedback-choice-list button { font-size: 11px; min-height: 36px; padding-inline: 10px; }
  .after-result-actions { gap: 10px; }
  .atlas-page { padding: 33px 18px 48px; }
  .atlas-heading { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; margin-bottom: 30px; }
  .atlas-heading h1 { font-size: 34px; line-height: 1.4; }
  .atlas-heading p { font-size: 12px; line-height: 1.8; }
  .atlas-grid { grid-template-columns: 1fr; gap: 27px; }
  .atlas-image { aspect-ratio: 5 / 3; }
  .atlas-copy { min-height: 0; padding: 23px; }
  .atlas-copy h2 { font-size: 32px; }
  .atlas-copy > p { font-size: 13px; }
  .hidden-note { margin-top: 27px; padding: 18px; font-size: 11px; line-height: 1.7; }
  .toast { max-width: calc(100% - 28px); right: 14px; bottom: 18px; border-radius: 8px; }
}

@media (width <= 390px) {
  .hero-content { padding-inline: 20px; }
  .hero-actions .primary-button, .hero-actions .secondary-button { flex-basis: auto; width: auto; padding-inline: 12px; font-size: 12px; }
  .hero-stats span { margin-right: 9px; padding-right: 9px; }
  .hero-stats small { font-size: 9px; }
  .hero-lead { font-size: 20px; }
  .question-panel { padding-inline: 17px; }
  .question-panel h1 { font-size: 24px; }
  .option-button { padding-inline: 10px; gap: 8px; }
  .option-copy span { font-size: 12px; }
  .result-identity { width: calc(100% - 38px); left: 19px; }
  .result-identity h2 { font-size: 48px; }
  .result-introduction, .trait-section, .axis-insight-section, .reflection-section { padding-inline: 20px; }
  .result-toolbar h1 { font-size: 27px; }
  .feedback-panel { padding-inline: 18px; }
  .feedback-rating small { font-size: 8px; }
  .atlas-heading h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .quiz-page *, .result-page *, .atlas-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
