/* =========================================================
   Psymetric – homepage (index.html)
   Narrative: problem → gap → strategies → method → Eigenwelt
   ========================================================= */

.home {
  --ink: #13283b;
  --ink-2: #36506a;
  --muted: #5a6977;
  --paper: #f6f4ef;
  --paper-2: #ebe7de;
  --white: #fff;
  --line: rgba(19, 40, 59, .12);
  --line-strong: rgba(19, 40, 59, .22);
  --navy: #102437;
  --navy-2: #1a3449;
  --teal: #2f6f6a;
  --teal-soft: #dcebe6;
  --teal-light: #8fcabe;
  --alert: #b3452c;
  --often: #c25239;
  --some: #e8bf5f;
  --never: #a3c9ab;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;

  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.home main h1,
.home main h2,
.home main h3,
.home footer h2 {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.015em;
}

.home main h2 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  text-wrap: balance;
}

.home main h3 {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
  line-height: 1.2;
}

.home main p {
  margin: 0 0 1em;
}

.home main p:last-child {
  margin-bottom: 0;
}

.home main ul,
.home main ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home main a {
  color: inherit;
}

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

.home main figure {
  margin: 0;
}

.home main figcaption {
  text-align: left;
}

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

.skip-link {
  position: absolute;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink, #13283b);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

.hp-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hp-section {
  padding-block: clamp(72px, 9vw, 136px);
  scroll-margin-top: 64px;
}

/* ---------- small shared pieces ---------- */

.hp-eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hp-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(28px, 4vw, 44px) !important;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hp-chapter span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding-inline: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.hp-chapter::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hp-chapter--light {
  color: rgba(255, 255, 255, .7);
}

.hp-chapter--light span {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.hp-chapter--light::after {
  background: rgba(255, 255, 255, .16);
}

.hp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hp-split--top {
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.home .hp-split-text > h2 {
  margin-bottom: 24px;
}

.hp-product .hp-split--top {
  align-items: start;
}

.hp-split-text p {
  color: var(--ink-2);
  font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem);
}

.hp-muted {
  color: var(--muted) !important;
}

.hp-note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.hp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hp-btn:hover {
  transform: translateY(-1px);
}

.home .hp-btn--primary {
  color: #fff;
  background: var(--ink);
}

.home .hp-btn--primary:hover {
  background: var(--ink-2);
}

.home .hp-btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.home .hp-btn--ghost:hover {
  border-color: var(--ink);
}

.home .hp-btn--light {
  color: var(--navy);
  background: #fff;
}

.home .hp-btn--light:hover {
  background: var(--teal-soft);
}

.home .hp-btn--outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.home .hp-btn--outline-light:hover {
  border-color: #fff;
}

.hp-textlink {
  display: inline-block;
  margin-top: 28px;
  color: var(--teal) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hp-textlink:hover {
  color: var(--ink) !important;
}

.hp-ticks {
  display: grid;
  gap: 10px;
  margin-top: 22px !important;
}

.hp-ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
}

.hp-ticks li::before {
  content: "";
  position: absolute;
  top: .42em;
  left: 2px;
  width: 15px;
  height: 8px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.hp-ticks--large li {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
}

.hp-ticks--large li::before {
  top: .38em;
}

.hp-sources {
  margin-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.hp-sources summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  color: var(--ink-2);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.hp-sources summary::-webkit-details-marker {
  display: none;
}

.hp-sources summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 500;
  line-height: 1;
}

.hp-sources[open] summary::after {
  content: "–";
}

.hp-sources ul {
  display: grid;
  gap: 8px;
  max-width: 920px;
  margin-top: 14px !important;
}

.hp-sources li {
  overflow-wrap: anywhere;
}

/* ---------- HERO ---------- */

.hp-hero {
  padding-top: clamp(36px, 4.5vw, 72px);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(143, 202, 190, .22), transparent 60%),
    var(--paper);
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.home .hp-hero h1 {
  font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.home .hp-hero h1 em {
  display: block;
  margin-top: .12em;
  color: var(--alert);
  font-style: italic;
  font-weight: 400;
}

.hp-lead {
  max-width: 36em;
  margin-top: 28px !important;
  color: var(--ink-2);
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  line-height: 1.6;
}

.hp-hero-media {
  position: relative;
}

.hp-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.hp-hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .88);
  background: rgba(0, 0, 0, .28);
  font-size: 11px;
  white-space: nowrap;
}

.hp-wellbeing-media span a,
.hp-hero-media figcaption a {
  display: inline;
  color: inherit;
}

.hp-hero-quote {
  position: absolute;
  bottom: clamp(20px, 3vw, 36px);
  left: clamp(-40px, -3vw, -12px);
  max-width: 232px;
  margin: 0;
  padding: 10px 14px 11px;
  border-left: 2px solid var(--alert);
  border-radius: 3px 8px 8px 3px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(16, 36, 55, .12);
}

.hp-hero-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
}

.hp-keyfigures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(48px, 7vw, 96px) 0 0;
  border-top: 1px solid var(--line-strong);
}

