/* =====================================================================
   MLP Coaching — components & page sections
   Built only on tokens.css.
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
  -webkit-tap-highlight-color: rgba(91, 60, 221, 0.12);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-weight: var(--fw-semibold);
  text-wrap: balance;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--violet-100);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: var(--z-overlay);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: var(--fw-semibold);
}

.skip-link:focus {
  top: 16px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.container--narrow {
  max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
}

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
}

.section--tight-top {
  padding-top: calc(var(--section-y) * 0.5);
}

.section--night {
  background: var(--night);
  color: var(--on-night-2);
}

.section--night h2,
.section--night h3,
.section--night h4 {
  color: var(--on-night);
}

/* ---------- Typography ---------- */
.h-display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  font-weight: var(--fw-semibold);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.h4 {
  font-size: var(--fs-h4);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-2);
}

.section--night .lead {
  color: var(--on-night-2);
}

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

.small {
  font-size: var(--fs-small);
}

.accent {
  color: var(--accent);
}

.section--night .accent {
  color: var(--violet-300);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.prose {
  display: grid;
  gap: var(--s-4);
  max-width: 64ch;
}

/* ---------- Eyebrow / Label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--violet-100);
  border-radius: var(--r-pill);
  background: var(--violet-50);
  color: var(--violet-700);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-500);
}

.section--night .eyebrow,
.closing .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--night-line);
  color: var(--violet-200);
}

.section--night .eyebrow::before,
.closing .eyebrow::before {
  background: var(--violet-300);
}

/* ---------- Section Header ---------- */
.section-head {
  display: grid;
  gap: var(--s-4);
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head > .lead {
  max-width: 62ch;
}

.section-head--center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 96px);
}

.section-head--split .section-head__title {
  display: grid;
  gap: var(--s-4);
}

@media (max-width: 860px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-std),
    border-color var(--dur-base) var(--ease-std),
    color var(--dur-base) var(--ease-std),
    box-shadow var(--dur-base) var(--ease-std),
    transform var(--dur-base) var(--ease-out);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--sm {
  --btn-h: 44px;
  padding: 0 18px;
  font-size: var(--fs-small);
}

.btn--lg {
  --btn-h: 58px;
  padding: 0 26px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--violet-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(31, 20, 88, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn--primary:hover {
  background: var(--violet-700);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--violet-300);
  background: var(--violet-50);
  color: var(--violet-700);
  transform: translateY(-1px);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--violet-50);
  color: var(--violet-700);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--on-night);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .btn-row--stack-sm {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row--stack-sm .btn {
    white-space: normal;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-base) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Cards & tiles ---------- */
.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.card--flat {
  box-shadow: none;
}

.card--tint {
  background: var(--paper);
  box-shadow: none;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--violet-100);
  border-radius: var(--r-md);
  background: var(--violet-50);
  color: var(--violet-600);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--violet-600);
}

/* ---------- Stars ---------- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--violet-600);
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- Avatars ---------- */
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  color: var(--violet-700);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  width: 36px;
  height: 36px;
  margin-left: -10px;
  border: 2px solid var(--white);
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

/* ---------- Media ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--mist);
  isolation: isolate;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(17, 14, 29, 0) 40%, rgba(17, 14, 29, 0.35) 100%);
  cursor: pointer;
}

.play-btn__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--violet-600);
  box-shadow: 0 12px 40px rgba(17, 14, 29, 0.35);
  transition: transform var(--dur-slow) var(--ease-out);
}

.play-btn__icon svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: currentColor;
}

.play-btn:hover .play-btn__icon {
  transform: scale(1.07);
}

.play-btn__label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  gap: 12px;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.checklist svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--violet-600);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition:
    border-color var(--dur-base) var(--ease-std),
    box-shadow var(--dur-base) var(--ease-std);
}

.accordion details[open] {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--heading);
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.accordion summary:focus-visible {
  border-radius: var(--r-lg);
}

.accordion__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--violet-50);
  color: var(--violet-600);
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base);
}

.accordion__icon svg {
  width: 16px;
  height: 16px;
}

.accordion details[open] .accordion__icon {
  transform: rotate(45deg);
  background: var(--violet-600);
  color: var(--white);
}

.accordion__body {
  padding: 0 24px 22px;
  color: var(--ink-2);
}

.accordion__body p + p {
  margin-top: 10px;
}

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
}

.tab {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-3);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background-color var(--dur-base), color var(--dur-base), box-shadow var(--dur-base);
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--white);
  color: var(--violet-700);
  box-shadow: var(--shadow-sm);
}

/* ---------- Review card ---------- */
.review {
  display: grid;
  gap: 12px;
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  break-inside: avoid;
}

