:root {
  --navy: #083b5d;
  --navy-deep: #062f46;
  --green: #3f9b5f;
  --lime: #8bc823;
  --teal: #149fa4;
  --ink: #173237;
  --muted: #5a6d71;
  --offwhite: #f7f6f1;
  --soft: #eaf4ef;
  --line: #cedbd5;
  --white: #ffffff;
  --container: 1184px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

#result-title:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

.tool-container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.tool-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.tool-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tool-brand {
  display: block;
  width: 235px;
}

.tool-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tool-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.tool-header nav .header-cta {
  padding: 10px 18px;
  color: var(--white);
  background: var(--navy);
}

.check-hero {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--offwhite);
}

.check-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #147b68;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  max-width: 14ch;
  margin-bottom: 26px;
  font-size: clamp(2.8rem, 5.1vw, 4.9rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.lead {
  color: #3e5357;
  font-size: clamp(1.18rem, 1.6vw, 1.38rem);
}

.check-hero__grid > div:first-child > p {
  max-width: 66ch;
}

.privacy-line {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 10px 24px;
  color: #255c51;
  font-weight: 700;
}

.privacy-line span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal);
}

.check-hero__brand {
  padding: 34px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

.check-hero__brand img {
  width: min(330px, 100%);
  margin-bottom: 28px;
}

.check-hero__brand p {
  margin-bottom: 0;
  color: var(--muted);
}

.check-section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-intro {
  max-width: 800px;
  margin-bottom: 48px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.12rem;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.question-card {
  min-width: 0;
  padding: 32px;
  border-bottom: 1px solid var(--line);
}

.question-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.question-card__head {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.question-card__number {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.question-card__head img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.question-card__head p {
  margin: 0;
  color: var(--muted);
}

.question-card output {
  min-width: 67px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-align: center;
}

.question-card label {
  display: block;
  min-height: 78px;
  margin-bottom: 22px;
  color: #344d52;
  font-size: 1.05rem;
}

.question-card input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--teal);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.scale-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 32px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  gap: 12px 24px;
  color: var(--muted);
}

.scale-key strong {
  color: var(--navy);
}

.form-actions,
.result-cta__actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

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

.button--light {
  color: var(--navy);
  background: var(--white);
}

.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

.result-section {
  padding: 0 0 clamp(76px, 9vw, 128px);
  background: var(--offwhite);
}

.result-card {
  padding: clamp(34px, 6vw, 76px);
  border-top: 6px solid var(--teal);
  background: var(--white);
}

.result-heading {
  max-width: 870px;
  margin-bottom: 46px;
}

.result-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.wheel-reveal {
  margin: 0;
}

.wheel-reveal img {
  width: min(420px, 100%);
  margin-inline: auto;
}

.wheel-contact {
  display: flex;
  margin-top: clamp(38px, 6vw, 68px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 26px 40px;
}

.wheel-contact .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.wheel-contact p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
}

.wheel-contact small {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

.wheel-contact .button {
  flex: 0 0 auto;
}

.score-overview {
  border-top: 1px solid var(--line);
}

.score-row {
  display: grid;
  min-height: 82px;
  padding: 12px 0;
  grid-template-columns: minmax(180px, 1fr) minmax(110px, 0.8fr) 62px minmax(150px, 0.8fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.score-row__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.score-row__identity img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.score-row__identity span {
  display: grid;
}

.score-row__identity small {
  color: var(--muted);
}

.score-row__bar {
  height: 9px;
  overflow: hidden;
  background: #e3ece8;
}

.score-row__bar span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.score-row__value {
  color: var(--navy);
  font-size: 1.35rem;
  text-align: right;
}

.score-row__value small {
  color: var(--muted);
  font-size: 0.78rem;
}

.score-row__label {
  color: var(--muted);
}

.health-influences {
  padding: clamp(86px, 10vw, 138px) 0;
}

.health-influences__intro {
  max-width: 900px;
  margin-bottom: 52px;
}

.health-influences__intro p {
  color: var(--muted);
  font-size: 1.12rem;
}

.health-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.health-story__panel {
  display: flex;
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  background: var(--white);
  flex-direction: column;
}

.health-model {
  border-top-color: var(--lime);
}

.health-story__heading > span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.health-model .health-story__heading > span {
  color: #5b9821;
}

.health-story__heading h3 {
  max-width: 18ch;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  line-height: 1.08;
}

.health-story__heading p {
  color: var(--muted);
}

.germany-spend {
  display: grid;
  margin-top: 34px;
  gap: 30px;
}

.germany-spend__total {
  display: flex;
  min-height: 190px;
  padding: 30px;
  color: var(--white);
  background: var(--navy);
  flex-direction: column;
  justify-content: flex-end;
}

.germany-spend__total strong {
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.germany-spend__total span {
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.germany-spend__prevention > strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.germany-spend__track {
  height: 34px;
  margin-top: 14px;
  overflow: hidden;
  background: #dce7e9;
}

.germany-spend__track span {
  display: block;
  width: 4.05%;
  min-width: 34px;
  height: 100%;
  background: var(--lime);
}

.germany-spend__values {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.germany-spend__values > div {
  display: grid;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  gap: 6px;
}

.germany-spend__values strong {
  color: var(--navy);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  line-height: 1;
}

.germany-spend__values > div:first-child strong {
  color: #559d2f;
}

.germany-spend__values > div:last-child strong {
  color: var(--teal);
}

.germany-spend__values span {
  color: var(--muted);
  line-height: 1.4;
}

.germany-spend__question {
  margin-top: 30px;
  margin-bottom: 0;
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  color: var(--navy);
  background: #eff6f4;
  font-size: 1.05rem;
  font-weight: 800;
}

.health-model__band {
  display: grid;
  min-height: 112px;
  margin-top: 34px;
  grid-template-columns: 20fr 30fr 40fr 10fr;
}

.health-model__segment {
  display: grid;
  min-width: 0;
  color: var(--white);
  font-size: clamp(0.78rem, 1.5vw, 1.15rem);
  font-weight: 850;
  place-items: center;
}

.health-model__segment::after {
  content: "%";
}

.health-model__segment--care,
.health-model__dot--care {
  background: #e76f3c;
}

.health-model__segment--behavior,
.health-model__dot--behavior {
  background: #74418a;
}

.health-model__segment--social,
.health-model__dot--social {
  background: #67a83e;
}

.health-model__segment--environment,
.health-model__dot--environment {
  background: #1698ad;
}

.health-model__legend {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.health-model__legend > div {
  display: grid;
  min-width: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 12px 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.health-model__dot {
  width: 10px;
  height: 10px;
}

.health-model__legend strong {
  color: var(--navy);
}

.health-model__legend span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.health-story__source {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding-top: 30px;
  align-items: center;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 750;
}

.whl-linkage {
  display: grid;
  margin-top: 22px;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid #bdd3ca;
  background: #eaf4ef;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(38px, 7vw, 82px);
}

.whl-linkage__copy h3 {
  max-width: 18ch;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.whl-linkage__copy p {
  color: #405b58;
}

.whl-linkage__path {
  margin: 0;
  padding: 0;
  border-top: 1px solid #a9c7bc;
  list-style: none;
}

.whl-linkage__path li {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 22px 0 22px 62px;
  border-bottom: 1px solid #a9c7bc;
  align-content: center;
}

.whl-linkage__path li > span {
  position: absolute;
  top: 26px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-weight: 850;
  place-items: center;
}

.whl-linkage__path strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.whl-linkage__path small {
  margin-top: 4px;
  color: #526d69;
  font-size: 0.95rem;
}

.result-cta {
  display: grid;
  padding: clamp(38px, 6vw, 68px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 46px;
  color: var(--white);
  background: var(--navy);
}

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

.result-cta h2 {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.result-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.result-cta .eyebrow {
  color: #9bd7cd;
}

.result-cta__actions {
  margin-top: 0;
  align-items: stretch;
  flex-direction: column;
}

.result-cta__text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 750;
}

.tool-footer {
  border-top: 1px solid var(--line);
}

.tool-footer__inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.tool-footer__inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.tool-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 980px) {
  .check-hero__grid,
  .result-grid,
  .result-cta {
    grid-template-columns: 1fr;
  }

  .check-hero__brand {
    max-width: 720px;
  }

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

  .question-card:nth-child(odd) {
    border-right: 0;
  }

  .question-card label {
    min-height: auto;
  }

  .score-row {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .score-row__bar,
  .score-row__label {
    grid-column: 1 / -1;
  }

  .score-row__value {
    grid-column: 2;
    grid-row: 1;
  }

  .health-story,
  .whl-linkage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tool-container {
    width: min(100% - 28px, var(--container));
  }

  .tool-header__inner {
    min-height: 70px;
  }

  .tool-brand {
    width: 175px;
  }

  .tool-header nav a:not(.header-cta) {
    display: none;
  }

  .tool-header nav .header-cta {
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .check-hero {
    padding: 54px 0;
  }

  h1 {
    font-size: clamp(2.5rem, 12.2vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .check-hero__brand {
    padding: 26px 22px;
  }

  .privacy-line {
    display: grid;
  }

  .question-card {
    padding: 26px 0;
  }

  .question-card__head {
    grid-template-columns: 30px 44px minmax(0, 1fr);
  }

  .question-card output {
    grid-column: 3;
    width: fit-content;
  }

  .scale-key {
    display: grid;
  }

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

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

  .result-card {
    margin-inline: -14px;
    padding: 34px 18px;
  }

  .wheel-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .wheel-contact .button {
    width: 100%;
  }

  .score-row__identity small {
    font-size: 0.88rem;
  }

  .health-story {
    margin-inline: -14px;
  }

  .health-story__panel {
    padding: 28px 20px;
  }

  .germany-spend__total {
    min-height: 170px;
    padding: 24px 20px;
  }

  .germany-spend__values {
    grid-template-columns: 1fr;
  }

  .health-model__band {
    min-height: 74px;
  }

  .health-model__legend {
    grid-template-columns: 1fr;
  }

  .whl-linkage {
    margin-inline: -14px;
    padding: 34px 20px;
  }

  .result-cta {
    margin-inline: -14px;
    padding: 38px 20px;
  }

  .tool-footer__inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

.tool-language-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.tool-header nav .tool-language-switch a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
}

.tool-language-switch > * + *::before {
  margin-right: 7px;
  color: var(--line);
  content: "|";
}

@media (max-width: 700px) {
  .tool-header nav {
    gap: 10px;
  }

  .tool-header nav .tool-language-switch a {
    display: inline-flex;
  }

  .tool-language-switch {
    font-size: .76rem;
  }
}