.hp-keyfigures > div {
  padding: 28px clamp(16px, 2.6vw, 36px) clamp(40px, 5vw, 64px);
  border-left: 1px solid var(--line);
}

.hp-keyfigures > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hp-keyfigures dt {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-keyfigures dd {
  margin: 0;
}

.hp-keyfigures strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}

.hp-keyfigures span {
  display: block;
  max-width: 22em;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- 01 PROBLEM ---------- */

.hp-problem {
  background: var(--white);
}

.hp-problem .hp-split-text h2 {
  font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem);
}

.hp-prevalence {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.hp-prevalence-total {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hp-prevalence-total strong {
  flex: none;
  color: var(--alert);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 2.4rem + 3vw, 5rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.03em;
}

.hp-prevalence-total span {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
}

.hp-hbars {
  display: grid;
  gap: 16px;
  margin-bottom: 22px !important;
}

.hp-hbars li {
  display: grid;
  grid-template-columns: minmax(130px, 38%) minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
}

.hp-hbar-label {
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hp-hbar-label small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.hp-hbar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(19, 40, 59, .08);
  overflow: hidden;
}

.hp-hbar-fill {
  display: block;
  width: calc(var(--v) / 15 * 100%);
  height: 100%;
  border-radius: inherit;
  background: var(--alert);
  transform-origin: left center;
}

.hp-hbar-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.hp-consequences {
  margin-top: clamp(72px, 9vw, 120px);
}

.hp-consequences > h3 {
  max-width: 22em;
  margin-bottom: 32px !important;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem) !important;
}

.hp-consequence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.hp-consequence {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border-top: 3px solid var(--alert);
  border-radius: 4px 4px var(--radius) var(--radius);
  background: var(--paper);
}

.hp-consequence strong {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
}

.hp-consequence p {
  flex: 1;
  color: var(--ink-2);
  font-size: 15.5px;
}

.hp-consequence > span {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- 02 THRESHOLD ---------- */

.hp-threshold {
  background: var(--paper);
}

.hp-bigstat {
  display: grid;
  justify-items: end;
  text-align: right;
}

.hp-bigstat strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}

.hp-bigstat span {
  max-width: 16em;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.hp-stacked {
  padding: clamp(22px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 24px 60px rgba(16, 36, 55, .06);
}

.hp-stacked-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
  font-weight: 600;
}

.hp-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}

.hp-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-radius: 3px;
}

.hp-legend i:first-child {
  margin-left: 0;
}

.hp-legend .is-often,
.hp-stack-bar .is-often {
  background: var(--often);
}

.hp-legend .is-some,
.hp-stack-bar .is-some {
  background: var(--some);
}

.hp-legend .is-never,
.hp-stack-bar .is-never {
  background: var(--never);
}

.hp-stack-list {
  display: grid;
  gap: 12px;
}

.hp-stack-list li {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.hp-stack-label {
  font-weight: 500;
  line-height: 1.3;
}

.hp-stack-bar {
  display: flex;
  height: 34px;
  overflow: hidden;
  border-radius: 8px;
  transform-origin: left center;
}

.hp-stack-bar > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(var(--v) * 1%);
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hp-stack-bar > span + span {
  box-shadow: inset 2px 0 0 #fff;
}

.hp-stack-bar > .is-often {
  justify-content: flex-start;
  padding-left: 12px;
  color: #fff;
}

/* ---------- 03 GAP (dark) ---------- */

.hp-gap {
  color: #fff;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(47, 111, 106, .35), transparent 60%),
    var(--navy);
}

.hp-gap .hp-split-text p {
  color: rgba(255, 255, 255, .78);
}

.hp-timeline {
  margin-top: clamp(16px, 3vw, 32px);
}

.hp-tl {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  margin-top: 36px;
}

.hp-tl-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hp-tl-stages {
  order: 1;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.hp-tl-group--prevention .hp-tl-stages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-tl-group--care {
  padding-left: 16px;
  border-left: 2px dashed rgba(232, 191, 95, .75);
}

.hp-tl-group--care .hp-tl-stages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: -18px;
  padding-left: 18px;
}

.hp-tl-stages li {
  position: relative;
  padding: 26px 16px 22px 0;
}

.hp-tl-stages li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}