.review__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__who {
  min-width: 0;
  flex: 1;
}

.review__name {
  color: var(--heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

.review__meta,
.review__date {
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.review__date {
  align-self: start;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.review__title {
  color: var(--heading);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}

.review__text {
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.6;
}

.review__text p + p {
  margin-top: 8px;
}

.review__foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-overlay);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-small);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 0);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}

.toast[hidden] {
  display: block !important;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
}

/* =====================================================================
   HOMEPAGE SECTIONS
   ===================================================================== */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(21, 18, 31, 0.05);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--white);
}

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}

.brand__name {
  display: grid;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__name strong {
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.brand__name span {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  list-style: none;
}

.nav__links a {
  position: relative;
  padding-block: 8px;
  white-space: nowrap;
  color: var(--ink-2);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: color var(--dur-base);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1180px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav__actions .btn--secondary {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav__actions .btn--primary {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .mobile-menu {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu__inner {
    display: grid;
    gap: 6px;
    padding-block: 16px 24px;
  }

  .mobile-menu a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
  }

  .mobile-menu .btn {
    margin-top: 10px;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .nav__toggle {
    display: grid;
  }

  .mobile-menu {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu__inner {
    display: grid;
    gap: 6px;
    padding-block: 16px 24px;
  }

  .mobile-menu a:not(.btn) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
  }

  .mobile-menu .btn {
    margin-top: 10px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.hero::before {
  /* Quiet price-level grid: structure, not effect */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(120% 90% at 78% 30%, #000 10%, transparent 70%);
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  z-index: -1;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(117, 86, 234, 0.12), transparent);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  color: var(--ink-2);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: border-color var(--dur-base);
}

.hero__proof:hover {
  border-color: var(--violet-200);
}

.hero__proof .avatar-stack .avatar {
  width: 30px;
  height: 30px;
  margin-left: -6px;
  font-size: 10px;
  letter-spacing: 0;
}

.hero__proof .avatar-stack .avatar:first-child {
  margin-left: 0;
}

.hero__proof strong {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

@media (max-width: 420px) {
  .hero__proof .stars {
    display: none;
  }
}

.hero__lead {
  max-width: 34em;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.hero__note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--violet-600);
}

.hero__media {
  position: relative;
}

.hero__media .media {
  aspect-ratio: 4 / 4.3;
  box-shadow: var(--shadow-lg);
}

.trade-card {
  position: absolute;
  left: -40px;
  bottom: -32px;
  width: min(310px, 80%);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.trade-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.trade-card__title {
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.trade-card__pair {
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--violet-50);
  color: var(--violet-700);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.trade-card .checklist {
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.trade-card .checklist li {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.trade-card .checklist svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__media {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .trade-card {
    left: 16px;
  }
}

@media (max-width: 480px) {
  .trade-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -56px 16px 0;
  }
}

/* Hero: one orchestrated entrance on load */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: rise 0.9s var(--ease-out) both;
  }

  .hero__copy > *:nth-child(2) { animation-delay: 60ms; }
  .hero__copy > *:nth-child(3) { animation-delay: 120ms; }
  .hero__copy > *:nth-child(4) { animation-delay: 180ms; }
  .hero__copy > *:nth-child(5) { animation-delay: 240ms; }

  .hero__media .media {
    animation: rise 1.1s 120ms var(--ease-out) both;
  }

  .hero__media .trade-card {
    animation: rise 1s 420ms var(--ease-out) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Benefit bar under the hero ---------- */
.pillbar {
  border-block: 1px solid var(--line);
  background: var(--white);
}

/* Five items: one row on desktop, 3 + 2 on tablets, a list on phones */
.pillbar__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pillbar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

.pillbar__item + .pillbar__item {
  border-left: 1px solid var(--line);
}

.pillbar__item:first-child {
  padding-left: 0;
}

.pillbar__item .icon-tile {
  width: 42px;
  height: 42px;
}

.pillbar__item .icon-tile svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .pillbar__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .pillbar__item {
    grid-column: span 2;
  }

  .pillbar__item:nth-child(n + 4) {
    grid-column: span 3;
    border-top: 1px solid var(--line);
  }

  .pillbar__item:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .pillbar__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillbar__item,
  .pillbar__item:nth-child(n + 4) {
    grid-column: auto;
    padding: 16px 0;
    border-left: 0;
  }

  .pillbar__item + .pillbar__item {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Problems ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.problem-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.problem-card .h4 {
  margin-top: 8px;
}

.problem-card p {
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.65;
}

.problem-card p + p {
  margin-top: -6px;
}

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

@media (max-width: 600px) {
  .problem-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Problems: illustrated issue cards ---------- */
.issues {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.issue {
  grid-column: span 5;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 4px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.issue--wide {
  grid-column: span 7;
}

.issue__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px 18px 20px;
}

.issue__body p {
  max-width: 58ch;
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.65;
}

.issue__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-700);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.issue__tag .icon-tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.issue__tag .icon-tile svg {
  width: 17px;
  height: 17px;
}

/* Visual panel shared by all issue illustrations */
.viz {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 232px;
  padding: 16px 18px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--paper);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.3;
}

.viz--center {
  display: grid;
  grid-template-rows: none;
  place-items: center;
  height: auto;
  min-height: 232px;
  padding: 18px;
}

.viz__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 10px;
}

.viz__legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
}

.viz__swatch {
  display: inline-block;
  width: 14px;
  height: 10px;
  border-radius: 2px;
}

.viz__swatch--line {
  height: 2px;
  background: var(--violet-600);
}

.viz__swatch--bar {
  background: var(--line-strong);
}

.viz__note {
  margin-left: auto;
  color: var(--ink-4);
}

.viz__plot {
  position: relative;
  min-height: 0;
}

.viz__plot--grid {
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 25%;
}

.viz__plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.viz__line {
  fill: none;
  stroke: var(--violet-600);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.viz__area {
  fill: var(--violet-600);
  fill-opacity: 0.08;
  stroke: none;
}

.viz__band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(135deg, rgba(21, 18, 31, 0.05) 0 1px, transparent 1px 6px);
  border-inline: 1px dashed var(--line-strong);
}

.viz__band em {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-3);
  font-style: normal;
  font-size: 10.5px;
  white-space: nowrap;
}

.viz__baseline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--ink-4);
}

.viz__baseline em {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--ink-3);
  font-style: normal;
}

.viz__dot {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--violet-600);
  box-shadow: 0 0 0 4px rgba(91, 60, 221, 0.18);
}

.viz__tip {
  position: absolute;
  transform: translate(-100%, -170%);
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  white-space: nowrap;
}

.viz__axis {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  color: var(--ink-4);
}

.viz__axis--even {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  justify-items: center;
}

.viz__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
}

.viz__bars span {
  border-radius: 4px 4px 0 0;
  background: var(--line);
  box-shadow: inset 0 2px 0 var(--line-strong);
}

/* Struktur: a trading plan with nothing ticked */
.viz-plan {
  width: min(320px, 100%);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans);
}

.viz-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.viz-plan__flag {
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--mist);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-medium);
}

