:root {
  --blue: #142658;
  --green: #007277;
  --green-dark: #005f63;
  --green-soft: #e6f4f4;
  --orange: #f08a16;
  --orange-dark: #c96f0f;
  --orange-soft: #fff1df;
  --ink: #1c2838;
  --menu-text: #45505d;
  --muted: #5d6978;
  --line: #dce4ea;
  --paper: #ffffff;
  --cream: #fbfaf6;
  --yellow: #f08a16;
  --yellow-soft: #fff1df;
  --red: #a4131c;
  --red-soft: #fff0ee;
  --blue-soft: #eef2f8;
  --shadow: 0 18px 55px rgba(20, 38, 88, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Poppins", Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 18px clamp(22px, 3.4vw, 46px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(22, 30, 42, 0.05);
  font-size: 18px;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.075);
}

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

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 24px);
  font-size: 18px;
}

.top-nav a {
  color: var(--menu-text);
  font-weight: 400;
}

.top-nav .nav-cta {
  color: var(--paper);
  background: var(--red);
  padding: 9.5px 30px;
  border: 2px solid var(--orange);
  border-radius: 50px;
  background: var(--orange);
  font-weight: 700;
  letter-spacing: 0.25px;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger-slices {
  position: relative;
  display: block;
  width: 100%;
  height: 24px;
}

.hamburger-slice {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transition: all 0.2s ease-in-out;
}

.hamburger-slice-1 {
  top: 0;
}

.hamburger-slice-2,
.hamburger-slice-3 {
  top: 11px;
}

.hamburger-slice-4 {
  top: 22px;
}

.menu-toggle.is-open .hamburger-slice-1 {
  transform: translate(0, -6px);
  opacity: 0;
}

.menu-toggle.is-open .hamburger-slice-2 {
  transform: rotate(-45deg);
}

.menu-toggle.is-open .hamburger-slice-3 {
  transform: rotate(45deg);
}

.menu-toggle.is-open .hamburger-slice-4 {
  transform: translate(0, 6px);
  opacity: 0;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  max-width: 980px;
  font-size: clamp(40px, 5.3vw, 70px);
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.start-page.active {
  display: block;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 448px;
  padding: clamp(58px, 8vw, 112px) 24px;
  background: var(--green);
  text-align: center;
}

.home-hero .hero-copy {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  overflow-wrap: break-word;
}

.home-hero h1,
.home-hero .lead,
.home-hero .micro-copy {
  color: var(--paper);
}

.home-hero .eyebrow {
  color: var(--orange);
  margin-bottom: 18px;
}

.home-hero h1 {
  margin: 0 auto;
}

.home-hero .lead {
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: var(--paper);
  background: var(--orange);
  padding: 9.5px 30px;
  border: 2px solid var(--orange);
  border-radius: 50px;
  letter-spacing: 0.25px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  white-space: normal;
}

.primary-button:hover {
  filter: brightness(120%);
}

.primary-button.full {
  width: 100%;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 9.5px 30px;
  border: 2px solid var(--green);
  border-radius: 50px;
  letter-spacing: 0.25px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.text-button {
  color: var(--green-dark);
  background: transparent;
  padding: 8px 0;
}

.micro-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  width: min(1220px, calc(100% - 42px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 118px) 0;
}

.service-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.service-link {
  display: inline-flex;
  margin-top: 8px;
}

.service-image-link {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image-link:hover {
  text-decoration: none;
}

.service-image-link:hover .service-image {
  transform: scale(1.015);
}

.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 850;
}

.check-shell,
.result-shell,
.detail-shell {
  width: min(1050px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.progress-row {
  display: grid;
  grid-template-columns: 90px 1fr 82px;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.progress {
  height: 10px;
  background: var(--blue-soft);
  border-radius: 999px;
  overflow: hidden;
}

#progress-bar {
  width: 0;
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
  transition: width 180ms ease;
}

#progress-label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.question-card,
.result-main,
.email-box,
.next-steps,
.article-section,
.service-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.question-card {
  min-height: 520px;
  padding: clamp(26px, 5vw, 58px);
}

.question-card h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.question-detail {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
}

.answer-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.question-card.no-detail .answer-list {
  margin-top: 40px;
}

.answer-option {
  width: 100%;
  padding: 16px 58px 16px 22px;
  color: var(--ink);
  background: #fbfcfd;
  border: 2px solid var(--line);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.answer-option:focus-visible {
  border-color: var(--orange);
  background: var(--orange-soft);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .answer-option:hover {
    border-color: var(--orange);
    background: var(--orange-soft);
  }
}

.answer-option.selected {
  position: relative;
  border-color: var(--green);
  background: #e8f5f4;
  box-shadow: 0 0 0 3px rgba(0, 114, 119, 0.14);
}

.answer-option.selected::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transform: translateY(-50%);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.result-main,
.email-box {
  padding: clamp(24px, 4vw, 42px);
}

.result-main p {
  max-width: 760px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 50px;
  font-weight: 700;
}

.tone-green {
  color: var(--green-dark);
  background: var(--green-soft);
}

.tone-yellow {
  color: #8a4d08;
  background: var(--yellow-soft);
}

.tone-red {
  color: var(--red);
  background: var(--red-soft);
}

.email-box p {
  color: var(--muted);
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 820;
}

input,
#kajabi-form input {
  width: 100%;
  min-height: 58px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 18px;
}

input:focus,
#kajabi-form input:focus {
  border-color: var(--orange);
  outline: none;
}

.kajabi-form-wrap {
  margin-top: 20px;
}

.kajabi-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

#kajabi-form,
#kajabi-form * {
  font-family: "Poppins", Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

#kajabi-form input,
#kajabi-form input[type="email"] {
  min-height: 58px !important;
  padding: 14px 16px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
}

#kajabi-form {
  margin: 0 !important;
}

#kajabi-form .kajabi-form__content {
  padding: 0 !important;
}

#kajabi-form .kajabi-form__title,
#kajabi-form .kajabi-form__subtitle {
  display: none !important;
}

