:root {
  --navy-950: #0a1c33;
  --navy-900: #102846;
  --navy-800: #17395f;
  --navy-700: #24517b;
  --ink: #132136;
  --ink-soft: #526174;
  --cream: #f6f3ec;
  --paper: #fffdf8;
  --white: #ffffff;
  --gold: #bd9250;
  --gold-dark: #946d31;
  --gold-pale: #f0e5d1;
  --line: #d9dfe5;
  --line-warm: #e8dfd0;
  --warning-bg: #fff9ee;
  --warning-line: #d7aa61;
  --shadow: 0 28px 80px rgba(13, 35, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 6%, rgba(189, 146, 80, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 88%, rgba(36, 81, 123, 0.09), transparent 32rem),
    linear-gradient(145deg, #f9f7f1 0%, #f4f1ea 55%, #f8f6f0 100%);
}

.page-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.ambient {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(189, 146, 80, 0.22);
  border-radius: 999px;
  pointer-events: none;
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: -215px;
  right: -105px;
}

.ambient-two {
  width: 260px;
  height: 260px;
  bottom: -155px;
  left: -90px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy-950);
  box-shadow: 0 5px 18px rgba(10, 28, 51, 0.16);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.28);
}

.brand-name,
.brand-caption {
  display: block;
}

.brand-name {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-caption {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.intro-main .page-wrap {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.intro-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  width: 100%;
  max-width: 1060px;
  margin: auto;
  padding: clamp(42px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(189, 146, 80, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 253, 248, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.intro-card::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -210px;
  bottom: -250px;
  border: 1px solid rgba(189, 146, 80, 0.25);
  border-radius: 50%;
  content: "";
}

.intro-mark {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 9px;
}

.intro-mark span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.intro-mark i {
  display: block;
  width: 1px;
  height: 118px;
  background: linear-gradient(var(--gold), transparent);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-copy h1,
.question-card h1,
.notice-card h1,
.result-header h1 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.intro-copy h1 {
  max-width: 760px;
  font-size: clamp(40px, 5.2vw, 69px);
  line-height: 1.04;
}

.intro-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #44546a;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

.intro-note {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 690px;
  margin-top: 26px;
}

.intro-note p {
  margin: 0;
  color: var(--navy-800);
  font-size: 15px;
  line-height: 1.55;
}

.note-line {
  width: 44px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.intro-actions > span {
  color: var(--ink-soft);
  font-size: 13px;
}

.privacy-note {
  max-width: 680px;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-warm);
  color: #6a7482;
  font-size: 12px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.option-card:focus-visible {
  outline: 3px solid rgba(36, 81, 123, 0.24);
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-large {
  min-height: 58px;
  padding: 15px 27px;
  font-size: 15px;
}

.button-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(16, 40, 70, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: var(--navy-800);
  box-shadow: 0 15px 32px rgba(16, 40, 70, 0.24);
}

.button-secondary {
  border-color: #c8d2dc;
  background: var(--white);
  color: var(--navy-900);
}

.button-ghost {
  padding-inline: 8px 16px;
  background: transparent;
  color: var(--ink-soft);
}

.intro-footer,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #758090;
  font-size: 11px;
}

.intro-footer {
  padding: 25px 0 5px;
}

.intro-footer i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.test-shell {
  width: 100%;
  max-width: 930px;
  margin: 42px auto 60px;
}

.progress-wrap {
  margin: 0 8px 20px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #687587;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe4e7;
}

.progress-track span,
.result-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #d4b57e);
  transition: width 300ms ease;
}

.question-card,
.notice-card {
  border: 1px solid rgba(16, 40, 70, 0.1);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 24px 70px rgba(15, 36, 61, 0.1);
}

.question-card {
  padding: clamp(30px, 5vw, 56px);
  animation: enter 280ms ease both;
}

.question-card h1,
.notice-card h1 {
  font-size: clamp(28px, 3.6vw, 45px);
  line-height: 1.18;
}

.question-hint {
  max-width: 770px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.option-card {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid #d9dfe5;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  color: #26364a;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: #afbbc7;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 36, 61, 0.06);
}

.option-card.selected {
  border-color: var(--gold);
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(189, 146, 80, 0.12);
}

.option-dot {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border: 1px solid #aeb8c3;
  border-radius: 50%;
  color: var(--white);
  transition: all 150ms ease;
}

.option-dot svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.option-card.selected .option-dot {
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.question-actions,
.notice-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

.notice-card {
  width: min(860px, 100%);
  margin: 48px auto 72px;
  padding: clamp(34px, 5vw, 58px);
  animation: enter 280ms ease both;
}

.notice-card > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #49586c;
  font-size: 15px;
  line-height: 1.72;
}

.notice-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  border: 1px solid var(--warning-line);
  border-radius: 50%;
  background: var(--warning-bg);
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 25px;
}

.safety-notice {
  border-color: rgba(189, 146, 80, 0.48);
  background: var(--warning-bg);
}

.safety-notice .notice-actions {
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.safety-notice .button-primary {
  margin-left: auto;
}

.quiet-notice {
  max-width: 720px;
}

.result-page {
  width: min(900px, 100%);
  margin: 34px auto 70px;
}

.result-progress {
  height: 4px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #e0e4e7;
}

.result-progress span {
  width: 100%;
}

.result-header,
.result-content,
.secondary-result,
.result-finish,
.result-safety {
  border: 1px solid rgba(16, 40, 70, 0.1);
  background: rgba(255, 253, 248, 0.97);
}

.result-header {
  padding: clamp(38px, 6vw, 68px);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 24px 70px rgba(15, 36, 61, 0.08);
}

.result-header h1 {
  max-width: 760px;
  font-size: clamp(36px, 5.2vw, 61px);
  line-height: 1.07;
}

.result-lead {
  max-width: 730px;
  margin: 24px 0 0;
  color: #3e5065;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.result-disclaimer {
  max-width: 730px;
  margin: 25px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-warm);
  color: #6a7684;
  font-size: 13px;
  line-height: 1.65;
}

.result-content {
  padding: 8px clamp(38px, 6vw, 68px) 44px;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 24px 70px rgba(15, 36, 61, 0.08);
}

.result-section {
  padding: 36px 0 4px;
  border-top: 1px solid var(--line-warm);
}

.result-section:first-child {
  border-top: 0;
}

.result-section h2,
.secondary-result h2,
.result-finish h2,
.result-safety h2 {
  margin: 0 0 17px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.8vw, 33px);
  font-weight: 500;
  line-height: 1.25;
}

.result-section p,
.secondary-result p,
.result-finish p,
.result-safety p {
  margin: 12px 0 0;
  color: #435267;
  font-size: 16px;
  line-height: 1.75;
}

.result-section blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: #faf4e9;
  color: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
}

.reflection-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.reflection-list li {
  position: relative;
  padding-left: 25px;
  color: #394b61;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
}

.reflection-list li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.secondary-result,
.result-safety {
  margin-top: 22px;
  padding: clamp(30px, 5vw, 50px);
  border-color: rgba(189, 146, 80, 0.42);
  border-radius: 25px;
  background: #fff9ee;
}

.secondary-intro {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(189, 146, 80, 0.28);
}

.result-safety {
  margin-bottom: 22px;
  border-color: #d7aa61;
}

.group-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(189, 146, 80, 0.45);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(189, 146, 80, 0.22), transparent 45%),
    var(--paper);
}

.group-cta h2 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

.group-cta p:not(.eyebrow) {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.group-cta .button {
  flex: 0 0 auto;
}

.result-finish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 25px;
  background: var(--navy-900);
}

.result-finish h2,
.result-finish p {
  color: var(--white);
}

.result-finish .eyebrow {
  color: #dcbf8c;
}

.result-finish .button-primary {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--white);
  color: var(--navy-900);
  box-shadow: none;
}