.viz-plan__rows {
  display: grid;
  gap: 2px;
  list-style: none;
}

.viz-plan__rows li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 14px;
}

.viz-plan__rows i {
  width: 16px;
  height: 16px;
  border: 1.5px dashed var(--ink-4);
  border-radius: 50%;
}

.viz-plan__rows b {
  padding: 2px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-regular);
  white-space: nowrap;
}

/* Kapital: own capital vs. the capital progress needs */
.viz-capital {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 560px;
}

.viz-capital__row {
  display: grid;
  gap: 8px;
}

.viz-capital__label {
  color: var(--ink-2);
}

.viz-capital__track {
  position: relative;
  height: 26px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--white);
  border: 1px solid var(--line);
}

.viz-capital__track--target {
  border: 1px dashed var(--ink-4);
}

.viz-capital__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--violet-300), var(--violet-500));
  border-radius: 6px 0 0 6px;
}

.viz-capital__gap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, rgba(21, 18, 31, 0.06) 0 1px, transparent 1px 6px);
}

.viz-capital__gap em {
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink-2);
  font-style: normal;
}

.viz-capital__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.viz-capital__foot svg {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}

.viz-capital__foot b {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-weight: var(--fw-regular);
}

/* Bridge to the solution */
.issues__bridge {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  margin-top: 24px;
  padding: 22px 28px;
  border: 1px solid var(--violet-100);
  border-radius: var(--r-lg);
  background: var(--violet-50);
}

.issues__bridge p {
  color: var(--ink-2);
  font-size: var(--fs-body);
}

