/* English Mithu — sales + landing. Same design tokens as the learner app (app.css),
   kept as a separate file so the module stays independently deployable. */
:root {
  --ink: #171a3f;
  --ink-2: #252a6b;
  --brand: #4250e0;
  --brand-dark: #2f3bc0;
  --brand-soft: #eceefd;
  --accent: #ffb020;
  --accent-deep: #e58a00;
  --accent-soft: #fff3d9;
  --ok: #0f8f62;
  --ok-bg: #e2f6ec;
  --warn: #c93b37;
  --warn-bg: #fdebe9;
  --gold: #9a5b00;
  --gold-bg: #fff3d9;
  --bg: #f6f4ef;
  --card: #ffffff;
  --text: #1c1f37;
  --muted: #666b86;
  --line: #e7e3da;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23, 26, 63, .05), 0 2px 8px rgba(23, 26, 63, .04);
  --shadow-md: 0 10px 30px rgba(23, 26, 63, .09), 0 2px 8px rgba(23, 26, 63, .05);
  --shadow-lg: 0 28px 70px rgba(23, 26, 63, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  font-size: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", "Tiro Devanagari Marathi", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.18; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(66, 80, 224, .45); outline-offset: 2px; border-radius: 6px; }

.sa-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* ----- chrome ----- */
.sa-top { position: sticky; top: 0; z-index: 30; }
.sa-top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 244, 239, .82);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid rgba(23, 26, 63, .07);
}
.sa-top-inner {
  max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 20px;
}
.sa-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
.sa-brand:hover { text-decoration: none; }
.sa-brand-mark { flex: 0 0 auto; width: 36px; height: 36px; padding: 3px; border-radius: 12px; background: var(--accent-soft); }
.sa-brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; white-space: nowrap; }
.sa-brand-text small { font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.sa-nav { display: flex; gap: 18px; align-items: center; min-width: 0; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.sa-nav a { color: var(--muted); }
.sa-nav a:hover { color: var(--ink); text-decoration: none; }
.sa-nav .sa-btn { color: #fff; }
.sa-link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--muted); }
.sa-link-btn:hover { color: var(--ink); }
.sa-inline-form { margin: 0; }
.sa-lbl-short { display: none; }
/* Agent shell: section tabs + account actions. One row on wide screens. */
.sa-nav-tabs, .sa-nav-actions { display: flex; align-items: center; gap: 18px; }
.sa-nav-tabs a.is-active { color: var(--ink); }
.sa-nav-course { display: inline-flex; align-items: center; gap: 6px; }
.sa-nav-course .icon { width: 18px; height: 18px; }

/* Phones: one tidy row. Section anchors are reachable by scrolling, the language
   switch collapses to its globe, and the call-to-action uses its short label. */
@media (max-width: 719px) {
  .sa-top-inner { padding: 10px 14px; gap: 8px; }
  .sa-brand { gap: 8px; }
  .sa-brand-mark { width: 32px; height: 32px; }
  .sa-brand-text { font-size: .96rem; }
  .sa-nav { gap: 10px; font-size: .88rem; }
  .sa-nav-section { display: none; }
  .sa-nav .sa-btn-sm { padding: 9px 13px; font-size: .86rem; }
  /* Agent shell on phones: logo and account actions share the first row; the
     section tabs get their own swipeable row of pills underneath. */
  .sa-agent .sa-top-inner { flex-wrap: wrap; row-gap: 10px; }
  .sa-agent .sa-nav { display: contents; }
  /* The logo gives way (it is clipped) so the actions never drop to a row of their own. */
  .sa-agent .sa-brand { flex: 1 1 0; min-width: 0; }
  .sa-agent .sa-brand-text { min-width: 0; overflow: hidden; }
  .sa-agent .sa-nav-actions { flex: 0 0 auto; margin-left: auto; gap: 14px; font-size: .88rem; font-weight: 600; white-space: nowrap; }
  .sa-agent .sa-nav-actions a, .sa-agent .sa-nav-actions .sa-link-btn { color: var(--muted); }
  .sa-agent .sa-nav-course { padding: 7px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand) !important; }
  .sa-agent .sa-nav-tabs {
    order: 3; flex: 1 1 100%; gap: 8px; overflow-x: auto; padding: 0 0 2px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; font-size: .86rem; font-weight: 600; white-space: nowrap;
  }
  .sa-agent .sa-nav-tabs::-webkit-scrollbar { display: none; }
  .sa-agent .sa-nav-tabs a { flex: 0 0 auto; padding: 7px 14px; border-radius: 99px; background: #ece9e1; color: var(--text); }
  .sa-agent .sa-nav-tabs a:hover { text-decoration: none; }
  .sa-agent .sa-nav-tabs a.is-active { background: var(--ink); color: #fff; }
}
@media (max-width: 430px) {
  .sa-lbl-full { display: none; }
  .sa-lbl-short { display: inline; }
  .sa-nav-extra { display: none; }
  /* Narrow phones: "My course" is just its home icon, so logo and actions share a row. */
  .sa-agent .sa-nav-course-text { display: none; }
  .sa-agent .sa-nav-course { width: 38px; height: 38px; padding: 0; justify-content: center; }
}
@media (max-width: 340px) {
  .sa-top-inner { padding: 8px 10px; gap: 6px; }
  .sa-brand { gap: 6px; }
  .sa-brand-mark { width: 28px; height: 28px; border-radius: 10px; }
  .sa-brand-text { font-size: .88rem; }
  .sa-nav { gap: 7px; font-size: .84rem; }
  .sa-nav .sa-btn-sm { padding: 8px 10px; font-size: .82rem; }
}

.sa-main { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 26px 20px 56px; }
.sa-agent .sa-main { max-width: 900px; }
.sa-footer {
  display: flex; flex-direction: column; gap: 2px; align-items: center;
  padding: 26px 20px 34px; color: var(--muted); font-size: .82rem; font-weight: 600;
}
.sa-footer-sub { font-weight: 400; opacity: .8; }

/* ----- icons (sprite in Views/_icons.php, see icon() helper) ----- */
.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.24em; }
.sa-btn .icon { width: 1.15em; height: 1.15em; }

/* ----- primitives ----- */
.sa-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.sa-card-title { margin: 0 0 12px; font-size: 1.25rem; }
.sa-page-title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 6px 0 14px; }
.sa-muted { color: var(--muted); }
.sa-small { font-size: .88rem; }
.sa-center { text-align: center; }
.sa-plain-list { margin: 10px 0; padding-left: 20px; }
.sa-plain-list li { margin-bottom: 8px; }
.sa-stack { display: flex; flex-direction: column; gap: 14px; }
.sa-eyebrow, .sa-kicker {
  display: inline-block; margin: 0 0 12px; color: var(--brand); font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}

