/* Page 1 — mLeiten Mentor Onboarding */
/* Layout, sections, video embeds, micro components. Tokens live in tokens.css. */

:root {
  --container: 1120px;
  --gutter: 32px;
  --section-pad-y: clamp(96px, 13vh, 168px);
}

html, body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}

* { box-sizing: border-box; }

h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

::selection {
  background: var(--accent);
  color: var(--background);
}

/* ─────────────────────────────────────────────────────────────
   Layout primitives
   ───────────────────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

section + section::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  border-top: 1px solid var(--border-soft);
}

/* ─────────────────────────────────────────────────────────────
   Top chrome — sticky, very quiet
   ───────────────────────────────────────────────────────────── */

.mp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(41,50,65,0.85), rgba(41,50,65,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease;
}

.mp-nav.scrolled {
  background: rgba(41,50,65,0.88);
  border-bottom: 1px solid var(--border-soft);
}

.mp-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-nav-label {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-50);
}

.mp-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mp-nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-90);
  padding: 6px 0;
  position: relative;
  transition: color .15s ease;
}

.mp-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.mp-nav-link:hover::after { transform: scaleX(1); }
.mp-nav-link:hover { color: var(--fg-100); }
.mp-nav-link span { margin-left: 4px; opacity: 0.6; font-size: 12px; }

@media (max-width: 640px) {
  .mp-nav-label { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   Section A — Cover (Vigil)
   ───────────────────────────────────────────────────────────── */

#section-a {
  min-height: 100vh;
  padding: 96px 0 64px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

#section-a::before { content: none; }

.cover-top {
  display: flex;
  justify-content: center;
}

.cover-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 24px 32px;
}

.cover-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 9.2vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  text-align: center;
  max-width: 1080px;
  text-wrap: balance;
  color: var(--fg-100);
}

.cover-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 560px;
  padding: 0 var(--gutter);
}

.cover-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg-90);
  text-align: center;
}

.cover-body {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-70);
  text-align: center;
  text-wrap: pretty;
}

.cover-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.cover-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.cover-foot .mp-eyebrow { color: var(--fg-30); }

/* ─────────────────────────────────────────────────────────────
   Common section components
   ───────────────────────────────────────────────────────────── */

.section-eyebrow {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-40);
  margin-bottom: 28px;
}

.section-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-100);
  text-wrap: balance;
  max-width: 880px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-70);
  max-width: 620px;
  margin-top: 36px;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-70);
  max-width: 620px;
}

.prose p { text-wrap: pretty; }

.subheading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg-90);
}

/* ─────────────────────────────────────────────────────────────
   Pull-out — DM Sans 600, two stacked lines, larger than body
   ───────────────────────────────────────────────────────────── */

.pull-out {
  margin: 80px 0;
  max-width: 760px;
}

.pull-out p {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--fg-100);
}

.pull-out p + p {
  margin-top: 6px;
  color: var(--fg-90);
}

/* ─────────────────────────────────────────────────────────────
   Video embeds (youtube-nocookie.com)
   ───────────────────────────────────────────────────────────── */

.mp-video-wrap {
  max-width: var(--container);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
}

.mp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 24px 60px -20px rgba(0,0,0,0.45);
}

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

.mp-video-caption {
  margin-top: 16px;
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-40);
  text-align: center;
}

.after-video {
  margin: 56px auto 0;
  max-width: 620px;
  padding: 0 var(--gutter);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-70);
  text-align: center;
  text-wrap: balance;
}

/* ─────────────────────────────────────────────────────────────
   Section C — Four-verb arc as typographic sequence
   ───────────────────────────────────────────────────────────── */

.arc-list {
  margin: 80px auto 0;
  max-width: 920px;
  display: flex;
  flex-direction: column;
}

.arc-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  column-gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border-hair);
}

.arc-row:last-child {
  border-bottom: 1px solid var(--border-hair);
}

.arc-no {
  font-family: var(--font-mono-ui);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fg-40);
  align-self: start;
  padding-top: 14px;
}

.arc-verb {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--fg-100);
  margin-bottom: 18px;
}

.arc-desc {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--fg-70);
  max-width: 560px;
}