.issues__bridge strong {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.issues__bridge .link-arrow {
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .issue,
  .issue--wide {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .issue,
  .issue--wide {
    grid-column: 1 / -1;
  }

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

  .issues__bridge .link-arrow {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .viz__tip {
    display: none;
  }
}

@media (max-width: 420px) {
  .viz {
    height: 210px;
    padding-inline: 14px;
  }

  .viz--center {
    height: auto;
    min-height: 210px;
  }

  .viz__band em {
    font-size: 9.5px;
    padding: 1px 3px;
  }

  .issue__body {
    padding: 16px 12px 16px;
  }

  .issues__bridge {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .issues__bridge .icon-tile {
    display: none;
  }

  .issues__bridge .link-arrow {
    grid-column: 1;
  }
}

/* ---------- Audience bento ---------- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) minmax(0, 1fr);
  grid-template-areas:
    "a img b"
    "c img d";
  gap: 20px;
}

.bento__img {
  grid-area: img;
  min-height: 100%;
}

.bento__img .media {
  height: 100%;
  min-height: 420px;
  border-radius: var(--r-lg);
}

.bento__a { grid-area: a; }
.bento__b { grid-area: b; }
.bento__c { grid-area: c; }
.bento__d { grid-area: d; }

.audience-card {
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 250px;
}

.audience-card p {
  color: var(--ink-2);
  font-size: var(--fs-small);
}

.audience-card__label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.section-foot--center {
  justify-content: center;
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "img img"
      "a b"
      "c d";
  }

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

@media (max-width: 600px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "img" "a" "b" "c" "d";
  }

  .audience-card {
    min-height: 0;
  }
}

/* ---------- Reviews: summary, spotlight carousel, filterable rail ---------- */
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px;
  align-items: stretch;
}

.rating-card {
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
}

.rating-card__score {
  display: grid;
  gap: 12px;
}

.rating-card__score p {
  color: var(--ink-2);
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.rating-card__score strong {
  color: var(--ink);
  font-size: 1.35em;
  font-weight: var(--fw-semibold);
}

.stars--lg svg {
  width: 26px;
  height: 26px;
}

.rating-card__note {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-small);
}

.rating-card__note svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--violet-600);
}

/* Spotlight carousel */
.spotlight {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.spotlight__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.spotlight__track::-webkit-scrollbar {
  display: none;
}

.spotlight__track:focus-visible {
  outline-offset: -4px;
}

.spotlight__slide {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 32px;
  flex: 0 0 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4.5vw, 64px) 28px;
  scroll-snap-align: start;
}

.spotlight__quote {
  position: relative;
  margin: 0;
}

.spotlight__quote p {
  max-width: 34ch;
  text-indent: -0.42em;
  color: var(--ink);
  font-size: clamp(1.375rem, 1.05rem + 1.2vw, 2rem);
  font-weight: var(--fw-medium);
  line-height: 1.35;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.spotlight__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.spotlight__who .avatar {
  width: 48px;
  height: 48px;
  font-size: var(--fs-small);
}

.spotlight__person {
  display: grid;
  line-height: 1.35;
}

.spotlight__person strong {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.spotlight__person span {
  color: var(--muted);
  font-size: var(--fs-small);
}

.spotlight__source {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-left: auto;
  color: var(--muted);
  font-size: var(--fs-xs);
  text-align: right;
}

.spotlight__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(20px, 4.5vw, 64px) 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.spotlight__dots {
  display: flex;
  gap: 6px;
}

.spotlight__dot {
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  background: linear-gradient(var(--line-strong), var(--line-strong)) center / 100% 4px no-repeat;
  border-radius: 4px;
  cursor: pointer;
  transition: background-size var(--dur-base);
}

.spotlight__dot[aria-current="true"] {
  background-image: linear-gradient(var(--violet-600), var(--violet-600));
}

.spotlight__count {
  color: var(--ink-3);
  font-size: var(--fs-small);
}

.spotlight__arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.round-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color var(--dur-base),
    border-color var(--dur-base),
    color var(--dur-base),
    opacity var(--dur-base);
}

.round-btn svg {
  width: 20px;
  height: 20px;
}

.round-btn:hover:not(:disabled) {
  border-color: var(--violet-300);
  background: var(--violet-50);
  color: var(--violet-700);
}

.round-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Rail with all reviews */
.review-rail {
  margin-top: clamp(48px, 6vw, 72px);
}

.review-rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.review-rail__title {
  display: grid;
  gap: 2px;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.topics__label {
  flex: none;
  margin-right: 4px;
  white-space: nowrap;
  color: var(--muted);
  font-size: var(--fs-small);
}

.topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-2);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: background-color var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}

.topic:hover {
  border-color: var(--violet-300);
  color: var(--violet-700);
}

.topic__count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
}

.topic[aria-pressed="true"] {
  border-color: var(--violet-600);
  background: var(--violet-600);
  color: var(--white);
}

