:root {
  --ink: #1a222e;
  --ink-2: #505d68;
  --teal: #000a20;
  --teal-light: #eeeeee;
  --gold: #ba8621;
  --gold-light: #d0ac66;
  --cream: #f8f8f8;
  --paper: #ffffff;
  --line: #c4c5c6;
  --healthy: #1d3557;
  --healthy-light: #eeeeee;
  --review: #ba8621;
  --review-light: #f8f8f8;
  --unsure: #505d68;
  --unsure-light: #eeeeee;
  --shadow: 0 20px 60px rgba(26, 34, 46, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", "Be Vietnam", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--teal);
  transform: translateY(-160%);
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 112px;
  height: auto;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 650;
}

.privacy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(208, 172, 102, 0.28);
}

.hero {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  padding: 58px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(50px, 6.3vw, 82px);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 49px);
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 610px;
  margin: 0 0 34px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
.text-button:focus-visible,
.nav-item:focus-visible,
.status-option:has(input:focus-visible) {
  outline: 3px solid rgba(201, 154, 63, 0.55);
  outline-offset: 3px;
}

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

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 25px rgba(0, 10, 32, 0.18);
}

.button-primary:hover:not(:disabled) {
  background: #1d3557;
  box-shadow: 0 14px 30px rgba(0, 10, 32, 0.22);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.button-secondary:hover:not(:disabled) {
  background: var(--cream);
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 13px;
}

.checkup-illustration {
  position: relative;
  min-height: 430px;
  border-radius: 48% 48% 12% 48%;
  background: linear-gradient(145deg, #e6eeec 2%, #f0e8d8 92%);
}

.chart-card {
  position: absolute;
  z-index: 2;
  top: 66px;
  right: 42px;
  bottom: 42px;
  left: 42px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.chart-topline {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-line {
  display: flex;
  flex: 1;
  align-items: center;
}

.pulse-line svg {
  width: 100%;
  overflow: visible;
}

.pulse,
.pulse-shadow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-shadow {
  stroke: rgba(201, 154, 63, 0.18);
  stroke-width: 12;
}

.pulse {
  stroke: var(--gold);
  stroke-width: 4;
}

.chart-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.chart-status div {
  display: flex;
  flex-direction: column;
}

.chart-status strong {
  font-size: 14px;
}

.chart-status span:not(.mini-check) {
  color: var(--ink-2);
  font-size: 12px;
}

.mini-check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--healthy);
  background: var(--healthy-light);
  font-weight: 900;
}

.accent-orbit {
  position: absolute;
  right: -13px;
  bottom: 48px;
  width: 96px;
  height: 96px;
  border: 18px solid var(--gold);
  border-radius: 50%;
  opacity: 0.82;
}

.checkup-shell {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 92px max(24px, calc((100vw - 1160px) / 2)) 104px;
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.progress-copy {
  width: 210px;
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.progress-track {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 300ms ease;
}

.checkup-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
}

.check-nav ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  display: grid;
  width: 100%;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.52);
}

.nav-item.current {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 30px rgba(26, 34, 46, 0.05);
}

.nav-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.nav-item.answered .nav-number {
  color: white;
  border-color: var(--healthy);
  background: var(--healthy);
}

.nav-label {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.check-card {
  min-height: 610px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.check-number {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.check-card h3 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 45px);
  letter-spacing: -0.025em;
}

.check-description,
#result-intro {
  max-width: 760px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

.look-for {
  margin: 30px 0 32px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: #f8f8f8;
}

.look-for > p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.look-for ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 25px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
}

.status-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.status-fieldset legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.status-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.status-option {
  position: relative;
  display: flex;
  min-height: 90px;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition: border 160ms ease, background 160ms ease, transform 160ms ease;
}

.status-option:hover {
  transform: translateY(-1px);
  border-color: #a3a2a1;
}

.status-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
  font-weight: 900;
}

.option-copy {
  display: flex;
  flex-direction: column;
}

.option-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.option-copy small {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.35;
}

.status-option.selected[data-status="healthy"] {
  border-color: var(--healthy);
  background: var(--healthy-light);
}

.status-option.selected[data-status="review"] {
  border-color: var(--review);
  background: var(--review-light);
}

.status-option.selected[data-status="unsure"] {
  border-color: var(--unsure);
  background: var(--unsure-light);
}

.status-option.selected .option-icon {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.card-actions,
.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.card-actions #next-button {
  margin-left: auto;
}

.results h3 {
  max-width: 700px;
  margin-bottom: 12px;
}

.result-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.score-ring {
  display: grid;
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  place-content: center;
  border: 9px solid var(--gold-light);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  border-radius: 50%;
  text-align: center;
}

.score-ring span {
  display: block;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.score-ring small {
  color: var(--ink-2);
  font-size: 11px;
}

.summary-panel {
  margin-top: 30px;
  padding: 24px;
  border-radius: 12px;
  background: var(--cream);
}

.summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.summary-heading h4 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 850;
}

.summary-heading span {
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

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

.summary-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.summary-item:first-child {
  border-top: 0;
}

.summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.summary-dot.review {
  background: var(--review);
}

.summary-dot.unsure {
  background: var(--unsure);
}

.summary-status {
  color: var(--ink-2);
  font-size: 12px;
}

.all-clear {
  margin: 0;
  color: var(--healthy);
  font-weight: 750;
}

.next-step {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  color: var(--ink-2);
}

.next-step-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: var(--teal-light);
  font-weight: 900;
}