.hp-tl-group--prevention .hp-tl-stages li::before {
  background: var(--teal-light);
}

.hp-tl-group--care .hp-tl-stages li:first-child::before {
  left: -23px;
  background: var(--some);
}

.hp-tl-stages span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem);
  line-height: 1.2;
}

.hp-tl-stages small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}

.home .hp-tl-threshold {
  position: absolute;
  top: -30px;
  left: -1px;
  margin: 0;
  color: var(--some);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.home .hp-lane {
  order: 2;
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: auto 0 0;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.home .hp-lane--prevention {
  margin-right: 14px;
  color: var(--navy);
  background: var(--teal-light);
}

.home .hp-lane--care {
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
}

.hp-quote {
  max-width: 940px;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0 0 0 clamp(20px, 3vw, 36px);
  border-left: 3px solid var(--teal-light);
}

.hp-quote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  font-style: italic;
  line-height: 1.25;
}

/* ---------- 04 STRATEGY ---------- */

.hp-strategy {
  background: var(--white);
}

.hp-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.hp-strategy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hp-strategy-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(16, 36, 55, .08);
}

.hp-strategy-num {
  margin-bottom: 26px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.home .hp-strategy-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem);
}

.hp-strategy-card > p {
  color: var(--ink-2);
}

.hp-strategy-fact {
  margin-top: auto !important;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}

.hp-strategy-fact strong {
  color: var(--teal);
  font-weight: 600;
}

.hp-strategy-card > a {
  align-self: flex-start;
  margin-top: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.hp-strategy-card > a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.hp-strategy-card > a:hover {
  border-bottom-color: var(--ink);
}

/* ---------- 05 METHOD ---------- */

.hp-method {
  background: var(--paper);
}

.hp-cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  counter-reset: cycle;
}

.hp-cycle::after {
  content: "↺  erneut messen";
  position: absolute;
  right: 0;
  bottom: -38px;
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hp-cycle li {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  counter-increment: cycle;
}

.hp-cycle li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 26px;
  right: calc(-1 * clamp(14px, 1.6vw, 20px) / 2 - 12px);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
}

.hp-cycle-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-cycle-step::before {
  content: counter(cycle, decimal-leading-zero);
  color: var(--muted);
}

.home .hp-cycle h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hp-cycle p {
  color: var(--ink-2);
  font-size: 15px;
}

.hp-protocol {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(88px, 10vw, 128px);
}

.home .hp-protocol h3 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
}

.hp-protocol-text > p {
  color: var(--ink-2);
}

.hp-protocol-list {
  display: grid;
  margin-top: 26px !important;
  border-top: 1px solid var(--line);
}

.hp-protocol-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hp-protocol-list span {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.hp-research {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 72px);
}

.hp-research article {
  padding: 28px 30px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
}

.hp-research span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home .hp-research h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.hp-research p {
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ---------- screenshot frames ---------- */

.hp-shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(16, 36, 55, .14);
  text-decoration: none;
}

.hp-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f1f0ec;
}

.hp-shot-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6d3cb;
}

.hp-shot-bar em {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: 14px;
  padding: 3px 12px;
  overflow: hidden;
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.hp-shot--wiki {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hp-shot--wiki > a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(16, 36, 55, .14);
  transition: transform .25s ease;
}

.hp-shot--wiki > a:hover {
  transform: translateY(-3px);
}

.hp-shot--wiki figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hp-shot--wiki figcaption a {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- 06 PRODUCT ---------- */

.hp-product {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.hp-product h2 {
  max-width: 13em;
}

.hp-showcase {
  margin-top: 8px;
}

.hp-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(19, 40, 59, .07);
}

.hp-tabs button {
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-2);
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.hp-tabs button:hover {
  color: var(--ink);
}

.hp-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
}

.hp-showcase-stage {
  position: relative;
  padding-right: clamp(0px, 13vw, 200px);
}

.hp-shot--app [role="tabpanel"] > a {
  display: block;
}

.hp-shot--app [role="tabpanel"] > p {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  background: #fff;
  font-size: 14.5px;
}

.hp-shot--app img {
  aspect-ratio: 1920 / 1175;
}

.hp-phone {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: clamp(170px, 19vw, 270px);
  padding: 9px;
  border-radius: 36px;
  background: #141a20;
  box-shadow: 0 40px 80px rgba(16, 36, 55, .3);
}

.hp-phone img {
  width: 100%;
  aspect-ratio: 780 / 1560;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
}

.hp-wiki {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(96px, 11vw, 140px);
}

.home .hp-wiki h3 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
}

