:root {
  color-scheme: dark;
  --ink: #0c1014;
  --ink-raised: #141a20;
  --slate: #2a343c;
  --cold-gray: #6e7a83;
  --light-gray: #9ba6ae;
  --paper: #e9e6df;
  --amber: #e3c489;
  --amber-deep: #8a6a2c;
  --danger: #d8a3a3;
  --success: #b9cba8;
  --page-width: 1160px;
  --radius: 0;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--ink);
  background-size: 64px 64px;
  color: var(--paper);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  filter: blur(80px);
}

.ambient-one {
  top: 5vh;
  right: -180px;
  width: 420px;
  height: 420px;
  background: rgba(227, 196, 137, 0.13);
}

.ambient-two {
  bottom: 2vh;
  left: -200px;
  width: 500px;
  height: 500px;
  background: rgba(79, 102, 119, 0.15);
}

.site-header,
.site-footer,
.app-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--slate);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.header-note {
  color: var(--cold-gray);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-shell {
  min-height: calc(100vh - 176px);
}

.screen {
  opacity: 0;
  transform: translateY(12px);
}

.screen.is-active {
  animation: screen-in 460ms ease forwards;
}

@keyframes screen-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-screen {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  gap: clamp(56px, 8vw, 108px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) 0 72px;
}

.eyebrow,
.card-index,
.reflection-label {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(48px, 6.2vw, 82px);
  font-stretch: condensed;
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

h2 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h3 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.intro-lead {
  max-width: 660px;
  margin-bottom: 38px;
  color: var(--light-gray);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.42;
}

.intro-points {
  display: grid;
  gap: 0;
  margin-bottom: 34px;
  border-top: 1px solid var(--slate);
}

.intro-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--slate);
}

.point-number {
  padding-top: 2px;
  color: var(--cold-gray);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.intro-point strong,
.intro-point span {
  display: block;
}

.intro-point strong {
  margin-bottom: 3px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
}

.intro-point div > span {
  color: var(--light-gray);
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button:focus-visible,
.text-button:focus-visible,
.answer-card:focus-within,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(227, 196, 137, 0.42);
  outline-offset: 3px;
}

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

.button-primary {
  background: var(--amber);
  color: var(--ink);
}

.button-primary:hover:not(:disabled) {
  background: var(--paper);
}

.button-secondary {
  border-color: var(--slate);
  background: transparent;
  color: var(--paper);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--light-gray);
  background: var(--ink-raised);
}

.button-light {
  flex: 0 0 auto;
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--amber);
}

.button-full {
  width: 100%;
}

.text-button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--light-gray);
  cursor: pointer;
  font-size: 14px;
}

.text-button:hover {
  color: var(--paper);
}

.disclaimer {
  color: var(--cold-gray);
  font-size: 12px;
  line-height: 1.65;
}

.disclaimer-intro {
  max-width: 680px;
  margin: 20px 0 0;
}

.intro-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--slate);
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(227, 196, 137, 0.08) 49.8%, rgba(227, 196, 137, 0.08) 50.2%, transparent 50.3%),
    var(--ink-raised);
}

.visual-label {
  position: absolute;
  top: 30px;
  left: 30px;
  color: var(--cold-gray);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.light-fracture {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--amber);
  box-shadow: 0 0 28px rgba(227, 196, 137, 0.3);
}

.intro-visual p {
  position: absolute;
  right: 34px;
  bottom: 28px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-align: right;
}

.axis-preview {
  position: absolute;
  left: 32px;
  width: calc(50% - 62px);
  height: 58px;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.axis-preview span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(227, 196, 137, 0.16), transparent);
}

.axis-preview-one {
  top: 146px;
}

.axis-preview-one span {
  width: 82%;
}

.axis-preview-two {
  top: 230px;
}

.axis-preview-two span {
  width: 58%;
}

.axis-preview-three {
  top: 314px;
}

.axis-preview-three span {
  width: 70%;
}

.quiz-screen {
  max-width: 860px;
  margin-inline: auto;
  padding: 48px 0 82px;
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.question-count {
  color: var(--cold-gray);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: var(--slate);
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
  transition: width 260ms ease;
}

.question-panel {
  padding-top: clamp(48px, 8vw, 82px);
}

.question-panel h2 {
  max-width: 790px;
  min-height: 2.04em;
}

.question-help {
  margin-bottom: 28px;
  color: var(--light-gray);
  font-size: 15px;
}

.answer-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.answer-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  border: 1px solid var(--slate);
  padding: 12px 16px;
  background: rgba(20, 26, 32, 0.72);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.answer-card:hover {
  border-color: var(--cold-gray);
  transform: translateX(3px);
}

.answer-card.is-selected {
  border-color: var(--amber);
  background: rgba(227, 196, 137, 0.075);
}

.answer-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--slate);
  color: var(--cold-gray);
  font-size: 13px;
  font-weight: 700;
}

.answer-card.is-selected .answer-index {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.answer-label {
  color: var(--paper);
  font-size: 15px;
  font-weight: 520;
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.lead-screen {
  padding: clamp(64px, 9vw, 108px) 0;
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 0.72fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.lead-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--light-gray);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 21px;
}

.data-note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-top: 30px;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
  padding: 18px 0;
}

.data-note-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 14px;
}

.data-note p {
  margin: 0;
  color: var(--cold-gray);
  font-size: 13px;
  line-height: 1.6;
}