.next-step strong {
  color: var(--ink);
  font-size: 14px;
}

.next-step p {
  margin: 2px 0 0;
  font-size: 14px;
}

.text-button {
  padding: 9px 5px;
  border: 0;
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.text-button:hover {
  text-decoration: underline;
}

.copy-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--healthy);
  font-size: 13px;
  font-weight: 700;
}

.context-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  padding: 96px 0;
}

.context-copy > p:first-child {
  margin: 0;
  color: var(--ink-2);
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.5;
}

.context-note {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 72px 0 86px;
  }

  .checkup-illustration {
    min-height: 390px;
  }

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

  .check-nav ol {
    display: flex;
    padding: 2px 2px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav-item {
    width: 190px;
    flex: 0 0 auto;
  }

  .context-section {
    gap: 48px;
  }
}

@media (max-width: 650px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1160px);
  }

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

  .brand img {
    width: 96px;
  }

  .privacy-pill {
    font-size: 0;
  }

  .privacy-pill::after {
    content: "Private";
    font-size: 12px;
  }

  .hero {
    padding-top: 54px;
  }

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

  .hero-lede {
    font-size: 17px;
  }

  .checkup-illustration {
    min-height: 330px;
    border-radius: 38% 38% 10% 38%;
  }

  .chart-card {
    top: 42px;
    right: 22px;
    bottom: 32px;
    left: 22px;
    padding: 22px;
  }

  .accent-orbit {
    right: -5px;
    bottom: 25px;
    width: 70px;
    height: 70px;
    border-width: 13px;
  }

  .checkup-shell {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .progress-copy {
    width: 100%;
    margin-top: 24px;
    text-align: left;
  }

  .check-card {
    min-height: 0;
    border-radius: 14px;
  }

  .look-for ul,
  .status-options {
    grid-template-columns: 1fr;
  }

  .status-option {
    min-height: 75px;
  }

  .card-actions {
    flex-wrap: wrap;
  }

  .card-actions .button {
    flex: 1;
  }

  .result-heading-row {
    align-items: flex-start;
  }

  .score-ring {
    width: 86px;
    height: 86px;
    border-width: 7px;
  }

  .score-ring span {
    font-size: 28px;
  }

  .summary-item {
    grid-template-columns: 10px 1fr;
  }

  .summary-status {
    grid-column: 2;
  }

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

  .context-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 76px 0;
  }

  .context-copy > p:first-child {
    font-size: 21px;
  }
}

/* Mobile-first refinements for the interactive checkup. */
@media (max-width: 650px) {
  .site-header {
    min-height: 70px;
  }

  .privacy-pill {
    padding: 6px 10px;
    font-size: 12px;
  }

  .privacy-pill::after {
    content: none;
  }

  .hero {
    gap: 32px;
    padding: 34px 0 58px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 1.02;
  }

  .hero-lede {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-copy .button {
    width: 100%;
  }

  .checkup-illustration {
    min-height: 245px;
  }

  .chart-card {
    top: 28px;
    right: 18px;
    bottom: 24px;
    left: 18px;
    padding: 18px;
  }

  .pulse-line svg {
    max-height: 88px;
  }

  .checkup-shell {
    padding: 58px 16px 68px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .check-nav {
    margin-inline: -16px;
  }

  .check-nav ol {
    gap: 8px;
    padding: 2px 16px 12px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x proximity;
  }

  .nav-item {
    width: 164px;
    min-height: 54px;
    padding: 9px 10px;
    scroll-snap-align: start;
  }

  .nav-number {
    width: 30px;
    height: 30px;
  }

  .check-card {
    padding: 24px 18px;
  }

  .check-card h3 {
    margin-bottom: 14px;
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.08;
  }

  .check-description,
  #result-intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .look-for {
    margin: 24px 0;
    padding: 17px 16px;
  }

  .look-for ul {
    gap: 9px;
    padding-left: 18px;
  }

  .status-option {
    min-height: 78px;
    padding: 15px;
  }

  .card-actions {
    display: grid;
    grid-template-columns: minmax(96px, 0.65fr) minmax(0, 1.35fr);
  }

  .card-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .card-actions #next-button {
    margin-left: 0;
  }

  .result-heading-row {
    gap: 18px;
  }

  .summary-panel {
    padding: 19px 16px;
  }

  .summary-heading {
    align-items: flex-start;
  }

  footer {
    min-height: 78px;
    gap: 18px;
  }
}

@media (max-width: 390px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1160px);
  }

  .privacy-pill {
    font-size: 0;
  }

  .privacy-pill::after {
    content: "Self-guided";
    font-size: 12px;
  }

  .checkup-illustration {
    min-height: 215px;
  }

  .chart-status {
    padding-top: 12px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions #next-button {
    grid-row: 1;
  }

  .result-heading-row {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .hero,
  .check-nav,
  .section-heading,
  .card-actions,
  .result-actions,
  .context-section,
  footer {
    display: none !important;
  }

  body {
    background: white;
  }

  main,
  .checkup-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
  }

  .checkup-grid {
    display: block;
  }

  .check-card {
    min-height: 0;
    border: 0;
    box-shadow: none;
  }
}

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

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