/* Kutuhal course site. Look from course/DESIGN.md: cream ground, dotted amber rings,
   square tags, no shadows on boxes. Phone first; desktop from 760px. */
:root {
  --ground: #FBF3E4; --ink: #2B2118; --muted: #5A4A3B; --saffron: #C2410C; --saffron-dark: #9A3412;
  --green: #1F7A3D; --amber: #E9A23B; --panel: #FFFDF8; --band: #F4E6CC; --line: #E5D6BC; --red: #B42318;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: 'Noto Sans Devanagari', system-ui, sans-serif; font-size: 16px; line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--saffron-dark); }
a:hover { color: #7C2D12; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 460px; margin: 0 auto; padding: 0 20px; }
.num { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.brand { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .28em; }
.brand .logo { width: 36px; height: 36px; border-radius: 50%; flex: none; margin-right: 6px; }
.brand span { color: var(--saffron); }
.tag { display: inline-block; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 12px; }
.tag-saffron { background: var(--saffron); }

.btn {
  display: inline-block; background: var(--saffron); color: #fff; text-decoration: none; text-align: center;
  font: inherit; font-weight: 800; font-size: 19px; padding: 16px 24px; border: 2px solid var(--saffron);
  border-radius: 0; cursor: pointer; min-height: 48px;
}
.btn:hover { background: var(--saffron-dark); border-color: var(--saffron-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-block { display: block; width: 100%; }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: #17602F; border-color: #17602F; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); font-size: 15px; font-weight: 700; padding: 11px 16px; }
.btn-ghost:hover { background: var(--band); color: var(--ink); border-color: var(--ink); }

.ring { position: absolute; border-radius: 50%; border: 4px dotted var(--amber); pointer-events: none; }
.cutout { filter: drop-shadow(0 10px 10px rgba(43, 33, 24, .25)); }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; position: relative; }
.top .brand { flex-grow: 1; }
.top nav { display: none; gap: 28px; font-weight: 600; }
.top nav a, .top .mine { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 4px; }
.top .btn { display: none; font-size: 16px; padding: 10px 20px; }
.bar { border-bottom: 2px solid var(--ink); }

/* ---------- landing ---------- */
.page { position: relative; overflow: hidden; }
.hero { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; padding-bottom: 36px; position: relative; }
.hero-text { display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: 36px; line-height: 1.25; }
.hero h1 span, .accent { color: var(--saffron); }
.hero .lead { font-size: 17px; color: var(--muted); }
.hero-cta { display: flex; flex-direction: column; gap: 4px; }
.link-under { color: var(--ink); font-weight: 700; padding: 12px 0; text-align: center; text-decoration: underline;
  text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; font-weight: 600;
  color: var(--muted); border-top: 2px solid var(--ink); padding-top: 16px; }
.facts .num { color: var(--ink); }
.phone-wrap { position: relative; align-self: center; margin: 14px 0 6px; }
.phone { width: 230px; border: 8px solid var(--ink); border-radius: 28px; overflow: hidden; background: var(--ink); }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.phone-wrap .mithu { position: absolute; left: -62px; bottom: -18px; width: 104px; }
.phone-wrap .note { position: absolute; right: -58px; top: 24px; background: var(--ink); color: var(--ground);
  font-size: 12px; font-weight: 700; padding: 6px 9px; width: 96px; line-height: 1.4; }

.proof { background: var(--ink); color: var(--ground); }
.proof .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-direction: column; gap: 16px; }
.proof p { font-size: 17px; font-weight: 600; }
.proof-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proof-nums .num { font-size: 19px; color: #F5B95A; display: block; }
.proof-nums span { font-size: 12px; }

section.block { padding-top: 44px; padding-bottom: 12px; }
.block > h2 { font-size: 27px; margin-bottom: 6px; }
.block > .sub { color: var(--muted); margin-bottom: 22px; }
.steps { display: flex; flex-direction: column; gap: 4px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; }
.step .n { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--saffron); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center; }
.step b { font-size: 19px; display: block; }
.step span { font-size: 15px; color: var(--muted); }

.needs { display: grid; gap: 28px; }
.needs > div { border-top: 4px solid var(--green); padding-top: 16px; }
.needs > div.no { border-top-color: var(--red); }
.needs h2 { font-size: 23px; margin-bottom: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 800; }
.ticks.no li { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.ticks.no li::before { content: none; }

.modules { display: grid; gap: 0 56px; }
.module { border-top: 2px solid var(--ink); padding: 12px 0; }
.module summary { display: flex; align-items: baseline; gap: 10px; cursor: pointer; min-height: 44px; padding-top: 6px; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module summary .num { color: var(--saffron); font-size: 17px; }
.module summary b { font-size: 19px; flex-grow: 1; }
.module summary i { font-style: normal; font-size: 13px; color: var(--muted); }
.lesson-row { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; font-size: 15px; }
.lesson-row .num { font-size: 12px; color: var(--muted); width: 28px; flex: none; font-weight: 500; }
.lesson-row .t { flex-grow: 1; }
.lesson-row .len { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; flex: none; }
.lesson-row .tag { font-size: 12px; padding: 1px 7px; }

.preview { display: flex; flex-direction: column; gap: 12px; }
.preview video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink); object-fit: cover; }
.vthumb { position: relative; }
.playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .35); }
.playbtn:hover { background: var(--band); }
.playbtn svg { margin-left: 4px; }

.pdf-band { background: var(--band); margin-top: 32px; }
.pdf-band .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; gap: 16px; align-items: center; }
.pdf-band img { width: 96px; flex: none; }
.pdf-band h2 { font-size: 21px; margin-bottom: 6px; }

