/* FFMI Calculator sandbox: MH Physique dark tokens. Sandbox preview, niet productie. */

:root {
  --bg: #0b0e11;
  --surface: #12161b;
  --surface-2: #181d23;
  --border: #262c33;
  --border-strong: #42464b;
  --head: #f3f4f5;
  --body: #cfd2d6;
  --dim: #a8adb5;
  --blue: #1372d3;
  --blue-hover: #2e8cf3;
  --blue-deep: #0d54a0;
  --link: #82b4f2;
  --teal: #1bbc9b;
  --green: #34ae44;
  --amber: #e2a33b;
  --radius-card: 4px;
  --radius-field: 4px;
  --radius-pill: 74px;
  --maxw: 1080px;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  color: var(--head);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible {
  outline: 2px solid var(--blue-hover);
  outline-offset: 2px;
}

/* ---------- demo ribbon ---------- */
.demo-ribbon {
  background: var(--amber);
  color: #14110a;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 7px 16px;
}
.demo-ribbon button {
  background: none;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: inherit;
  text-decoration: underline;
  margin-left: 8px;
}

/* ---------- header ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.site-head .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.site-head .brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}
.badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 5px 13px;
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  padding: 44px 0 8px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px -40px auto -40px;
  height: 420px;
  background: radial-gradient(560px 300px at 18% 20%, rgba(19, 114, 211, 0.09), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .sub,
  .hero .mode-cards,
  .hero .scroll-cue {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.55s cubic-bezier(0.32, 0.72, 0, 1) forwards;
  }
  .hero .sub {
    animation-delay: 0.09s;
  }
  .hero .mode-cards {
    animation-delay: 0.18s;
  }
  .hero .scroll-cue {
    animation-delay: 0.3s;
  }
}
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  max-width: 21ch;
}
.hero h1 .kicker {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.hero .sub {
  max-width: 68ch;
  color: var(--body);
  font-size: 18px;
}
.hero .sub .note {
  color: var(--dim);
  font-size: 15.5px;
  display: block;
  margin-top: 8px;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 26px 0 10px;
}
.mode-card {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  cursor: pointer;
  color: var(--body);
  font: inherit;
  transition: border-color 0.3s, background 0.3s;
}
.mode-card:hover {
  border-color: var(--blue-hover);
}
.mode-card[aria-checked="true"] {
  border-color: var(--blue);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.mode-card .mc-step {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dim);
}
.mode-card .mc-title {
  display: block;
  color: var(--head);
  font-size: 21px;
  font-weight: 700;
  margin: 4px 0 4px;
}
.mode-card .mc-desc {
  font-size: 15px;
  color: var(--dim);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font-size: 14.5px;
  padding: 6px 0 0;
}
.scroll-cue .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(45deg);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(4px) rotate(45deg);
  }
}

/* ---------- calculator ---------- */
.calc {
  padding: 26px 0 56px;
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 22px;
  align-items: start;
}

.group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  margin-bottom: 16px;
  transition: opacity 0.3s;
}
.group.is-waiting {
  opacity: 0.55;
}
.group h2 {
  font-size: 18px;
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.group h2 .gnum {
  color: var(--dim);
  font-weight: 500;
  font-size: 15px;
}

.field {
  margin-bottom: 16px;
}
.field:last-child {
  margin-bottom: 2px;
}
.field > label,
fieldset.field legend {
  display: block;
  color: var(--head);
  font-weight: 500;
  font-size: 15.5px;
  margin-bottom: 7px;
  padding: 0;
}
fieldset.field {
  border: none;
  margin: 0 0 16px;
  padding: 0;
}

input[type="number"],
input[type="email"] {
  width: 100%;
  background: #0e1216;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-field);
  color: var(--head);
  font: inherit;
  font-size: 17px;
  padding: 12px 14px;
  transition: border-color 0.3s;
}
input[type="number"]::placeholder,
input[type="email"]::placeholder {
  color: var(--dim);
  opacity: 1;
}
input[type="number"]:focus,
input[type="email"]:focus {
  border-color: var(--blue-hover);
  outline: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dual .sublabel {
  display: block;
  color: var(--dim);
  font-size: 13.5px;
  margin-top: 5px;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.seg label {
  position: relative;
  display: block;
  cursor: pointer;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-field);
  padding: 11px 10px;
  font-size: 15.5px;
  color: var(--body);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.seg label:hover span {
  border-color: var(--blue-hover);
}
.seg input:checked + span {
  border-color: var(--blue);
  background: rgba(19, 114, 211, 0.14);
  color: var(--head);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--blue-hover);
  outline-offset: 2px;
}

.measure-hint {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--dim);
  max-width: 60ch;
}

.soft-warn {
  color: var(--amber);
  font-size: 14.5px;
  margin-top: 7px;
  max-width: 58ch;
}

/* ---------- results panel ---------- */
.results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  position: sticky;
  top: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 12px 32px rgba(0, 0, 0, 0.35);
}
.results h2 {
  font-size: 20px;
  margin-bottom: 14px;
}
.results .empty {
  color: var(--dim);
  font-size: 15.5px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-field);
  padding: 18px;
  max-width: 46ch;
}