.topic[aria-pressed="true"] .topic__count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.review-rail__track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-inline: -4px;
  padding: 4px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.review-rail__track > .review {
  flex: 0 0 min(380px, 86%);
  scroll-snap-align: start;
}

.js .review-rail .review__text {
  position: relative;
  max-height: calc(1.6em * 8);
  overflow: hidden;
}

.js .review-rail .review.is-clamped .review__text {
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
}

.js .review-rail .review.is-open .review__text {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.review__more {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--violet-700);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

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

@media (max-width: 960px) {
  .testimonials {
    grid-template-columns: minmax(0, 1fr);
  }

  .rating-card {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .rating-card__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .rating-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .spotlight__source {
    justify-items: start;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .spotlight__dots {
    display: none;
  }

  .topics__label {
    flex-basis: 100%;
  }
}

/* ---------- MLP system ---------- */
.system {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.system__media .media {
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-md);
}

.system__copy {
  display: grid;
  gap: 20px;
}

.principles {
  display: grid;
  margin-top: 12px;
  list-style: none;
  counter-reset: principle;
}

.principles li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 16px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.principles li:last-child {
  border-bottom: 1px solid var(--line);
}

.principles__num {
  grid-row: span 2;
  color: var(--violet-600);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: 1.75;
}

.principles p {
  color: var(--ink-2);
  font-size: var(--fs-small);
}

@media (max-width: 900px) {
  .system {
    grid-template-columns: minmax(0, 1fr);
  }

  .system__media {
    max-width: 520px;
  }

  .system__media .media {
    aspect-ratio: 4 / 3.4;
  }
}

/* ---------- Results: payouts and certificates ---------- */
.tile-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #1d1d20;
  box-shadow: var(--shadow-xs);
  cursor: zoom-in;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}

.tile-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tile-shot--cover img {
  object-fit: cover;
}

.tile-shot--top img {
  object-position: top;
}

/* Amounts and dates in captions: regular face with even-width digits */
.payout .mono,
.cert-tile .mono {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.tile-shot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.payouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.payout,
.cert-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0;
}

.payout figcaption,
.cert-tile figcaption {
  display: grid;
  gap: 2px;
  padding-inline: 2px;
}

.payout__amount {
  color: var(--heading);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.payout__meta,
.cert-tile__detail {
  color: var(--muted);
  font-size: var(--fs-small);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 18px;
}

.cert-tile__issuer {
  color: var(--heading);
  font-weight: var(--fw-semibold);
}

.disclaimer {
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .payouts,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .payout__amount {
    font-size: 1.125rem;
  }
}

/* ---------- Pillars (dark section, sticky scroll) ---------- */
.pillars {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.pillars__track {
  position: relative;
  padding-left: 32px;
}

.pillars__list {
  display: grid;
  list-style: none;
}

.pillars__track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--night-line);
}

.pillars__progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--violet-300);
  box-shadow: 0 0 12px rgba(183, 163, 251, 0.6);
  transition: height 0.2s linear;
}

.pillar {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 62vh;
  padding-block: 40px;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.pillar:first-child {
  min-height: 46vh;
  padding-top: 0;
}

.pillar:last-child {
  min-height: 52vh;
}

.pillar__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--night-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-night-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

.pillar__tag svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--violet-600);
  color: var(--white);
  stroke-width: 2.5;
}

.pillar h3 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pillar p {
  max-width: 44ch;
  color: var(--on-night-2);
}

.pillar__img {
  display: none;
}

.pillars__stage {
  position: sticky;
  top: calc(50vh - min(26vw, 280px));
}

.pillars__frame {
  position: relative;
  aspect-ratio: 4 / 3.1;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--r-xl);
  background: var(--night-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.pillars__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.7s var(--ease-out),
    transform 1.2s var(--ease-out);
}

.pillars__frame img.is-active {
  opacity: 1;
  transform: none;
}

.pillars__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--on-night-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

/* Without JS every pillar stays fully visible; with JS the active one is highlighted */
.js .pillar:not(.is-active) {
  opacity: 0.42;
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars__stage {
    display: none;
  }

  .pillar,
  .pillar:first-child,
  .pillar:last-child {
    min-height: 0;
    padding-block: 28px;
  }

  .js .pillar:not(.is-active) {
    opacity: 1;
  }

  .pillar__img {
    display: block;
    order: -1;
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
    margin-bottom: 8px;
  }
}

/* ---------- Client stories ---------- */
.cases__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 3.4vw, 44px);
}

.case + .case {
  margin-top: 20px;
}

.js .case + .case {
  margin-top: 0;
}

.case__copy {
  display: grid;
  gap: 22px;
}