.result-finish .button-primary:hover {
  background: #f4ecde;
}

.site-footer {
  justify-content: space-between;
  padding: 18px 4px 0;
  border-top: 1px solid rgba(16, 40, 70, 0.1);
}

.statistics-main {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 64px) 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(189, 146, 80, 0.12), transparent 28rem),
    linear-gradient(145deg, #f9f7f1, #f1eee7);
}

.statistics-wrap,
.statistics-card {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.statistics-header,
.statistics-card,
.statistics-table-card {
  border: 1px solid rgba(189, 146, 80, 0.28);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.statistics-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 52px);
}

.statistics-header h1,
.statistics-card h1 {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}

.statistics-header p:not(.eyebrow),
.statistics-card p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.statistics-card {
  padding: clamp(32px, 6vw, 64px);
}

.statistics-card .button {
  margin-top: 28px;
}

.statistics-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.statistics-summary article {
  padding: 26px;
  border-radius: 21px;
  background: var(--navy-900);
  color: var(--white);
}

.statistics-summary span {
  display: block;
  min-height: 42px;
  color: #d7dfeb;
  font-size: 13px;
  line-height: 1.45;
}

.statistics-summary strong {
  display: block;
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
}

.statistics-table-card {
  margin-top: 20px;
  padding: clamp(28px, 5vw, 44px);
}

