@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --ink: #26373b;
  --slate: #405155;
  --muted: #607980;
  --blue: #5b9bac;
  --blue-dark: #3f7f90;
  --blue-pale: #e9f2f4;
  --yellow: #ffef98;
  --cream: #fffdf5;
  --paper: #f8f8f8;
  --white: #ffffff;
  --line: #d9e2e3;
  --shadow: 0 24px 70px rgba(37, 57, 61, 0.11);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 91% 4%, rgba(255, 239, 152, 0.34), transparent 26rem),
    linear-gradient(180deg, var(--cream), var(--paper));
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { color: inherit; }

.site-header,
footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(64, 81, 85, 0.14);
}

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

.brand img {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-note {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 17px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(91, 155, 172, .17), rgba(255, 239, 152, .52));
  border: 1px solid rgba(91, 155, 172, .24);
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.quiet-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
}

.quiet-link { border: 0; background: transparent; cursor: pointer; padding: 10px 0; }
.quiet-link:hover { color: var(--ink); }

main {
  width: min(1160px, calc(100% - 48px));
  min-height: calc(100vh - 166px);
  margin: 0 auto;
}

footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(64, 81, 85, 0.14);
  font-size: 12px;
}

.intro-grid {
  min-height: 690px;
  padding: 72px 0 60px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(48px, 9vw, 130px);
  position: relative;
}

.intro-grid::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: 96px;
  right: 22%;
  border: 1px solid rgba(91, 155, 172, .22);
  border-radius: 50%;
  z-index: -1;
}