.case__person {
  display: grid;
  gap: 2px;
}

.case__person .h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
}

.case__qa {
  display: grid;
  gap: 18px;
}

.case__qa h4 {
  margin-bottom: 4px;
  color: var(--violet-700);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
}

.case__qa p {
  color: var(--ink-2);
  font-size: var(--fs-small);
}

.case .media {
  aspect-ratio: 16 / 10.5;
  border-radius: var(--r-lg);
}

@media (max-width: 900px) {
  .case {
    grid-template-columns: minmax(0, 1fr);
  }

  .case .media {
    order: -1;
  }
}

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 32px 48px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border: 1px solid var(--violet-100);
  border-radius: var(--r-xl);
  background: var(--violet-50);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid var(--violet-200);
  box-shadow:
    0 0 0 48px rgba(216, 204, 255, 0.18),
    0 0 0 96px rgba(216, 204, 255, 0.1);
  pointer-events: none;
}

.cta-panel__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 60ch;
}

.cta-panel .btn-row {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 860px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-panel .btn-row {
    flex-direction: row;
  }
}

/* ---------- Process (steps) ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.process__intro {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.steps {
  display: grid;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 36px;
}

.step:last-child {
  padding-bottom: 0;
}

/* Timeline: a base line from each number to the next, plus a violet
   fill on top that JS scales with scroll progress (--p: 0 to 1). */
.step::before,
.step::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: -28px;
  width: 2px;
  border-radius: 2px;
}

.step::before {
  background: var(--violet-100);
}

.step::after {
  display: none;
  background: linear-gradient(var(--violet-500), var(--violet-600));
  box-shadow: 0 0 10px rgba(91, 60, 221, 0.35);
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}

.js .step::after {
  display: block;
}

.step:last-child::before,
.step:last-child::after {
  display: none;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--violet-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--violet-700);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  box-shadow: 0 0 0 6px var(--white);
  transition:
    background-color var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out),
    color var(--dur-slow) var(--ease-out),
    box-shadow var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

/* Without JS the last step is highlighted; with JS each number lights up when the line reaches it */
.step:last-child .step__num,
.js .step.is-reached .step__num {
  border-color: var(--violet-600);
  background: var(--violet-600);
  color: var(--white);
}

.js .step:last-child:not(.is-reached) .step__num {
  border-color: var(--violet-200);
  background: var(--white);
  color: var(--violet-700);
}

.js .step.is-reached .step__num {
  box-shadow: 0 0 0 6px var(--white), 0 0 0 10px var(--violet-100);
  transform: scale(1.04);
}

.step__body {
  display: grid;
  gap: 8px;
  padding: 22px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}

.js .step.is-reached .step__body {
  border-color: var(--violet-200);
  box-shadow: var(--shadow-sm);
}

.step__body p {
  color: var(--ink-2);
  font-size: var(--fs-small);
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .process__intro {
    position: static;
  }
}

@media (max-width: 480px) {
  .step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .step__num {
    width: 44px;
    height: 44px;
    font-size: var(--fs-small);
  }

  .step::before,
  .step::after {
    left: 21px;
    top: 22px;
    bottom: -22px;
  }

  .step__body {
    padding: 18px 18px 20px;
  }
}

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.founder__media {
  position: relative;
}

.founder__media .media {
  aspect-ratio: 4 / 4.8;
  box-shadow: var(--shadow-lg);
}

.founder__copy {
  display: grid;
  gap: 20px;
}

.founder__role {
  color: var(--violet-700);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

@media (max-width: 900px) {
  .founder {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder__media {
    max-width: 480px;
  }
}

/* ---------- Team ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.team__intro {
  display: grid;
  gap: 24px;
  justify-items: center;
  max-width: 680px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  text-align: center;
}

.person {
  display: grid;
  align-content: start;
  gap: 14px;
  margin: 0;
}

.person .media {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
}

.person figcaption {
  display: grid;
  gap: 2px;
}

.person__name {
  color: var(--heading);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
}

.person__role {
  color: var(--muted);
  font-size: var(--fs-small);
}

@media (max-width: 860px) {
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.faq__contact {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  font-size: var(--fs-small);
}

.faq__contact a {
  display: inline-block;
  padding-block: 8px;
  color: var(--violet-700);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.faq__contact a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__intro {
    position: static;
  }
}

/* ---------- Closing CTA (photo card) ---------- */
.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--night);
  color: var(--on-night-2);
  isolation: isolate;
}

.closing__img {
  position: absolute;
  inset: 0 45% 0 0;
  z-index: -1;
}

