/* Speak Ahead — navy + teal (mockup)
   Light cool white · navy · teal accents · airy left column · navy-border form */
:root {
  --bg: #f4f7fb;
  --paper: #ffffff;
  --navy: #002d5b;
  --ink: #1a2433;
  --mute: #5a6573;
  --line: #dce3ee;
  /* Accent teal — --gold* kept so existing rules pick up the new palette */
  --gold: #0d9488;
  --gold-2: #2dd4bf;
  --teal: #14b8a6;
  --teal-light: #5eead4;
  --teal-soft: #e8fbf8;
  --font-d: "Playfair Display", Georgia, serif;
  --font-b: "Inter", system-ui, sans-serif;
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums lining-nums;
}

/* Long-form text sets its own measure; ~65 characters reads best */
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header — compact ~110–120px on desktop */
.bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0; /* ~9px top/bottom */
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  max-height: 102px;
}

.bar img,
.bar-logo {
  height: 96px; /* desktop ~114px header with padding */
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0;
}

.bar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
  padding: 0.35rem 0.55rem;
  background: var(--paper);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 45, 91, 0.06);
}

.bar-meta-icon {
  display: inline-flex;
  color: var(--gold);
  flex: 0 0 auto;
}

.bar-meta-text {
  display: block;
}

.bar-meta-text span {
  display: block;
  font-weight: 500;
  color: var(--mute);
  font-size: 0.78rem;
}

/* Hero */
.hero {
  padding: 0.85rem 0 2.5rem;
  background: linear-gradient(180deg, #eefaf8 0%, var(--bg) 55%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
}

.pay-help {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--mute);
}

.pay-help a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.badge {
  display: inline-block;
  background: var(--paper);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(0, 45, 91, 0.18);
  box-shadow: none;
  pointer-events: none;
  cursor: default;
}

h1 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 1.1rem;
  letter-spacing: -0.022em;
  word-spacing: -0.02em;
}

.mark {
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.65);
  text-underline-offset: 0.14em;
  text-decoration-thickness: 0.08em;
}

.support {
  margin: 0 0 1.5rem;
  color: var(--mute);
  font-size: 1.02rem;
  max-width: 34rem; /* ~65 characters */
  line-height: 1.65;
}

/* Human lead-in above the h1 — the reader's problem in their own words,
   not a second copy of the workshop name. */
.hero-lead-in {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gold);
  max-width: 30rem;
}

/* One row carrying the whole offer: price + when + where.
   Replaces box-kicker + sub + box-when + price + box-perks. */
.offer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 14px;
}

.offer-price {
  margin: 0;
  flex: 0 0 auto;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  white-space: nowrap;
}

.offer-price span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-right: 0.04em;
}

/* "Free" is a word, not a numeral — it needs less optical size than ₹149 did */
.offer-free .offer-price {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-transform: uppercase;
}

.offer-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.offer-meta b {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.offer-meta span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f766e;
  line-height: 1.3;
}

/* Who is actually delivering this batch vs. wider faculty */
.teacher-tag {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--mute);
}

.teacher-tag-live {
  background: var(--teal-soft);
  border-color: rgba(13, 148, 136, 0.35);
  color: #0f766e;
}

/* Seat counter — populated by JS from a real cap, hidden until then */
.seats {
  margin: -0.4rem 0 0.9rem;
  padding: 0.55rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.seats[hidden] {
  display: none;
}

.seats-text {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
}

.seats.is-full .seats-text {
  color: var(--mute);
}

.seats-bar {
  margin-top: 0.45rem;
  height: 6px;
  border-radius: 999px;
  background: #dfe6f0;
  overflow: hidden;
}

.seats-bar[hidden] {
  display: none;
}

.seats-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transition: width 0.4s ease;
}

/* Price on the first screen — on a low-ticket offer the price is the hook,
   so it must not live only in the sticky bar and the booking box. */
.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  background: var(--teal-soft);
  border: 1px solid rgba(13, 148, 136, 0.32);
  border-radius: 12px;
}

.hero-price b {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.hero-price span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f766e;
}

.checks {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checks li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.checks i {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 0.12rem;
}

.trainers {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trainers .faces {
  display: flex;
}

.trainers img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.trainers img + img {
  margin-left: -12px;
}

.trainers p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
  line-height: 1.35;
}

.trainers strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
}

/* Reserve box — India workshop style (Kartik / paid masterclass pattern) */
.box {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 14px 44px rgba(0, 45, 91, 0.1);
}