.sa-flash { border-radius: 14px; padding: 13px 17px; margin-bottom: 16px; font-size: .95rem; font-weight: 600; }
.sa-flash-success { background: var(--ok-bg); color: var(--ok); }
.sa-flash-error { background: var(--warn-bg); color: var(--warn); }
.sa-flash-info { background: var(--gold-bg); color: var(--gold); font-weight: 500; line-height: 1.5; }

.sa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; cursor: pointer; font-family: inherit;
  padding: 13px 22px; font-size: 1rem; font-weight: 700; text-align: center;
  background: #ece9e1; color: var(--text);
  transition: transform .12s var(--ease), box-shadow .2s var(--ease), background .15s ease;
}
.sa-btn:hover { text-decoration: none; }
.sa-btn:active { transform: translateY(2px) scale(.985); }
.sa-btn:disabled, .sa-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.sa-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 0 var(--brand-dark); }
.sa-btn-primary:hover { background: #4b59ea; color: #fff; }
.sa-btn-primary:active { box-shadow: 0 1px 0 var(--brand-dark); transform: translateY(3px); }
.sa-btn-accent { background: var(--accent); color: #2a1d00; box-shadow: 0 4px 0 var(--accent-deep); }
.sa-btn-accent:hover { background: #ffba3d; }
.sa-btn-accent:active { box-shadow: 0 1px 0 var(--accent-deep); transform: translateY(3px); }
.sa-btn-secondary { background: #ece9e1; color: var(--text); }
.sa-btn-secondary:hover { background: #e4e0d6; }
.sa-btn-sm { padding: 9px 16px; font-size: .9rem; border-radius: 11px; box-shadow: 0 3px 0 var(--brand-dark); }
.sa-btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.sa-btn-block { display: flex; width: 100%; }

.sa-field { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; }
.sa-field input {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px; font-size: 1rem;
  font-family: inherit; font-weight: 400; background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sa-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(66, 80, 224, .14); }
.sa-check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.sa-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }

.sa-badge { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; }
.sa-badge-requested, .sa-badge-pending { background: var(--gold-bg); color: var(--gold); }
.sa-badge-processed { background: var(--ok-bg); color: var(--ok); }

.sa-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.sa-table th { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sa-table th, .sa-table td { border-bottom: 1px solid var(--line); text-align: left; padding: 11px 10px; }
.sa-table .sa-num { text-align: right; font-variant-numeric: tabular-nums; }
.sa-table-wrap { overflow-x: auto; }

/* ================= landing page ================= */
.sa-public .sa-main { max-width: 1060px; padding-top: 10px; }

.sa-hero {
  position: relative; overflow: hidden; margin: 8px 0 22px; padding: clamp(28px, 5vw, 52px);
  border-radius: 32px; color: #fff;
  background:
    radial-gradient(ellipse 55% 40% at 88% 4%, rgba(255, 176, 32, .4), transparent 70%),
    radial-gradient(ellipse 60% 50% at 6% 96%, rgba(66, 80, 224, .55), transparent 70%),
    linear-gradient(160deg, #121433, #1d2160 55%, #2a2f7d);
  box-shadow: var(--shadow-lg);
}
.sa-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 16%, #fff, transparent), radial-gradient(1px 1px at 32% 36%, #cdd3ff, transparent),
    radial-gradient(2px 2px at 71% 14%, #ffe7a8, transparent), radial-gradient(1px 1px at 88% 44%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 53% 72%, #fff, transparent), radial-gradient(1px 1px at 22% 82%, #cdd3ff, transparent);
}
.sa-hero-grid { position: relative; display: grid; gap: 26px; align-items: center; }
@media (min-width: 880px) { .sa-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; } }
.sa-hero .sa-eyebrow, .sa-pricing .sa-eyebrow { color: var(--accent); background: rgba(255, 176, 32, .14); padding: 6px 14px; border-radius: 99px; }
.sa-hero h1 { margin: 0 0 16px; font-size: clamp(2rem, 5.4vw, 3.35rem); letter-spacing: -0.035em; }
.sa-hero h1 em { font-style: normal; color: var(--accent); }
.sa-hero-lead { margin: 0 0 26px; font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255, 255, 255, .8); max-width: 34em; }
.sa-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sa-hero-note { margin: 16px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.sa-hero-art { position: relative; display: grid; place-items: center; min-height: 220px; }
.sa-hero-mithu { width: min(190px, 48vw); height: min(190px, 48vw); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); animation: sa-float 4s ease-in-out infinite; }
.sa-speech {
  position: absolute; top: 4%; right: 2%; padding: 10px 16px; border-radius: 18px 18px 18px 5px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-md);
  animation: sa-pop .5s var(--pop) .5s both; white-space: nowrap;
}
/* On narrow screens the bubble would run off the edge — sit it above the bird instead. */
@media (max-width: 719px) {
  .sa-hero .sa-eyebrow, .sa-pricing .sa-eyebrow { border-radius: 14px; text-wrap: balance; line-height: 1.5; }
  .sa-hero-art { min-height: 200px; padding-top: 34px; }
  .sa-speech { top: 0; right: auto; left: 50%; transform: translateX(-50%); border-radius: 18px 18px 18px 5px; }
  .sa-hero-mithu { width: min(150px, 40vw); height: min(150px, 40vw); }
}
.sa-level-chips { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.sa-level-chip {
  display: grid; place-items: center; min-width: 46px; padding: 7px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 800; font-size: .88rem;
}
.sa-level-chip.is-last { background: var(--accent); border-color: var(--accent); color: #2a1d00; }

.sa-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 26px; }
.sa-chip {
  display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 99px; font-weight: 600; font-size: .85rem; box-shadow: var(--shadow-sm);
}
.sa-chip .icon { width: 18px; height: 18px; color: var(--brand); }
.sa-chip-ok { color: var(--ok); }
.sa-chip-ok .icon { color: var(--ok); }
@media (max-width: 559px) {
  .sa-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .sa-chip { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 16px; text-align: center; line-height: 1.3; }
  .sa-chip .icon { width: 24px; height: 24px; }
}

.sa-section { margin: 46px 0; }
.sa-section-head { max-width: 42em; margin: 0 auto 26px; text-align: center; }
.sa-section-head h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.sa-section-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.sa-pain-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 760px) { .sa-pain-list { grid-template-columns: 1fr 1fr; } }
.sa-pain-list li {
  position: relative; padding: 16px 18px 16px 50px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.sa-pain-list li::before {
  content: "“"; position: absolute; left: 18px; top: 10px; font-size: 2.1rem; line-height: 1;
  color: var(--accent); font-weight: 800;
}
.sa-pain-after { margin: 20px auto 0; max-width: 46em; text-align: center; font-size: 1.02rem; }

.sa-who-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .sa-who-grid { grid-template-columns: 1fr 1fr; } }
.sa-who-col {
  padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.sa-who-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sa-icon-badge {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 14px;
}
.sa-icon-badge .icon { width: 26px; height: 26px; }
.sa-who-col:nth-child(2) .sa-icon-badge { background: var(--accent-soft); color: var(--gold); }
.sa-who-col h3 { margin: 0 0 10px; font-size: 1.15rem; }

.sa-steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .sa-steps { grid-template-columns: repeat(3, 1fr); } }
.sa-step {
  position: relative; padding: 24px 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.sa-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sa-step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800;
}
.sa-step-icon { width: 30px; height: 30px; color: var(--accent-deep); }
.sa-step strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.sa-step span { color: var(--muted); font-size: .92rem; }

.sa-outcomes { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .sa-outcomes { grid-template-columns: 1fr 1fr; } }
.sa-outcome {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.sa-outcome-tag {
  flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 42px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .95rem;
}
.sa-outcome:last-child .sa-outcome-tag { background: var(--accent-soft); color: var(--gold); }
.sa-outcome p { margin: 0; font-size: .95rem; }

.sa-testimonials { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .sa-testimonials { grid-template-columns: repeat(3, 1fr); } }
.sa-testimonial {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.sa-testimonial p { margin: 0; font-size: 1rem; line-height: 1.55; }
.sa-stars { display: flex; gap: 2px; color: #f5a623; margin: 2px 0; line-height: 1; }
.sa-stars .icon { width: 20px; height: 20px; }
.sa-testimonial-who { margin-top: auto; font-size: .82rem; color: var(--muted); font-weight: 600; }
.sa-illustrative-badge {
  align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  background: var(--gold-bg); color: var(--gold); padding: 4px 10px; border-radius: 99px;
}

.sa-pricing {
  position: relative; overflow: hidden; display: grid; gap: 30px; padding: clamp(28px, 4vw, 44px);
  border-radius: 32px; color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(ellipse 60% 50% at 92% 8%, rgba(255, 176, 32, .32), transparent 70%),
              linear-gradient(155deg, #171a3f, #272c75);
}
@media (min-width: 820px) { .sa-pricing { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; } }
.sa-pricing h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.sa-pricing-copy p { color: rgba(255, 255, 255, .78); }
.sa-pricing-includes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sa-pricing-includes li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .9); }
.sa-pricing-includes .icon { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; }
.sa-price-card {
  padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; color: var(--text);
  text-align: center; box-shadow: var(--shadow-md);
}
.sa-price-tag { font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.sa-price-sub { display: block; margin: 8px 0 18px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.sa-price-compare { margin: 16px 0 0; font-size: .82rem; color: var(--muted); }

.sa-enroll-card { max-width: 520px; margin: 34px auto; padding: 30px 28px; }
.sa-or { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.sa-or::before, .sa-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.sa-faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.sa-faq:last-child { border-bottom: 0; }
.sa-faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex;
  align-items: center; justify-content: space-between; gap: 14px;
}
.sa-faq summary::-webkit-details-marker { display: none; }
.sa-faq-icon { display: grid; place-items: center; color: var(--brand); flex-shrink: 0; transition: transform .22s var(--ease); }
.sa-faq-icon .icon { width: 22px; height: 22px; }
.sa-faq[open] .sa-faq-icon { transform: rotate(180deg); }
.sa-faq p { margin: 12px 0 0; color: var(--muted); }

.sa-final {
  position: relative; overflow: hidden; text-align: center; margin-top: 34px; padding: clamp(32px, 5vw, 54px);
  border-radius: 32px; color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(255, 176, 32, .3), transparent 70%),
              linear-gradient(160deg, #1d2160, #121433);
}
.sa-final h2 { margin: 0 auto 10px; max-width: 18em; font-size: clamp(1.5rem, 4vw, 2.3rem); }
.sa-final p { margin: 0 auto 24px; max-width: 34em; color: rgba(255, 255, 255, .76); }
.sa-final-mithu { width: 72px; height: 72px; margin-bottom: 14px; animation: sa-float 4s ease-in-out infinite; }

/* ================= agent pages ================= */
.sa-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.sa-stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.sa-stat-value { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); line-height: 1.15; }
.sa-stat-label { font-size: .78rem; color: var(--muted); margin-top: 4px; font-weight: 600; }
.sa-stat-card:first-child .sa-stat-value { color: var(--brand); }

.sa-link-box { display: flex; gap: 10px; margin-bottom: 16px; }
.sa-link-box input {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: .92rem; font-family: inherit; background: #faf9f6; color: var(--text);
}
.sa-share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sa-share-row .sa-btn { box-shadow: none; }
.sa-share-whatsapp { background: #25d366; color: #fff; }
.sa-share-sms { background: #4a5568; color: #fff; }
.sa-share-fb { background: #1877f2; color: #fff; }
.sa-share-x { background: #111; color: #fff; }

.sa-tree-example { margin: 20px 0; display: grid; gap: 6px; justify-items: center; }
.sa-tree-row { display: flex; justify-content: center; width: 100%; }
.sa-tree-node {
  width: min(100%, 440px); padding: 14px 18px; border-radius: var(--radius); text-align: center; font-weight: 700;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.sa-tree-node span { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); margin-top: 3px; }
.sa-tree-you { background: var(--ink); color: #fff; border-color: var(--ink); }
.sa-tree-you span { color: rgba(255, 255, 255, .72); }
.sa-tree-cap { background: var(--accent-soft); border-color: var(--accent); }
.sa-tree-arrow { text-align: center; font-size: .82rem; color: var(--muted); }

.sa-ttree, .sa-tchildren { list-style: none; margin: 0; padding-left: 0; }
.sa-tchildren { padding-left: 28px; margin-top: 10px; border-left: 2px dashed var(--line); }
.sa-tnode { position: relative; margin-bottom: 10px; }
.sa-tchildren > .sa-tnode::before {
  content: ""; position: absolute; left: -28px; top: 32px; width: 20px; height: 2px;
  background: var(--line); border-radius: 2px;
}
.sa-tnode-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius);
  background: #faf9f6; border: 1px solid var(--line);
}
.sa-tnode.is-root > .sa-tnode-card { background: var(--ink); border-color: var(--ink); color: #fff; }
.sa-tnode-avatar {
  flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 800;
}
/* Child combinator matters: nested children live inside the root <li>, so a descendant
   selector would paint their text white too. */
.sa-tnode.is-root > .sa-tnode-card .sa-tnode-avatar { background: rgba(255, 255, 255, .16); color: #fff; }
.sa-tnode-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sa-tnode-name { font-weight: 700; }
.sa-tnode-code { font-weight: 500; color: var(--muted); font-size: .78rem; }
.sa-tnode.is-root > .sa-tnode-card .sa-tnode-code { color: rgba(255, 255, 255, .6); }
.sa-tnode-meta { font-size: .82rem; color: var(--muted); }
.sa-tnode.is-root > .sa-tnode-card .sa-tnode-meta { color: rgba(255, 255, 255, .72); }
.sa-tnode-level {
  margin-left: auto; flex: 0 0 auto; padding: 5px 11px; border-radius: 99px;
  background: var(--accent-soft); color: var(--gold); font-size: .72rem; font-weight: 800;
}

.sa-empty { text-align: center; padding: 26px 16px; }
.sa-empty-mithu { width: 76px; height: 76px; margin-bottom: 12px; }
.sa-empty h2 { margin: 0 0 8px; font-size: 1.25rem; }
.sa-empty p { max-width: 36em; margin: 0 auto 20px; }

/* ----- motion ----- */
/* Content is visible by default; the hidden start state only applies once JS has
   marked the page, so the landing page still reads fine with JS off or blocked. */
.js-reveal .sa-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .sa-reveal.is-visible { opacity: 1; transform: none; }
.sa-stagger > * { transition-delay: calc(var(--sa-i, 0) * 70ms); }
@keyframes sa-float { 50% { transform: translateY(-12px); } }
@keyframes sa-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal .sa-reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .sa-top::before { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ----- language chooser (first-visit modal + nav switch) ----- */
.sa-nav-lang {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.sa-nav-lang:hover { color: var(--ink); }
.sa-nav-lang .icon { width: 20px; height: 20px; }
/* Phones: the globe alone, as a round tap target (the aria-label still names it). */
@media (max-width: 719px) {
  .sa-nav-lang { justify-content: center; width: 38px; height: 38px; border-radius: 50%; }
  .sa-nav-lang:hover, .sa-nav-lang:active { background: rgba(23, 26, 63, .07); }
  .sa-nav-lang .icon { width: 22px; height: 22px; }
  .sa-nav-lang-text { display: none; }
}
@media (max-width: 340px) { .sa-nav-lang { width: 32px; height: 32px; } }

.sa-lang-modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(23, 26, 63, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: sa-fade .25s var(--ease);
}
.sa-lang-modal[hidden] { display: none; }
.sa-lang-box {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius-lg); padding: 22px 18px 18px;
  max-width: 460px; width: 100%; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  text-align: center; box-shadow: 0 24px 60px rgba(23, 26, 63, .32);
  animation: sa-pop .3s var(--ease);
}
.sa-lang-title { margin: 0 40px 14px; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.4; }
.sa-lang-title span { font-weight: 600; color: var(--muted); font-size: .88rem; }
.sa-lang-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.sa-lang-close:hover, .sa-lang-close:active { background: rgba(23, 26, 63, .07); color: var(--ink); }
/* The list scrolls inside the box, so every language is reachable on a short screen. */
.sa-lang-opts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 2px; margin: 0 -2px;
}
.sa-lang-opts button {
  font: inherit; font-size: .98rem; font-weight: 700; cursor: pointer;
  min-height: 46px; padding: 8px 6px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.sa-lang-opts button:hover { border-color: var(--brand); background: var(--brand-soft); }
.sa-lang-opts button:active { transform: scale(.98); }
.sa-lang-opts button.is-current { border-color: var(--brand); background: var(--brand-soft); }
@media (max-width: 520px) {
  /* Phones: a sheet from the bottom edge, two languages per row, thumb-sized targets. */
  .sa-lang-modal { align-items: flex-end; padding: 0; }
  .sa-lang-box {
    max-width: none; border-radius: 20px 20px 0 0; padding: 18px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: 86vh; max-height: 86dvh;
  }
  .sa-lang-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 300px) { .sa-lang-opts { grid-template-columns: 1fr; } }
@keyframes sa-fade { from { opacity: 0; } to { opacity: 1; } }
.sa-footer-links { display: inline-flex; gap: 16px; margin-top: 4px; }
.sa-footer-links a { color: var(--muted); text-decoration: underline; }
.sa-footer-links a:hover { color: var(--ink); }

/* ----- floating WhatsApp support (landing, logged-out visitors) ----- */
.wa-support {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24); text-decoration: none; transition: transform .15s ease;
}
.wa-support:hover { transform: scale(1.07); }
.wa-support:focus-visible { outline: 3px solid #ffb020; outline-offset: 2px; }
@media (max-width: 420px) { .wa-support { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; } }

/* ----- checkout ----- */
.sa-pay-card { max-width: 520px; margin: 34px auto 18px; padding: 30px 26px; }
.sa-pay-mithu { width: 64px; height: 64px; margin-bottom: 6px; }
.sa-pay-price { margin: .4rem 0 1rem; font-size: clamp(2.2rem, 8vw, 2.7rem); font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1.1; }
.sa-pay-note { text-align: left; }
.sa-pay-assure { margin: 14px 0 0; }
.sa-pay-assure .icon { color: var(--ok); margin-right: 2px; }

/* ----- error card ----- */
.sa-error-card { max-width: 560px; margin: 34px auto 18px; padding: 34px 26px; }
.sa-error-card .sa-icon-badge { margin: 0 auto 14px; }
.sa-icon-badge-warn { background: var(--gold-bg); color: var(--gold); }
.sa-error-card .sa-muted { margin: 0 auto 22px; max-width: 30em; }
.sa-error-help { margin: 16px 0 0 !important; }

/* ----- legal pages: a readable measure and calmer rhythm ----- */
.sa-legal { max-width: 760px; margin: 0 auto; }
.sa-prose { padding: clamp(22px, 4vw, 34px); }
.sa-prose > p:first-child { margin-top: 0; }
.sa-prose p { margin: 8px 0; }
.sa-prose h2.sa-card-title { margin: 28px 0 8px; font-size: 1.12rem; }
.sa-prose ul { margin: 8px 0; padding-left: 22px; }
.sa-prose li { margin-bottom: 7px; }
.sa-prose > :last-child { margin-bottom: 0; }
.sa-legal-links { margin: 18px 0 0; font-size: .92rem; font-weight: 600; }

/* Inside the eMithu app the app already shows its own title bar: no second logo
   row. Only the section tabs stay, as one row; without tabs there is no header. */
.sa-in-app .sa-brand { display: none; }
.sa-in-app .sa-top-inner { padding-top: 8px; padding-bottom: 8px; }
.sa-in-app .sa-top:not(:has(.sa-nav-tabs)) { display: none; }

/* ================= homepage, second edition =================
   The hero shows a drawing of the trail in the app. New blocks: what a day looks
   like, the people of the course, the app, and a price bar that follows on phones. */
.sa-phone {
  position: relative; width: min(248px, 58vw); aspect-ratio: 200 / 420; padding: 9px; border-radius: 40px;
  background: #0b0d22; transform: rotate(4deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  animation: sa-float 5s ease-in-out infinite;
}
.sa-phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 31px;
  background: linear-gradient(180deg, #bfe3ff 0%, #e4f4ff 42%, #fff4d6 100%);
}
.sa-phone-screen::before, .sa-phone-screen::after { content: ""; position: absolute; border-radius: 50% 50% 0 0; }
.sa-phone-screen::before { left: -25%; right: -5%; bottom: -12%; height: 40%; background: #c5e8b5; }
.sa-phone-screen::after { left: 35%; right: -45%; bottom: -8%; height: 30%; background: #a9dc9c; }
.sa-phone-bar { position: absolute; z-index: 4; top: 4%; left: 7%; right: 7%; display: flex; justify-content: space-between; }
.sa-phone-pill {
  display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 99px;
  background: #fff; color: var(--ink); font-weight: 800; font-size: .66rem; line-height: 1.4; box-shadow: var(--shadow-sm);
}
.sa-phone-streak .icon { width: 11px; height: 11px; color: var(--accent-deep); }
.sa-phone-trail { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; }
.sa-phone-trail path { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; }
.sa-phone-stop, .sa-phone-flag {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 21%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; background: #fff; overflow: hidden;
  box-shadow: 0 3px 0 rgba(23, 26, 63, .16);
}
.sa-phone-stop img { width: 100%; height: 100%; display: block; }
.sa-phone-stop.is-done { width: 15%; background: var(--ok); color: #fff; }
.sa-phone-stop.is-done .icon, .sa-phone-flag .icon { width: 58%; height: 58%; }
.sa-phone-stop.is-locked img { filter: grayscale(1); opacity: .5; }
.sa-phone-stop.is-now { width: 26%; box-shadow: 0 0 0 3px var(--accent), 0 8px 16px rgba(229, 138, 0, .45); }
.sa-phone-flag { left: 50%; top: 14.8%; width: 14%; background: var(--accent); color: #2a1d00; }
.sa-phone-mithu { position: absolute; z-index: 3; left: 42%; top: 60%; width: 25%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .22)); }
.sa-phone-say {
  position: absolute; z-index: 4; right: 6%; top: 46.5%; padding: 5px 10px; border-radius: 12px 12px 4px 12px;
  background: #fff; color: var(--ink); font-size: .66rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-md);
}
.sa-phone-tabs {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 11.5%; display: flex; align-items: center;
  justify-content: space-around; background: #fff; border-radius: 18px 18px 0 0; color: #a9adc2;
  box-shadow: 0 -2px 10px rgba(23, 26, 63, .08);
}
.sa-phone-tabs .icon { width: 17px; height: 17px; }
.sa-phone-tabs .is-on { color: var(--brand); }
@media (max-width: 719px) {
  .sa-phone { width: min(216px, 56vw); transform: rotate(3deg); }
}

.sa-feats { display: grid; gap: 14px; }
@media (min-width: 640px) { .sa-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .sa-feats { grid-template-columns: repeat(3, 1fr); } }
.sa-feat {
  padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.sa-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sa-feat .sa-icon-badge { margin-bottom: 12px; }
.sa-feat:nth-child(3n+2) .sa-icon-badge { background: var(--accent-soft); color: var(--gold); }
.sa-feat:nth-child(3n) .sa-icon-badge { background: var(--ok-bg); color: var(--ok); }
.sa-feat h3 { margin: 0 0 6px; font-size: 1.08rem; }
.sa-feat p { margin: 0; color: var(--muted); font-size: .95rem; }

.sa-cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
@media (min-width: 560px) { .sa-cast { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .sa-cast { grid-template-columns: repeat(6, 1fr); } }
.sa-cast li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.sa-cast img {
  width: min(104px, 30vw); height: auto; aspect-ratio: 1; margin-bottom: 8px; border-radius: 50%;
  box-shadow: var(--shadow-md); transition: transform .25s var(--pop);
}
.sa-cast li:hover img { transform: translateY(-4px) rotate(-3deg); }
.sa-cast strong { font-size: 1rem; }
.sa-cast span { max-width: 13em; font-size: .82rem; line-height: 1.35; color: var(--muted); }

.sa-app {
  display: grid; gap: 24px; align-items: center; margin: 46px 0; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(150deg, #eef0ff, #fff6e2);
}
@media (min-width: 820px) { .sa-app { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); } }
.sa-app h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.sa-app-copy > p { margin: 0; color: var(--muted); }
.sa-app-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sa-app-list li { display: flex; align-items: flex-start; gap: 10px; }
.sa-app-list .icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; }
.sa-app-card { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; text-align: center; box-shadow: var(--shadow-md); }
.sa-app-card img { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.sa-app-card strong { display: block; margin-top: 10px; font-size: 1.3rem; }
.sa-app-card span { display: block; margin: 2px 0 16px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.sa-app-card small { display: block; margin-top: 12px; color: var(--muted); font-size: .8rem; line-height: 1.45; }

.sa-enroll-note { margin: 10px auto 0; max-width: 30em; }

.sa-sticky { display: none; }
@media (max-width: 719px) {
  .sa-sticky {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center;
    justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(23, 26, 63, .1);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sa-sticky.is-on { transform: none; }
  .sa-sticky-copy strong { display: block; font-size: 1.15rem; line-height: 1.1; color: var(--ink); }
  .sa-sticky-copy span { font-size: .76rem; font-weight: 600; color: var(--muted); }
  .sa-sticky .sa-btn { padding: 12px 20px; white-space: nowrap; }
  body.sa-sticky-on .wa-support { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.sa-sticky-on .sa-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-phone { animation: none; }
  .sa-sticky { transition: none; }
}

.sa-pain-after em { padding-right: .14em; }

/* ----- Speaking Club: its own block on the homepage ----- */
.sa-club {
  display: grid; gap: 26px; align-items: center; margin: 46px 0; padding: clamp(26px, 4vw, 44px);
  border-radius: 32px; color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(ellipse 60% 55% at 8% 0%, rgba(255, 176, 32, .26), transparent 70%),
              linear-gradient(150deg, #0f6b55, #0b4f5c 55%, #173a6b);
}
@media (min-width: 860px) { .sa-club { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); } }
.sa-club .sa-eyebrow { color: #ffe08a; background: rgba(255, 255, 255, .12); padding: 6px 14px; border-radius: 99px; }
.sa-club h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3.8vw, 2.3rem); }
.sa-club-copy > p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 1.03rem; }
.sa-club-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: club; }
.sa-club-steps li { position: relative; padding-left: 48px; counter-increment: club; }
.sa-club-steps li::before {
  content: counter(club); position: absolute; left: 0; top: 1px; width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center; background: #fff; color: #0b4f5c; font-weight: 800;
}
.sa-club-steps strong { display: block; font-size: 1.05rem; }
.sa-club-steps span { color: rgba(255, 255, 255, .78); font-size: .94rem; }
.sa-club-copy > .sa-club-note { margin: 22px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.sa-room { padding: 20px; border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.sa-room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sa-room-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.sa-room-title .icon { width: 20px; height: 20px; color: var(--ok); }
.sa-room-level { padding: 4px 11px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .8rem; }
.sa-room-label { margin-bottom: 10px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.sa-room-label b { margin-left: 4px; color: var(--ink); }
.sa-room-stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sa-room-stage span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #d9d5ca; color: #fff; }
.sa-room-stage span.is-on { border: 0; background: var(--brand); }
.sa-room-stage span.is-on:nth-child(2) { background: #e0689a; }
.sa-room-stage span.is-on:nth-child(3) { background: var(--accent-deep); }
.sa-room-stage span.is-on:nth-child(4) { background: var(--ok); }
.sa-room-stage span.is-on:nth-child(5) { background: #7a5af8; }
.sa-room-stage .icon { width: 42%; height: 42%; }
.sa-room-stage span.is-talking { box-shadow: 0 0 0 4px rgba(66, 80, 224, .22), 0 0 0 9px rgba(66, 80, 224, .1); }
.sa-room-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sa-room-count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.sa-room-count .icon { width: 18px; height: 18px; }
.sa-room-raise { padding: 9px 16px; border-radius: 12px; background: var(--accent); color: #2a1d00; font-weight: 800; font-size: .9rem; box-shadow: 0 3px 0 var(--accent-deep); white-space: nowrap; }

/* ----- sign-up page (/register): three steps and what the course includes ----- */
.sa-reg { display: grid; gap: 18px; align-items: start; max-width: 940px; margin: 18px auto 30px; }
@media (min-width: 860px) { .sa-reg { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); } }
.sa-reg-main { margin: 0; padding: clamp(22px, 4vw, 34px); }
.sa-reg-title { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.sa-reg-main > .sa-muted { margin: 0 0 18px; }
.sa-reg-steps { list-style: none; margin: 6px 0 20px; padding: 0; }
.sa-reg-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.sa-reg-steps li:last-child { padding-bottom: 0; }
.sa-reg-steps li::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.sa-reg-steps li:last-child::before { display: none; }
.sa-reg-num {
  flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #ece9e1; color: var(--muted); font-weight: 800;
}
.sa-reg-steps li.is-now .sa-reg-num { background: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }
.sa-reg-steps li > div { min-width: 0; }
.sa-reg-steps strong { display: block; margin-top: 6px; font-size: 1.05rem; line-height: 1.3; }
.sa-reg-steps li > div > span { display: block; color: var(--muted); font-size: .92rem; }
.sa-reg-steps li:not(.is-now) strong { color: var(--muted); }
.sa-reg-google { margin-top: 14px; min-height: 44px; }
.sa-reg-agree { margin: 0 0 8px; }
.sa-reg-login { margin: 0; }
.sa-reg-side { padding: 24px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(155deg, #171a3f, #272c75); box-shadow: var(--shadow-md); }
.sa-reg-side h2 { margin: 0 0 4px; font-size: 1.15rem; }
.sa-reg-course { margin: 0 0 14px; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.sa-reg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.sa-reg-list li { display: flex; align-items: flex-start; gap: 9px; color: rgba(255, 255, 255, .92); }
.sa-reg-list .icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; }
.sa-reg-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sa-reg-total span { color: rgba(255, 255, 255, .75); font-size: .9rem; }
.sa-reg-total strong { font-size: 1.9rem; letter-spacing: -.03em; }
.sa-reg-safe { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.sa-reg-safe .icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }

/* ----- "Go premium" page: free / pay once / invite friends ----- */
.sa-plan { text-align: left; margin-top: 16px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.sa-plan p { margin: 6px 0 12px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.sa-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sa-plan-head strong { font-size: 1.05rem; color: var(--ink); }
.sa-plan-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 800; }
.sa-plan-tag-ink { background: var(--ink); color: #fff; }
.sa-plan-refer { border-color: var(--brand); }
.sa-plan .sa-pay-assure { margin-bottom: 0; }
.sa-refer-dots { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.sa-refer-dots span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--line); color: var(--muted); font-weight: 800; }
.sa-refer-dots span.is-on { border: 0; background: var(--ok); color: #fff; }
.sa-refer-dots span .icon { width: 18px; height: 18px; }
.sa-refer-dots em { font-style: normal; font-weight: 700; color: var(--ink); margin-left: 4px; }
.sa-refer-link { display: flex; gap: 8px; margin-bottom: 10px; }
.sa-refer-link input { flex: 1; min-width: 0; font: inherit; font-size: .92rem; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #f7f7fb; color: var(--ink); }
.sa-btn-whatsapp { background: #1faa59; color: #fff; border-color: #1faa59; }
.sa-btn-whatsapp:hover { background: #17924b; color: #fff; }
/* Landing page: the old price struck through beside "Free". */
.sa-price-tag s { font-size: .5em; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-right: 10px; text-decoration-thickness: 2px; }
.sa-reg-total s { font-size: 1rem; font-weight: 600; opacity: .7; margin-right: 8px; }
.sa-sticky-copy s { font-size: .82em; font-weight: 600; opacity: .6; margin-right: 6px; }

/* Blog: /blog and /blog/<slug> */
.sa-blog-card { display: block; color: inherit; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sa-blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sa-blog-card .sa-card-title { color: var(--ink); font-size: 1.15rem; }
.sa-blog-card p { margin: 0 0 8px; color: var(--muted); }
.sa-article { font-size: 1.04rem; line-height: 1.75; }
.sa-article p { margin: 14px 0; }
.sa-article h2 { margin: 34px 0 10px; font-size: 1.4rem; color: var(--ink); }
.sa-article h3 { margin: 26px 0 8px; font-size: 1.13rem; color: var(--ink); }
.sa-article > h2:first-child { margin-top: 0; }
.sa-article ul, .sa-article ol { margin: 12px 0; padding-left: 24px; }
.sa-article a { color: var(--brand); font-weight: 600; }
.sa-article blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; }
.sa-article blockquote p { margin: 4px 0; }
.sa-article table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; line-height: 1.5; }
.sa-article th, .sa-article td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; }
.sa-article th { background: var(--brand-soft); color: var(--ink); }
.sa-blog-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--brand-soft); border-color: transparent; }
.sa-blog-cta > div { flex: 1 1 220px; }
.sa-blog-cta p { margin: 2px 0 0; }
.sa-blog-mithu { width: 56px; height: 56px; flex: none; }
.sa-article figure { margin: 20px auto; text-align: center; }
.sa-article figure img { width: 100%; max-width: 300px; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.sa-article figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }
.sa-footer-links { flex-wrap: wrap; justify-content: center; }
.sa-blog-section { margin-top: 40px; font-size: clamp(1.35rem, 3.4vw, 1.7rem); }

/* ----- right-to-left pages (Arabic, Urdu): the browser mirrors flex and grid by itself;
   these are the rules that named a side. English-only pages keep dir="ltr". ----- */
[dir="rtl"] .sa-plan, [dir="rtl"] .sa-pay-note, [dir="rtl"] .sa-table th, [dir="rtl"] .sa-table td,
[dir="rtl"] .sa-article th, [dir="rtl"] .sa-article td { text-align: right; }
[dir="rtl"] .wa-support { right: auto; left: 16px; }
[dir="rtl"] .sa-lang-close { right: auto; left: 10px; }
[dir="rtl"] .sa-refer-dots em { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .sa-price-tag s, [dir="rtl"] .sa-reg-total s, [dir="rtl"] .sa-sticky-copy s { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .sa-refer-link input { direction: ltr; text-align: left; }
[dir="rtl"] .sa-reg-steps li::before { left: auto; right: 17px; }