.closing__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.closing__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 14, 29, 0.1) 0%, rgba(17, 14, 29, 0.55) 60%, var(--night) 100%);
}

.closing__copy {
  grid-column: 2;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(32px, 5vw, 64px);
}

.closing__copy h2 {
  color: var(--on-night);
}

@media (max-width: 860px) {
  .closing {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .closing__img {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
  }

  .closing__img::after {
    background: linear-gradient(180deg, rgba(17, 14, 29, 0) 40%, var(--night) 100%);
  }

  .closing__copy {
    grid-column: 1;
    padding-top: 8px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 72px calc(36px + env(safe-area-inset-bottom, 0px));
  background: var(--night);
  color: var(--on-night-2);
  font-size: var(--fs-small);
}

/* Brand column first; one equal column per visible link column,
   so hiding a column never leaves an empty gap */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 40px;
}

.footer__brand {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: start;
  max-width: 36ch;
}

.footer__brand .brand {
  color: var(--on-night);
}

.footer__brand .brand__name span {
  color: var(--on-night-3);
}

.footer__col h3 {
  margin-bottom: 9px;
  color: var(--on-night);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.footer__col ul {
  display: grid;
  gap: 0;
  list-style: none;
}

.footer__col a {
  display: inline-block;
  padding-block: 7px;
  color: var(--on-night-2);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color var(--dur-base);
}

.footer__col a:hover {
  color: var(--on-night);
}

.footer__risk {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--night-line);
  color: var(--on-night-3);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.footer__risk strong {
  color: var(--on-night-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--on-night-3);
  font-size: var(--fs-xs);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* ---------- Founder facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 18px 18px 0 0;
}

.facts > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts > div,
  .facts > div + div {
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
}

.image-dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.image-dialog::backdrop {
  background: rgba(17, 14, 29, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.image-dialog__figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
}

.image-dialog__figure img {
  max-height: calc(100vh - 170px);
  width: auto;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.image-dialog__figure figcaption {
  color: var(--on-night-2);
  font-size: var(--fs-small);
  text-align: center;
}

/* ---------- Closing: what happens in the Strategie-Check ---------- */
.closing__list {
  gap: 10px;
  margin: 4px 0 8px;
  color: var(--on-night);
}

.closing__list svg {
  color: var(--violet-300);
}

/* ---------- Booking bar on phones ---------- */
.mobile-cta {
  display: none;
}

@media (max-width: 720px) {
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px rgba(21, 18, 31, 0.08);
    transform: translateY(110%);
    transition: transform var(--dur-slow) var(--ease-out);
  }

  .mobile-cta.is-visible {
    transform: none;
  }
}

/* ---------- Results: tabs, trade screenshots, member wins ---------- */
.proof-tabs {
  margin-bottom: 28px;
}

.tab__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.tab[aria-selected="true"] .tab__count {
  background: var(--violet-50);
  color: var(--violet-700);
}

.proof-panel + .proof-panel {
  margin-top: 40px;
}

.js .proof-panel + .proof-panel {
  margin-top: 0;
}

.proof-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.proof-hint svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--violet-600);
}

.proof-grid {
  columns: 3 260px;
  column-gap: 16px;
}

.proof-shot {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--night);
  box-shadow: var(--shadow-xs);
  cursor: zoom-in;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}

.proof-shot img {
  width: 100%;
}

.proof-shot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.proof-more {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.scroller__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.scroller__head .proof-hint {
  margin-bottom: 0;
}

.scroller__track {
  display: flex;
  gap: 14px;
  margin-inline: -4px;
  padding: 4px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.win-card {
  flex: 0 0 clamp(170px, 18vw, 220px);
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-md);
  background: var(--violet-900);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}

.win-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.win-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Image viewer paging */
.image-dialog__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}

.image-dialog__count {
  color: var(--on-night-3);
}

.image-dialog__nav {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(17, 14, 29, 0.55);
  color: var(--white);
  cursor: pointer;
}

.image-dialog__nav svg {
  width: 22px;
  height: 22px;
}

.image-dialog__nav:hover {
  background: rgba(255, 255, 255, 0.14);
}

.image-dialog__nav--prev {
  left: max(16px, env(safe-area-inset-left, 0px));
}

.image-dialog__nav--next {
  right: max(16px, env(safe-area-inset-right, 0px));
}

