:root {
  color-scheme: light;
  --paper: oklch(0.962 0 0);
  --white: oklch(0.99 0 0);
  --black: oklch(0.05 0 0);
  --black-2: oklch(0.09 0 0);
  --black-3: oklch(0.115 0 0);
  --ink: oklch(0.14 0 0);
  --muted: oklch(0.5 0 0);
  --muted-2: oklch(0.62 0 0);
  --white-ink: oklch(0.965 0 0);
  --muted-dark: oklch(0.64 0 0);
  --line-light: oklch(0.88 0 0);
  --line-mid: oklch(0.75 0 0);
  --line-dark: oklch(0.27 0 0);
  --line-dark-soft: oklch(0.2 0 0);
  --shadow: oklch(0 0 0 / 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Prata", "Manrope", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.page { position: relative; }
.container { width: calc(100% - 40px); max-width: var(--max); margin: 0 auto; }

/* ---------- NAV (black chrome) ---------- */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: calc(100vw - 28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white-ink);
}

.mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--black-2);
  color: var(--white-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a { transition: color 180ms ease; }
.nav-links a:hover { color: var(--white-ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1px solid var(--line-dark);
  background: var(--black-2);
  border-radius: 999px;
  display: flex;
  padding: 4px;
  gap: 2px;
  min-height: 38px;
}

.lang-toggle button {
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  background: transparent;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
}

html[data-lang="bm"] .lang-toggle button[data-set-lang="bm"],
html[data-lang="en"] .lang-toggle button[data-set-lang="en"] {
  background: var(--white-ink);
  color: var(--black);
}

.menu-btn { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 800;
  font-size: 13px;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-white { background: var(--white-ink); color: var(--black); }
.btn-white:hover { opacity: 0.88; }
.btn-outline-lt { border-color: oklch(0.4 0 0); background: transparent; color: var(--white-ink); }
.btn-outline-lt:hover { border-color: var(--white-ink); }
.btn-dark { background: var(--black); color: var(--white-ink); }
.btn-dark:hover { opacity: 0.86; }
.btn-outline { border-color: var(--line-mid); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--black); }

/* ---------- HERO (black) ---------- */
.hero-dark {
  background: var(--black);
  color: var(--white-ink);
  padding: 110px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-dark);
  color: var(--white-ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow-dark { border-color: var(--line-dark); color: var(--white-ink); }

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--white-ink);
  box-shadow: 0 0 0 7px oklch(1 0 0 / 0.12);
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 {
  margin-top: 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 860px;
  overflow-wrap: normal;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 660px;
  color: var(--muted-dark);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.legal-note {
  margin-top: 24px;
  max-width: 680px;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.65;
  border-left: 1px solid var(--line-dark);
  padding-left: 14px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  max-width: 720px;
}

.proof-item {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px;
  min-height: 110px;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--white-ink);
}

.proof-item > span {
  display: block;
  color: var(--muted-dark);
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}

.scroll-hint {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 800;
}

.scroll-hint .arrow { font-size: 15px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- SECTIONS ---------- */
section.light { background: var(--paper); padding: 100px 0; }
section.dark { background: var(--black); padding: 110px 0; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  max-width: 720px;
  color: var(--ink);
}
.section-head p { color: var(--muted); max-width: 430px; line-height: 1.7; margin: 0; font-size: 15px; }
.section-head.on-dark h2 { color: var(--white-ink); }
.section-head.on-dark p { color: var(--muted-dark); }
.section-head.on-dark .eyebrow { margin-bottom: 20px; }

/* ---------- DASHBOARD (dark UI on light) ---------- */
.dash {
  background: var(--black-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white-ink);
  box-shadow: 0 40px 90px var(--shadow);
}

.dash-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark);
}

.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-tabs span {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 700;
}
.dash-tabs span.active { background: var(--white-ink); color: var(--black); border-color: var(--white-ink); }

.dash-user { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted-dark); font-size: 12px; }
.dash-hello { color: var(--white-ink); font-weight: 800; }
.dash-share {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--white-ink);
  font-weight: 700;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.dash-stat {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 16px;
  background: var(--black-2);
}
.dash-stat small { display: block; color: var(--muted-dark); font-size: 12px; }
.dash-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash-stat em { display: block; color: var(--muted-dark); font-style: normal; font-size: 12px; margin-top: 8px; }

.dash-chart {
  margin-top: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: var(--black-2);
  padding: 18px;
}
.dash-chart-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 12px; }
.dash-chart-head strong { font-size: 14px; display: block; }
.dash-chart-head span { color: var(--muted-dark); font-size: 12px; }
.dash-period-switch { display: flex; gap: 4px; }
.dash-period-switch span {
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 700;
}
.dash-period-switch span.active { background: var(--white-ink); color: var(--black); border-color: var(--white-ink); }
.chart-svg { width: 100%; height: auto; display: block; }

