/* The landing page of proyaash.com (site/index.html). The brand's own colours (the logo's navy, green and amber) on
   white; figures sit on the cream the topic pages use, so the page shows what a lesson looks like. Sits on notes.css
   (fonts, reset). */
body.lp { --navy: #0e2347; --green: #157a3a; --leaf: #1f9d49; --amber: #ffb81c; --wash: #eef5ee; --mist: #d9e3db; --fig: #fdf6e8; --soft-ink: #45526b;
  background: #fff; color: var(--navy); font: 400 17.5px/1.75 var(--font); }
.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lp a { color: inherit; }
.lp :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.lp h1, .lp h2, .lp h3, .lp p { margin: 0; }

/* header */
.lp-bar { border-bottom: 1px solid var(--mist); background: #fff; }
.lp-bar .lp-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lp-logo img { display: block; height: 42px; width: auto; }
.lp-barlink { font-weight: 700; font-size: 16px; text-decoration: none; padding: 6px 4px; border-bottom: 3px solid var(--amber); }

/* hero */
.lp-hero { padding: 30px 0 44px; }
.lp-hero-in { display: grid; gap: 30px; }
.lp h1 { font-size: clamp(33px, 9vw, 58px); line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.lp-swoosh { white-space: nowrap; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C70 4 190 3 296 9' fill='none' stroke='%23ffb81c' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .38em; padding-bottom: .16em; }
.lp-lead { margin-top: 16px !important; font-size: 18.5px; line-height: 1.8; max-width: 33em; color: var(--soft-ink); }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.lp-btn { display: inline-block; text-decoration: none; background: var(--green); color: #fff !important; font-weight: 700; font-size: 19px; line-height: 1.3; padding: 15px 26px; border-radius: 16px; box-shadow: 0 5px 0 #0c4f25; transition: transform .08s, box-shadow .08s; }
.lp-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #0c4f25; }
.lp-link { font-weight: 700; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lp-fine { margin-top: 18px !important; font-size: 15px; color: var(--soft-ink); }

/* the lesson playing */
.lp-demo { margin: 0; background: #fff; border: 2.5px solid var(--navy); border-radius: 24px; padding: 14px 14px 12px; box-shadow: 7px 7px 0 var(--leaf); max-width: 520px; width: 100%; justify-self: center; }
.lp-demo-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 34px; }
.lp-demo-k { font-size: 14px; font-weight: 700; color: var(--green); }
.lp-demo-stage { font-weight: 700; font-size: 16.5px; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 15px; white-space: nowrap; }
.lp-demo-fig { background: var(--fig); border-radius: 16px; padding: 6px; margin-top: 8px; aspect-ratio: 400 / 260; }
.lp-demo-fig svg { display: block; width: 100%; height: auto; }
.lp-demo-say { margin-top: 10px; min-height: 5.1em; font-size: 16.5px; line-height: 1.7; background: var(--wash); border-radius: 14px; padding: 9px 13px; }
.lp-demo-ctl { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; margin-top: 10px; }
.lp-demo-ctl button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 15px; cursor: pointer; }
.lp-demo-bar { height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.lp-demo-bar i { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: 99px; }
.lp-demo-ctl a { font-size: 15px; font-weight: 700; text-decoration-color: var(--amber); text-decoration-thickness: 2.5px; text-underline-offset: 5px; white-space: nowrap; }

/* sections */
.lp-sec { padding: 46px 0; }
.lp h2 { font-size: clamp(25px, 6vw, 36px); line-height: 1.35; font-weight: 700; }
.lp-sub { margin-top: 6px !important; color: var(--soft-ink); font-size: 16.5px; }

/* the five steps: the staircase of the logo, with its flag on the last one */
.lp-how { background: var(--wash); }
.lp-stairs { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 6px; margin-top: 34px; max-width: 720px; }
.lp-stairs button { position: relative; display: grid; align-content: end; padding: 0; border: 0; background: none; font: inherit; color: var(--navy); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lp-stairs i { font-style: normal; display: grid; place-items: start center; padding-top: 6px; height: calc(22px + var(--h) * 21px); background: #cfe3d3; border-radius: 10px 10px 0 0; font-weight: 700; font-size: 17px; border-bottom: 3px solid var(--navy); transition: background .15s; }
.lp-stairs b { display: block; margin-top: 7px; min-height: 2.9em; font-size: 13.5px; line-height: 1.4; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.lp-stairs button[aria-selected=true] i { background: var(--green); color: #fff; }
.lp-stairs button[aria-selected=true] b { font-weight: 700; }
.lp-flag { position: absolute; left: 50%; bottom: calc(100% - 2.9em - 12px); width: 26px; height: 36px; transform: translateX(-30%); pointer-events: none; }
.lp-stairs button:last-child { padding-top: 34px; }
.lp-stairs button:last-child .lp-flag { top: 0; bottom: auto; }
.lp-step { margin-top: 10px; background: #fff; border-radius: 18px; padding: 16px 18px 18px; max-width: 720px; border: 1.5px solid var(--mist); min-height: 9.5em; }
.lp-step h3 { font-size: 20px; line-height: 1.45; }
.lp-step p { margin-top: 6px !important; color: var(--soft-ink); }

/* choosing a class and a subject */
.lp-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lp-pick.sub { margin-top: 10px; }
.lp-pick button { font: 700 16.5px/1.3 var(--font); color: var(--navy); background: #fff; border: 2px solid var(--mist); border-radius: 999px; padding: 9px 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lp-pick.sub button { font-size: 15.5px; padding: 7px 16px; }
.lp-pick button[aria-selected=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-pick button small { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: #7a5600; background: #ffecb8; border-radius: 999px; padding: 1px 8px; }
.lp-pick button.soon { border-style: dashed; color: var(--soft-ink); }
.lp-pick button.soon[aria-selected=true] { background: var(--soft-ink); border-color: var(--soft-ink); border-style: solid; color: #fff; }
.lp-ch { margin-top: 30px; }
.lp-ch-h h3 { font-size: clamp(21px, 5vw, 27px); line-height: 1.4; }
.lp-ch-h p { margin-top: 2px !important; color: var(--soft-ink); font-size: 16px; }
.lp-soon { margin-top: 24px; background: var(--wash); border-radius: 20px; padding: 22px 20px 24px; max-width: 640px; }
.lp-soon h3 { font-size: 21px; line-height: 1.4; }
.lp-soon p { margin: 6px 0 16px !important; color: var(--soft-ink); }
.lp-btn.sm { font-size: 16.5px; padding: 11px 20px; border: 0; border-radius: 14px; cursor: pointer; font-family: var(--font); }
.lp-rest { margin-top: 34px; border-top: 1.5px dashed var(--mist); padding-top: 22px; }
.lp-rest h3 { font-size: 18px; line-height: 1.5; color: var(--soft-ink); }
.lp-rest ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-rest li { display: flex; align-items: center; gap: 8px; border: 1.5px dashed var(--mist); border-radius: 999px; padding: 4px 14px 4px 5px; font-size: 15px; color: var(--soft-ink); }
.lp-rest li i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wash); font-weight: 700; font-size: 13.5px; }

/* the topics of an open chapter */
.lp-topics { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; counter-reset: t; }
.lp-topics li { counter-increment: t; }
.lp-topics a { position: relative; display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; text-decoration: none; border: 1.5px solid var(--mist); border-radius: 18px; padding: 10px; background: #fff; transition: border-color .12s; }
.lp-topics a:hover { border-color: var(--navy); }
.lp-topics a::before { content: counter(t, bengali); position: absolute; left: -7px; top: -9px; width: 31px; height: 31px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; z-index: 1; }
.lp-tfig { display: block; background: var(--fig); border-radius: 12px; aspect-ratio: 42 / 30; overflow: hidden; padding: 5px; }
.lp-tfig > div { width: 100%; height: 100%; min-height: 0; }
.lp-tfig svg { display: block; width: 100%; height: 100%; }   /* the figure is fitted inside the box, whatever its own shape */
.lp-ttx b { display: block; font-size: 17.5px; line-height: 1.45; }
.lp-ttx small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--soft-ink); }
.lp-ttx em { display: inline-block; margin-top: 5px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--green); background: var(--wash); border-radius: 999px; padding: 0 10px; }
.lp-more { display: grid; gap: 10px; margin-top: 18px; }
.lp-row { display: block; text-decoration: none; border-radius: 16px; padding: 12px 16px; background: var(--wash); }
.lp-row b { display: block; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lp-row span { display: block; margin-top: 3px; font-size: 15px; color: var(--soft-ink); }

/* what is here now */
.lp-now { background: var(--navy); color: #fff; }
.lp-now-in { display: grid; gap: 24px; }
.lp-now p { margin-top: 10px !important; color: #d5dcea; max-width: 30em; }
.lp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-facts li { border-left: 5px solid var(--amber); padding-left: 14px; color: #d5dcea; font-size: 16.5px; line-height: 1.7; }
.lp-facts b { display: block; color: #fff; font-size: 18px; }

/* footer */
.lp-foot { padding: 22px 0 34px; border-top: 0; margin: 0; }
.lp-foot .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; color: var(--soft-ink); }
.lp-foot img { height: 34px; width: auto; display: block; }

@media (min-width: 880px) {
  .lp-bar .lp-wrap { height: 76px; } .lp-logo img { height: 50px; }
  .lp-hero { padding: 56px 0 72px; }
  .lp-hero-in { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .lp-demo { justify-self: end; }
  .lp-sec { padding: 68px 0; }
  .lp-stairs { gap: 10px; } .lp-stairs b { font-size: 16px; min-height: 1.6em; } .lp-stairs i { height: calc(26px + var(--h) * 26px); font-size: 19px; }
  .lp-how-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: end; }
  .lp-how-grid .lp-step { margin-top: 0; min-height: 12em; }
  .lp-topics { grid-template-columns: repeat(3, 1fr); gap: 20px 18px; }
  .lp-topics a { grid-template-columns: 1fr; align-items: start; align-content: start; height: 100%; padding: 12px 12px 16px; }
  .lp-more { grid-template-columns: 1fr 1fr; }
  .lp-now-in { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .lp-btn, .lp-stairs i, .lp-topics a { transition: none; } }
