/* BH.BA Masterclass landing page. Colours are the BH.BA Academy palette (same tokens as the portal). */
:root {
  --green: #1f9d55; --green-d: #14753e; --green-tint: #e7f5ed;
  --orange: #f47b20; --orange-d: #b4540b; --orange-tint: #fff3e8;
  --black: #111111; --ink: #16201b; --ink-2: #44534b; --line: #dde4df; --bg: #f7f8f6; --white: #fff;
  --red: #b42318; --red-tint: #fdecea;
  --radius: 14px; --shadow: 0 1px 2px rgba(17,17,17,.06), 0 8px 28px rgba(17,17,17,.08);
  --font: 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', 'Vrinda', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.7; overflow-wrap: anywhere }
img { max-width: 100%; display: block }
a { color: var(--green-d) }
h1, h2, h3 { line-height: 1.35; margin: 0 }
p { margin: 0 0 .8em }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px }
.skip { position: absolute; left: 12px; top: -60px; background: var(--black); color: #fff; padding: 10px 14px; z-index: 10; border-radius: 8px }
.skip:focus { top: 12px }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px }
.narrow { max-width: 820px }
.center { text-align: center }
.small { font-size: .9rem } .muted { color: var(--ink-2) }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--white) }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px }
.brand { text-decoration: none; color: var(--black); display: inline-flex; align-items: center; min-height: 44px }
.brand-logo { display: inline-flex; align-items: center; gap: 10px }
.brand-logo img { height: 40px; width: auto }
.mark { width: 38px; height: 38px; border-radius: 9px; background: var(--black); color: #fff; font: 800 15px/38px Arial, sans-serif; text-align: center; box-shadow: inset 0 -4px 0 var(--green) }
.word { font-weight: 700; font-size: 1.05rem; letter-spacing: .2px } .word b { color: var(--green-d) }
.top-link { font-weight: 600; color: var(--black); text-decoration: none; border: 2px solid var(--black); border-radius: 999px; padding: 6px 16px; min-height: 44px; display: inline-flex; align-items: center; font-size: .95rem }
.top-link:hover { background: var(--black); color: #fff }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 0;
  background: var(--orange); color: var(--black); font: inherit; font-weight: 700; font-size: 1.08rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(244,123,32,.3); transition: transform .12s, background .12s }
.btn:hover { background: #ff8a33; transform: translateY(-1px) }
.btn:active { transform: none }
.btn[disabled] { opacity: .65; cursor: progress; transform: none }
.btn-block { width: 100% }
.micro { font-size: .9rem; color: var(--ink-2); margin: 10px 0 0 }
.micro.light { color: #d9e2dc }

/* hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--bg), var(--white)) }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start }
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--green-d); letter-spacing: .3px; margin-bottom: 14px }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; color: var(--black); letter-spacing: -.3px }
.hl { color: var(--green-d); box-shadow: inset 0 -.32em 0 var(--orange-tint) }
.lead { font-size: 1.15rem; color: var(--ink-2); margin: 20px 0 22px; max-width: 40em }
.meta { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600 }
.meta li { display: inline-flex; align-items: center; gap: 8px }
.meta svg { width: 20px; height: 20px; fill: none; stroke: var(--orange-d); stroke-width: 2; stroke-linecap: round; flex: none }
.cta-row .micro { max-width: 30em }

/* offer card + form */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px }
.card.soft { background: var(--bg) }
.offer { box-shadow: var(--shadow); padding: 0; overflow: hidden; scroll-margin-top: 16px }
.offer-head { background: var(--black); color: #fff; padding: 22px 24px 18px }
.kicker { text-transform: none; font-size: .9rem; color: #cfd8d2; margin: 0 }
.price { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin: 2px 0 12px }
.price small { font-size: 1rem; font-weight: 500; color: #cfd8d2 }
.offer-head .ticks li::before { color: var(--orange) }
.ticks { list-style: none; padding: 0; margin: 0 }
.ticks li { position: relative; padding-left: 28px; margin: 6px 0 }
.ticks li::before { content: '✓'; position: absolute; left: 2px; top: 0; color: var(--green-d); font-weight: 800 }
.ticks.big li { margin: 12px 0; font-size: 1.05rem }
.crosses { list-style: none; padding: 0; margin: 10px 0 }
.crosses li { position: relative; padding-left: 28px; margin: 8px 0 }
.crosses li::before { content: '✕'; position: absolute; left: 3px; color: var(--ink-2) }

.form { padding: 22px 24px 24px; scroll-margin-top: 16px }
.form:focus { outline: none }
.form-title { font-size: 1.3rem; color: var(--black) }
.form-note { font-size: .93rem; color: var(--ink-2); margin: 6px 0 14px }
.field { margin-bottom: 10px }
.field label, .check { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 4px }
.opt { font-weight: 400; color: var(--ink-2); font-size: .88rem }
input[type=text], input[type=tel], input[type=email], select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c4bd; border-radius: 10px }
input::placeholder { color: #7a877f }
input:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--black) }
input[aria-invalid=true] { border-color: var(--red); background: var(--red-tint) }
.hint { font-size: .88rem; color: var(--ink-2); margin: -4px 0 4px }
.err { color: var(--red); font-size: .9rem; margin: 4px 0 0; min-height: 0 }
.err:empty { display: none }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 12px 0 16px; cursor: pointer; min-height: 44px }
.check input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--green-d) }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.status { margin: 10px 0 0; font-weight: 600; font-size: .95rem }
.status:empty { display: none }
.status.is-error { color: var(--red); background: var(--red-tint); padding: 10px 12px; border-radius: 8px }
.status.is-busy { color: var(--ink-2) }
.privacy { font-size: .85rem; color: var(--ink-2); margin: 10px 0 0 }
.done { padding: 32px 24px; text-align: center }
.done:focus { outline: none }
.done h2 { font-size: 1.3rem; color: var(--black); margin-bottom: 10px }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green-d); font-size: 1.8rem; font-weight: 800; line-height: 56px; margin: 0 auto 12px }