@media (prefers-reduced-motion: no-preference) {
  .first-reveal .score,
  .first-reveal .gapbar,
  .first-reveal .statlist,
  .first-reveal .figure-panel,
  .first-reveal .cta-card {
    opacity: 0;
    transform: translateY(8px);
    animation: rise 0.45s cubic-bezier(0.32, 0.72, 0, 1) forwards;
  }
  .first-reveal .gapbar {
    animation-delay: 0.08s;
  }
  .first-reveal .statlist {
    animation-delay: 0.16s;
  }
  .first-reveal .cta-card {
    animation-delay: 0.24s;
  }
}

.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.score .num {
  font-size: 58px;
  font-weight: 700;
  color: var(--head);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.score .lbl {
  color: var(--dim);
  font-size: 15px;
  max-width: 18ch;
}

.gapbar {
  margin: 20px 0 6px;
}
.gapbar .track {
  position: relative;
  height: 12px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.gapbar .fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: left 0.5s, width 0.5s;
}
.gapbar .mark {
  position: absolute;
  top: -5px;
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--head);
  transform: translateX(-50%);
  transition: left 0.5s;
}
.gapbar .mark.is-max {
  background: var(--teal);
}
.gapbar .legend {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--dim);
  margin-top: 9px;
  gap: 10px;
}
.gapbar .legend b {
  color: var(--head);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.statlist {
  margin: 16px 0 4px;
  display: grid;
  gap: 0;
}
.statrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.statrow:last-child {
  border-bottom: none;
}
.statrow .k {
  color: var(--body);
}
.statrow .v {
  color: var(--head);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* CTA-kaart */
.cta-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-field);
  padding: 18px;
  margin: 18px 0;
}
.cta-card p {
  margin: 0 0 6px;
  font-size: 15.5px;
}
.cta-card .gapline {
  color: var(--head);
  font-weight: 500;
}
.cta-card .support {
  color: var(--dim);
  font-size: 14.5px;
}
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 15px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  text-align: center;
}
.btn:hover {
  background: var(--blue-hover);
}
.btn:active {
  transform: translateY(1px);
}
.cta-card .btn {
  margin-top: 10px;
}
.cta-card .cta-micro {
  color: var(--dim);
  font-size: 13.5px;
  margin: 9px 0 0;
}
.interim-note {
  color: var(--dim);
  font-size: 14.5px;
  margin: 6px 0 14px;
  max-width: 60ch;
}
.mode-switch-note {
  font-size: 15px;
  color: var(--body);
  margin: 14px 0 0;
}
.mode-switch-note button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--link);
  cursor: pointer;
  text-decoration: underline;
}