.eyebrow {
  grid-column: 1 / -1;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.intro-copy h1,
.result-heading h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(46px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.055em;
  max-width: 790px;
}

.lede {
  max-width: 620px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.button svg { width: 20px; height: 20px; }
.button.primary { color: var(--white); background: var(--slate); box-shadow: 0 12px 26px rgba(38, 55, 59, .18); }
.button.primary:hover { background: var(--ink); box-shadow: 0 15px 32px rgba(38, 55, 59, .24); }
.button.secondary { color: var(--slate); background: transparent; border-color: rgba(64, 81, 85, .28); }
.button.secondary:hover { background: rgba(255, 255, 255, .55); }

.privacy-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.privacy-note svg { width: 16px; height: 16px; }

.access-wrap {
  min-height: 650px;
  padding: 70px 0 86px;
  display: grid;
  place-items: center;
}

.access-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(64, 81, 85, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.access-copy {
  padding: clamp(34px, 5vw, 54px);
  background: var(--slate);
  color: var(--white);
}

.access-copy .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 17px;
}

.access-copy h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.access-copy > p {
  margin: 24px 0 0;
  color: #dbe5e7;
  font-size: 18px;
  line-height: 1.6;
}

.data-summary {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.data-summary b {
  color: var(--yellow);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.data-summary p { margin: 8px 0 0; color: #dbe5e7; line-height: 1.55; }

.access-form { padding: clamp(34px, 5vw, 54px); }
.field { display: grid; gap: 9px; margin-bottom: 21px; }
.field label { font-size: 15px; font-weight: 700; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d6d8;
  border-radius: 12px;
  font-size: 17px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus { border-color: var(--blue-dark); box-shadow: 0 0 0 3px rgba(91, 155, 172, .16); outline: none; }

.consent {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--blue-dark); }
.privacy-copy { margin: 16px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.privacy-copy a { color: var(--blue-dark); font-weight: 700; }
.form-error { margin: 0 0 18px; padding: 12px 14px; color: #742a2a; background: #fff1f1; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.access-submit { width: 100%; }
.access-back { margin: 13px auto 0; }
.button-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.42); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.pillar-preview {
  align-self: center;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(64, 81, 85, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.pillar-preview-item {
  min-height: 100px;
  padding: 24px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.pillar-preview-item:last-child { border-bottom: 0; }
.pillar-preview-item > span { color: var(--blue); font-size: 14px; font-weight: 700; }
.pillar-preview-item div { display: grid; gap: 5px; }
.pillar-preview-item b { font-family: "Manrope", sans-serif; font-size: 20px; }
.pillar-preview-item small { color: var(--muted); font-size: 15px; }

.disclaimer {
  grid-column: 1 / -1;
  max-width: 680px;
  margin: 56px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(64, 81, 85, .18);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.assessment {
  width: min(800px, 100%);
  margin: 0 auto;
  padding: 54px 0 82px;
}

.progress-meta {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}
.progress-meta span:first-child { color: var(--blue-dark); }
.progress-track { height: 5px; border-radius: 9px; overflow: hidden; background: #dfe8e9; }
.progress-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width .25s ease; }

.question-card {
  margin-top: 42px;
  padding: clamp(30px, 6vw, 60px);
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(64, 81, 85, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.question-kicker { margin: 0 0 17px; color: var(--muted); font-size: 19px; line-height: 1.45; }
.question-card h1 {
  min-height: 124px;
  margin: 0 0 38px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(29px, 3.4vw, 36px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.answer-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.answer {
  min-height: 96px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  justify-items: start;
  align-content: space-between;
  gap: 9px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  transition: border .16s ease, background .16s ease, transform .16s ease;
}
.answer:hover { border-color: var(--blue); transform: translateY(-1px); }
.answer.selected { border-color: var(--blue-dark); background: var(--blue-pale); }
.answer-dot { width: 17px; height: 17px; border: 2px solid #b7c6c8; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--white); }
.answer.selected .answer-dot { border-color: var(--blue-dark); background: var(--blue-dark); }
.answer em { grid-row: 1; grid-column: 3; justify-self: end; font-style: normal; color: #8fa2a5; font-size: 14px; }
.answer .answer-dot { grid-row: 1; margin-top: -1px; }
.answer > span:nth-child(2) { grid-column: 1 / -1; font-size: 14px; line-height: 1.35; }

.question-nav {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.text-button { border: 0; padding: 10px 0; background: transparent; display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 700; }
.text-button:disabled { opacity: 0; pointer-events: none; }
.text-button svg { width: 18px; height: 18px; }

.results { width: min(940px, 100%); margin: 0 auto; padding: 70px 0 90px; }
.result-heading { max-width: 800px; }
.result-heading h1 { font-size: clamp(40px, 5vw, 58px); }
.result-heading > p { max-width: 670px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.completion-status {
  width: fit-content;
  margin-top: 22px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.completion-status.pending { color: var(--muted); background: rgba(91, 155, 172, .1); }
.completion-status.success { color: #2f6d5d; background: #e7f5ee; }
.completion-status.error { color: #742a2a; background: #fff1f1; }
.completion-status svg { width: 17px; height: 17px; }
.completion-status button { padding: 0; color: inherit; background: transparent; border: 0; text-decoration: underline; cursor: pointer; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 1.1s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.82); } }

.score-panel { margin-top: 55px; padding: clamp(26px, 5vw, 46px); border-radius: var(--radius); background: var(--white); border: 1px solid rgba(64,81,85,.12); box-shadow: var(--shadow); }
.scores { display: grid; gap: 24px; }
.score-row { display: grid; grid-template-columns: 150px 1fr 46px; align-items: center; gap: 18px; }
.score-label { display: grid; gap: 3px; }
.score-label span { font-weight: 700; }
.score-label small { color: var(--muted); font-size: 13px; }
.score-track { height: 10px; background: #e7eded; border-radius: 20px; overflow: hidden; }
.score-track i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.gap-row .score-track i { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(117, 101, 20, .08); }
.score-row > b { font-family: "Manrope", sans-serif; font-size: 16px; }
.score-caption { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }

.pillar-reading-heading { margin: 62px 0 24px; max-width: 700px; }
.pillar-reading-heading .eyebrow { display: block; margin-bottom: 13px; }
.pillar-reading-heading h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.16; letter-spacing: -.035em; }
.pillar-readings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pillar-reading { padding: 28px; border: 1px solid rgba(64,81,85,.14); border-radius: 20px; background: rgba(255,255,255,.74); }
.pillar-reading.priority { border-color: rgba(91,155,172,.65); box-shadow: inset 0 4px 0 var(--blue); }
.reading-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.reading-topline h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 25px; letter-spacing: -.03em; }
.reading-topline > span { color: var(--blue-dark); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; }
.pillar-reading > p { min-height: 78px; margin: 18px 0 0; color: var(--muted); line-height: 1.55; }
.reading-action { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.reading-action b { color: var(--blue-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.reading-action p { margin: 7px 0 0; line-height: 1.55; font-size: 15px; }

.gap-card { margin-top: 24px; padding: clamp(30px, 6vw, 56px); border-radius: var(--radius); background: var(--slate); color: var(--white); position: relative; overflow: hidden; }
.gap-card::after { content: ""; width: 260px; height: 260px; position: absolute; right: -80px; top: -120px; border-radius: 50%; border: 50px solid rgba(91, 155, 172, .28); }
.gap-label { color: var(--yellow); font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.gap-card h2 { margin: 12px 0 12px; font-family: "Manrope", sans-serif; font-size: clamp(34px, 4.2vw, 44px); letter-spacing: -.035em; }
.gap-card > p { max-width: 680px; margin: 0; color: #dbe5e7; font-size: 17px; line-height: 1.6; position: relative; z-index: 1; }
.practice { max-width: 700px; margin-top: 34px; padding: 22px 24px; background: rgba(255, 255, 255, .09); border-left: 3px solid var(--yellow); border-radius: 0 12px 12px 0; position: relative; z-index: 1; }
.practice b { color: var(--yellow); font-size: 14px; letter-spacing: .035em; }
.practice p { margin: 8px 0 0; line-height: 1.55; }

.next-step { margin-top: 24px; padding: clamp(30px, 6vw, 54px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: center; border-radius: var(--radius); background: var(--blue-pale); }
.next-step .eyebrow { margin-bottom: 12px; }
.next-step h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(29px, 3.5vw, 38px); line-height: 1.14; letter-spacing: -.035em; }
.next-step p { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.cta-group { display: grid; gap: 12px; }
.restart { margin: 34px auto 0; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.restart svg { width: 17px; height: 17px; }

:focus-visible { outline: 3px solid rgba(91, 155, 172, .45); outline-offset: 3px; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 32px, 1160px); }
  .site-header { min-height: 74px; }
  .header-actions { gap: 8px; }
  .header-note { min-height: 38px; padding: 7px 11px; font-size: 15px; }
  .quiet-link { display: none; }
  .brand img { width: 128px; height: auto; }
  footer { min-height: 70px; gap: 16px; }
  footer span:last-child { display: none; }
  .intro-grid { min-height: auto; padding: 46px 0 54px; display: block; }
  .intro-grid::before { display: none; }
  .eyebrow { font-size: 17px; letter-spacing: .05em; }
  .intro-copy h1 { font-size: clamp(40px, 11vw, 50px); }
  .lede { margin-top: 22px; font-size: 18px; }
  .intro-copy .button { width: 100%; }
  .access-wrap { min-height: auto; padding: 36px 0 58px; }
  .access-card { grid-template-columns: 1fr; }
  .access-copy, .access-form { padding: 30px 22px; }
  .access-copy h1 { font-size: 36px; }
  .access-copy > p { font-size: 17px; }
  .data-summary { margin-top: 28px; }
  .access-form { padding-top: 28px; }
  .consent { font-size: 14px; }
  .pillar-preview { margin-top: 48px; }
  .pillar-preview-item { min-height: 86px; }
  .disclaimer { margin-top: 34px; }
  .assessment { padding: 32px 0 52px; }
  .question-card { margin-top: 26px; padding: 28px 20px; }
  .question-kicker { font-size: 17px; }
  .question-card h1 { min-height: 0; margin-bottom: 30px; font-size: 26px; line-height: 1.28; }
  .answer-list { grid-template-columns: 1fr; gap: 10px; }
  .answer { min-height: 60px; padding: 13px 15px; grid-template-columns: auto 1fr auto; align-items: center; align-content: center; gap: 12px; }
  .answer .answer-dot { grid-row: auto; margin-top: 0; }
  .answer > span:nth-child(2) { grid-column: 2; font-size: 14px; }
  .answer em { grid-row: auto; grid-column: 3; justify-self: auto; }
  .question-nav span { display: none; }
  .results { padding: 46px 0 60px; }
  .result-heading h1 { font-size: 43px; }
  .result-heading > p { font-size: 16px; }
  .score-panel { margin-top: 38px; padding: 26px 20px; }
  .score-row { grid-template-columns: 104px 1fr 42px; gap: 10px; }
  .score-label small { display: none; }
  .gap-card { padding: 34px 24px; }
  .gap-card::after { opacity: .55; }
  .next-step { grid-template-columns: 1fr; gap: 28px; padding: 34px 24px; }
  .cta-group .button { width: 100%; }
  .pillar-reading-heading { margin-top: 46px; }
  .pillar-readings { grid-template-columns: 1fr; }
  .pillar-reading { padding: 24px 21px; }
  .pillar-reading > p { min-height: 0; }
  .reading-topline { align-items: flex-start; }
}

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