/* learn.bodhamlabs.com — same palette and type as bodhamlabs.com */
:root {
  --ink: #1F3D2B; --ink-2: #2F4A39; --muted: #4F6657;
  --paper: #F2F6EF; --pearl: #F9FAF5; --soft: #E6EEE2; --line: #D3E0CE; --edge: #C5D6BF;
  --saffron: #D9822B; --saffron-text: #9A5310;
  --deep: #1F3D2B; --deep-2: #284A35; --deep-line: #36604A;
  --on-dark: #F2F6EF; --on-dark-2: #CFE0D3; --on-dark-3: #A9C4B1;
  --live: #2E9E5E; --error: #B3261E;
  --display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: "Instrument Sans", "Noto Sans Devanagari", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --deva: "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.deva { font-family: var(--deva); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 18px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; }
.brand small { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--saffron-text); margin-left: 2px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); }
.brand { white-space: nowrap; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav a { padding: 10px 9px; font-size: 15px; } }
@media (max-width: 560px) {
  .top { position: static; }
  .top .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 4px; min-height: 0; }
  .nav { width: 100%; justify-content: flex-start; margin-left: -9px; }
}

/* type */
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.0; font-weight: 650; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; font-weight: 600; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
.kicker { font: 500 13px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 700px; margin: 22px 0 0; }
p { margin: 0 0 12px; }

/* sections */
.hero { padding: 64px 0 48px; }
.section { padding: 72px 0; }
.section.alt { background: var(--pearl); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--deep); color: var(--on-dark-2); }
.section.dark h2, .section.dark h3 { color: var(--on-dark); }
.section.dark .kicker { color: var(--on-dark-3); }
.section h2 + p, .section h2 + .lede { margin-top: 16px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mt { margin-top: 32px; }

/* cards */
.card { background: var(--pearl); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.section.alt .card { background: var(--paper); }
.card.path { text-decoration: none; transition: border-color .2s, transform .2s; }
.card.path:hover { border-color: var(--edge); transform: translateY(-2px); }
.card .who { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--saffron-text); }
.card .go { margin-top: auto; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ink); }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list b { color: var(--ink); }
.section.dark .list li { border-color: var(--deep-line); }
.section.dark .list b { color: var(--on-dark); }

/* price */
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .now { font: 700 44px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.price .was { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.tag { display: inline-block; background: var(--saffron); color: #fff; font: 600 12px/1 var(--mono); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; }
.note { font-size: 15px; color: var(--muted); }

/* weeks table */
.weeks { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--pearl); }
.weeks div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.weeks div:first-child { border-top: 0; }
.weeks span { font: 500 13px/1.6 var(--mono); color: var(--saffron-text); }
@media (max-width: 520px) { .weeks div { grid-template-columns: 1fr; gap: 4px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--deep-2); }
.btn.ghost { border-color: var(--edge); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--soft); }
.btn.wa { background: #1F7A4D; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* form */
form.enrol { display: grid; gap: 16px; background: var(--pearl); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 600; }
.status.ok { color: var(--live); }
.status.err { color: var(--error); }
button[disabled] { opacity: .6; cursor: wait; }

/* faq */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 500 22px/1 var(--mono); color: var(--saffron-text); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

/* footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot a { color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* guides */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); }
.prose .list li { padding: 10px 0; }
html[lang="hi"] h1, html[lang="hi"] h2 { letter-spacing: -0.01em; line-height: 1.25; }

/* language switch (guides) */
.guide-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.guide-top .kicker { margin: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--edge); border-radius: 999px; background: var(--pearl); color: var(--ink); font: 600 15px/1 var(--sans); text-decoration: none; }
.lang-switch:hover { background: var(--soft); }
