:root {
  --ink: #f3efe5;
  --muted: #b6b1a3;
  --soft: #8d897f;
  --line: rgba(220, 214, 199, 0.18);
  --paper: #101514;
  --mist: #151b18;
  --panel: #1a211d;
  --panel-2: #202821;
  --sage: #9aa47e;
  --sage-dark: #22352d;
  --clay: #be7d4c;
  --sky: #78959d;
  --gold: #c6a15f;
  --white: #101514;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.64;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
  padding: 0 clamp(18px, 5vw, 80px);
  background: rgba(16, 21, 20, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--clay);
  border-radius: 10px;
  font-size: 16px;
}

.brand-title {
  font-size: 18px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-action,
.primary-button {
  color: #111514;
  background: var(--clay);
  box-shadow: 0 14px 28px rgba(190, 125, 76, 0.18);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.72fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  width: min(1120px, 100%);
  min-height: min(650px, calc(100vh - 64px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 62px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(16, 21, 20, 0.96) 0%, rgba(16, 21, 20, 0.87) 42%, rgba(21, 27, 24, 0.34) 100%),
    radial-gradient(circle at 88% 28%, rgba(120, 149, 157, 0.16), transparent 30%),
    var(--mist);
  overflow: hidden;
}

.hero-copy-block {
  max-width: 680px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--clay);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(31px, 3.7vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 20px;
}

.hero-note {
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-media {
  position: relative;
  min-height: 220px;
  background: #0f1413;
  overflow: hidden;
}

.hero-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.hero-card-body {
  padding: 22px 24px 28px;
}

.hero-card-body span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--clay);
  border: 1px solid rgba(190, 125, 76, 0.42);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-card-body h2 {
  margin-bottom: 12px;
  font-size: clamp(21px, 2.1vw, 26px);
}

.hero-card-body p {
  color: var(--muted);
}

@media (min-width: 1041px) {
  .hero-section {
    grid-template-columns: minmax(0, 0.94fr) minmax(370px, 0.78fr);
    gap: clamp(30px, 5.4vw, 68px);
    width: min(1232px, 100%);
    min-height: min(715px, calc(100vh - 64px));
    padding: clamp(40px, 5.4vw, 68px) clamp(20px, 5.4vw, 76px);
  }

  .hero-copy-block {
    max-width: 748px;
  }

  .hero-section .section-kicker {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero-section .section-kicker::before {
    width: 38px;
    margin-right: 14px;
  }

  .hero-section h1 {
    max-width: 792px;
    margin-bottom: 20px;
    font-size: clamp(34px, 4.05vw, 53px);
  }

  .hero-copy {
    max-width: 638px;
    font-size: clamp(16.5px, 1.15vw, 19px);
  }

  .hero-actions {
    gap: 15px;
    margin: 33px 0 22px;
  }

  .hero-section .primary-button,
  .hero-section .secondary-button {
    min-height: 46px;
    padding: 0 22px;
    font-size: 17px;
  }

  .hero-note {
    font-size: 15px;
  }

  .hero-card-media {
    min-height: 242px;
  }

  .hero-card-media img {
    height: 242px;
  }

  .hero-card-body {
    padding: 24px 26px 31px;
  }

  .hero-card-body span {
    margin-bottom: 13px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero-card-body h2 {
    margin-bottom: 13px;
    font-size: clamp(23px, 2.3vw, 29px);
  }

  .hero-card-body p,
  .hero-card-body a {
    font-size: 17px;
  }
}

.hero-card-body a,
.method-card a,
.text-link,
.footer-bottom a {
  color: var(--clay);
  font-weight: 900;
}

.traits-section,
.method-section,
.guide-section,
.quiz-section,
.result-section,
.article-section,
.faq-section {
  padding: clamp(58px, 7vw, 92px) clamp(18px, 6vw, 96px);
  scroll-margin-top: 72px;
}

.scroll-reveal-ready [data-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(5px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.18, 0.82, 0.22, 1),
    filter 520ms ease;
  will-change: opacity, transform, filter;
}

.scroll-reveal-ready [data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.scroll-reveal-ready [data-scroll-reveal][data-reveal-delay="1"] {
  transition-delay: 45ms;
}

.scroll-reveal-ready [data-scroll-reveal][data-reveal-delay="2"] {
  transition-delay: 85ms;
}

.scroll-reveal-ready [data-scroll-reveal][data-reveal-delay="3"] {
  transition-delay: 125ms;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-ready [data-scroll-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.traits-section {
  background: var(--paper);
}

.traits-section h2 {
  max-width: 880px;
}

.trait-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trait-lines p {
  min-height: 104px;
  margin: 0;
  padding: 28px 28px 26px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.trait-lines p + p {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.lead-line {
  max-width: 940px;
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
}

.method-section {
  background: var(--mist);
}

.section-copy {
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.method-card,
.guide-grid article,
.result-grid article {
  min-height: 250px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%), var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.method-card.emphasized {
  border-color: rgba(190, 125, 76, 0.5);
}

.method-card span,
.guide-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--sage);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.method-card p,
.guide-grid p,
.result-grid p,
.quiz-intro p,
.article-copy p,
.faq-list p,
#resultSummary {
  color: var(--muted);
}

.method-card a {
  display: inline-block;
  margin-top: 14px;
}

.guide-section {
  background: var(--paper);
}

.guide-layout,
.result-layout,
.article-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.16fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.guide-title p {
  max-width: 360px;
  color: var(--muted);
  font-size: 18px;
}

.guide-grid,
.result-grid {
  display: grid;
  gap: 16px;
}

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

.guide-grid article {
  min-height: 190px;
}

.quiz-section {
  background: var(--mist);
}

.quiz-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.04fr);
  gap: 16px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.quiz-intro,
.quiz-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quiz-intro {
  padding: clamp(20px, 2.8vw, 28px);
}

.quiz-panel {
  min-height: 330px;
  padding: clamp(20px, 2.8vw, 28px);
  border-top: 2px solid var(--clay);
}

#questionView,
#charmQuestionView {
  display: grid;
  align-content: start;
}

#questionTitle,
#charmQuestionTitle {
  display: flex;
  min-height: 2.36em;
  align-items: flex-start;
  margin-bottom: 0;
}

.quiz-intro h2 {
  font-size: clamp(22px, 2.25vw, 30px);
}

.quiz-panel h3 {
  font-size: clamp(20px, 1.9vw, 26px);
}

.progress-summary {
  margin-top: 28px;
  color: var(--muted);
  font-weight: 900;
}

.progress-track {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--clay));
  transition: width 0.22s ease;
}

.question-count {
  color: var(--sage);
  font-weight: 900;
}

.option-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 14px;
}

.option {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 13px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  transition: border 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.option span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--clay);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
}

.option strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.48;
}