.box h2 {
  font-family: var(--font-d);
  font-size: 1.7rem;
  color: var(--navy);
  text-align: center;
  margin: 0 0 0.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.box .sub {
  text-align: center;
  margin: 0 0 1rem;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-intro {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

/* Retired blocks — kept as no-ops so any stale cached markup collapses
   cleanly instead of reappearing mid-campaign. */
.box-kicker,
.box .sub,
.box-when,
.box-perks,
.box .micro,
.box .seat-live {
  display: none;
}

.field {
  margin-bottom: 0.7rem;
}

.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  border: 1.5px solid #cfd8e6;
  border-radius: 10px;
  padding: 0.9rem 0.95rem;
  font-size: 1rem;
  font-weight: 600;
  background: #fbfcfe;
  outline: none;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input::placeholder {
  color: #9aa7b8;
  font-weight: 500;
}

.field input:hover {
  border-color: #b3c2d6;
}

/* Teal focus ring — reads as "active" against the navy form furniture */
.field input:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

/* Flag a bad value only after they leave the field — never mid-typing, or a
   10-digit number is red for the first 9 keystrokes. */
.field input:not(:focus):not(:placeholder-shown):invalid {
  border-color: #d92d20;
  background: #fffaf9;
}

/* Reassurance directly under the submit button */
.form-assure {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.form-assure li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mute);
}

.form-assure li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  font-size: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(180deg, #0a3d73 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 45, 91, 0.28);
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.micro {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  color: var(--mute);
  line-height: 1.45;
}

.error-msg {
  display: none;
  color: #b42318;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 0.5rem;
}

.error-msg.show {
  display: block;
}

/* Rest of page — same language */
section {
  padding: 4rem 0;
}

.band {
  background: var(--paper);
}

h2 {
  font-family: var(--font-d);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--navy);
  margin: 0 0 0.65rem;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--mute);
  font-size: 1.02rem;
  max-width: 36rem;
}

.two {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .two {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
}

.band .card {
  background: var(--bg);
}

.card .label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

.includes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.includes li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.includes li:first-child {
  border-top: 1px solid var(--line);
}

.includes .tick {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 0.1rem;
}

.includes strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.includes span {
  color: var(--mute);
  font-size: 0.92rem;
}

.days {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .days {
    grid-template-columns: repeat(5, 1fr);
  }
}

.day {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  border-top: 3px solid var(--gold);
}

.day b {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.day h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--font-d);
}

.day p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--mute);
}

/* Curriculum — What You’ll Learn in 5 Live Days */
.curriculum {
  padding: 3rem 0 3.25rem;
  background: var(--bg);
}

.curriculum-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.curriculum h2 {
  margin-bottom: 0.75rem;
}

.curriculum-lead {
  max-width: 38rem;
}

.curriculum-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .curriculum-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .curriculum-card:nth-child(1),
  .curriculum-card:nth-child(2),
  .curriculum-card:nth-child(3) {
    grid-column: span 2;
  }

  .curriculum-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .curriculum-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (min-width: 980px) {
  .curriculum-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .curriculum-card:nth-child(1),
  .curriculum-card:nth-child(2),
  .curriculum-card:nth-child(3),
  .curriculum-card:nth-child(4),
  .curriculum-card:nth-child(5) {
    grid-column: span 1;
  }
}

.curriculum-card {
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.05rem 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 45, 91, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
  .curriculum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 45, 91, 0.08);
  }
}

.curriculum-day {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.curriculum-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.curriculum-card > p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.5;
}

.curriculum-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.curriculum-topics li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #3d4a5c;
  background: rgba(0, 45, 91, 0.05);
  border: 1px solid rgba(0, 45, 91, 0.08);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  line-height: 1.3;
}

.curriculum-cta {
  margin-top: 2rem;
  text-align: center;
}

.curriculum-cta p {
  margin: 0 0 0.85rem;
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.curriculum-btn {
  width: auto;
  min-width: min(280px, 100%);
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

@media (max-width: 719px) {
  .curriculum {
    padding: 2.25rem 0 2.5rem;
  }

  .curriculum-grid {
    gap: 0.7rem;
    margin-top: 1.35rem;
    position: relative;
    padding-left: 0.85rem;
  }

  .curriculum-grid::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-2), rgba(13, 148, 136, 0.25));
    border-radius: 2px;
  }

  .curriculum-card {
    padding: 0.9rem 0.9rem 0.85rem;
    border-radius: 12px;
    position: relative;
  }

  .curriculum-card::before {
    content: "";
    position: absolute;
    left: -0.78rem;
    top: 1.15rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
  }

  .curriculum-card h3 {
    font-size: 1.12rem;
  }

  .curriculum-card > p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .curriculum-topics li {
    font-size: 0.76rem;
  }

  .curriculum-cta {
    margin-top: 1.5rem;
  }

  .curriculum-cta p {
    font-size: 1.1rem;
  }

  .curriculum-btn {
    width: 100%;
  }
}

