/* Static level-page layout (v2). Loaded after ds-course-phase1.css, whose
   tokens (--ds-*), chrome (.ds-topbar, .ds-nav, .ds-subnav, .ds-footer) and
   buttons (.ds-btn-*) it reuses. Generated pages: tools/course_v2.py. */

.v2 { --v2-gap: 3.5rem; }
.v2 section.v2-sec { padding: var(--v2-gap) 0; scroll-margin-top: 120px; }
.v2 .v2-alt { background: var(--ds-paper); border-block: 1px solid var(--ds-line); }
.v2 h1, .v2 h2, .v2 h3, .v2 h4 { color: var(--ds-midnight); font-weight: 900; }
.v2 a { color: var(--ds-blue); }
.v2 a.ds-btn-primary, .v2 a.ds-btn-dark { color: #fff; }
.v2 a.ds-btn-ghost { color: var(--ds-midnight); }
.v2-eyebrow { color: #0a7fa0; display: inline-block; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.v2-head { margin-bottom: 1.5rem; max-width: 820px; }
.v2-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: .35rem 0 .6rem; text-wrap: balance; }
.v2-head p { color: #3d4d61; font-size: 1.05rem; line-height: 1.6; margin: 0; }
.v2-sub { font-size: 1.25rem; margin: 2rem 0 1rem; }
.v2-small { color: var(--ds-muted); display: block; font-size: .86rem; }
.v2-prose { max-width: 820px; }
.v2-prose p { color: #2a3b50; font-size: 1.05rem; line-height: 1.7; }

/* Hero */
.v2-hero { background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%); border-bottom: 1px solid var(--ds-line); padding: 2.5rem 0 3rem; }
.v2-crumbs { color: var(--ds-muted); font-size: .9rem; margin-bottom: .9rem; }
.v2-crumbs a { color: var(--ds-muted); }
.v2-crumbs [aria-current] { color: var(--ds-ink); }
.v2-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.5px; line-height: 1.05; margin: .5rem 0 .9rem; text-wrap: balance; }
.v2-lead { color: #2a3b50; font-size: 1.18rem; line-height: 1.6; margin: 0 0 1rem; max-width: 62ch; }
.v2-proofline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: 1rem; }
.v2-proofline a { align-items: center; color: var(--ds-ink); display: inline-flex; font-size: .95rem; gap: .35rem; text-decoration: none; }
.v2-proofline a:hover { color: var(--ds-blue); }
.v2-proofline .fa { color: #0a7fa0; }
.v2-chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.v2-chips li { background: #fff; border: 1px solid var(--ds-line); border-radius: 999px; font-size: .85rem; padding: .35rem .75rem; }
.v2-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .9rem; }
.v2-btn-lg { min-height: 50px; padding-inline: 1.4rem; }
.v2-wa { color: #128c4b !important; font-weight: 900; text-decoration: none; }
.v2-risk { color: #3d4d61; font-size: .9rem; margin: 0; }
.v2-risk .fa-check { color: var(--ds-green); }
.v2-price-strip { background: #fff; border: 2px solid var(--ds-blue); border-radius: 14px; display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between; margin-bottom: 1rem; padding: .7rem .9rem; }
.v2-price-strip span { font-size: .95rem; min-width: 0; }
/* INR reference added by ds-course-phase1.js after a converted price */
.v2 [data-price-inr] small { display: inline; font-size: .8em; margin: 0 0 0 .2rem; }
.v2 .v2-amount [data-price-inr] small { display: block; font-size: .9rem; margin: .15rem 0 0; }

/* Decision card */
.v2-decide { background: #fff; border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow-soft); display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; }
.v2-flag { color: #c25e00; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.v2-batches { font-size: .98rem; line-height: 1.5; margin: .35rem 0 .6rem; }
.v2-cd { display: flex; gap: .45rem; margin: .4rem 0 .7rem; }
.v2-cd div { background: var(--ds-midnight); border-radius: 12px; color: #fff; flex: 1 1 0; min-width: 0; padding: .5rem .3rem; text-align: center; }
.v2-cd b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.v2-cd span { color: #b9c7d8; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.v2-prog { background: var(--ds-line); border-radius: 999px; height: 8px; overflow: hidden; }
.v2-prog i { background: linear-gradient(90deg, var(--ds-amber), #e8590c); display: block; height: 100%; transition: width .6s ease; width: 0; }
.v2-prog-meta { color: var(--ds-muted); display: flex; flex-wrap: wrap; font-size: .8rem; gap: .25rem 1rem; justify-content: space-between; margin-top: .4rem; }
.v2-prog-meta [data-v2-progress-text] { color: #c25e00; font-weight: 700; }
.v2-tier { border: 1px solid var(--ds-line); border-radius: 18px; color: var(--ds-ink); padding: 1rem 1.1rem; position: relative; }
.v2-tier-main { border: 2px solid var(--ds-blue); }
.v2-tier-top { align-items: baseline; display: flex; flex-wrap: wrap; gap: .25rem .75rem; justify-content: space-between; }
.v2-tier-top span { color: var(--ds-blue); font-size: .8rem; font-weight: 700; }
.v2-tier p { color: var(--ds-muted); font-size: .88rem; margin: .2rem 0 .7rem; }
.v2-amount { color: var(--ds-midnight); font-size: 1.9rem; font-weight: 900; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
.v2-amount-text { font-size: 1.5rem; }
.v2-badge { background: var(--ds-green); border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 900; padding: .2rem .65rem; position: absolute; right: 1rem; top: -.7rem; }

/* Proof strip */
.v2-proof { background: #fff; border-bottom: 1px solid var(--ds-line); }
.v2-proof ul { display: grid; gap: .75rem 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 1.1rem 0; }
.v2-proof a { color: var(--ds-ink); display: flex; flex-direction: column; text-decoration: none; }
.v2-proof a:hover b { color: var(--ds-blue); }
.v2-proof span { color: var(--ds-muted); font-size: .86rem; }

/* Cards and lists */
.v2-card { background: #fff; border: 1px solid var(--ds-line); border-radius: 20px; color: var(--ds-ink); display: block; padding: 1.3rem; }
.v2-card h3 { font-size: 1.12rem; margin: .3rem 0 .45rem; }
.v2-card p { color: #3d4d61; line-height: 1.6; margin-bottom: .6rem; }
.v2-card p:last-child { margin-bottom: 0; }
.v2-card-dark { background: var(--ds-midnight); border-color: var(--ds-midnight); color: #dbe5f1; }
.v2-card-dark h3 { color: #fff; }
.v2-card-dark p { color: #c9d6e6; }
.v2-card-dark a:not(.ds-btn) { color: #5fd3ee; }
.v2-num { color: #0a7fa0; font-family: var(--ds-mono); font-weight: 900; }
.v2-case { background: #f2fbf6; border-color: #bfe8d1; }
.v2-ticks { list-style: none; margin: .8rem 0 1rem; padding: 0; }
.v2-ticks li { line-height: 1.55; margin: .35rem 0; padding-left: 1.6rem; position: relative; }
.v2-ticks li::before { color: var(--ds-green); content: "\2713"; font-weight: 900; left: 0; position: absolute; }
.v2-cols { column-gap: 2.5rem; columns: 2 320px; }
.v2-cols li { break-inside: avoid; }
.v2-else { background: #fff6e5; border-left: 4px solid var(--ds-amber); border-radius: 0 12px 12px 0; margin: 1rem 0 0; max-width: 820px; padding: .8rem 1rem; }
.v2-note { color: var(--ds-muted); font-size: .92rem; margin: 1.2rem 0 0; }

/* Level path */
.v2-path { display: grid; gap: .8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.v2-step > a, .v2-step > div { background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; color: var(--ds-ink); display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem 1.1rem; text-decoration: none; }
.v2-step > a:hover { border-color: var(--ds-blue); }
.v2-step.is-current > div { background: #eef4ff; border: 2px solid var(--ds-blue); }
.v2-step-no { color: #0a7fa0; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.v2-step b { font-size: 1.15rem; }
.v2-step-days { color: var(--ds-midnight); font-size: .88rem; font-weight: 700; }
.v2-step-sum { color: var(--ds-muted); font-size: .86rem; line-height: 1.45; }
.v2-here { color: var(--ds-blue); font-weight: 900; margin-top: .3rem; }

/* Tables */
.v2-table table, .v2 .v2-topics, .v2 .v2-mini { background: #fff; border: 1px solid var(--ds-line); border-radius: 16px; margin: 0; overflow: hidden; }
.v2 .table > :not(caption) > * > * { padding: .8rem 1rem; }
.v2-table thead th, .v2 .v2-topics thead th, .v2 .v2-mini thead th { background: var(--ds-midnight); color: #fff; font-size: .9rem; }
.v2-table tbody th { color: var(--ds-midnight); white-space: nowrap; }
.v2 .v2-topics td, .v2 .v2-topics th { font-size: .94rem; vertical-align: top; }
.v2 .v2-topics tbody th { font-weight: 700; min-width: 180px; }
.v2-id { color: #0a7fa0; font-family: var(--ds-mono); font-weight: 900; }

/* Agenda */
.v2-day { background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; margin-bottom: .8rem; }
.v2-day.is-new { border: 2px solid var(--ds-blue); }
.v2-day summary { align-items: center; cursor: pointer; display: grid; gap: .2rem 1rem; grid-template-columns: minmax(0, 1fr) auto; list-style: none; padding: 1rem 1.2rem; }
.v2-day summary::-webkit-details-marker { display: none; }
.v2-day summary::after { color: var(--ds-muted); content: "+"; font-size: 1.4rem; font-weight: 900; grid-column: 2; grid-row: 1 / span 2; }
.v2-day[open] summary::after { content: "\2212"; }
.v2-day-tag { color: #0a7fa0; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.v2-day-title { color: var(--ds-midnight); font-size: 1.12rem; font-weight: 900; grid-column: 1; }
.v2-day-count { color: var(--ds-muted); font-size: .85rem; grid-column: 1; }
.v2-day-body { border-top: 1px solid var(--ds-line); padding: 1rem 1.2rem 1.2rem; }
.v2-day-body h4 { font-size: 1rem; margin: 1rem 0 .4rem; }
.v2-day-body ol { margin: 0 0 .8rem; padding-left: 1.3rem; }
.v2-day-body li { line-height: 1.55; margin: .25rem 0; }
.v2-day-outcome { color: #2a3b50; }
.v2-gate { background: #f2fbf6; border: 1px solid #bfe8d1; border-radius: 12px; margin: .6rem 0 0; padding: .7rem .9rem; }
.v2-dl { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.2rem; }
.v2-dl span { color: var(--ds-muted); font-size: .92rem; }

/* Pricing */
.v2-price { background: #fff; border: 1px solid var(--ds-line); border-radius: 20px; color: var(--ds-ink); display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; position: relative; }
.v2-price-main { border: 2px solid var(--ds-blue); box-shadow: var(--ds-shadow-soft); }
.v2-price-name { color: var(--ds-midnight); font-size: 1.2rem; }
.v2-price > span:not(.v2-badge) { color: var(--ds-muted); font-size: .92rem; }
.v2-price .ds-enroll-form, .v2-price > .ds-btn { margin-top: auto; }
.v2-assure { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.v2-assure li { color: #2a3b50; font-size: .95rem; }
.v2-assure .fa { color: #0a7fa0; margin-right: .3rem; }

/* Labs, trainer, certificate, reviews */
.v2-lab.is-new { border-color: var(--ds-blue); }
.v2-trainer { align-items: start; display: grid; gap: 2rem; grid-template-columns: 160px minmax(0, 1fr); }
.v2-trainer h2 { font-size: 2rem; margin: .3rem 0 .6rem; }
.v2-trainer p { color: #2a3b50; font-size: 1.05rem; line-height: 1.65; max-width: 75ch; }
.v2-avatar { align-items: center; aspect-ratio: 1; background: linear-gradient(135deg, var(--ds-blue), #08a7d4); border-radius: 28px; color: #fff; display: flex; font-size: 3rem; font-weight: 900; justify-content: center; }
.v2-stats { display: grid; gap: .7rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1rem 0; }
.v2-stat { background: #fff; border: 1px solid var(--ds-line); border-radius: 14px; display: flex; flex-direction: column; padding: .75rem .9rem; }
.v2-stat b { color: var(--ds-midnight); font-size: 1.45rem; }
.v2-stat span { color: var(--ds-muted); font-size: .84rem; }
.v2-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.v2-exam { background: #eef4ff; border-radius: 14px; color: #2a3b50; line-height: 1.6; margin: 0 0 1rem; padding: .9rem 1rem; }
.v2-figure { background: #fff; border: 1px solid var(--ds-line); border-radius: 18px; margin: 0; overflow: hidden; }
.v2-figure img { display: block; height: auto; width: 100%; }
.v2-figure figcaption { color: var(--ds-muted); font-size: .88rem; padding: .7rem .9rem; }
.v2-rating { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: -.5rem 0 1.2rem; }
.v2-rating a { font-weight: 700; }
.v2-review { display: flex; flex-direction: column; gap: .4rem; margin: 0; }
.v2-review blockquote { margin: 0; }
.v2-review blockquote p { color: #2a3b50; font-size: 1.02rem; }
.v2-review figcaption { color: var(--ds-muted); font-size: .9rem; margin-top: auto; }
.v2-stars { color: var(--ds-amber); letter-spacing: .1em; }
.v2-video, .v2-link { display: flex; flex-direction: column; gap: .45rem; text-decoration: none; }
.v2-video:hover, .v2-link:hover { border-color: var(--ds-blue); }
.v2-video b, .v2-link b { color: var(--ds-midnight); }
.v2-play { align-items: center; background: var(--ds-midnight); border-radius: 14px; color: #fff; display: flex; font-size: 1.6rem; height: 110px; justify-content: center; }
.v2-faq { border-bottom: 1px solid var(--ds-line); padding: 1rem 0; }
.v2-faq summary { color: var(--ds-midnight); cursor: pointer; font-size: 1.08rem; font-weight: 900; }
.v2-faq div p { color: #3d4d61; line-height: 1.65; margin: .6rem 0 0; max-width: 80ch; }
.v2-contacts { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-contacts a { background: var(--ds-paper); border: 1px solid var(--ds-line); border-radius: 12px; color: var(--ds-ink); font-weight: 700; padding: .75rem .9rem; text-decoration: none; }
.v2-contacts a:hover { border-color: var(--ds-blue); }
.v2-contacts .fa-whatsapp { color: #128c4b; }
.v2-reading { columns: 2 320px; line-height: 1.8; padding-left: 1.2rem; }

/* Final CTA and form */
.v2-final { background: var(--ds-midnight); border-radius: var(--ds-radius); color: #c9d6e6; padding: 2rem; }
.v2-final h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: .35rem 0 .7rem; }
.v2-final .v2-eyebrow { color: #5fd3ee; }
.v2-final .v2-small { color: #9fb1c6; }
.v2-final b { color: #fff; }
.v2-btn-wa { background: #22a66a; color: #fff !important; }
.v2-form { background: #fff; border-radius: 20px; color: var(--ds-ink); padding: 1.4rem; }
.v2-form h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.v2-form .form-label { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.v2-form .form-control, .v2-form .form-select { min-height: 46px; }
.v2-form .v2-small { color: var(--ds-muted); }
.v2-form-status { font-weight: 700; margin: .7rem 0 .3rem; min-height: 1.2em; }
.v2-form-status.is-ok { color: #11683f; }
.v2-form-status.is-error { color: #b42318; }
.v2-hp { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px; }

/* Mobile */
.v2-mobile-bar { align-items: center; background: #fff; border-top: 1px solid var(--ds-line); bottom: 0; box-shadow: 0 -8px 24px rgba(7, 21, 35, .1); display: flex; gap: .6rem; left: 0; padding: .6rem .8rem; position: fixed; right: 0; z-index: 1040; }
.v2-mobile-bar .v2-btn-wa { flex: 0 0 auto; padding-inline: 1rem; }
.v2-mobile-bar .ds-enroll-form { min-width: 0; }
.v2-mobile-bar .ds-btn { min-height: 46px; }

@media (max-width: 991.98px) {
  body.ds-v2-page { padding-bottom: 72px; }
  .v2-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-proof ul { grid-template-columns: minmax(0, 1fr); }
  .v2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .v2 { --v2-gap: 2.5rem; }
  .v2-hero { padding: 1.6rem 0 2rem; }
  .v2-lead { font-size: 1.05rem; }
  .v2-actions .ds-enroll-form, .v2-actions .ds-btn { width: 100%; }
  .v2-actions .ds-enroll-form .ds-btn { width: 100%; }
  .v2-path { grid-template-columns: minmax(0, 1fr); }
  .v2-trainer { grid-template-columns: minmax(0, 1fr); }
  .v2-avatar { max-width: 120px; }
  .v2-contacts { grid-template-columns: minmax(0, 1fr); }
  .v2-final { padding: 1.3rem; }
  .v2 .v2-topics tbody th { min-width: 140px; }
  .v2-table tbody th { white-space: normal; }
}