@media (max-width: 640px) {
  .proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    columns: auto;
  }

  .proof-shot {
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
  }

  .proof-shot img {
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  .proof-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: var(--r-lg);
  }

  .proof-tabs .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 60px;
    padding: 6px 8px;
    border-radius: 14px;
    line-height: 1.25;
    text-align: center;
  }

  .proof-tabs .tab__count {
    margin-left: 0;
  }

  .image-dialog__nav {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    margin-top: 0;
  }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-hero__inner {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.legal-hero .lead {
  max-width: 60ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.breadcrumb a {
  display: inline-block;
  padding-block: 10px;
  color: var(--violet-700);
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal-meta {
  color: var(--muted);
  font-size: var(--fs-small);
}

.legal-draft {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 8px;
  padding: 14px 18px;
  border: 1px dashed var(--violet-300);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink-2);
  font-size: var(--fs-small);
}

.legal-draft svg {
  width: 22px;
  height: 22px;
  color: var(--violet-600);
}

.legal-draft strong {
  color: var(--ink);
}

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 72px) var(--section-y);
}

.legal__aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 32px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.legal__aside h2 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
}

.legal__aside ol,
.legal__aside ul {
  display: grid;
  list-style: none;
}

.legal__aside a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line);
  color: var(--ink-3);
  font-size: var(--fs-small);
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--dur-base), border-color var(--dur-base);
}

.legal__aside a:hover {
  color: var(--ink);
  border-left-color: var(--line-strong);
}

.legal__aside a[aria-current] {
  color: var(--violet-700);
  border-left-color: var(--violet-600);
  font-weight: var(--fw-semibold);
}

.legal__body {
  display: grid;
  max-width: 74ch;
}

.legal__body > section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal__body > section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.legal__body h2 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.legal__text {
  display: grid;
  gap: 12px;
  color: var(--ink-2);
  line-height: 1.7;
}

.legal__text h3 {
  margin-top: 8px;
  font-size: var(--fs-h4);
}

.legal__text ul,
.legal__text ol {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}

.legal__text li::marker {
  color: var(--violet-500);
}

.legal__text strong {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.legal__text address {
  color: var(--ink);
  font-style: normal;
  line-height: 1.7;
}

.legal__text a {
  color: var(--violet-700);
  font-weight: var(--fw-medium);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 28px;
  margin: 0;
}

.legal-list dt {
  color: var(--muted);
}

.legal-list dd {
  margin: 0;
  color: var(--ink);
}

.legal-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}

.legal-note h3 {
  margin-top: 0;
}

/* Placeholders that still need real data */
.ph {
  padding: 1px 6px;
  border: 1px dashed var(--violet-300);
  border-radius: 5px;
  background: var(--violet-50);
  color: var(--violet-800);
  font-size: 0.94em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-footer a[aria-current="page"] {
  color: var(--on-night);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .legal {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal__aside {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper);
  }

  .legal__toc {
    display: none;
  }

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

  .legal__pages ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .legal__pages a {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    background: var(--white);
  }

  .legal__pages a[aria-current] {
    border-color: var(--violet-600);
    background: var(--violet-600);
    color: var(--white);
  }
}

@media (max-width: 480px) {
  .legal-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .legal-list dd + dt {
    margin-top: 10px;
  }
}

/* ---------- Video dialog ---------- */
.video-dialog {
  width: min(1080px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: var(--r-xl);
  background: transparent;
}

.video-dialog::backdrop {
  background: rgba(17, 14, 29, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.video-dialog__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--night);
}

.video-dialog__frame video,
.video-dialog__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-dialog__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--on-night-2);
  text-align: center;
}

.video-dialog__close {
  position: absolute;
  top: -56px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.video-dialog__close svg {
  width: 20px;
  height: 20px;
}

/* ---------- Phones: readability and fit ---------- */
.viz__legend--band {
  display: none;
}

.viz__swatch--band {
  border: 1px dashed var(--ink-4);
  background: repeating-linear-gradient(135deg, rgba(21, 18, 31, 0.18) 0 1px, transparent 1px 4px);
}

/* The booking bar never shows through an open video or image viewer */
body:has(dialog[open]) .mobile-cta {
  visibility: hidden;
}

@media (max-width: 600px) {
  /* Chart labels: at least 12px; the per-band "Drawdown" labels move into the legend */
  .viz {
    font-size: 12px;
  }

  .viz__band em {
    display: none;
  }

  .viz__legend--band {
    display: inline-flex;
  }

  .viz-plan__flag,
  .viz-plan__rows b {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* Long German words (e.g. "Datenschutzerklärung") may break instead of overflowing.
     Hyphenation only for page titles; other headings just wrap. */
  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
  }

  h1 {
    hyphens: auto;
  }

  /* Buttons wrap instead of running past the edge */
  .btn {
    max-width: 100%;
    white-space: normal;
  }

  .cta-panel .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