.who {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .who {
    grid-template-columns: 1fr 1fr;
  }
}

.who .card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.who ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--mute);
  font-size: 0.94rem;
}

.who li + li {
  margin-top: 0.4rem;
}

.teachers {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .teachers {
    grid-template-columns: 1fr 1fr;
  }
}

.teacher {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
}

@media (min-width: 480px) {
  .teacher {
    grid-template-columns: 112px 1fr;
    align-items: start;
  }
}

.teacher img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
}

.teacher h3 {
  margin: 0;
  font-family: var(--font-d);
  font-size: 1.2rem;
  color: var(--navy);
}

.teacher .role {
  margin: 0.25rem 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.teacher ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--mute);
  font-size: 0.88rem;
}

.teacher li + li {
  margin-top: 0.3rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.5rem 0 0;
  color: var(--mute);
  max-width: 38rem;
}

.cta {
  padding: 3.5rem 0 4rem;
  background: var(--bg);
}

.cta .wrap-center {
  text-align: center;
}

.cta h2 {
  max-width: 20ch;
  margin-inline: auto;
}

.cta .lead {
  margin-inline: auto;
}

.cta .box {
  max-width: 420px;
  margin: 1.75rem auto 0;
  text-align: left;
}

.foot {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mute);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.foot a {
  color: var(--navy);
  font-weight: 700;
}

.sticky {
  display: none;
}

.sticky-show-after {
  height: 1px;
  width: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Mobile only — tighter header → hero gap (360–430px phones) */
@media (max-width: 767px) {
  .bar {
    padding: 0.28rem 0;
  }

  .bar-inner {
    gap: 0.65rem;
    max-height: none;
  }

  .bar img,
  .bar-logo {
    height: 64px; /* readable, not tiny */
    max-width: min(200px, 52vw);
  }

  .bar-meta {
    font-size: 0.72rem;
    line-height: 1.15;
    padding: 0.28rem 0.45rem;
    gap: 0.35rem;
  }

  .bar-meta-text span {
    font-size: 0.68rem;
  }

  .hero {
    padding: 0.35rem 0 2rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .badge {
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.45rem);
    margin: 0 0 0.7rem;
    line-height: 1.1;
  }

  .hero .support {
    margin: 0 0 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Keep the mobile type scale coherent rather than shrinking body copy */
  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .checks li {
    font-size: 0.98rem;
    line-height: 1.5;
  }
}

@media (max-width: 860px) {
  /*
   * Mobile sticky CTA — floating white card + teal gradient (mockup)
   * Desktop remains .sticky { display: none }
   */
  .sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: transparent;
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    transform: translate3d(0, 110%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease,
      visibility 0.4s;
  }

  .sticky.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sticky.is-visible.is-entrance .sticky-inner {
    animation: sticky-card-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .sticky.is-measuring {
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    opacity: 0 !important;
    transition: none !important;
    animation: none !important;
  }

  .sticky.is-measuring .sticky-inner {
    animation: none !important;
  }

  .sticky-inner {
    width: min(430px, 100%);
    margin: 0 auto;
    text-align: center;
    background: var(--paper);
    border-radius: 18px;
    border: 1px solid rgba(0, 45, 91, 0.06);
    box-shadow: 0 12px 36px rgba(0, 45, 91, 0.16);
    overflow: hidden;
  }

  .sticky-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.48rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--gold);
    line-height: 1.3;
    background: var(--teal-soft);
    border-bottom: 1px solid rgba(13, 148, 136, 0.12);
  }

  .sticky-clock {
    flex: 0 0 auto;
    color: var(--gold);
  }

  .sticky .sticky-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: calc(100% - 1.2rem);
    margin: 0.65rem auto 0.35rem;
    padding: 0.72rem 0.7rem 0.72rem 0.85rem;
    border-radius: 14px;
    border: none;
    background: linear-gradient(180deg, #0a3d73 0%, var(--navy) 100%);
    color: #fff;
    font-family: var(--font-b);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.32);
    transform-origin: center center;
  }

  .sticky .sticky-btn:active {
    transform: translateY(1px);
  }

  .sticky-sparkles {
    flex: 0 0 auto;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    opacity: 0.95;
    line-height: 1;
  }

  .sticky-btn-label {
    flex: 1 1 auto;
    text-align: center;
  }

  .sticky-arrow-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--navy);
    flex: 0 0 auto;
  }

  .sticky-arrow {
    display: block;
  }

  .sticky-trust {
    margin: 0 0 0.55rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--mute);
    letter-spacing: 0.01em;
  }

  @keyframes sticky-card-pop {
    0% {
      transform: translateY(10px) scale(0.98);
      box-shadow: 0 8px 20px rgba(0, 45, 91, 0.1);
    }
    60% {
      transform: translateY(0) scale(1.01);
      box-shadow: 0 16px 40px rgba(13, 148, 136, 0.22);
    }
    100% {
      transform: translateY(0) scale(1);
      box-shadow: 0 12px 36px rgba(0, 45, 91, 0.16);
    }
  }

  body {
    padding-bottom: var(--sticky-cta-h, calc(8.5rem + env(safe-area-inset-bottom, 0px)));
  }

  footer.foot {
    margin-bottom: 0.25rem;
  }

  @media (prefers-reduced-motion: reduce) {
    .sticky {
      transition: none;
    }

    .sticky.is-visible.is-entrance .sticky-inner {
      animation: none;
    }
  }
}