.option i {
  color: var(--soft);
  font-size: 26px;
  font-style: normal;
  line-height: 1;
}

.option[aria-pressed="true"] {
  background: rgba(190, 125, 76, 0.12);
  border-color: rgba(190, 125, 76, 0.62);
  box-shadow: inset 4px 0 0 var(--clay);
}

.option[aria-pressed="true"] span {
  color: #111514;
  background: var(--clay);
  border-color: var(--clay);
}

.result-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--sage-dark);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.icon-button:disabled,
.primary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 4px;
}

.result-view {
  position: relative;
  min-height: 290px;
  padding: clamp(8px, 1.6vw, 16px) 0 0;
}

.result-view::before {
  content: "";
  display: block;
  width: 72px;
  height: 58px;
  margin: 6px 0 18px;
  background: var(--clay);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.result-view .section-kicker {
  margin-bottom: 10px;
}

#resultTitle {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: clamp(24px, 2.5vw, 32px);
}

#resultTitle span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

#resultSummary {
  display: grid;
  gap: 16px;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.82;
}

#resultSummary strong {
  color: var(--sage);
  font-size: 16px;
  font-weight: 800;
}

#resultSummary em {
  color: var(--muted);
  font-style: normal;
}

.result-tags span {
  padding: 7px 10px;
  color: var(--ink);
  background: rgba(141, 150, 114, 0.12);
  border: 1px solid rgba(141, 150, 114, 0.32);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.result-section {
  background: var(--paper);
}

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

.result-grid article {
  min-height: 180px;
}

.article-section {
  background: var(--mist);
}

.article-copy {
  padding-top: 8px;
  font-size: 17px;
}

.article-page {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(30px, 4.8vw, 54px) 0 clamp(60px, 7vw, 88px);
}

.article-page h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.55vw, 44px);
}

.article-page h2 {
  margin-top: clamp(34px, 4.5vw, 50px);
  padding-left: 18px;
  border-left: 5px solid var(--clay);
  font-size: clamp(23px, 2.45vw, 30px);
}

.article-page h3 {
  color: var(--ink);
}