/* sections */
.sec { padding: 64px 0 }
.sec.alt { background: var(--bg) }
.h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; color: var(--black); margin-bottom: 22px }
.h2.sm { font-size: 1.5rem; margin-bottom: 8px }
.h2.light { color: #fff }
.h3 { font-size: 1.12rem; font-weight: 700; color: var(--black); margin-bottom: 6px }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px }
.out p:last-child { margin: 0; color: var(--ink-2); font-size: .98rem }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--green-d); background: var(--green-tint); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; counter-reset: s }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line) }
.steps .n { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-tint); color: var(--orange-d); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center }
.steps p { margin: 0; color: var(--ink-2) }
.demo { border-left: 5px solid var(--green) }
.demo p { margin: 0 }
.teach { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 900px }
.photo { width: 180px; height: 200px; border-radius: var(--radius); background: linear-gradient(145deg, var(--green-d), var(--black)); color: #fff; display: grid; place-items: center; font-size: 3rem; font-weight: 800; overflow: hidden }
.photo img { width: 100%; height: 100%; object-fit: cover }
.tname { margin-bottom: 10px }
.facts { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 14px 0 0 }
.facts div { border-left: 3px solid var(--orange); padding-left: 12px }
.facts dt { font-size: 1.4rem; font-weight: 800; color: var(--black); line-height: 1.3 }
.facts dd { margin: 0; color: var(--ink-2); font-size: .92rem }
.logi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 }
.logi div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px }
.logi [hidden] { display: none }
.logi dt { font-size: .88rem; color: var(--ink-2) }
.logi dd { margin: 2px 0 0; font-weight: 700; color: var(--black) }
.faq details { border-top: 1px solid var(--line) }
.faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; padding: 16px 44px 16px 4px; position: relative; font-weight: 700; color: var(--black); min-height: 44px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; position: absolute; right: 10px; top: 12px; font-size: 1.6rem; line-height: 1.2; color: var(--orange-d); font-weight: 400 }
.faq details[open] summary::after { content: '−' }
.faq details p { padding: 0 4px 16px; margin: 0; color: var(--ink-2) }
.final { background: var(--black); color: #e9efeb; padding: 72px 0 }
.final .btn { margin-top: 10px }
.foot { background: var(--black); color: #b8c4bc; border-top: 1px solid #2a2f2c; font-size: .92rem }
.foot a { color: #e9efeb }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding: 22px 20px }
.foot p { margin: 0 }

/* tablet */
@media (max-width: 1000px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .logi { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
/* phone & small tablet: one column, form directly after the promise */
@media (max-width: 860px) {
  .hero { padding: 28px 0 40px }
  .hero-grid, .two { grid-template-columns: minmax(0, 1fr); gap: 28px }
  .steps { grid-template-columns: minmax(0, 1fr) }
  .sec { padding: 48px 0 }
}
@media (max-width: 520px) {
  body { font-size: 16px }
  .wrap { padding: 0 16px }
  .grid4, .logi { grid-template-columns: minmax(0, 1fr) }
  .teach { grid-template-columns: minmax(0, 1fr) }
  .photo { width: 120px; height: 130px; font-size: 2.2rem }
  .cta-row .btn, .final .btn { width: 100% }
  .card, .form, .offer-head { padding-left: 18px; padding-right: 18px }
  .top-link { padding: 6px 12px; font-size: .88rem }
  .word { display: none }
  .price { font-size: 2.2rem }
}
@media (max-width: 360px) { .wrap { padding: 0 12px } .meta { gap: 8px 16px } }
