/* WiseMed course page: ink blue, amber, paper. */
:root {
  --ink: #0f2236;
  --ink-2: #183552;
  --ink-soft: #2b4766;
  --amber: #f0a73a;
  --amber-2: #ffc46b;
  --paper: #f7f2e9;
  --card: #ffffff;
  --text: #1b2430;
  --muted: #5d6877;
  --line: #e4dccd;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.muted { color: var(--muted); }

.mast { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 10px clamp(16px, 5vw, 48px); background: var(--ink); color: #fff; }
.mast__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.mast__brand img { background: #fff; border-radius: 4px; padding: 2px; }
.mast__cta { padding: 8px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 600 .92rem/1 var(--body); text-decoration: none; }

.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--ink-soft) 0%, var(--ink) 55%); color: #fff; }
.hero__inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: clamp(46px, 9vw, 104px) clamp(18px, 5vw, 48px) clamp(42px, 7vw, 84px); }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font: 500 .9rem/1.2 var(--body); }
.hero__title { margin: 18px 0 0; font: 700 clamp(3rem, 12vw, 7rem)/.95 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.hero__title span { display: block; color: var(--amber); }
.hero__lede { max-width: 34em; margin: 22px 0 0; font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: #dbe4ef; }
.hero__date { margin: 14px 0 0; font-weight: 600; color: var(--amber-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__mark { position: absolute; right: -40px; top: 50%; width: clamp(240px, 42vw, 520px); height: auto; transform: translateY(-50%); opacity: .14;
  animation: drift 14s ease-in-out infinite alternate; }
.hero__mark rect, .hero__mark path { fill: none; stroke: #fff; stroke-width: 2; }
@keyframes drift { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-46%) rotate(6deg); } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 10px;
  font: 600 1rem/1 var(--body); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 0 6px 0 #c47f18; }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c47f18; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { border: 1.5px solid var(--ink); }
.btn--wide { width: 100%; max-width: 420px; margin-top: 22px; }

.numbers { background: var(--ink-2); color: #fff; }
.numbers ul { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px); list-style: none; }
.numbers li { padding: 26px 8px; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.numbers li:first-child { border-left: 0; }
.numbers b { display: block; font: 700 clamp(2.2rem, 6vw, 3.4rem)/1 var(--head); color: var(--amber); }
.numbers span { display: block; margin-top: 6px; font-size: .92rem; color: #c9d6e6; }

main { max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px); }
.sec { padding: clamp(42px, 7vw, 72px) 0 0; }
.sec h2 { margin: 0 0 22px; font: 600 clamp(1.6rem, 4.4vw, 2.3rem)/1.2 var(--body); color: var(--ink); }
.sec h2::after { content: ""; display: block; width: 46px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--amber); }
.sec__note { margin: 16px 0 0; color: var(--muted); }
.sec--tint { margin-top: clamp(42px, 7vw, 72px); padding: clamp(34px, 6vw, 56px) clamp(18px, 4vw, 40px); border-radius: 18px; background: #efe6d6; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.checks li::before { content: "✓"; flex: 0 0 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber); color: var(--ink); font: 700 .85rem/1 var(--body); }

.cycles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cycle { overflow: hidden; border-radius: 16px; background: var(--card); box-shadow: 0 10px 30px rgba(15, 34, 54, .07); }
.cycle__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--ink); color: #fff; }
.cycle__head b { font: 700 1.5rem/1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.cycle__head span { font-size: .85rem; color: var(--amber-2); }
.cycle ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 16px 18px 20px; list-style: none; }
.cycle li { padding: 5px 11px; border-radius: 999px; background: #f2ece1; font-size: .9rem; }

.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ladder li { counter-increment: step; position: relative; padding: 0 14px 0 0; }
.ladder li::before { content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--amber); font: 700 1.2rem/1 var(--head); position: relative; z-index: 1; }
.ladder li::after { content: ""; position: absolute; top: 20px; left: 42px; right: 0; height: 2px; background: var(--line); }
.ladder li:last-child::after { display: none; }
.ladder li:last-child::before { background: var(--amber); color: var(--ink); }
.ladder b { display: block; margin-top: 12px; font-weight: 700; color: var(--ink); }
.ladder span { display: block; font-size: .92rem; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 14px; background: var(--card);
  transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 34, 54, .1); }
.feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ink); stroke: var(--amber); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature b { display: block; color: var(--ink); line-height: 1.35; }
.feature span { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); line-height: 1.5; }

.fees { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.fee { position: relative; padding: 24px; border-radius: 16px; background: var(--card); }
.fee--main { background: var(--ink); color: #fff; }
.fee h3 { margin: 0; font: 600 .95rem/1.3 var(--body); color: var(--muted); }
.fee--main h3 { color: #c9d6e6; }
.fee .amount { margin: 8px 0 6px; font: 700 clamp(2.4rem, 7vw, 3.1rem)/1 var(--head); color: var(--ink); }
.fee--main .amount { color: var(--amber); }
.fee .amount small { font-size: .5em; }
.fee .was { margin-right: 6px; color: #9fb0c4; text-decoration: line-through; }
.fee p { margin: 6px 0 0; font-size: .95rem; }
.fee .flag { position: absolute; top: -12px; right: 18px; padding: 3px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 700 .78rem/1.5 var(--body); }
.offer-note { margin: 18px 0 0; }

.accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.account { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.account__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.account__head b { color: var(--ink); }
.tag { padding: 3px 10px; border-radius: 999px; background: #f2ece1; font-size: .8rem; font-weight: 600; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.row span { color: var(--muted); }
.row code { flex: 1; text-align: right; font: 600 1rem/1.3 var(--body); letter-spacing: .02em; overflow-wrap: anywhere; }
.copy { border: 0; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 600 .8rem/1.3 var(--body); cursor: pointer; }
.account__note { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 6px 12px; border-radius: 8px; background: #fff4e0; border: 1px solid #f3d6a3; font-size: .9rem; font-weight: 600; color: #8a5a10; }
.account__note span { font-size: 1rem; line-height: 1; }

.flow { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 16px; border-radius: 14px; background: var(--card); }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--amber); color: var(--ink); font: 700 1.3rem/1 var(--head); grid-row: span 2; }
.flow b { color: var(--ink); }
.flow span { color: var(--muted); font-size: .95rem; }
.store { margin-top: 16px; padding: 16px; border-radius: 12px; background: #efe6d6; }
.store p { margin: 0 0 10px; }

.mentor { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 22px; border-radius: 18px; background: var(--card); }
.mentor__photo { width: 120px; height: 140px; border-radius: 14px; object-fit: cover; background: var(--ink); }
.mentor__photo--mark { padding: 26px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.mentor h3 { margin: 0; font: 700 1.6rem/1.2 var(--head); color: var(--ink); }
.mentor p { margin: 4px 0 0; color: var(--muted); }
.mentor q { display: block; margin-top: 10px; quotes: none; }

.faq details { margin-bottom: 10px; padding: 14px 18px; border-radius: 12px; background: var(--card); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font: 700 1.3rem/1 var(--head); color: var(--amber); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.final { margin-top: 80px; padding: clamp(48px, 9vw, 88px) 20px; text-align: center; color: #fff;
  background: radial-gradient(90% 120% at 50% 0%, var(--ink-soft) 0%, var(--ink) 65%); }
.final__kicker { margin: 0; color: var(--amber-2); font-weight: 600; letter-spacing: .06em; }
.final h2 { margin: 10px 0 8px; font: 700 clamp(1.9rem, 6vw, 3rem)/1.15 var(--body); }
.final__sub { margin: 0 0 26px; color: #c9d6e6; }
.btn--big { min-height: 58px; padding: 0 34px; font-size: 1.1rem; }

.foot { padding: 40px clamp(18px, 5vw, 48px) 110px; background: #0a1827; color: #9fb0c4; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; max-width: 1080px; margin: 0 auto; }
.foot__brand { display: flex; gap: 12px; align-items: center; }
.foot__brand img { background: #fff; border-radius: 8px; padding: 4px; }
.foot__brand b { display: block; color: #fff; font: 600 1.1rem/1.2 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.foot__brand span { font-size: .9rem; }
.foot__col h4 { margin: 0 0 10px; color: #fff; font: 600 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot__col p { display: grid; gap: 8px; margin: 0; }
.foot__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: #dbe4ef; text-decoration: none; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--amber-2); }
.foot__col svg { flex: 0 0 18px; width: 18px; height: 18px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot__copy { max-width: 1080px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

.dock { position: fixed; left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 9; display: none; min-height: 54px;
  align-items: center; justify-content: center; border-radius: 14px; background: var(--amber); color: var(--ink); font: 700 1.05rem/1 var(--body);
  text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); transform: translateY(140%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.dock.is-on { transform: none; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 11; transform: translateX(-50%); padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .numbers ul { grid-template-columns: repeat(2, 1fr); }
  .numbers li:nth-child(3) { border-left: 0; }
  .numbers li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .ladder { grid-template-columns: 1fr; gap: 14px; }
  .ladder li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; padding: 0; }
  .ladder li::before { grid-row: span 2; }
  .ladder li::after { top: 42px; bottom: -14px; left: 20px; right: auto; width: 2px; height: auto; }
  .ladder b { margin-top: 0; }
  .mast__cta { display: none; }
  .dock { display: flex; }
  .mentor { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mark { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.hero__micro { margin: 14px 0 0; font-size: .92rem; color: #aebdd0; }
.btn:focus-visible, .copy:focus-visible, summary:focus-visible { outline: 3px solid var(--amber-2); outline-offset: 3px; }

.beyond { margin-top: 26px; padding: 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.beyond h3 { margin: 0 0 14px; font: 600 1.25rem/1.3 var(--body); color: var(--amber-2); }
.beyond__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.beyond__item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.beyond__item svg, .practice svg, .feature svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.beyond__item svg { background: rgba(240,167,58,.16); stroke: var(--amber); }
.beyond__item b { display: block; }
.beyond__item span { display: block; font-size: .9rem; color: #c9d6e6; }

.practice { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff4e0; border: 1px solid #f3d6a3; }
.practice svg { flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; background: var(--amber); stroke: var(--ink); }

.groups { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .groups { grid-template-columns: 1fr 1fr; } }
.group { padding: 18px; border-radius: 16px; background: var(--card); }
.group h3 { margin: 0 0 12px; font: 700 1.1rem/1.3 var(--body); color: var(--ink); }
.group .feature { padding: 10px 0; border-top: 1px solid var(--line); border-radius: 0; background: none; grid-template-columns: 40px 1fr; }
.group .feature:hover { transform: none; box-shadow: none; }
.feature svg { background: var(--ink); stroke: var(--amber); }

.fee__was { margin: 10px 0 0; font-size: .95rem; color: #9fb0c4; }
.fee__was s { margin-left: 4px; }
.fee .save { display: inline-block; margin: 6px 0 0; padding: 3px 10px; border-radius: 999px; background: rgba(240,167,58,.18); color: var(--amber-2); font-weight: 600; font-size: .9rem; }
.fee .deadline { margin: 10px 0 0; font-weight: 600; color: #ffd9a0; }
.fee__bkash { margin: 12px 0 0 !important; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,.12); font-size: .9rem !important; }
.fee--main .fee__bkash { border-top-color: rgba(255,255,255,.18); color: #c9d6e6; }
.copy { min-width: 64px; min-height: 32px; }

/* fee v3: push Full payment */
.sec__lead { margin: -8px 0 20px; font-size: 1.02rem; color: var(--muted); }
.fees { grid-template-columns: 1fr; max-width: 560px; }
.fee--main { padding: 30px 26px 24px; border: 2px solid var(--amber); box-shadow: 0 18px 40px -18px rgba(15,34,54,.55), 0 0 0 6px rgba(240,167,58,.12);
  background: radial-gradient(120% 80% at 100% 0%, var(--ink-soft) 0%, var(--ink) 60%); }
.fee--main .flag { top: -14px; left: 22px; right: auto; padding: 5px 14px; font-size: .82rem; box-shadow: 0 4px 0 #c47f18; }
.fee--main .amount { font-size: clamp(3rem, 10vw, 4rem); }
.fee .deadline { display: flex; align-items: center; gap: 8px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,167,58,.7); } 100% { box-shadow: 0 0 0 12px rgba(240,167,58,0); } }
.perks { list-style: none; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.perks li { position: relative; padding-left: 28px; color: #e6edf5; font-size: .97rem; line-height: 1.45; }
.perks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2236' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.perks b { color: var(--amber-2); }
.fee--main .btn--wide { width: 100%; justify-content: center; }
.fee--alt { padding: 14px 18px; background: transparent; border: 1px dashed rgba(15,34,54,.22); }
.fee--alt summary { cursor: pointer; list-style: none; color: var(--muted); font-weight: 600; font-size: .93rem; }
.fee--alt summary::-webkit-details-marker { display: none; }
.fee--alt summary::after { content: "+"; float: right; color: var(--muted); }
.fee--alt[open] summary::after { content: "–"; }
.fee--alt p { color: var(--muted); }
.amount--sm { font-size: 1.6rem !important; color: var(--ink-soft) !important; }
.loyal { position: relative; margin: 22px 0 0; max-width: 560px; padding: 22px 22px 20px; border-radius: 16px; background: linear-gradient(135deg, #fff6e6, #ffe9c4); border: 1px solid rgba(240,167,58,.45); }
.loyal__badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--amber-2); font: 700 .75rem/1.5 var(--body); letter-spacing: .04em; }
.loyal h3 { margin: 10px 0 6px; font: 700 1.2rem/1.35 var(--body); color: var(--ink); }
.loyal p { margin: 0; color: #4a3a1f; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* Telegram action: brand amber with ink text, the Telegram mark says where it opens */
.btn--tg { gap: 12px; min-height: 58px; padding: 0 22px; background: var(--amber); color: var(--ink); font: 700 1.08rem/1.3 var(--body);
  box-shadow: 0 6px 0 #c47f18, 0 14px 26px -14px rgba(196,127,24,.8); }
.btn--tg:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c47f18, 0 18px 30px -14px rgba(196,127,24,.85); }
.btn--tg:active { transform: translateY(3px); box-shadow: 0 3px 0 #c47f18; }
.btn--tg .tg { flex: 0 0 30px; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--ink); fill: #fff; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#enroll { scroll-margin-top: 64px; }

/* v4: family offer near the top, exam results card, plain enroll button */
.sec--family { padding-bottom: 0; }
.sec--family .loyal { margin: 0; max-width: none; }
.loyal p + p { margin-top: 10px; }
.loyal__how { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.6); }
.after { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--card); border-left: 4px solid var(--amber); }
.after b { color: var(--ink); }
.after ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.after li { position: relative; padding-left: 20px; color: var(--muted); }
.after li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.btn--tg .arrow { font-size: 1.2rem; }

/* v5: family box sits right before the fee; one-line exam result card */
.sec--family { padding-top: 0; }
.after { color: var(--ink); }

/* v6: cycles open on tap */
.cycles { align-items: start; }
.cycle__head { cursor: pointer; list-style: none; align-items: center; }
.cycle__head::-webkit-details-marker { display: none; }
.cycle__head span { margin-left: auto; }
.cycle__head i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); position: relative; }
.cycle__head i::before, .cycle__head i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--amber-2); transition: transform .2s; }
.cycle__head i::after { transform: rotate(90deg); }
.cycle[open] .cycle__head i::after { transform: rotate(0); }

/* v6: orientation date card */
.orient { display: flex; align-items: center; gap: 16px; margin: -4px 0 22px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: 0 14px 30px -18px rgba(15,34,54,.6); }
.orient[hidden] { display: none; }
.orient__cal { flex: 0 0 70px; display: grid; justify-items: center; overflow: hidden; border-radius: 12px; background: #fff; color: var(--ink); }
.orient__cal span:first-child { width: 100%; padding: 3px 0; background: var(--amber); font: 700 .78rem/1.2 var(--head); text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.orient__cal b { font: 700 2rem/1.1 var(--head); padding-top: 2px; }
.orient__cal span:last-child { padding-bottom: 5px; font-size: .75rem; color: var(--muted); }
.orient__text { display: grid; gap: 2px; }
.orient__k { font-size: .9rem; color: #aebdd0; }
.orient__text b { font: 600 1.25rem/1.25 var(--body); color: #fff; }
.orient__left { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: rgba(240,167,58,.18); color: var(--amber-2); font-size: .85rem; font-weight: 600; }

/* v6: after-exam tiles */
.after { padding: 16px; border-left: 0; border-top: 4px solid var(--amber); }
.after__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.after__item { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border-radius: 12px; background: #f7f2e9; text-align: center; font-size: .88rem; line-height: 1.35; color: var(--ink); }
.after__item svg { width: 40px; height: 40px; padding: 9px; border-radius: 11px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--ink); stroke: var(--amber); }

/* v6: offer price with an animated strike over Regular */
.offer__line { margin: 6px 0 0; font: 700 1.15rem/1.35 var(--body); color: var(--amber-2); }
.fee--offer .fee__was { font-size: 1.3rem; color: #9fb0c4; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -4%; top: 52%; width: 108%; height: 3px; border-radius: 2px; background: #ff6b5a;
  transform: rotate(-8deg) scaleX(0); transform-origin: left center; animation: strike .7s .5s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes strike { to { transform: rotate(-8deg) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .strike::after { animation: none; transform: rotate(-8deg); } }

/* v7: cycles as three cards, details on + */
.cycles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cycle .cycle__head { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px; }
.cycle__head span { margin-left: 0; }
.cycle__head em { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12); font-style: normal; font-size: .9rem; color: #c9d6e6; }
.cycle__head em i { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); }
.cycle__head em i::before, .cycle__head em i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.cycle__head em i::after { transform: rotate(90deg); }
.cycle[open] .cycle__head em i::after { transform: rotate(0); }

/* v7: calendar page flip */
.orient__cal { perspective: 300px; transform-origin: top center; }
.orient__cal.is-flip { animation: calflip .24s ease-in-out; }
@keyframes calflip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-80deg); } 100% { transform: rotateX(0); } }
.orient__cal.is-landed { animation: calland .5s ease-out; }
@keyframes calland { 0% { transform: scale(1); } 40% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(240,167,58,.35); } 100% { transform: scale(1); } }

/* v8: paper calendar, torn off page by page */
.orient__pad { position: relative; flex: 0 0 70px; perspective: 260px; }
.orient__cal { overflow: visible; }
.orient__cal span:first-child { border-radius: 12px 12px 0 0; }
.orient__sheet { position: absolute; inset: 0; z-index: 2; transform-origin: top center; backface-visibility: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.08); animation: tear .4s cubic-bezier(.4,0,.7,.2) forwards; }
@keyframes tear {
  0% { transform: rotateX(0); opacity: 1; }
  55% { transform: rotateX(-100deg); opacity: 1; }
  100% { transform: rotateX(-160deg) translateY(-6px); opacity: 0; }
}
.orient__cal.is-flip { animation: none; }

/* v8: cycles side by side; an open cycle takes the full row */
.cycles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cycle .cycle__head { position: relative; padding: 14px 12px 44px; gap: 4px; }
.cycle__head b { font-size: clamp(1.05rem, 4.2vw, 1.5rem); }
.cycle__head span { font-size: .78rem; line-height: 1.35; }
.cycle__head > i { position: absolute; right: 12px; bottom: 12px; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); }
.cycle__head > i::before, .cycle__head > i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.cycle__head > i::after { transform: rotate(90deg); }
.cycle[open] .cycle__head > i::after { transform: rotate(0); }
.cycle[open] { grid-column: 1 / -1; }

/* v8: offer card */
.fee--offer { overflow: visible; }
.fee--offer .fee__was { margin-top: 14px; font: 600 clamp(1.8rem, 7vw, 2.3rem)/1 var(--head); color: #c9d6e6; }
.strike::after { height: 4px; }
.stamp { position: absolute; top: 18px; right: 16px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #ff6b5a; color: #fff; font: 600 .8rem/1.1 var(--body); text-align: center; transform: rotate(10deg);
  box-shadow: 0 0 0 4px rgba(255,107,90,.25), 0 10px 20px -8px rgba(0,0,0,.5); animation: stamp .5s 1.1s both cubic-bezier(.2,1.6,.4,1); }
.stamp b { display: block; font: 700 1.1rem/1 var(--head); }
@keyframes stamp { from { transform: rotate(10deg) scale(0); } to { transform: rotate(10deg) scale(1); } }
.countdown { margin: 16px 0 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(240,167,58,.35); }
.countdown p { margin: 0 0 8px !important; font-size: .88rem !important; color: var(--amber-2); font-weight: 600; }
.countdown > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown span { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-radius: 10px; background: #0a1826; font-size: .72rem; color: #9fb0c4; }
.countdown b { font: 700 1.6rem/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.countdown.is-over { opacity: .5; }
.warn { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff4e0; border: 1px solid #f3d6a3; }
.warn b { color: #8a5a10; }
.warn p { margin: 6px 0 0 !important; color: #5c4214 !important; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .stamp { animation: none; } }

/* v9: three cycles and revision: 2 x 2 on phones, one row on wide screens */
.cycles { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .cycles { grid-template-columns: repeat(4, 1fr); } }
.cycle--plain .cycle__head { padding-bottom: 14px; min-height: 100%; background: linear-gradient(160deg, var(--ink) 40%, #2a3f57); }
.cycle--plain { border: 1px dashed rgba(240,167,58,.6); }
.cycle--plain { align-self: stretch; display: grid; }

/* v10: starburst stamp, strike redraws in a loop */
.stamp { width: 92px; height: 92px; border-radius: 0; background: #c8343a; box-shadow: none;
  clip-path: polygon(50% 0%,56% 6%,63% 1%,67% 8%,75% 4%,77% 12%,85% 10%,85% 18%,93% 18%,91% 26%,98% 29%,94% 36%,100% 41%,95% 47%,100% 53%,95% 59%,99% 65%,93% 69%,96% 77%,88% 79%,88% 87%,80% 86%,77% 94%,70% 90%,64% 98%,58% 93%,50% 100%,42% 93%,36% 98%,30% 90%,23% 94%,20% 86%,12% 87%,12% 79%,4% 77%,7% 69%,1% 65%,5% 59%,0% 53%,5% 47%,0% 41%,6% 36%,2% 29%,9% 26%,7% 18%,15% 18%,15% 10%,23% 12%,25% 4%,33% 8%,37% 1%,44% 6%);
  filter: drop-shadow(0 0 0 #f7e6cf); outline: none; }
.stamp::before { content: ""; position: absolute; inset: 5px; z-index: -1; }
.strike::after { animation: strikeloop 4s .5s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes strikeloop {
  0% { transform: rotate(-8deg) scaleX(0); }
  18%, 85% { transform: rotate(-8deg) scaleX(1); opacity: 1; }
  100% { transform: rotate(-8deg) scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .strike::after { animation: none; transform: rotate(-8deg) scaleX(1); } }
.cycle--plain { border: 0; }

/* v11: payment tiles, seal drop, live dot */
.accounts { grid-template-columns: repeat(2, 1fr); align-items: start; gap: 12px; }
.paykind { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.paykind[open] { grid-column: 1 / -1; }
.paykind summary { position: relative; display: grid; gap: 4px; padding: 18px 16px 18px; cursor: pointer; list-style: none; background: var(--ink); color: #fff; }
.paykind summary::-webkit-details-marker { display: none; }
.paykind summary b { font: 700 1.4rem/1 var(--head); letter-spacing: .02em; }
.paykind summary span { font-size: .82rem; color: var(--amber-2); padding-right: 30px; }
.paykind summary i { position: absolute; right: 14px; bottom: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--amber); }
.paykind summary i::before, .paykind summary i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.paykind summary i::after { transform: rotate(90deg); }
.paykind[open] summary i::after { transform: rotate(0); }
.paykind__list { display: grid; gap: 12px; padding: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stamp { line-height: 1; gap: 0; align-content: center; animation: none; opacity: 0; }
.stamp b { margin-bottom: 2px; }
.stamp.is-in { animation: seal .55s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes seal {
  0% { opacity: 0; transform: translateY(-140px) rotate(-25deg) scale(1.8); }
  70% { opacity: 1; transform: translateY(0) rotate(14deg) scale(.92); }
  100% { opacity: 1; transform: rotate(10deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .stamp { opacity: 1; } .stamp.is-in { animation: none; } }
.pill { display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { to { box-shadow: 0 0 0 9px rgba(61,220,132,0); } }

/* v12: orientation card right under the numbers */
.sec--orient { padding-bottom: 0; }
.sec--orient .orient { margin: 0; }
.orient__badge { flex: 0 0 70px; height: 70px; display: grid; place-items: center; border-radius: 12px; background: var(--amber); color: var(--ink); font: 700 .85rem/1.15 var(--head); text-align: center; text-transform: uppercase; }

/* v10: payment tiles with a mark; bKash in its own red-pink */
.paykind summary { grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 18px 50px 18px 16px; }
.paykind summary svg { width: 40px; height: 40px; padding: 8px; border-radius: 11px; fill: none; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; background: rgba(255,255,255,.1); stroke: var(--amber); }
.paykind summary i { top: 50%; bottom: auto; margin-top: -13px; }
.paykind--bkash summary { background: linear-gradient(135deg, #e2136e, #c20f5c); }
.paykind--bkash summary svg { background: rgba(255,255,255,.18); stroke: #fff; }
.paykind--bkash summary i { background: #fff; }
.paykind--bkash summary i::before, .paykind--bkash summary i::after { background: #c20f5c; }
.sec--orient { padding-bottom: 0; }
.paykind summary { grid-template-columns: auto 1fr auto; padding: 16px 14px; }
.paykind summary i { position: relative; top: auto; right: auto; bottom: auto; margin: 0; flex: none; }
.paykind summary b { min-width: 0; font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
.paykind__logo { width: 40px; height: 40px; padding: 4px; border-radius: 11px; background: #fff; object-fit: contain; }
/* v11: both payment tiles share one icon square and one gradient direction */
.paykind summary svg, .paykind__logo { width: 42px; height: 42px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px -4px rgba(0,0,0,.35); }
.paykind summary svg { stroke: var(--ink); }
.paykind--bank summary { background: linear-gradient(135deg, #1d3550, var(--ink)); }
.paykind--bkash summary { background: linear-gradient(135deg, #e2136e, #a80f50); }
.paykind--bkash summary svg { background: #fff; }

/* v13: after-orientation card with exam countdown */
.orient:has(.orient__row) { display: block; }
.orient__row { display: flex; align-items: center; gap: 14px; }
.orient .countdown { margin-top: 14px; }

/* Header batch pill: slides in once the hero pill scrolls away */
.mast__batch { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 5px 12px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; color: #fff; font: 500 .85rem/1.2 var(--body); white-space: nowrap;
  opacity: 0; transform: translateY(-8px) scale(.92); pointer-events: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2,1.2,.4,1); }
.mast__batch.is-on { opacity: 1; transform: none; }
.mast__cta { margin-left: 10px; }
@media (prefers-reduced-motion: reduce) { .mast__batch { transition: opacity .2s; transform: none; } }

/* Header: course name slides in under WiseMed Academy, both within the logo's height */
.mast__brand img { width: 34px; height: 34px; }
.mast__name { display: grid; align-content: center; height: 34px; }
.mast__name > span { line-height: 1; transition: transform .3s ease; }
.mast__name small { display: block; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(4px);
  font: 500 .68rem/1.25 var(--body); letter-spacing: .06em; color: var(--amber-2); white-space: nowrap;
  transition: max-height .3s ease, opacity .3s ease, transform .3s ease; }
.mast.has-course .mast__name small { max-height: 1.2em; margin-top: 3px; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mast__name small, .mast__name > span { transition: none; } }

/* v14: after orientation: Join now + exam is ticking */
.orient:has(.after-or) { display: block; }
.after-or__tag { display: inline-block; padding: 2px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .74rem; color: #8ea2b8; }
.after-or__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.after-or__row b { font: 700 1.25rem/1.3 var(--body); color: #fff; }
.after-or__badge { flex: 0 0 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: var(--amber); color: var(--ink);
  font: 700 .95rem/1.05 var(--head); text-align: center; text-transform: uppercase; animation: joinpulse 2s ease-out infinite; }
@keyframes joinpulse { 0% { box-shadow: 0 0 0 0 rgba(240,167,58,.6); } 100% { box-shadow: 0 0 0 12px rgba(240,167,58,0); } }
.tick { margin-top: 16px !important; padding: 14px; background: linear-gradient(135deg, #1d3550, #0a1826); }
.tick .tick__title { display: flex; align-items: center; gap: 10px; margin: 0 !important; font: 600 1.05rem/1 var(--head) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--amber) !important; }
.tick .tick__date { margin: 8px 0 12px 36px !important; font-size: .85rem !important; color: #c9d6e6 !important; font-weight: 400 !important; }
.tick__clock { position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--amber); }
.tick__clock::after { content: ""; position: absolute; left: 10px; top: 2px; width: 2px; height: 9px; background: var(--amber); transform-origin: 1px 9px; animation: tickhand 4s steps(4) infinite; }
@keyframes tickhand { to { transform: rotate(360deg); } }
.tick span:last-child b { color: var(--amber); }
.tick b { font-size: 1.8rem; }
@media (prefers-reduced-motion: reduce) { .after-or__badge, .tick__clock::after { animation: none; } }

/* v15: before-orientation countdown; after-orientation text */
.after-or__text { display: grid; gap: 4px; }
.after-or__text span { font-size: .88rem; color: #aebdd0; line-height: 1.45; }
.after-or .tick__title + div { margin-top: 12px; }
/* Keep the calendar day dark on its white page, inside any card */
.orient__cal b, .after-or__row .orient__cal b { font: 700 2rem/1.1 var(--head); color: var(--ink); }

/* Mentor with photo: photo on top on phones, beside the text on wide screens */
.mentor { grid-template-columns: 1fr; gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.mentor .mentor__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 460px; border-radius: 0; object-fit: cover; object-position: 50% 20%; }
.mentor__body { padding: 22px; }
.mentor h3 { font: 700 1.5rem/1.25 var(--body); }
.mentor__titles { list-style: none; margin: 8px 0 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.mentor__titles li { color: var(--muted); font-size: .95rem; }
.mentor__titles li:last-child { color: #8a5a10; font-weight: 600; }
.mentor__note { margin: 14px 0 0 !important; padding-left: 14px; border-left: 3px solid var(--amber); color: var(--ink) !important; line-height: 1.75; }
@media (min-width: 720px) {
  .mentor { grid-template-columns: 300px 1fr; }
  .mentor .mentor__photo { max-height: none; height: 100%; }
  .mentor__body { padding: 28px; align-self: center; }
}

/* offer flag with icon, larger */
.fee--main .flag { display: inline-flex; align-items: center; gap: 8px; top: -20px; padding: 7px 18px 7px 10px; font-size: 1.05rem; letter-spacing: .01em; }
.flag__ico { width: 34px; height: 34px; margin: -8px 0; flex: 0 0 34px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.fee--main { margin-top: 10px; }

/* Payment help link: scrolls to Contact us in the footer */
.pay-help { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 10px 14px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .95rem; }
.pay-help b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
#contact { scroll-margin-top: 70px; }
#contact:target { animation: contactGlow 1.6s ease-out; border-radius: 12px; }
@keyframes contactGlow { 0% { box-shadow: 0 0 0 0 rgba(240,167,58,.0); } 30% { box-shadow: 0 0 0 8px rgba(240,167,58,.35); } 100% { box-shadow: 0 0 0 0 rgba(240,167,58,0); } }
.flag__ico--img { mix-blend-mode: multiply; filter: none; width: 40px; height: 40px; flex-basis: 40px; object-fit: contain; }
.flag svg.flag__ico { width: 38px; height: 38px; flex-basis: 38px; }

/* No blue tap flash on phones; a gentle press instead. Keyboard focus ring stays. */
html, a, button, summary, label, input { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
a:active, button:active, summary:active { opacity: .85; }

/* WiseMed family: two-level title, numbered how-to and its own Telegram button */
.loyal__title { display: grid; gap: 2px; margin: 12px 0 10px !important; }
.loyal__title span { font: 600 .98rem/1.3 var(--body); color: #6b5021; }
.loyal__title strong { font: 700 clamp(1.7rem, 7vw, 2.2rem)/1.05 var(--head); letter-spacing: .01em; color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(240,167,58,.55) 62%); justify-self: start; padding: 0 2px; }
.loyal__how { margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.7); }
.loyal__how > b { color: var(--ink); }
.loyal__how ol { margin: 8px 0 14px; padding: 0; list-style: none; counter-reset: lh; display: grid; gap: 8px; }
.loyal__how li { counter-increment: lh; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: #4a3a1f; line-height: 1.5; }
.loyal__how li::before { content: counter(lh); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--amber-2); font: 700 .8rem/1 var(--head); }
.loyal__how .btn { margin: 0; }
/* Installment warning as a list */
.warn ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.warn li { position: relative; padding-left: 18px; color: #5c4214; font-size: .92rem; line-height: 1.5; }
.warn li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #d38a1f; }

/* Bigger WiseMed family box; small one-line "Telegram নেই?" link */
.sec--family .loyal { padding: 28px 24px 24px; border-width: 2px; box-shadow: 0 18px 40px -22px rgba(196,127,24,.55); }
.loyal__badge { padding: 5px 14px; font-size: .9rem; }
.loyal__title span { font-size: 1.1rem; }
.loyal__title strong { font-size: clamp(2rem, 8.5vw, 2.7rem); }
.sec--family .loyal > p { font-size: 1.05rem; line-height: 1.7; }
.loyal__how { padding: 16px; }
.loyal__how li { font-size: 1rem; }
.store-help[hidden] { display: none; }
.store-help { margin-top: 14px; }
.loyal__title strong { font-size: clamp(1.6rem, 6.8vw, 2.7rem); white-space: nowrap; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* section chips under the header */
.mast { flex-wrap: wrap; }
.chips { position: relative; order: 9; flex: 0 0 100%; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * clamp(16px, 5vw, 48px)); padding: 0 clamp(16px, 5vw, 48px);
  max-height: 0; opacity: 0; transform: translateY(-8px);
  transition: max-height .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), padding .35s cubic-bezier(.2,.8,.2,1); }
.chips::-webkit-scrollbar { display: none; }
.chips.is-on { max-height: 56px; opacity: 1; transform: none; padding-top: 10px; padding-bottom: 4px; }
.chips a { position: relative; z-index: 1; flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(201,214,230,.3);
  color: #c9d6e6; font: 600 .85rem/1.2 var(--body); text-decoration: none; transition: color .3s ease, border-color .3s ease; }
.chips a.is-active { color: var(--ink); border-color: transparent; }
.chips__pill { position: absolute; left: 0; top: 10px; height: calc(100% - 14px); border-radius: 999px; background: var(--amber);
  box-shadow: 0 4px 14px -4px rgba(240,167,58,.7); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s cubic-bezier(.3,1.3,.5,1), opacity .2s; }
html { scroll-padding-top: 116px; }
@media (prefers-reduced-motion: reduce) { .chips, .chips a, .chips__pill { transition: none; } }

/* results / success stories */
.stories__big { padding: 26px 24px; border-radius: 18px; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--ink-soft) 0%, var(--ink) 65%); }
.stories__big b { display: block; font: 700 clamp(4rem, 18vw, 6rem)/1 var(--head); color: var(--amber); }
.stories__big p { margin: 10px auto 0; max-width: 30ch; color: #dfe7f1; font-size: 1.02rem; }
.stories__batches { display: grid; gap: 12px; margin-top: 14px; }
.stories__batch { padding: 16px 18px; border-radius: 16px; background: var(--card); box-shadow: 0 10px 30px rgba(15,34,54,.07); }
.stories__tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--amber-2); font: 700 .78rem/1.5 var(--body); }
.stories__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; }
.stories__nums span { padding: 10px 4px; border-radius: 12px; background: rgba(15,34,54,.05); font-size: .82rem; color: var(--muted); }
.stories__nums b { display: block; font: 700 1.9rem/1.1 var(--head); color: var(--ink); }
.stories__nums .is-ours { background: var(--amber); color: var(--ink); }
.stories__video { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--ink); color: #fff; text-decoration: none; transition: transform .2s ease; }
.stories__video:hover { transform: translateY(-2px); }
.stories__video b { display: block; font-weight: 600; }
.stories__video small { color: #a9bbd0; }
.stories__play { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240,167,58,.6); animation: pulse 2s ease-out infinite; }
.stories__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.stories__more { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .stories__play { animation: none; } }

/* results chart */
.chart { padding: 22px 20px; border-radius: 18px; color: #fff; background: radial-gradient(120% 90% at 50% 0%, var(--ink-soft) 0%, var(--ink) 65%); }
.chart__title { margin: 0 0 18px; font-weight: 600; color: var(--amber-2); }
.bar { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center; margin-bottom: 18px; }
.bar:last-child { margin-bottom: 0; }
.bar__batch { font: 700 1rem/1 var(--head); color: #c9d6e6; }
.bar__track { height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar__fill { height: 100%; width: 0; border-radius: 10px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
  background: linear-gradient(90deg, #c47f18, var(--amber)); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.chart.is-in .bar__fill { width: var(--w); }
.bar__fill b { font: 700 1.25rem/1 var(--head); color: var(--ink); }
.bar__note { grid-column: 2; font-size: .85rem; color: #a9bbd0; }
.stories__src { display: inline-block; margin-top: 12px; color: var(--ink); font-weight: 600; }
/* video reel */
.reel { overflow: hidden; margin: 0 calc(-1 * clamp(16px, 5vw, 48px)); padding: 4px clamp(16px, 5vw, 48px); }
.reel__track { display: flex; gap: 14px; width: max-content; }
.reel--loop .reel__track { animation: reel 40s linear infinite; }
.reel--loop:hover .reel__track, .reel.is-paused .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - 7px)); } }
.vtile { position: relative; flex: 0 0 auto; width: min(82vw, 520px); aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: var(--ink); cursor: pointer; box-shadow: 0 14px 30px -14px rgba(15,34,54,.5); }
.reel--loop .vtile { width: min(70vw, 340px); }
.vtile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vtile:hover img { transform: scale(1.04); }
.vtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,34,54,.9)); }
.vtile__play { position: absolute; z-index: 1; left: 50%; top: 42%; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--amber); animation: pulse 2s ease-out infinite; }
.vtile__play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 4px; }
.vtile__meta { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; text-align: left; color: #fff; }
.vtile__meta small { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 700 .72rem/1.5 var(--body); }
.vtile__meta b { display: block; margin-top: 4px; font: 600 1rem/1.3 var(--body); }
.vtile.is-playing::after { display: none; }
.vtile iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (prefers-reduced-motion: reduce) { .reel--loop .reel__track, .vtile__play { animation: none; } .bar__fill { transition: none; } }

/* student review */
.reviews { display: grid; gap: 14px; margin-top: 16px; }
.review { position: relative; margin: 0; padding: 26px 20px 18px; border-radius: 18px; background: var(--card); box-shadow: 0 10px 30px rgba(15,34,54,.08); }
.review__mark { position: absolute; top: -18px; left: 18px; font: 700 4.4rem/1 Georgia, serif; color: var(--amber); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.review blockquote p:first-child { font-weight: 600; font-size: 1.12rem; }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(15,34,54,.08); }
.review__avatar { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--amber); font: 700 .95rem/1 var(--head); }
.review figcaption b { display: block; color: var(--ink); font-weight: 600; }
.review figcaption small { color: var(--muted); }
.review figcaption a { margin-left: auto; color: var(--ink); font-weight: 600; font-size: .88rem; }

/* results: column chart over time */
.chart__title { margin-bottom: 4px !important; }
.chart__sub { margin: 0 0 18px; font-size: .86rem; color: #a9bbd0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; align-items: end; }
.col { display: grid; justify-items: center; gap: 6px; }
.col__pct { font: 700 1.15rem/1 var(--head); color: var(--amber); }
.col__track { position: relative; width: 100%; max-width: 46px; height: 170px; border-radius: 10px; background: rgba(255,255,255,.07); overflow: hidden; }
.col__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 10px;
  background: linear-gradient(0deg, #c47f18, var(--amber)); transition: height 1.4s cubic-bezier(.2,.8,.2,1); }
.chart.is-in .col__fill { height: var(--h); }
.col:nth-child(2) .col__fill { transition-delay: .12s; } .col:nth-child(3) .col__fill { transition-delay: .24s; }
.col:nth-child(4) .col__fill { transition-delay: .36s; } .col:nth-child(5) .col__fill { transition-delay: .48s; }
.col:nth-child(6) .col__fill { transition-delay: .6s; }
.col__batch { font: 700 .85rem/1 var(--head); color: #dfe7f1; }
.col__note { font-size: .72rem; color: #a9bbd0; }
.chart__foot { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #dfe7f1; text-align: center; }
.chart__foot b { font: 700 1.5rem/1 var(--head); color: var(--amber); margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .col__fill { transition: none; } }

/* results row: fixed-width columns, sideways scroll */
.cols { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; grid-template-columns: none; }
.cols::-webkit-scrollbar { display: none; }
.col { flex: 0 0 62px; }

/* results row adapts: columns share the width, scroll only when they no longer fit */
.cols { justify-content: space-between; }
.col { flex: 1 0 62px; max-width: 120px; }
.col__track { max-width: 52px; }
/* Facebook video tiles: own artwork, open on Facebook */
.vtile--fb { display: block; text-decoration: none; background: radial-gradient(120% 100% at 80% 0%, #2b4766 0%, var(--ink) 60%); }
.vtile__art { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 14px; }
.vtile__art img { width: 34px; height: 34px; border-radius: 6px; background: #fff; padding: 3px; }
.vtile__art b { font: 700 2.4rem/1 var(--head); color: rgba(240,167,58,.9); letter-spacing: .02em; }
.vtile__len { position: absolute; z-index: 1; right: 12px; bottom: 14px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font: 600 .75rem/1.4 var(--body); }
.vtile--fb .vtile__meta { right: 70px; }

/* Results graph: still, and fits the screen (all sessions side by side) */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: clamp(6px, 2vw, 14px); overflow: visible; }
.col { flex: none; min-width: 0; }
.col__track { max-width: 46px; height: clamp(130px, 40vw, 190px); }
.col__pct { font-size: clamp(.9rem, 3.6vw, 1.2rem); }
.col__batch { font-size: clamp(.68rem, 2.8vw, .9rem); white-space: nowrap; }
.col__note { font-size: clamp(.6rem, 2.4vw, .75rem); white-space: nowrap; }
/* Success stories heading above the student reviews */
.stories__head { margin: 26px 0 0; font: 700 1.35rem/1.2 var(--body); color: var(--ink); }
.stories__head::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--amber); }
/* Video strip keeps moving after a tap on phones; it pauses only under a mouse or while a video plays */
.reel--loop:hover .reel__track { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) { .reel--loop:hover .reel__track { animation-play-state: paused; } }
.reel.is-paused .reel__track { animation-play-state: paused; }

/* Video strip: moved by script, so it can also be swiped by hand */
.reel { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reel::-webkit-scrollbar { display: none; }
.reel--loop .reel__track, .reel--loop:hover .reel__track { animation: none !important; }