.inapp-pay-hint {
  background: #fff7ed;
  border-bottom: 1px solid #fdba74;
  color: #7c2d12;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.4;
  z-index: 90;
  position: relative;
}

.inapp-pay-hint p {
  margin: 0 auto;
  max-width: 40rem;
}

/* --- Touch targets: help + FAQ controls were 15-25px against a 44px min.
       These are the fallback path when payment fails, so they must be easy
       to hit on a phone. --- */
.pay-help a,
.foot a,
.thanks-help a {
  display: inline-block;
  padding: 0.6rem 0.15rem;
  min-height: 44px;
  line-height: 1.6;
}

.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Inline link inside flowing text — padding grows the hit area without
   disturbing the line box the sentence sits on. */
.includes a {
  padding: 0.55rem 0.1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

/* Photos are 280x350 sources shown in square/circular frames */
.teacher img,
.faces img,
.thanks-faces img {
  object-fit: cover;
  object-position: center top;
}

/* Razorpay payment id, shown on thanks.html when the redirect preserved it */
.page-thanks .thanks-groupnote {
  margin: 0.5rem 0 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--mute);
  text-align: center;
}

.funnel-fix {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(0, 32, 64, 0.94), rgba(0, 28, 56, 0.98));
  color: #f4f7fb;
  box-shadow: 0 -8px 28px rgba(0, 20, 40, 0.28);
}

.funnel-fix-inner {
  max-width: 36rem;
  margin: 0 auto;
}

.funnel-fix p {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #e8eef6;
}

.funnel-fix strong {
  color: #fff;
}

.funnel-fix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.funnel-fix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 0.45rem;
  background: #0a3d73;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.funnel-fix-link {
  color: #9ee7dc !important;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 861px) {
  .payment-return-help,
  .funnel-fix {
    bottom: auto;
    top: 0;
    padding: 0.85rem 1rem;
  }
}

.thanks-shell {
  min-height: auto;
  display: block;
  place-items: unset;
  padding: 1rem 1rem 2.5rem;
  background: #f5f8fc;
}

.thanks-card {
  width: min(620px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 45, 91, 0.12);
}

.thanks-card .btn {
  text-align: center;
}

/* --- confirmation hero --- */

.thanks-hero {
  background: linear-gradient(160deg, #003a72 0%, #002d5b 55%, #00254a 100%);
  padding: 1.9rem 1.5rem 1.75rem;
  text-align: center;
  position: relative;
}

.thanks-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #2dd4bf, #0d9488);
}

.thanks-check {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #0d9488;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.18);
}

.page-thanks .thanks-hero-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5eead4;
}

.page-thanks .thanks-hero-sub {
  margin: 0;
  font-size: 0.93rem;
  font-weight: 600;
  color: #c3d5e8;
}

.thanks-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

/* --- when and where --- */

.thanks-classcard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.75rem;
  background: #e8fbf8;
  border: 1px solid #a7ded6;
  border-radius: 12px;
  text-align: center;
}

.thanks-classcard div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.thanks-classcard b {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #0f766e;
}

.thanks-classcard span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #002d5b;
  line-height: 1.3;
}

/* --- trainers --- */

.thanks-trainers {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.25rem;
  padding: 0.9rem 0 0;
  border-top: 1px solid #e3e9f2;
}

.thanks-faces {
  display: flex;
  flex: 0 0 auto;
}

.thanks-faces img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 45, 91, 0.18);
}

.thanks-faces img + img {
  margin-left: -12px;
}