.hp-wiki-text p {
  color: var(--ink-2);
}

.hp-wiki-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hp-shot--small {
  box-shadow: 0 18px 44px rgba(16, 36, 55, .1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hp-shot--small:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(16, 36, 55, .16);
}

.hp-shot--small span {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.hp-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: clamp(56px, 7vw, 88px) 0 0 !important;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.hp-boundary strong {
  color: var(--ink);
}

/* ---------- 07 WELLBEING ---------- */

.hp-wellbeing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 0;
  background: var(--white);
}

.hp-wellbeing-media {
  position: relative;
  min-height: 520px;
}

.hp-wellbeing-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-wellbeing-media span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .88);
  background: rgba(0, 0, 0, .28);
  font-size: 11px;
}

.hp-wellbeing-media a {
  color: inherit;
}

.hp-wellbeing-text {
  max-width: 660px;
  padding: clamp(64px, 8vw, 128px) var(--gutter);
}

.hp-wellbeing-text h2 {
  margin-bottom: 26px !important;
}

.hp-wellbeing-text > p:not(.hp-chapter) {
  color: var(--ink-2);
  font-size: 1.1rem;
}

/* ---------- 08 FUNDING ---------- */

.hp-funding {
  color: #fff;
  background: var(--teal);
}

.hp-funding .hp-chapter--light {
  color: rgba(255, 255, 255, .78);
}

.hp-funding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(36px, 6vw, 96px);
}

.hp-funding h2 {
  max-width: 12em;
  margin-bottom: 24px !important;
}

.hp-funding-grid > div > p:not(.hp-chapter) {
  max-width: 34em;
  color: rgba(255, 255, 255, .86);
  font-size: 1.08rem;
}