.article-crumb,
.article-meta {
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.article-crumb {
  margin-bottom: 28px;
}

.article-meta {
  margin-bottom: 24px;
}

.article-hero {
  position: relative;
  display: grid;
  height: clamp(220px, 26vw, 300px);
  min-height: 0;
  margin: 0 0 28px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(190, 125, 76, 0.16), rgba(154, 164, 126, 0.08)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0.62;
}

.article-callout {
  margin: 0 0 34px;
  padding: 20px 24px;
  color: var(--ink);
  background: rgba(190, 125, 76, 0.08);
  border: 1px solid rgba(190, 125, 76, 0.3);
  border-left: 5px solid var(--clay);
  border-radius: 8px;
  font-size: 16px;
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
}

.article-body {
  color: var(--ink);
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.88;
}

.article-body p {
  color: var(--muted);
}

.article-body a {
  color: var(--clay);
}

.article-columns,
.article-steps,
.article-table,
.related-grid {
  display: grid;
  gap: 16px;
  margin: 28px 0 36px;
}

.article-columns,
.article-steps,
.article-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-columns > div,
.article-steps > div,
.article-table > div,
.article-index-card,
.related-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-columns > div,
.article-steps > div,
.article-table > div {
  padding: 20px;
}

.article-steps span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.article-steps.compact > div {
  min-height: 190px;
}

.article-index-card {
  margin: 34px 0 48px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(190, 125, 76, 0.08), rgba(154, 164, 126, 0.06)), var(--panel);
}

.article-index-card h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 22px;
}

.article-index-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--clay);
  font-weight: 900;
}

.article-index-card a {
  color: var(--ink);
}

.article-table > div {
  display: grid;
  gap: 8px;
}

.article-table strong {
  color: var(--clay);
}

.article-table span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.article-next {
  margin: 54px 0 34px;
  padding: 30px;
  background: rgba(112, 145, 156, 0.08);
  border: 1px solid rgba(112, 145, 156, 0.34);
  border-radius: 8px;
}

.article-next h2 {
  margin-top: 0;
}

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

.related-grid a {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.related-grid span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.related-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.advanced-hero {
  min-height: 260px;
}

.advanced-map {
  position: relative;
  display: grid;
  width: min(780px, 86%);
  min-height: 205px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.advanced-map::before,
.advanced-map::after {
  content: "";
  position: absolute;
  inset: 26px 40px;
  border: 1px solid rgba(220, 214, 199, 0.13);
  border-radius: 18px;
}

.advanced-map::after {
  inset: 50px 70px;
  border-color: rgba(190, 125, 76, 0.16);
}

.map-axis {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(154, 164, 126, 0.15), rgba(190, 125, 76, 0.76), rgba(120, 149, 157, 0.2));
}

.map-node {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 118px;
  align-content: center;
  justify-items: center;
  gap: 10px;
  background: rgba(16, 21, 20, 0.62);
  border: 1px solid rgba(220, 214, 199, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.map-node::before {
  content: "";
  width: 42px;
  height: 42px;
  background: rgba(190, 125, 76, 0.18);
  border: 1px solid rgba(190, 125, 76, 0.48);
  border-radius: 999px;
}

.map-node span {
  position: absolute;
  top: 20px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.map-node strong {
  color: var(--ink);
  font-size: 18px;
}

.node-a,
.node-c {
  transform: translateY(26px);
}

.node-b,
.node-d {
  transform: translateY(-26px);
}

.map-copy {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 2;
  padding: 8px 14px;
  color: var(--muted);
  background: rgba(16, 21, 20, 0.78);
  border: 1px solid rgba(220, 214, 199, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.charm-page {
  background:
    linear-gradient(180deg, rgba(16, 21, 20, 0.88), rgba(13, 17, 16, 0.98)),
    var(--paper);
}

.charm-hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4.2vw, 54px);
  align-items: center;
  width: min(1040px, calc(100% - 36px));
  min-height: min(620px, calc(100vh - 64px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 clamp(42px, 6vw, 66px);
}

.charm-hero-copy {
  max-width: 650px;
}

.charm-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(32px, 3.8vw, 48px);
}

.charm-hero-copy h1 span {
  color: var(--clay);
}

.charm-hero-copy > p {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
}

.charm-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 4px;
}

.charm-stats span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.charm-stats strong {
  color: var(--clay);
  font-size: 18px;
}

.charm-dimension-panel,
.charm-quiz-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 44%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.charm-dimension-panel {
  padding: clamp(20px, 2.5vw, 27px);
}

.charm-dimension-panel h2 {
  font-size: clamp(21px, 2.15vw, 27px);
}

.dimension-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.dimension-list div {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

.dimension-list span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.dimension-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dimension-list i,
.charm-score-list i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.dimension-list i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--clay));
}

.charm-proof-section {
  padding: 0 clamp(18px, 6vw, 96px) clamp(44px, 6vw, 68px);
}

.charm-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.charm-proof-grid article {
  min-height: 200px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.charm-proof-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 24px;
  font-weight: 900;
}

.charm-proof-grid h2 {
  font-size: clamp(21px, 2.25vw, 28px);
}

.charm-proof-grid p {
  color: var(--muted);
  font-size: 16px;
}

.charm-quiz-section {
  padding: clamp(46px, 6vw, 70px) clamp(18px, 6vw, 96px);
  background: var(--mist);
  scroll-margin-top: 72px;
}

.charm-quiz-card {
  width: min(780px, 100%);
  min-height: 640px;
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 34px);
  border-top: 2px solid var(--clay);
}

.charm-quiz-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.charm-quiz-head .progress-summary {
  margin-top: 0;
}

.charm-option-list {
  margin-top: 22px;
}

.charm-option-list .option {
  min-height: 68px;
  padding: 12px 16px;
}

.charm-result-view {
  padding-top: 4px;
}

.charm-result-title {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.charm-result-title::before {
  content: "";
  grid-row: 1 / span 3;
  width: 50px;
  height: 50px;
  background: var(--clay);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.charm-result-title span {
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

.charm-result-title h2 {
  margin-bottom: 4px;
  font-size: clamp(26px, 2.8vw, 36px);
}

.charm-result-title p,
.charm-result-summary {
  color: var(--muted);
}

.charm-result-summary {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 700;
}

.charm-score-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.charm-score-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 46px;
  gap: 16px;
  align-items: center;
}

.charm-score-list span,
.charm-score-list strong {
  color: var(--ink);
  font-weight: 900;
}

.charm-score-list b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--clay));
}