/* Coral moment — the single accent line on the page */
.coral-line {
  display: inline-block;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 5px;
}

/* ─────────────────────────────────────────────────────────────
   Section D — Definition (border-left quote, not card)
   ───────────────────────────────────────────────────────────── */

.definition {
  margin: 72px 0 64px;
  padding: 12px 0 12px 32px;
  border-left: 1px solid var(--border-hair);
  max-width: 740px;
}

.definition p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(22px, 2.3vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--fg-90);
  text-wrap: pretty;
}

/* Four dimensions list — sequence rows */
.dimensions {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-hair);
}

.dim-item {
  padding: 36px 40px 36px 0;
  border-bottom: 1px solid var(--border-hair);
}

.dim-item:nth-child(2n) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--border-hair);
}

.dim-no {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-40);
  margin-bottom: 14px;
}

.dim-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--fg-100);
  margin-bottom: 12px;
}

.dim-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-70);
}

.outcome-statement {
  margin-top: 80px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-70);
}

/* ─────────────────────────────────────────────────────────────
   Section E — Four conversations
   ───────────────────────────────────────────────────────────── */

.conversations {
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-hair);
}

.conv-item {
  padding: 32px 40px 32px 0;
  border-bottom: 1px solid var(--border-hair);
}

.conv-item:nth-child(2n) {
  padding-left: 40px;
  padding-right: 0;
  border-left: 1px solid var(--border-hair);
}

.conv-no {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-40);
  margin-bottom: 12px;
}

.conv-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--fg-100);
  margin-bottom: 10px;
}

.conv-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-70);
}

/* ─────────────────────────────────────────────────────────────
   Section F — Commitment two columns
   ───────────────────────────────────────────────────────────── */

.commit-cols {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border-hair);
}

.commit-col {
  padding: 40px 48px 40px 0;
  border-bottom: 1px solid var(--border-hair);
}

.commit-col:nth-child(2n) {
  padding-left: 48px;
  padding-right: 0;
  border-left: 1px solid var(--border-hair);
}

.commit-label {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-40);
  margin-bottom: 24px;
}

.commit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg-90);
}

.commit-list li {
  position: relative;
  padding-left: 22px;
}

.commit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--fg-40);
}

.softening {
  margin-top: 80px;
  max-width: 720px;
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-70);
  text-wrap: pretty;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  padding-bottom: 1px;
  transition: border-color .15s ease;
}

.inline-link:hover {
  border-bottom-color: var(--accent);
}

.field-guide-line {
  margin-top: 48px;
  font-size: 17px;
  color: var(--fg-70);
}

/* ─────────────────────────────────────────────────────────────
   Section G — Seven questions
   ───────────────────────────────────────────────────────────── */

.questions {
  margin: 64px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hair);
}

.question {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-hair);
  align-items: baseline;
}

.question-no {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-40);
}

.question-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--fg-90);
  text-wrap: pretty;
}

.questions-footnote {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-50);
  max-width: 620px;
}

/* ─────────────────────────────────────────────────────────────
   Section H — This may not be the right time if...
   ───────────────────────────────────────────────────────────── */

.honest-list {
  margin: 56px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-hair);
}

.honest-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-hair);
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-70);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: baseline;
}

.honest-item::before {
  content: "·";
  color: var(--fg-30);
  font-size: 28px;
  line-height: 0;
  position: relative;
  top: -3px;
}

.honest-footer {
  margin-top: 36px;
  font-style: italic;
  color: var(--fg-50);
  font-size: 16px;
  max-width: 620px;
}

/* ─────────────────────────────────────────────────────────────
   Section I — FAQ
   ───────────────────────────────────────────────────────────── */

.faq-list {
  margin: 56px 0 0;
  border-top: 1px solid var(--border-hair);
}

.faq-item {
  border-bottom: 1px solid var(--border-hair);
  padding: 28px 0;
}

.faq-q {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--fg-100);
  margin-bottom: 12px;
}

.faq-a {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-70);
  max-width: 720px;
}

/* ─────────────────────────────────────────────────────────────
   Section J — Invitation
   ───────────────────────────────────────────────────────────── */