.statistics-section-heading h2 {
  margin: 7px 0 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
}

.statistics-table-scroll {
  overflow-x: auto;
  margin-top: 26px;
}

.statistics-table-card table {
  width: 100%;
  border-collapse: collapse;
}

.statistics-table-card th,
.statistics-table-card td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line-warm);
  text-align: left;
}

.statistics-table-card th {
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statistics-table-card td {
  color: #394b61;
  font-size: 15px;
}

.statistics-table-card td:first-child {
  min-width: 280px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .page-wrap {
    width: min(100% - 24px, 680px);
    padding-top: 14px;
  }

  .brand-caption {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .intro-card {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px auto 12px;
    padding: 32px 24px 34px;
    border-radius: 25px;
  }

  .intro-mark {
    gap: 12px;
    padding: 0;
  }

  .intro-mark i {
    width: 72px;
    height: 1px;
    margin-top: 9px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }

  .intro-copy h1 {
    font-size: clamp(36px, 11vw, 51px);
  }

  .intro-lead {
    margin-top: 21px;
    font-size: 16px;
  }

  .intro-note {
    align-items: flex-start;
  }

  .note-line {
    width: 28px;
    margin-top: 10px;
  }

  .intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .intro-actions .button {
    width: 100%;
  }

  .intro-footer {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }

  .test-shell {
    margin: 26px auto 44px;
  }

  .question-card,
  .notice-card {
    border-radius: 23px;
  }

  .question-card {
    padding: 28px 20px;
  }

  .question-card h1,
  .notice-card h1 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .options {
    margin-top: 24px;
  }

  .option-card {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 15px;
    border-radius: 15px;
    font-size: 14px;
  }

  .question-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .question-actions .button {
    width: 100%;
  }

  .notice-card {
    margin: 30px auto 50px;
    padding: 30px 22px;
  }

  .notice-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .notice-actions .button,
  .safety-notice .button-primary {
    width: 100%;
    margin-left: 0;
  }

  .result-page {
    margin: 25px auto 48px;
  }

  .result-header {
    padding: 34px 22px;
    border-radius: 23px 23px 0 0;
  }

  .result-content {
    padding: 4px 22px 32px;
    border-radius: 0 0 23px 23px;
  }

  .result-section {
    padding-top: 29px;
  }

  .result-section p,
  .secondary-result p,
  .result-finish p,
  .result-safety p {
    font-size: 15px;
    line-height: 1.7;
  }

  .secondary-result,
  .result-safety,
  .group-cta,
  .result-finish {
    padding: 28px 22px;
    border-radius: 21px;
  }

  .group-cta,
  .result-finish {
    grid-template-columns: 1fr;
  }

  .group-cta .button,
  .result-finish .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .statistics-header {
    flex-direction: column;
  }

  .statistics-summary {
    grid-template-columns: 1fr;
  }

  .statistics-summary span {
    min-height: 0;
  }
}