.dash-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.dash-mini {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 16px;
  background: var(--black-2);
}
.dash-mini small { display: block; color: var(--muted-dark); font-size: 12px; }
.dash-mini strong { display: block; margin-top: 10px; font-size: 21px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dash-mini > span { display: block; color: var(--muted-dark); font-size: 12px; margin-top: 8px; }

/* ---------- PACKAGES (light) ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package-card {
  border: 1px solid var(--line-mid);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 28px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}
.package-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.package-card.featured { background: var(--black); border-color: var(--black); }
.package-card.featured .price, .package-card.featured .range, .package-card.featured ul { color: var(--white-ink); }
.package-card.featured li::before { background: var(--white-ink); }
.package-card.featured .package-note { color: var(--muted-dark); }
.package-card.featured .package-label { color: var(--muted-dark); }

.package-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.price { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; margin: 22px 0 10px; font-variant-numeric: tabular-nums; color: var(--ink); }
.range { color: var(--ink); font-weight: 800; font-size: 16px; }
.package-card ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: var(--ink); font-size: 14px; line-height: 1.55; }
.package-card li { display: flex; gap: 10px; align-items: flex-start; }
.package-card li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--ink); flex: 0 0 auto; margin-top: 8px; }
.package-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 28px; }

/* ---------- FLOW GATES (black section) ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.flow-card {
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 20px;
  min-height: 190px;
  color: var(--white-ink);
}
.flow-card small { color: var(--muted-dark); font-weight: 800; }
.flow-card strong { display: block; margin-top: 24px; font-size: 19px; letter-spacing: -0.03em; }
.flow-card span { display: block; color: var(--muted-dark); font-size: 12px; line-height: 1.55; margin-top: 10px; }

/* ---------- CYCLE (light) ---------- */
.cycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 30px; position: relative; }
.cycle::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line-mid);
}
.cycle-node { border: 1px solid var(--line-mid); border-radius: 14px; padding: 20px; background: var(--white); min-height: 175px; }
.cycle-node::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--paper);
  transform: translateX(-50%);
}
.cycle-node strong { display: block; font-size: 17px; letter-spacing: -0.03em; }
.cycle-node span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 10px; }

/* ---------- READINESS GATE (black) ---------- */
.gate-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.gate-panel h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.08;
  color: var(--white-ink);
  margin-top: 24px;
}
.gate-panel p { color: var(--muted-dark); line-height: 1.75; margin: 22px 0 0; max-width: 480px; }
.gate-list { display: grid; gap: 10px; }
.gate-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 18px;
}
.gate-status { width: 11px; height: 11px; border-radius: 999px; border: 2px solid var(--muted-dark); }
.gate-status.ready { background: var(--white-ink); border-color: var(--white-ink); }
.gate-item strong { display: block; color: var(--white-ink); }
.gate-item span { color: var(--muted-dark); font-size: 12px; line-height: 1.5; display: block; margin-top: 4px; }
.gate-item em { color: var(--muted-dark); font-style: normal; font-size: 12px; font-weight: 700; }

/* ---------- FAQ (light) ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line-mid);
  border-radius: 14px;
  background: var(--white);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  font-weight: 800;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); line-height: 1.7; max-width: 740px; }

/* ---------- FINAL CTA (black) ---------- */
.final-dark { padding-bottom: 130px; }
.final-card { text-align: center; }
.final-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  font-size: clamp(38px, 6.4vw, 82px);
  line-height: 1.06;
  max-width: 900px;
  margin: 0 auto;
  color: var(--white-ink);
}
.final-card p { color: var(--muted-dark); line-height: 1.7; max-width: 700px; margin: 26px auto 0; }
.final-card .hero-actions { justify-content: center; }

/* ---------- FOOTER (light) ---------- */
.footer { border-top: 1px solid var(--line-light); padding: 30px 0 50px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: var(--ink); }

/* ---------- LANG ---------- */
[hidden] { display: none !important; }
.lang-en { display: none !important; }
html[data-lang="bm"] .lang-bm { display: inline !important; }
html[data-lang="bm"] .block.lang-bm { display: block !important; }
html[data-lang="bm"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-bm { display: none !important; }
html[data-lang="en"] .lang-en { display: inline !important; }
html[data-lang="en"] .block.lang-en { display: block !important; }

/* ---------- MOTION ---------- */
.reveal { animation: reveal 800ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.reveal.delay-1 { animation-delay: 90ms; }
.reveal.delay-2 { animation-delay: 180ms; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.io { transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.io.io-wait:not(.io-in) { opacity: 0; transform: translateY(16px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1040px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .cycle { grid-template-columns: repeat(3, 1fr); }
  .cycle::before, .cycle-node::before { display: none; }
  .gate-panel { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 28px); max-width: var(--max); }
  .nav-links {
    position: fixed;
    inset: 70px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    padding: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; border-radius: 10px; color: var(--white-ink); }
  .menu-btn { display: inline-flex; }
  .nav-actions .btn-white { display: none; }
  .hero-dark { padding-top: 64px; }
  .hero-proof, .package-grid, .dash-stats, .dash-bottom { grid-template-columns: 1fr; }
  .dash { padding: 16px; border-radius: 20px; }
  .dash-nav { gap: 12px; }
  .dash-user { gap: 10px; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .flow-grid { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .gate-item { grid-template-columns: auto 1fr; }
  .gate-item em { grid-column: 2; }
  section.light { padding: 72px 0; }
  section.dark { padding: 84px 0; }
}

@media (max-width: 560px) {
  .nav { height: 64px; gap: 10px; }
  .brand-name { display: none; }
  .nav-actions { gap: 6px; }
  .lang-toggle { min-height: 36px; }
  .lang-toggle button { min-width: 34px; padding: 6px 8px; }
  .menu-btn { padding: 0 14px; min-height: 36px; }
  h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.12; }
  .hero-copy { font-size: 16px; }
  .hero-actions .btn, .final-card .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .proof-item { min-height: auto; }
  .dash-chart { padding: 12px; }
  .dash-period-switch { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition: none !important; }
  .io.io-wait:not(.io-in) { opacity: 1; transform: none; }
}