.invitation-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contacts {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts-label {
  font-size: 15px;
  color: var(--fg-50);
}

.contacts a {
  font-size: 17px;
  color: var(--fg-90);
  border-bottom: 1px solid var(--border-hair);
  padding-bottom: 1px;
  transition: border-color .15s ease, color .15s ease;
}

.contacts a:hover {
  color: var(--fg-100);
  border-bottom-color: var(--fg-50);
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */

footer.mp-footer {
  padding: 56px 0 72px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-family: var(--font-mono-ui);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-30);
}

/* ─────────────────────────────────────────────────────────────
   Scroll reveal
   ───────────────────────────────────────────────────────────── */

/* Scroll reveal — progressively enhanced.
   Default: visible (in case JS or IntersectionObserver fail).
   When body.js-reveal is set, hide and animate in via observer + safety net. */

body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

body.js-reveal .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero/cover gets a longer, more confident entrance */
body.js-reveal .reveal--hero {
  transform: translateY(36px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stagger: container with .is-stagger gives cumulative transition-delay to its .reveal children */
body.js-reveal .is-stagger > .reveal:nth-child(1) { transition-delay: 0.00s; }
body.js-reveal .is-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
body.js-reveal .is-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
body.js-reveal .is-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
body.js-reveal .is-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
body.js-reveal .is-stagger > .reveal:nth-child(6) { transition-delay: 0.40s; }
body.js-reveal .is-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
body.js-reveal .is-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Cover stagger — slightly tighter tempo for hero composition */
body.js-reveal .cover-main .reveal:nth-of-type(1),
body.js-reveal .cover-main > .reveal:nth-child(1) { transition-delay: 0.05s; }
body.js-reveal .cover-main .reveal:nth-of-type(2),
body.js-reveal .cover-main > .reveal:nth-child(2) { transition-delay: 0.18s; }
body.js-reveal .cover-main .reveal:nth-of-type(3),
body.js-reveal .cover-main > .reveal:nth-child(3) { transition-delay: 0.32s; }
body.js-reveal .cover-main .reveal:nth-of-type(4),
body.js-reveal .cover-main > .reveal:nth-child(4) { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  body.js-reveal .reveal,
  body.js-reveal .reveal--hero {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}

/* Language toggle — sits at the right of the nav */
.mp-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}
.mp-lang-toggle__btn {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--fg-40);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s ease;
  padding: 4px 0;
}
.mp-lang-toggle__btn.is-active {
  color: var(--fg-100);
}
.mp-lang-toggle__btn:not(.is-active):hover {
  color: var(--fg-90);
}
.mp-lang-toggle__sep {
  color: var(--fg-30);
  font-family: var(--font-mono-ui);
  font-size: 12px;
}
@media (max-width: 540px) {
  .mp-lang-toggle {
    margin-left: 10px;
    padding-left: 10px;
  }
}

/* ─────────────────────────────────────────────────────────────
   Mobile
   ───────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  :root {
    --gutter: 22px;
    --section-pad-y: 88px;
  }

  body { font-size: 16px; }

  #section-a { padding-top: 88px; padding-bottom: 48px; min-height: 92vh; }

  .cover-headline {
    font-size: clamp(42px, 11vw, 64px);
    line-height: 1.04;
  }

  .cover-meta { gap: 22px; }
  .cover-ctas { gap: 18px; flex-direction: column; align-items: stretch; }
  .cover-ctas .mp-cta-primary { text-align: center; }
  .cover-ctas .mp-cta-secondary { text-align: center; }

  .arc-row {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 28px 0;
  }
  .arc-no { padding-top: 0; }
  .arc-verb { font-size: 40px; margin-bottom: 12px; }

  .dimensions,
  .conversations,
  .commit-cols {
    grid-template-columns: 1fr;
  }
  .dim-item,
  .conv-item,
  .commit-col {
    padding: 32px 0;
    border-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .question {
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 22px 0;
  }

  .honest-item { gap: 8px; }

  .invitation-cta { gap: 18px; flex-direction: column; align-items: stretch; }
  .invitation-cta .mp-cta-secondary { text-align: center; }

  .mp-video-wrap { margin-top: 56px; }
}