/* breakdown */
.breakdown {
  margin-top: 20px;
}
.breakdown h3 {
  font-size: 16.5px;
  margin-bottom: 4px;
}
.breakdown .bd-sub {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 12px;
}
.part {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.part:last-child {
  border-bottom: none;
}
.part .toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.part .pname {
  color: var(--head);
  font-weight: 500;
  font-size: 15px;
}
.chip {
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}
.chip.perfect {
  color: #7fe28e;
  background: rgba(52, 174, 68, 0.14);
}
.chip.under {
  color: #8fc6ff;
  background: rgba(19, 114, 211, 0.16);
}
.chip.over {
  color: #5fe0c4;
  background: rgba(27, 188, 155, 0.14);
}
.part .ptrack {
  position: relative;
  height: 8px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.part .pfill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 100px;
  background: var(--blue);
  transition: width 0.5s;
}
.part .nums {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 13.5px;
  color: var(--dim);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.part .nums span {
  white-space: nowrap;
}

.bd-flex {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.bd-figure {
  flex: 0 0 104px;
}
.bd-figure svg {
  width: 104px;
  height: auto;
  display: block;
}
.bd-rows {
  flex: 1;
  min-width: 0;
}
.bd-figure .neutral {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1.5;
}
.bd-figure .zone {
  stroke-width: 1.5;
}
.bd-figure .zone.perfect {
  fill: rgba(52, 174, 68, 0.28);
  stroke: #4ecf60;
}
.bd-figure .zone.under {
  fill: rgba(19, 114, 211, 0.3);
  stroke: #5fa6ee;
}
.bd-figure .zone.over {
  fill: rgba(27, 188, 155, 0.3);
  stroke: #3fd9b6;
}

/* resultaat-figuur (ecorche) */
.figure-panel {
  margin: 14px 0 4px;
}
.figure-panel .fig-wrap {
  position: relative;
  line-height: 0;
}
.figure-panel img.base {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-field);
  border: 1px solid var(--border);
}
.figure-panel .hl {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: opacity 0.25s;
  pointer-events: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@supports not ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .figure-panel .hl {
    display: none;
  }
}
.figure-panel .fig-wrap[data-active] .hl {
  opacity: 0.16;
}
.figure-panel .fig-wrap[data-active="neck"] .hl-neck,
.figure-panel .fig-wrap[data-active="torso"] .hl-torso,
.figure-panel .fig-wrap[data-active="upperArm"] .hl-upperArm,
.figure-panel .fig-wrap[data-active="forearm"] .hl-forearm,
.figure-panel .fig-wrap[data-active="thigh"] .hl-thigh,
.figure-panel .fig-wrap[data-active="calf"] .hl-calf {
  opacity: 1;
}
.figure-panel svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.figure-panel svg.lines line {
  stroke: var(--border-strong);
  stroke-width: 1.2;
  transition: stroke 0.25s;
}
.figure-panel svg.lines line.is-hot {
  stroke: var(--head);
}
.fig-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 18, 22, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--head);
  cursor: pointer;
  white-space: nowrap;
  z-index: 4;
  transition: border-color 0.25s;
}
.fig-callout .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.fig-callout .pct {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.fig-callout small {
  display: block;
  color: var(--dim);
  font-size: 12px;
}
.fig-callout.is-hot {
  border-color: var(--head);
}
.fig-callout small.rel {
  font-weight: 500;
}
.fig-brand {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 12px;
  color: var(--dim);
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 3;
}
.figure-panel.female .hl-body {
  opacity: 0.55;
}
.fig-note {
  color: var(--dim);
  font-size: 13px;
  margin: 10px 0 0;
  max-width: 52ch;
  line-height: 1.5;
}
.group-note {
  color: var(--dim);
  font-size: 14.5px;
  margin: 2px 0 0;
  max-width: 52ch;
}
.bd-details {
  margin-top: 12px;
}
.bd-details summary {
  cursor: pointer;
  color: var(--dim);
  font-size: 14px;
  list-style: none;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.bd-details summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--dim);
  border-bottom: 1.5px solid var(--dim);
  transform: rotate(-45deg);
  transition: transform 0.3s;
}
.bd-details[open] summary::before {
  transform: rotate(45deg);
}
.bd-details[open] summary {
  margin-bottom: 8px;
}

/* natty result */
.chance-desc {
  font-size: 14.5px;
  color: var(--dim);
  max-width: 58ch;
}

/* share card */
.share-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 18px;
  margin-top: 18px;
}
.share-card h3 {
  font-size: 17px;
  margin-bottom: 5px;
}
/* featured: share is the strong secondary action, so it gets weight + centering */
.share-card.is-featured {
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--blue);
  padding: 22px;
  text-align: center;
}
.share-card.is-featured h3 {
  font-size: 18px;
}
.share-card.is-featured .ec-body {
  color: var(--body);
  margin: 0 auto 14px;
  max-width: 42ch;
}
.share-card.is-featured .share-buttons {
  justify-content: center;
}
.share-card.is-featured .btn-line {
  font-weight: 700;
}
.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-line {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--head);
  font-size: 16px;
  padding: 13px 22px;
  min-height: 46px;
}
.btn-line:hover {
  background: rgba(19, 114, 211, 0.14);
  border-color: var(--blue-hover);
}

/* gedeelde-link banner */
.shared-banner {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  color: var(--body);
  font-size: 15.5px;
  padding: 13px 0;
}
.shared-banner b {
  color: var(--head);
  font-variant-numeric: tabular-nums;
}