.lead-form {
  border-left: 1px solid var(--amber);
  padding: 8px 0 8px clamp(28px, 4vw, 52px);
}

.field-label {
  display: block;
  margin: 20px 0 7px;
  color: var(--light-gray);
  font-size: 13px;
  font-weight: 560;
}

.field-label:first-of-type {
  margin-top: 0;
}

.lead-form input[type="text"],
.lead-form input[type="email"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--slate);
  border-radius: 0;
  padding: 12px 14px;
  background: var(--ink-raised);
  color: var(--paper);
  transition: border-color 160ms ease;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="email"]:focus {
  border-color: var(--amber);
}

.field-hint {
  margin: 8px 0 0;
  color: var(--cold-gray);
  font-size: 11px;
  line-height: 1.5;
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--cold-gray);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--amber-deep);
}

.required-check {
  color: var(--light-gray);
}

.lead-form .button {
  margin-top: 24px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--light-gray);
  font-size: 13px;
}

.form-status.is-error {
  color: var(--danger);
}

.result-screen {
  padding: clamp(64px, 8vw, 104px) 0 84px;
}

.result-hero {
  max-width: 890px;
  margin-bottom: 48px;
}

.result-intro {
  max-width: 720px;
  color: var(--light-gray);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(19px, 2vw, 24px);
}

.email-notice {
  max-width: 720px;
  margin: 26px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--amber);
  background: var(--ink-raised);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.6;
}

.result-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.highlight-card {
  min-height: 250px;
  padding: 34px 36px 34px 0;
}

.highlight-card + .highlight-card {
  border-left: 1px solid var(--slate);
  padding-right: 0;
  padding-left: 36px;
}

.highlight-card p {
  max-width: 470px;
  margin: 0;
  color: var(--light-gray);
}

.highlight-growth .card-index {
  color: var(--light-gray);
}

.axis-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.axis-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--slate);
  border: 1px solid var(--slate);
}

.axis-card {
  min-height: 238px;
  padding: 28px;
  background: var(--ink);
}

.axis-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.axis-number {
  color: var(--cold-gray);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.axis-level {
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

.axis-card h4 {
  margin: 18px 0 14px;
  color: var(--paper);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.axis-card p {
  margin-bottom: 22px;
  color: var(--light-gray);
  font-size: 14px;
}

.axis-meter {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: var(--slate);
}

.axis-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
  transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.next-step {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
  border-top: 1px solid var(--amber);
  padding: 58px 0 70px;
}

.next-step > div:first-child p:not(.eyebrow) {
  max-width: 640px;
  color: var(--light-gray);
}

.reflection-card {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--slate);
  padding: 30px;
  background: var(--ink-raised);
}

.reflection-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--amber);
  content: "";
  opacity: 0.36;
}

.reflection-card blockquote {
  position: relative;
  z-index: 1;
  margin: 48px 0 0;
  color: var(--paper);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 600;
  line-height: 1.25;
}

.series-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px;
  background: var(--paper);
  color: var(--ink);
}

.series-cta .eyebrow {
  color: var(--amber-deep);
}

.series-cta h3 {
  max-width: 680px;
}

.series-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: #475158;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.result-disclaimer {
  max-width: 900px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-top: 1px solid var(--slate);
  color: var(--cold-gray);
  font-size: 12px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--paper);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: 380px;
  transform: translateY(30px);
  border-left: 2px solid var(--amber);
  padding: 14px 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.noscript-message {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 80;
  border: 1px solid var(--amber);
  padding: 18px;
  background: var(--ink-raised);
  color: var(--paper);
  text-align: center;
}

@media (max-width: 900px) {
  .intro-screen,
  .lead-panel,
  .next-step {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    min-height: 420px;
  }

  .lead-form {
    border-top: 1px solid var(--amber);
    border-left: 0;
    padding: 34px 0 0;
  }

  .series-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .app-shell {
    width: min(calc(100% - 30px), var(--page-width));
  }

  .site-header {
    min-height: 74px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 11px;
  }

  .header-note {
    display: none;
  }

  .intro-screen {
    gap: 48px;
    padding: 54px 0 60px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

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

  .intro-visual {
    min-height: 340px;
  }

  .visual-label {
    top: 22px;
    left: 20px;
  }

  .intro-visual p {
    right: 20px;
    bottom: 20px;
  }

  .axis-preview {
    left: 20px;
    width: calc(50% - 38px);
    height: 42px;
  }

  .axis-preview-one {
    top: 108px;
  }

  .axis-preview-two {
    top: 168px;
  }

  .axis-preview-three {
    top: 228px;
  }

  .quiz-screen {
    padding-top: 28px;
  }

  .question-panel {
    padding-top: 46px;
  }

  .question-panel h2 {
    min-height: 0;
  }

  .answer-card {
    grid-template-columns: 40px 1fr;
    min-height: 62px;
    padding: 10px 12px;
  }

  .quiz-navigation {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-inline: -15px;
    padding: 14px 15px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent 0%, var(--ink) 22%);
  }

  .quiz-navigation .button {
    flex: 1;
    padding-inline: 14px;
  }

  .result-highlights,
  .axis-results {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: auto;
    padding: 30px 0;
  }

  .highlight-card + .highlight-card {
    border-top: 1px solid var(--slate);
    border-left: 0;
    padding: 30px 0;
  }

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

  .series-cta {
    margin-inline: -15px;
    padding: 32px 20px;
  }

  .series-cta .button {
    width: 100%;
  }

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

  .site-footer {
    min-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