#kajabi-form fieldset {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#kajabi-form .kajabi-form__form-item {
  margin: 0 !important;
}

#kajabi-form .kajabi-form__btn {
  width: 100% !important;
  min-height: 54px !important;
  color: var(--paper) !important;
  background: var(--orange) !important;
  border: 2px solid var(--orange) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.25px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer !important;
}

#kajabi-form .kajabi-form__btn:hover {
  filter: brightness(120%) !important;
}

.detail-intro {
  margin-bottom: 24px;
}

.detail-intro p {
  max-width: 830px;
  font-size: 20px;
}

.detail-result-image {
  display: block;
  width: 100%;
  margin: 26px 0 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.category-card h3 .small-badge {
  margin-left: 10px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.small-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.next-steps,
.article-section,
.service-cta {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.next-steps ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 26px;
}

.next-steps li {
  padding-left: 4px;
}

.article-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
}

.article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.article-card p {
  margin: 10px 0 16px;
}

.service-cta {
  padding: clamp(38px, 6vw, 58px);
  color: var(--paper);
  background: var(--green);
  border: 0;
  box-shadow: none;
  text-align: left;
}

.service-cta h3 {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--paper);
  font-size: clamp(30px, 4vw, 48px);
}

.service-cta p {
  max-width: 820px;
  margin: 0 0 18px;
  color: var(--paper);
  font-size: 18px;
}

.service-cta .primary-button {
  margin-top: 8px;
}

.restart-row {
  margin-top: 20px;
  text-align: center;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  background: transparent;
  padding: 8px 10px;
  border: 0;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
}

.icon-action span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.icon-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.icon-action:hover {
  color: var(--orange-dark);
}

.icon-action:hover span {
  background: var(--orange);
}

.print-button {
  margin-top: 12px;
}

.site-footer {
  color: var(--paper);
  background: #161e2a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 44px, 1210px);
  margin: 0 auto;
  padding: 20px 0;
}

.footer-logo {
  display: block;
  width: 150px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}

.footer-links a {
  margin: 0 10px;
  color: var(--paper);
  font-weight: 400;
}

.footer-copy {
  margin: 0;
  color: var(--paper);
  font-size: 18px;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-social a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  text-decoration: none;
  filter: brightness(120%);
}

.swiss-made {
  display: block;
  width: 30px;
  height: 30px;
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  .service-section,
  .result-grid,
  .category-grid,
  .article-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding: 66px 24px;
  }

  .service-section {
    padding: 58px 0;
  }

  .progress-row {
    grid-template-columns: 74px 1fr 68px;
    gap: 10px;
  }

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

  h1 {
    font-size: 45px;
  }
}

@media (max-width: 767px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: 76px;
    padding: 16px 14px;
    font-size: 16px;
  }

  .brand-logo {
    width: 142px;
  }

  .menu-toggle {
    display: block;
  }

  .top-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px 0 4px;
    text-align: right;
  }

  .top-nav.is-open {
    display: flex;
    flex-basis: 100%;
  }

  .top-nav a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
  }

  .top-nav .nav-cta {
    margin-top: 8px;
    padding: 8px 20px;
    white-space: nowrap;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-links a {
    margin: 5px 10px;
  }

  .footer-copy {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .check-shell,
  .result-shell,
  .detail-shell,
  .service-section {
    width: auto;
    max-width: none;
    margin-right: 12px;
    margin-left: 12px;
    padding-top: 26px;
  }

  .detail-shell,
  .detail-shell *,
  .result-shell,
  .result-shell *,
  .check-shell,
  .check-shell * {
    min-width: 0;
  }

  .detail-intro h2,
  .detail-intro p,
  .category-card h3,
  .category-card p,
  .next-steps,
  .service-cta {
    overflow-wrap: break-word;
  }

  .home-hero {
    width: 100%;
    padding: 48px 16px 56px;
  }

  .home-hero .hero-copy,
  .home-hero h1,
  .home-hero .lead {
    width: 100%;
    max-width: 100%;
  }

  .home-hero .hero-actions {
    align-items: center;
    flex-direction: column;
    gap: 14px;
  }

  .question-card,
  .result-main,
  .email-box,
  .next-steps,
  .article-section,
  .service-cta {
    padding: 20px;
  }

  .service-cta .primary-button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .site-header,
  .site-footer,
  .restart-row,
  .article-section,
  .service-cta,
  .detail-result-image,
  .print-button {
    display: none !important;
  }

  .detail-shell {
    width: 100%;
    padding: 0;
  }

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

  .category-card,
  .next-steps {
    break-inside: avoid;
    box-shadow: none;
  }
}