.charm-score-list .is-weak span,
.charm-score-list .is-weak strong {
  color: var(--clay);
}

.charm-result-callout {
  margin: 0 0 24px;
  padding: 20px 22px;
  background: rgba(190, 125, 76, 0.1);
  border: 1px solid rgba(190, 125, 76, 0.32);
  border-left: 4px solid var(--clay);
  border-radius: 8px;
}

.charm-result-callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 18px;
}

.charm-result-callout p {
  margin: 0;
  color: var(--ink);
}

.charm-next-section {
  background: var(--paper);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

@media (min-width: 1041px) {
  .traits-section,
  .method-section,
  .guide-section,
  .quiz-section,
  .result-section,
  .article-section,
  .faq-section {
    padding: clamp(52px, 6.3vw, 83px) clamp(16px, 5.4vw, 86px);
  }

  .traits-section .section-inner,
  .method-section .section-inner,
  .guide-section .section-inner,
  .result-section .section-inner,
  .article-section .section-inner,
  .faq-section .section-inner {
    width: min(1044px, 100%);
  }

  .traits-section h2,
  .method-section h2,
  .guide-section h2,
  .quiz-section h2,
  .result-section h2,
  .article-section h2,
  .faq-section h2 {
    margin-bottom: 16px;
    font-size: clamp(23px, 2.7vw, 34px);
  }

  .traits-section h3,
  .method-section h3,
  .guide-section h3,
  .quiz-section h3,
  .result-section h3,
  .article-section h3,
  .faq-section h3 {
    margin-bottom: 11px;
    font-size: 19px;
  }

  .traits-section .section-kicker,
  .method-section .section-kicker,
  .guide-section .section-kicker,
  .quiz-section .section-kicker,
  .result-section .section-kicker,
  .article-section .section-kicker,
  .faq-section .section-kicker {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .traits-section .section-kicker::before,
  .method-section .section-kicker::before,
  .guide-section .section-kicker::before,
  .quiz-section .section-kicker::before,
  .result-section .section-kicker::before,
  .article-section .section-kicker::before,
  .faq-section .section-kicker::before {
    width: 31px;
    margin-right: 11px;
  }

  .trait-lines {
    margin-top: 30px;
  }

  .trait-lines p {
    min-height: 94px;
    padding: 25px 25px 23px 0;
    font-size: 15px;
  }

  .trait-lines p + p {
    padding-left: 25px;
  }

  .lead-line {
    max-width: 846px;
    margin-top: 30px;
    font-size: clamp(16px, 1.45vw, 20px);
  }

  .section-copy,
  .guide-title p,
  .article-copy,
  .article-copy p,
  .method-card p,
  .guide-grid p,
  .result-grid p,
  .quiz-intro p,
  .faq-list p,
  #resultSummary {
    font-size: 15px;
  }

  .method-grid {
    gap: 14px;
    margin-top: 30px;
  }

  .method-card,
  .guide-grid article,
  .result-grid article {
    min-height: 225px;
    padding: 20px;
  }

  .method-card span,
  .guide-grid span {
    margin-bottom: 25px;
    font-size: 27px;
  }

  .guide-layout,
  .result-layout,
  .article-layout,
  .faq-layout {
    gap: clamp(29px, 5.4vw, 72px);
  }

  .guide-grid,
  .result-grid,
  .faq-list {
    gap: 14px;
  }

  .guide-grid article {
    min-height: 171px;
  }

  .quiz-section:not(.inline-quiz-section) .quiz-shell {
    width: min(880px, 100%);
    gap: 16px;
  }

  .quiz-section:not(.inline-quiz-section) .quiz-intro,
  .quiz-section:not(.inline-quiz-section) .quiz-panel {
    padding: clamp(20px, 2.5vw, 28px);
  }

  .quiz-section:not(.inline-quiz-section) .quiz-panel {
    min-height: 318px;
  }

  .quiz-section:not(.inline-quiz-section) .option-list {
    gap: 8px;
    margin: 18px 0 14px;
  }

  .quiz-section:not(.inline-quiz-section) .option {
    grid-template-columns: 34px 1fr 15px;
    gap: 12px;
    min-height: 50px;
    padding: 10px 13px;
  }

  .quiz-section:not(.inline-quiz-section) .option span {
    width: 33px;
    height: 33px;
  }

  .quiz-section:not(.inline-quiz-section) .option strong {
    font-size: 15px;
  }

  .result-view {
    min-height: 261px;
  }

  .result-view::before {
    width: 65px;
    height: 52px;
    margin-bottom: 16px;
  }

  .result-grid article {
    min-height: 162px;
  }

  details {
    padding: 18px 20px;
  }

  summary {
    font-size: 16px;
  }
}

.site-footer {
  padding: 72px clamp(18px, 6vw, 96px) 34px;
  background: #0d1110;
  color: var(--ink);
}

.site-footer .brand-mark {
  background: var(--clay);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(34px, 7vw, 96px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: #aeb8b1;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: #c99a71;
  font-size: 14px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #d4d9d3;
  font-weight: 800;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 26px;
  color: #aeb8b1;
  border-top: 1px solid rgba(251, 252, 248, 0.14);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-section,
  .charm-hero-section,
  .method-grid,
  .guide-layout,
  .quiz-shell,
  .result-layout,
  .article-layout,
  .faq-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .article-columns,
  .article-steps,
  .article-table,
  .charm-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 52px;
  }

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

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

  .charm-hero-section {
    min-height: auto;
  }

  .charm-quiz-head {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .brand-title {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .hero-copy,
  .lead-line,
  .section-copy,
  .article-copy {
    font-size: 17px;
  }

  .hero-actions,
  .result-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .header-action {
    width: 100%;
  }

  .trait-lines,
  .method-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .trait-lines p,
  .trait-lines p + p {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-card-body,
  .method-card,
  .guide-grid article,
  .result-grid article,
  .quiz-intro,
  .quiz-panel {
    padding: 24px;
  }

  .article-page {
    width: min(100% - 28px, 980px);
    padding-top: 34px;
  }

  .article-page h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .article-page h2 {
    margin-top: 42px;
    font-size: clamp(26px, 8vw, 34px);
  }

  .article-body {
    font-size: 17px;
    line-height: 1.9;
  }

  .article-hero,
  .article-hero img,
  .advanced-hero {
    min-height: 200px;
  }

  .charm-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .charm-stats,
  .charm-score-list div {
    grid-template-columns: 1fr;
  }

  .charm-stats {
    display: grid;
  }

  .charm-dimension-panel,
  .charm-proof-grid article,
  .charm-quiz-card {
    padding: 22px;
  }

  .charm-result-title {
    grid-template-columns: 1fr;
  }

  .charm-result-title::before {
    grid-row: auto;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }

  .charm-score-list div {
    gap: 8px;
  }

  .article-callout,
  .article-index-card,
  .article-next {
    padding: 22px;
  }

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

  .advanced-map {
    width: 92%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .map-axis,
  .advanced-map::before,
  .advanced-map::after,
  .map-copy {
    display: none;
  }

  .node-a,
  .node-b,
  .node-c,
  .node-d {
    transform: none;
  }

  .map-node {
    min-height: 96px;
  }
}