/* email card */
.email-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 18px;
  margin-top: 18px;
}
.email-card h3 {
  font-size: 17px;
  margin-bottom: 5px;
}
.email-card .ec-body {
  font-size: 14.5px;
  color: var(--body);
  margin-bottom: 12px;
  max-width: 52ch;
}
.email-combo {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.email-combo input {
  width: 100%;
}
.email-combo .btn {
  padding: 12px 22px;
  width: 100%;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--body);
  margin-top: 11px;
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.email-msg {
  font-size: 14.5px;
  margin-top: 10px;
}
.email-msg.is-err {
  color: var(--amber);
}
.email-msg.is-ok {
  color: #7fe28e;
}
/* quiet: email is the tertiary capture, kept below app (primary) and share (secondary) */
.email-card.is-quiet {
  padding: 16px;
  margin-top: 14px;
}
.email-card.is-quiet h3 {
  font-size: 15.5px;
  color: var(--body);
}
.email-card.is-quiet .email-combo .btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--head);
}
.email-card.is-quiet .email-combo .btn:hover {
  background: rgba(19, 114, 211, 0.14);
  border-color: var(--blue-hover);
}
.sandbox-note {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

/* ---------- comparison band ---------- */
.compare {
  padding: 30px 0 54px;
}
.compare h2 {
  font-size: 26px;
}
.compare .band {
  margin: 34px 0 14px;
  position: relative;
}
.compare .track {
  position: relative;
  height: 14px;
  border-radius: 100px;
  background: linear-gradient(90deg, #1d2530, #1d386a 40%, #1372d3 62%, #1372d3 66%, #2a313a 70%, #2a313a 100%);
  border: 1px solid var(--border);
}
.compare .tick {
  position: absolute;
  top: -7px;
  width: 2px;
  height: 28px;
  background: var(--border-strong);
  transform: translateX(-50%);
}
.compare .tick.minor {
  height: 18px;
  top: -2px;
}
.compare .tick i {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 13px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.compare .you {
  position: absolute;
  top: -13px;
  transform: translateX(-50%);
  transition: left 0.5s;
}
.compare .you .dot {
  width: 14px;
  height: 38px;
  border-radius: 100px;
  background: var(--head);
  border: 3px solid var(--blue);
  margin: 0 auto;
}
.compare .you .youlbl {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.compare .legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 26px;
  max-width: 640px;
}
.compare .legend .row {
  display: flex;
  gap: 13px;
  align-items: baseline;
  font-size: 15px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.compare .legend .val {
  color: var(--head);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
}
.compare .legend .desc {
  color: var(--body);
}

/* ---------- bridge ---------- */
.bridge {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.bridge-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px;
  align-items: center;
}
.bridge-copy .btn {
  margin-top: 6px;
}
.bridge-mockup {
  margin: 0;
  justify-self: center;
}
.bridge-mockup img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
.bridge h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  max-width: 24ch;
}
.bridge .lede {
  max-width: 64ch;
  font-size: 17.5px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 40px 0 6px;
  align-items: start;
}
.feature {
  border-top: 2px solid var(--blue);
  padding-top: 16px;
}
.feature h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.feature p {
  font-size: 14.5px;
  color: var(--dim);
  margin: 0;
  max-width: 38ch;
}
.bridge .cta-micro {
  color: var(--dim);
  font-size: 13.5px;
  margin: 9px 0 0;
}

/* ---------- methodology ---------- */
.methodology {
  padding: 56px 0;
}
.methodology h2 {
  font-size: 26px;
}
.methodology .preline {
  max-width: 70ch;
  color: var(--dim);
  font-size: 15.5px;
}

.methodology .mbody {
  padding: 4px 0 0;
}
.methodology .mbody p {
  max-width: 70ch;
  font-size: 16px;
  color: var(--body);
}

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--border);
  padding: 36px 0 110px;
  font-size: 14.5px;
  color: var(--dim);
}
.site-foot .foot-cta {
  color: var(--body);
  font-size: 15.5px;
  margin-bottom: 14px;
}
.site-foot .legal {
  max-width: 75ch;
}
.site-foot a {
  color: var(--dim);
}
.site-foot .foot-cta a {
  color: var(--link);
  font-weight: 500;
}

/* ---------- sticky chip (mobiel) ---------- */
.sticky-chip {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--blue-deep);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  z-index: 30;
  font-variant-numeric: tabular-nums;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bridge-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .bridge-mockup {
    max-width: 400px;
    justify-self: start;
  }
  .results {
    position: static;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .compare .tick.minor {
  height: 18px;
  top: -2px;
}
.compare .tick i {
    display: none;
  }
  .mode-cards {
    grid-template-columns: 1fr;
  }
  .score .num {
    font-size: 46px;
  }
  .bd-flex {
    flex-direction: column;
    align-items: center;
  }
  .bd-figure svg {
    width: 92px;
  }
  .bd-rows {
    width: 100%;
  }
	.fig-callout {
    padding: 3px 7px;
    line-height: 1.22;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