.honest { display: grid; gap: 20px; }
.honest > div { border-top: 4px solid var(--amber); padding-top: 12px; }
.honest b { font-size: 18px; display: block; }
.honest span { color: var(--muted); font-size: 15px; }

.reviews { display: grid; gap: 22px; }
.review { margin: 0; border-top: 4px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.review .stars { color: #B45309; font-size: 18px; letter-spacing: 3px; }
.review blockquote { margin: 0; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); }

.price { border: 3px solid var(--ink); background: var(--panel); padding: 26px 20px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.price h2 { font-size: 23px; }
.price .amount { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 60px; line-height: 1.1; }
.price .mithu { display: none; }
.price-buy { display: flex; flex-direction: column; gap: 10px; }

.faq details { border-top: 2px solid var(--ink); padding: 12px 0; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; min-height: 44px; padding-top: 8px; }
.faq p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.foot { background: var(--ink); color: var(--ground); margin-top: 40px; }
.foot .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot a { color: var(--ground); padding: 8px 0; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot .legal { color: #D9C9B0; font-size: 13px; }
body.has-buybar .foot .wrap { padding-bottom: 96px; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--panel); border-top: 3px solid var(--ink);
  padding: 10px 16px; display: flex; align-items: center; gap: 14px; }
.buybar div { flex-grow: 1; }
.buybar .num { font-size: 22px; line-height: 1.2; display: block; }
.buybar span { font-size: 12px; color: var(--muted); }
.buybar .btn { font-size: 17px; padding: 12px 22px; }

/* ---------- forms and small pages ---------- */
.screen { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.screen main { flex-grow: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 24px; padding-bottom: 28px; position: relative; }
.screen h1 { font-size: 29px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input { font: inherit; font-size: 17px; padding: 13px 12px; border: 2px solid var(--ink); border-radius: 0; background: #fff;
  color: var(--ink); min-height: 48px; width: 100%; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err, .err { font-size: 14px; color: var(--red); font-weight: 700; }
.phone-field { display: flex; }
.phone-field span { font-family: 'JetBrains Mono', monospace; font-size: 17px; padding: 13px 12px; border: 2px solid var(--ink);
  border-right: 0; background: var(--band); }
.phone-field input { font-family: 'JetBrains Mono', monospace; min-width: 0; }
.summary { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 2px solid var(--ink); padding: 12px; }
.summary img { width: 54px; height: 96px; object-fit: cover; flex: none; }
.summary div { flex-grow: 1; }
.summary b { display: block; line-height: 1.4; }
.summary .num { font-size: 22px; }
.total { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.total div { display: flex; }
.total div span:first-child { flex-grow: 1; }
.total .sum { font-weight: 800; font-size: 19px; margin-top: 4px; }
.panel { background: var(--panel); border: 2px solid var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.notice { background: #E3F1E6; padding: 14px 16px; font-size: 15px; }
.notice.warn { background: #FCE3D2; }
.spacer { flex-grow: 1; }
.step-of { font-size: 13px; color: var(--muted); font-weight: 600; }
.back { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -12px; }

/* ---------- policy pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 28px 20px 8px; }
.doc h1 { font-size: 30px; margin-bottom: 16px; }
.doc h2 { font-size: 20px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { padding-left: 22px; margin: 0; }

/* ---------- course player ---------- */
.player-top { background: var(--ink); color: var(--ground); }
.player-top .wrap { max-width: 1240px; padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.player-top .brand { color: var(--ground); font-size: 18px; }
.player-top .brand .logo { width: 32px; height: 32px; }
.player-top .brand span { color: #F5B95A; }
.progress { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.progress .track { flex-grow: 1; max-width: 320px; height: 8px; background: var(--muted); }
.progress .fill { height: 8px; background: #6FCF8B; width: 0; }
.player-top a { color: var(--ground); font-weight: 700; font-size: 14px; padding: 10px 0; }
.player-top .who { font-size: 12px; color: #D9C9B0; font-family: 'JetBrains Mono', monospace; }
.player { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; }
.player main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.stage { position: relative; background: var(--ink); aspect-ratio: 16 / 9; }
.stage video { width: 100%; height: 100%; background: var(--ink); }
.stage .mark { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255, 255, 255, .45);
  pointer-events: none; user-select: none; }
.stage .mark.c0 { right: 12%; top: 16%; } .stage .mark.c1 { left: 10%; top: 18%; }
.stage .mark.c2 { left: 12%; bottom: 22%; } .stage .mark.c3 { right: 10%; bottom: 24%; }
.below { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.lesson-head .where { font-size: 13px; color: var(--muted); font-weight: 600; }
.lesson-head h1 { font-size: 23px; margin-top: 2px; }
.nav-btns { display: flex; gap: 10px; }
.nav-btns .btn-green { flex-grow: 1; font-size: 15px; padding: 11px 14px; }
.guide { border-top: 4px solid var(--green); padding-top: 12px; }
.guide h2, .prompts h2 { font-size: 18px; margin-bottom: 8px; }
.guide ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.guide li::marker { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--green); }
.mistake { margin-top: 12px; background: #FCE3D2; padding: 10px 12px; font-size: 15px; }
.mistake b { display: block; color: var(--red); font-size: 14px; }
.prompts { border-top: 4px solid var(--saffron); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.prompts mark, .prompt-text mark { background: #FCE3D2; color: var(--saffron-dark); font-weight: 700; }
.prompt-box { border: 2px solid var(--ink); background: var(--panel); margin-top: 8px; }
.prompt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 10px; background: var(--band); border-bottom: 2px solid var(--ink); }
.prompt-head b { flex: 1 1 140px; font-size: 15px; }
.prompt-head .btn { padding: 8px 14px; min-height: 40px; background: var(--panel); }
.prompt-text { margin: 0; padding: 12px; font-family: 'JetBrains Mono', ui-monospace, 'Noto Sans Devanagari', monospace; font-size: 13px;
  line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }
.pdfbox { border-top: 4px solid var(--amber); padding-top: 12px; display: flex; gap: 14px; align-items: flex-start; }
.pdfbox img { width: 56px; flex: none; }
.laptop-tip { background: var(--band); padding: 10px 12px; font-size: 13px; color: var(--muted); }
.lessons { margin: 20px 16px 28px; background: var(--panel); border: 2px solid var(--ink); align-self: stretch; }
.lessons .mod { background: var(--band); padding: 7px 12px; font-weight: 800; font-size: 14px; display: flex; gap: 8px; border-top: 2px solid var(--ink); }
.lessons .mod:first-child { border-top: 0; }
.lessons .mod .num { color: var(--saffron); }
.lessons button { font: inherit; font-size: 14px; width: 100%; min-height: 46px; display: flex; align-items: center; gap: 9px;
  padding: 7px 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.lessons button .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8A7866; display: flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.lessons button.done .dot { background: var(--green); border-color: var(--green); }
.lessons button.done .dot::before { content: "✓"; }
.lessons button .num { font-size: 11px; width: 24px; flex: none; font-weight: 500; }
.lessons button .t { flex-grow: 1; }
.lessons button .len { font-family: 'JetBrains Mono', monospace; font-size: 11px; flex: none; }
.lessons button[aria-current="true"] { background: #FCE3D2; font-weight: 800; box-shadow: inset 5px 0 0 var(--saffron); }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .top { padding-top: 22px; padding-bottom: 22px; gap: 32px; }
  .top nav { display: flex; }
  .top .btn { display: inline-block; }
  .top .mine.only-phone { display: none; }
  .brand { font-size: 24px; }
  .brand .logo { width: 44px; height: 44px; }
  .hero { flex-direction: row; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero-text { flex: 1 1 520px; gap: 22px; }
  .hero h1 { font-size: 60px; line-height: 1.22; }
  .hero .lead { font-size: 21px; max-width: 560px; }
  .hero-cta { flex-direction: row; align-items: center; gap: 16px; }
  .hero-cta .btn { font-size: 21px; padding: 18px 32px; }
  .facts { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16px; border-top: 0; padding-top: 0; }
  .phone-wrap { flex: 0 1 400px; display: flex; justify-content: center; margin: 0; }
  .phone { width: 290px; border-width: 10px; border-radius: 34px; }
  .phone-wrap .mithu { left: 0; bottom: -30px; width: 150px; }
  .phone-wrap .note { right: 0; top: 34px; font-size: 14px; padding: 8px 12px; width: 150px; }
  .proof .wrap { flex-direction: row; align-items: center; gap: 24px 56px; padding-top: 36px; padding-bottom: 36px; }
  .proof p { flex: 1 1 300px; font-size: 20px; }
  .proof-nums { display: flex; gap: 56px; }
  .proof-nums .num { font-size: 34px; }
  .proof-nums span { font-size: 15px; }
  section.block { padding-top: 84px; padding-bottom: 24px; }
  .block > h2 { font-size: 38px; margin-bottom: 8px; }
  .block > .sub { margin-bottom: 36px; }
  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .step { flex-direction: column; gap: 12px; padding: 0; }
  .step .n { width: 76px; height: 76px; font-size: 30px; }
  .step b { font-size: 21px; }
  .step span { font-size: 16px; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
  .needs h2 { font-size: 28px; margin-bottom: 18px; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module summary { pointer-events: none; }
  .module summary b { font-size: 23px; }
  .lesson-row { font-size: 17px; }
  .preview { flex-direction: row; align-items: center; gap: 48px; }
  .preview .vthumb { flex: 1 1 560px; min-width: 0; }
  .preview > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
  .pdf-band .wrap { padding-top: 64px; padding-bottom: 64px; gap: 48px; }
  .pdf-band img { width: 200px; }
  .pdf-band h2 { font-size: 32px; }
  .honest { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .honest b { font-size: 20px; }
  .honest span { font-size: 17px; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
  .price { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; padding: 44px 48px; }
  .price-list { flex: 1 1 380px; display: flex; flex-direction: column; gap: 10px; }
  .price-buy { flex: 0 1 320px; text-align: center; gap: 14px; }
  .price h2 { font-size: 32px; }
  .price .amount { font-size: 76px; }
  .price .mithu { display: block; position: absolute; right: -34px; top: -96px; width: 130px; }
  .faq { max-width: 820px; margin: 0 auto; }
  .faq summary { font-size: 20px; }
  .faq p { font-size: 17px; }
  .foot .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 15px; padding-top: 36px; padding-bottom: 36px; }
  .foot .brand-f { flex-grow: 1; }
  .foot .legal { flex-basis: 100%; }
  .buybar { display: none; }
  body.has-buybar .foot .wrap { padding-bottom: 36px; }
  .screen main { padding-top: 40px; }
}

@media (min-width: 900px) {
  .player { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding: 24px; }
  .player main { flex: 999 1 620px; gap: 16px; }
  .below { padding: 0; }
  .lesson-head h1 { font-size: 30px; }
  .lesson-row2 { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; }
  .lesson-row2 .lesson-head { flex: 1 1 360px; }
  .prompt-text { font-size: 14px; max-height: 420px; }
  .lessons { flex: 1 1 340px; margin: 0; min-width: 0; }
  .lessons button { font-size: 15px; }
  .laptop-tip { display: none; }
}