.page-thanks .thanks-trainers p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #5a6573;
}

.page-thanks .thanks-trainers strong {
  display: block;
  color: #002d5b;
  font-weight: 800;
  font-size: 0.92rem;
}

.page-thanks .bar-meta {
  display: none;
}

/* Compact thank-you page — overrides global section padding / serif headings */
.page-thanks {
  background: #f5f8fc;
  font-family: "Inter", system-ui, sans-serif;
  color: #1a2433;
}

.page-thanks .thanks-bar {
  background: #ffffff;
  border-bottom: 1px solid #d8dee8;
  padding: 0.35rem 0;
}

.page-thanks .thanks-bar-inner {
  max-height: none;
  min-height: 0;
  justify-content: flex-start;
}

.page-thanks .thanks-logo {
  height: 52px;
  max-width: min(160px, 48vw);
}

/* Scoped to .thanks-step so it cannot flatten the class card or trainer row */
.page-thanks .thanks-card .thanks-step {
  padding: 0;
  margin: 0 0 1.3rem;
}

.page-thanks .thanks-title,
.page-thanks .thanks-card h1,
.page-thanks .thanks-card h2,
.page-thanks .thanks-card p,
.page-thanks .thanks-card a {
  font-family: "Inter", system-ui, sans-serif;
}

.page-thanks .thanks-title {
  margin: 0 0 0.3rem;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.page-thanks .thanks-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5a6573;
}

.page-thanks .thanks-step-label {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.thanks-step-urgent {
  background: #25d366;
  color: #ffffff;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

/* Step 1 carries the action that actually gets them the class link */
.thanks-step-primary {
  background: #f7fbff;
  border: 1px solid #cfe0f0;
  border-radius: 12px;
  padding: 1rem 1rem 1.05rem !important;
}

.page-thanks .thanks-step h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: #002d5b;
}

.page-thanks .thanks-step p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5a6573;
  max-width: none;
}

.page-thanks .thanks-btn-wa,
.page-thanks .thanks-btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: none;
}

/* Icon is a pseudo-element so it survives main.js rewriting the label text
   when no payment reference is present. */
.page-thanks .thanks-btn-wa::before {
  content: "";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
  mask: var(--wa-icon) center / contain no-repeat;
}

.page-thanks .thanks-btn-wa {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21h.01c5.46 0 9.9-4.45 9.9-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2zm0 18.15h-.01a8.2 8.2 0 0 1-4.19-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 0 1-1.26-4.38c0-4.54 3.7-8.23 8.25-8.23 2.2 0 4.27.86 5.83 2.42a8.2 8.2 0 0 1 2.41 5.82c0 4.54-3.7 8.23-8.24 8.23zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.24-.64.8-.78.97-.14.16-.29.18-.53.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.01-.38.11-.5.11-.11.25-.29.37-.44.13-.14.17-.25.25-.41.08-.17.04-.31-.02-.43-.06-.12-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.16 0-.43.06-.66.31-.22.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.47-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.14-1.18-.06-.1-.22-.16-.47-.29z'/%3E%3C/svg%3E");
  min-height: 54px;
  font-size: 1.02rem;
  background: #25d366;
  color: #ffffff;
  border: 1px solid #1ebe57;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

.page-thanks .thanks-btn-wa:hover {
  transform: translateY(-1px);
  background: #20bd5c;
}

/* Secondary: outlined so it reads clearly below the WhatsApp step */
.page-thanks .thanks-btn-pdf {
  min-height: 46px;
  font-size: 0.94rem;
  background: #ffffff;
  color: #0f766e;
  border: 1.5px solid #0d9488;
}

.page-thanks .thanks-btn-pdf:hover {
  transform: translateY(-1px);
  background: #e8fbf8;
  color: #0f766e;
}

.page-thanks .thanks-meta {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid #e3e9f2;
}

.page-thanks .thanks-meta p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #5a6573;
}

.page-thanks .thanks-help {
  margin-top: 0 !important;
}

.page-thanks .thanks-help a {
  color: #002d5b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 400px) {
  .thanks-hero {
    padding: 1.6rem 1.15rem 1.5rem;
  }

  .thanks-body {
    padding: 1.15rem 1.1rem 1.25rem;
  }

  .page-thanks .thanks-logo {
    height: 46px;
  }

  .page-thanks .thanks-title {
    font-size: 1.75rem;
  }

  .thanks-classcard {
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
  }

  .thanks-classcard span {
    font-size: 0.78rem;
  }

  .thanks-step-primary {
    padding: 0.85rem 0.8rem 0.9rem !important;
  }
}