.hp-trust {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.hp-trust a {
  display: grid;
  gap: 4px;
  padding: 18px 36px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  text-decoration: none;
  background: no-repeat right 4px center / 16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.6'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  transition: padding-left .2s ease;
}

.hp-trust a:hover {
  padding-left: 6px;
}

.hp-trust strong {
  font-weight: 600;
}

.hp-trust span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

/* ---------- 09 TEAM ---------- */

.hp-team {
  background: var(--paper);
}

.hp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.hp-member {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  align-content: start;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.hp-member img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
}

.home .hp-member h3 {
  font-size: 1.3rem;
}

.hp-member-role {
  margin: 4px 0 10px !important;
  color: var(--teal);
  font-size: 14.5px;
  font-weight: 600;
}

.hp-member p:not(.hp-member-role) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hp-member a {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.hp-team-more {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(16px, 2vw, 24px);
}

.hp-supporters,
.hp-join {
  padding: 28px;
  border-radius: var(--radius);
}

.hp-supporters {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.home .hp-supporters h3,
.home .hp-join h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.hp-supporters ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.hp-supporters strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.hp-supporters span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.hp-join {
  color: #fff;
  background: var(--ink);
}

.hp-join p {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
}

.hp-join a {
  display: inline-block;
  margin-top: 18px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

/* ---------- NEWSLETTER ---------- */

.hp-newsletter {
  padding-block: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.hp-newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.hp-newsletter h2 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem) !important;
}

.hp-form.w-form {
  margin: 0;
}

.hp-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.hp-form-row {
  display: flex;
  gap: 10px;
}

.home .hp-form .w-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
}

.home .hp-form .w-input:focus {
  border-color: var(--teal);
  outline: 2px solid var(--teal-soft);
  outline-offset: 0;
}

.home .hp-form .w-button {
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.home .hp-form .w-button:hover {
  background: var(--ink-2);
}

.hp-form-msg {
  margin: 0 0 12px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 15px;
}

.hp-form-msg--error {
  color: var(--alert);
  background: #f8e6e1;
}

.hp-form .hp-note {
  margin-top: 14px;
}

/* ---------- FOOTER ---------- */

.hp-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  color: rgba(255, 255, 255, .78);
  background: var(--navy);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
}

.hp-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.hp-footer-brand img {
  width: 34px;
  height: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.hp-footer-brand p {
  margin: 0;
  max-width: 14em;
}

.hp-footer-brand strong,
.home .hp-footer h2 {
  color: #fff;
}

.home .hp-footer h2 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-footer p {
  margin: 0;
}

.hp-nowrap {
  white-space: nowrap;
}

.home .hp-footer-pay {
  width: 180px;
  max-width: 100%;
  margin-top: 16px;
  opacity: .9;
}

.hp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 24px;
}

.hp-footer-nav a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.hp-footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hp-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-cycle li:nth-child(2)::after {
    display: none;
  }

  .hp-member {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hp-member img {
    width: 72px;
    height: 72px;
  }

  .hp-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .home {
    font-size: 16px;
  }

  .hp-split,
  .hp-hero-grid,
  .hp-protocol,
  .hp-wiki,
  .hp-funding-grid,
  .hp-newsletter-grid,
  .hp-team-more {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-split--top {
    align-items: start;
  }

  .hp-hero-media img {
    aspect-ratio: 4 / 3;
  }

  .hp-hero-quote {
    left: 16px;
    bottom: 16px;
  }

  .hp-consequence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-bigstat {
    justify-items: start;
    text-align: left;
  }

  .hp-tl {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 8px;
  }

  .hp-tl-group {
    display: block;
  }

  .home .hp-lane,
  .home .hp-lane--prevention {
    min-height: 44px;
    margin: 0 0 18px;
  }

  .home .hp-tl-stages {
    display: block;
    margin-left: 6px;
    padding-left: 24px;
    border-top: 0;
    border-left: 2px solid rgba(255, 255, 255, .25);
  }

  .hp-tl-group--prevention .hp-tl-stages {
    border-left-color: var(--teal-light);
  }

  .hp-tl-stages li {
    padding: 0 0 20px;
  }

  .hp-tl-stages li:last-child {
    padding-bottom: 4px;
  }

  .hp-tl-stages li::before,
  .hp-tl-group--care .hp-tl-stages li:first-child::before {
    top: 5px;
    left: -31px;
  }

  .hp-tl-group--care {
    margin-top: 34px;
    padding: 30px 0 0;
    border-top: 2px dashed rgba(232, 191, 95, .75);
    border-left: 0;
  }

  .home .hp-tl-threshold {
    top: -10px;
    left: 50%;
    padding: 0 12px;
    background: var(--navy);
  }

  .hp-showcase-stage {
    padding-right: 0;
  }

  .hp-shot:not(.hp-shot--wiki),
  .hp-shot--wiki > a,
  .hp-stacked,
  .hp-hero-quote {
    box-shadow: 0 4px 14px rgba(16, 36, 55, .08);
  }

  .hp-phone {
    display: none;
  }

  .hp-wellbeing {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-wellbeing-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .hp-hero-quote {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: -36px 12px 0;
  }

  .hp-hbars li {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 6px 12px;
  }

  .hp-hbar-label {
    grid-column: 1 / -1;
  }

  .hp-stack-list {
    gap: 16px;
  }

  .hp-stack-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hp-stack-bar {
    height: 30px;
  }

  .hp-stack-bar > span {
    font-size: 12px;
  }

  .hp-stack-bar > .is-often {
    padding-left: 8px;
  }

  .hp-cycle,
  .hp-keyfigures,
  .hp-strategy-grid,
  .hp-research,
  .hp-team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-keyfigures > div {
    padding: 22px 0 24px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .hp-member {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hp-cycle li:not(:last-child)::after {
    display: none;
  }

  .hp-hero-media figcaption {
    top: 10px;
    bottom: auto;
  }

  .hp-cycle::after {
    position: static;
    display: block;
    margin-top: 4px;
  }

  .hp-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
  }

  .hp-tabs button {
    padding-inline: 10px;
    border-radius: 12px;
    font-size: 13.5px;
  }

  .hp-shot-bar em {
    margin-left: 8px;
  }

  .hp-wiki-shots,
  .hp-supporters ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-member {
    padding: 22px;
  }

  .hp-form-row {
    flex-direction: column;
  }

  .home .hp-form .w-input {
    flex: none;
    width: 100%;
  }

  .home .hp-form .w-button {
    width: 100%;
  }

  .hp-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
