:root {
  --bg: #fff6ee;
  --surface: #ffffff;
  --text: #181412;
  --muted: #706761;
  --border: #efd6c6;
  --brand: #f05a2d;
  --brand-dark: #d93619;
  --brand-deep: #9f2713;
  --brand-light: #ff8738;
  --green: #16a66a;
  --shadow-soft: 0 10px 26px rgba(49, 28, 14, 0.08);
  --shadow-card: 0 18px 54px rgba(49, 28, 14, 0.14);
  --shadow-cta: 0 18px 38px rgba(239, 84, 46, 0.32);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --page-pad: 0px;
  --sticky-height: 82px;
  --content-max: 100%;
}

html {
  width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.14), transparent 32rem),
    radial-gradient(circle at top right, rgba(216, 59, 29, 0.06), transparent 28rem),
    linear-gradient(180deg, #fffaf5 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.landing-page {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 0 var(--page-pad) calc(var(--sticky-height) + env(safe-area-inset-bottom, 0px) + 16px);
}

.visual-feed {
  width: 100%;
  min-width: 0;
}

.media-block {
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.media-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.hero-media {
  background: linear-gradient(135deg, #ee4d27, #ff8a32);
}

.media-block:not(.hero-media) {
  margin-top: 12px;
  content-visibility: auto;
  contain-intrinsic-size: 390px 480px;
}

.media-block-last {
  margin-bottom: 8px;
}

.parent-hook-card,
.schedule-card,
.learning-path-card,
.trust-card,
.review-card {
  margin: 12px 12px 0;
  padding: 16px;
  border: 1px solid rgba(239, 211, 194, 0.95);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-soft);
}

.parent-hook-card {
  padding: 18px 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 138, 56, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 246, 0.96));
}

.micro-badge,
.path-title span,
.review-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parent-hook-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 5.4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.parent-hook-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  line-height: 1.45;
  font-weight: 650;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.benefit-strip div {
  min-width: 0;
  min-height: 78px;
  border-radius: 18px;
  padding: 10px 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 166, 106, 0.12), transparent 70%),
    linear-gradient(180deg, #fffdf9 0%, #fff3e9 100%);
  border: 1px solid rgba(240, 216, 200, 0.82);
  box-shadow: 0 12px 28px rgba(49, 28, 14, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(23, 166, 107, 0.12);
  font-weight: 950;
}

.benefit-strip strong {
  color: #271f1a;
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1.15;
  font-weight: 950;
}

.schedule-card {
  border-radius: var(--radius-lg);
  padding: 14px;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(216, 59, 29, 0.24);
}

.schedule-header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-date {
  color: var(--brand-dark);
  font-size: clamp(13px, 3.2vw, 15px);
  line-height: 1.2;
  text-align: right;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.time-chip {
  min-height: 72px;
  border-radius: 18px;
  padding: 12px 10px;
  background: linear-gradient(180deg, #fffefa 0%, #fff2e8 100%);
  border: 1px solid rgba(240, 216, 200, 0.86);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.time-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.time-chip strong {
  margin-top: 4px;
  color: #251d18;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.1;
  font-weight: 950;
}

.learning-path-card {
  background:
    radial-gradient(circle at right top, rgba(255, 138, 61, 0.14), transparent 46%),
    rgba(255, 255, 255, 0.97);
}

.path-title h2,
.trust-card h2,
.review-head strong {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 4.6vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.outcome-grid {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.outcome-card {
  position: relative;
  min-height: 94px;
  padding: 15px 14px 15px 68px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 138, 56, 0.16), transparent 64%),
    linear-gradient(180deg, #fffefa 0%, #fff4ec 100%);
  border: 1px solid rgba(240, 216, 200, 0.92);
  box-shadow: 0 14px 30px rgba(49, 28, 14, 0.07);
}

.outcome-icon {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 10px 22px rgba(49, 28, 14, 0.08);
  font-size: 20px;
}

.outcome-card strong {
  display: block;
  color: #211915;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.outcome-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.32;
  font-weight: 780;
}

.trust-card h2 {
  margin-top: 10px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.trust-grid div {
  min-height: 86px;
  border-radius: 18px;
  padding: 13px 11px;
  background: linear-gradient(180deg, #fffefa, #fff4ec);
  border: 1px solid rgba(240, 216, 200, 0.88);
}

.trust-grid strong {
  display: block;
  color: #241d19;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 950;
}

.trust-grid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 770;
}

.company-trust {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(216, 59, 29, 0.20);
}

.company-trust p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 900;
  text-align: center;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.logo-cloud span {
  min-height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(240, 216, 200, 0.94);
  box-shadow: 0 10px 24px rgba(49, 28, 14, 0.06);
  color: #2a211c;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.logo-google { color: #4285f4 !important; }
.logo-amazon { color: #111 !important; }
.logo-microsoft { color: #5e5e5e !important; }
.logo-apple { color: #1d1d1f !important; }
.logo-flipkart { color: #2874f0 !important; }
.logo-mckinsey { color: #003a70 !important; }

.review-card {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(245, 180, 63, 0.14), transparent 48%),
    rgba(255, 255, 255, 0.97);
}

.review-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.review-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-item {
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffefa 0%, #fff4ec 100%);
  border: 1px solid rgba(240, 216, 200, 0.92);
  box-shadow: 0 12px 26px rgba(49, 28, 14, 0.07);
}

.stars {
  color: #f2a91e;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 950;
}

.review-item p {
  margin: 8px 0;
  color: #241d19;
  font-size: 15px;
  line-height: 1.34;
  font-weight: 850;
}

.review-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.enrolment-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  width: 100%;
  height: 100dvh;
  background: rgba(32, 19, 13, 0.42);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.enrolment-panel.is-open {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.form-card {
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  border-radius: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 138, 61, 0.14), transparent 24rem),
    linear-gradient(180deg, #fffefe 0%, #fff7f0 100%);
  box-shadow: 0 0 80px rgba(49, 28, 14, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.form-topbar {
  flex: 0 0 auto;
  min-height: 56px;
  padding: calc(env(safe-area-inset-top, 0px) + 7px) 14px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 250, 246, 0.94);
  border-bottom: 1px solid rgba(240, 216, 200, 0.78);
  backdrop-filter: blur(16px);
  z-index: 2;
}

.timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.timer {
  min-width: 62px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(216, 59, 29, 0.15);
}

.panel-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(49, 28, 14, 0.12);
  cursor: pointer;
}

.form-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 12px;
  -webkit-overflow-scrolling: touch;
}

.form-header {
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.form-subtext {
  margin: 7px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.36;
  font-weight: 780;
}

.form-group {
  margin-bottom: 10px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  color: #2a211c;
  font-size: 13px;
  font-weight: 950;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.radio-group label {
  min-width: 0;
}

.radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.field-hint {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.class-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.radio-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.class-card {
  width: 100%;
  min-height: 48px;
  padding: 6px 6px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  color: #241d19;
  box-shadow: 0 7px 16px rgba(49, 28, 14, 0.06);
  cursor: pointer;
  line-height: 1.05;
  font-weight: 950;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.class-card strong {
  font-size: 13px;
}

.class-card small {
  color: #8a7468;
  font-size: 10px;
  font-weight: 850;
}

.class-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(49, 28, 14, 0.1);
}

.radio-group input[type="radio"]:checked + .class-card,
.radio-group input[type="checkbox"]:checked + .class-card {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 13px 28px rgba(239, 84, 46, 0.28);
}

.radio-group input[type="radio"]:checked + .class-card small,
.radio-group input[type="checkbox"]:checked + .class-card small {
  color: rgba(255, 255, 255, 0.86);
}

.two-field-stack {
  display: grid;
  gap: 9px;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  color: var(--text);
  outline: none;
  box-shadow: 0 8px 20px rgba(49, 28, 14, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input::placeholder {
  color: #8c8580;
}

input:focus {
  border-color: rgba(216, 59, 29, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 59, 29, 0.11);
}

.phone-field {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(49, 28, 14, 0.05);
}

.phone-field:focus-within {
  border-color: rgba(216, 59, 29, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 59, 29, 0.11);
}

.phone-field span {
  align-self: stretch;
  min-width: 58px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #fff4ec;
  border-right: 1px solid var(--border);
  font-weight: 950;
}

.phone-field input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@keyframes bs-phone-autofill {
  from { opacity: 0.99; }
  to { opacity: 1; }
}

.phone-field input:-webkit-autofill {
  animation-name: bs-phone-autofill;
  animation-duration: 0.01s;
}

.phone-field input:focus {
  box-shadow: none;
}

.error {
  display: block;
  min-height: 13px;
  margin-top: 4px;
  color: #d92d20;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.safe-payment {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  text-align: center;
}

.loading-message {
  display: none;
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.spinner {
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  border: 3px solid #fde4d7;
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.panel-paybar {
  flex: 0 0 auto;
  padding: 9px 14px calc(env(safe-area-inset-bottom, 0px) + 9px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(240, 216, 200, 0.9);
  box-shadow: 0 -16px 38px rgba(49, 28, 14, 0.12);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(150px, 1.4fr);
  align-items: center;
  gap: 10px;
}

.cart-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #eefaf4;
  color: #0f6b43;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 850;
}

.cart-status[hidden] {
  display: none !important;
}

.form-card.is-checkout:not(.is-editing) #enrollFields {
  display: none;
}

.form-card.is-checkout.is-editing .compact-header {
  display: none;
}

.checkout-view {
  display: none;
}

.checkout-view:not([hidden]) {
  display: block;
}

.checkout-title {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.cart-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 138, 56, 0.14), transparent 46%),
    #fff;
  border: 1px solid rgba(239, 211, 194, 0.95);
  box-shadow: 0 10px 24px rgba(49, 28, 14, 0.06);
}

.cart-item-grade {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.cart-item strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.cart-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.cart-item-price {
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 950;
}

.cart-remove {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff4ec;
  color: var(--brand-deep);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ghost-cta {
  width: 100%;
  min-height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-dark);
  border: 1px dashed rgba(216, 59, 29, 0.28);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.student-recap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf6;
  border: 1px solid var(--border);
}

.student-recap-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff0e7;
  color: var(--brand-deep);
  font-weight: 950;
}

.student-recap strong,
.student-recap small {
  display: block;
}

.student-recap small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.order-summary {
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff 0%, #fff7f1 100%);
  border: 1px solid rgba(239, 211, 194, 0.95);
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 800;
}

.summary-row.muted {
  color: var(--muted);
  font-weight: 700;
}

.summary-row.save {
  color: var(--green);
}

.summary-row.total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 16px;
  font-weight: 950;
}

.summary-row.total strong {
  color: var(--brand-dark);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.cart-status-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.paybar-price span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paybar-price strong {
  color: var(--brand-dark);
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.paybar-price del {
  margin-left: 3px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
}

.paybar-price em {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--brand-deep);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
}

.primary-cta {
  width: 100%;
  min-height: 52px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: #fff;
  font-size: 16px;
  line-height: 1.05;
  font-weight: 950;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 20px 42px rgba(239, 84, 46, 0.38);
}

.primary-cta:disabled {
  cursor: not-allowed;
  background: #cfc7c1;
  box-shadow: none;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  width: 100%;
  min-height: var(--sticky-height);
  padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-top: 1px solid rgba(240, 216, 200, 0.95);
  box-shadow: 0 -18px 46px rgba(49, 28, 14, 0.16);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.sticky-copy {
  min-width: 0;
  text-align: left;
}

.sticky-price {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 950;
}

.sticky-price strong {
  color: var(--brand-dark);
  font-size: clamp(20px, 6vw, 25px);
  letter-spacing: -0.05em;
}

.sticky-price del {
  color: var(--muted);
  opacity: 0.78;
}

.counter {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.18;
  font-weight: 850;
}

.sticky-cta {
  flex: 0 0 auto;
  min-width: 116px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 15px 30px rgba(239, 84, 46, 0.3);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.popup {
  display: none !important;
}

.quick-steps,
.selected-timing-card,
.material-note {
  display: none !important;
}

/* Phone (small) */
@media (max-width: 379px) {
  :root {
    --sticky-height: 76px;
  }

  .parent-hook-card,
  .schedule-card,
  .learning-path-card,
  .trust-card,
  .review-card {
    margin-left: 10px;
    margin-right: 10px;
    padding: 14px 12px;
  }

  .benefit-strip div {
    min-height: 72px;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radio-group {
    gap: 6px;
  }

  .class-card {
    min-height: 40px;
    font-size: 13px;
  }

  .panel-paybar {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    min-width: 104px;
    font-size: 14px;
  }
}

/* Short phone screens: keep the form usable without extra scrolling */
@media (max-height: 700px) and (max-width: 1023px) {
  .timer-wrap span,
  .safe-payment {
    display: none;
  }

  .form-header h2 {
    font-size: 1.3rem;
  }

  .form-subtext {
    font-size: 12px;
  }

  .class-card {
    min-height: 38px;
    font-size: 13px;
  }

  input[type="text"],
  input[type="tel"],
  .phone-field {
    min-height: 44px;
  }

  .primary-cta {
    min-height: 48px;
  }
}

/* Tablet portrait / large phones */
@media (min-width: 640px) and (max-width: 1023px) {
  :root {
    --page-pad: 20px;
    --content-max: 720px;
    --sticky-height: 88px;
  }

  .landing-page {
    padding-top: 12px;
  }

  .visual-feed {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
  }

  .hero-media {
    border-radius: 28px 28px 0 0;
  }

  .parent-hook-card,
  .schedule-card,
  .learning-path-card,
  .trust-card,
  .review-card {
    margin-left: 16px;
    margin-right: 16px;
    padding: 20px;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radio-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .enrolment-panel.is-open {
    align-items: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 20px max(16px, env(safe-area-inset-bottom, 0px));
  }

  .form-card {
    width: min(540px, 100%);
    height: min(860px, 92dvh);
    max-height: 92dvh;
    border-radius: 28px;
    border: 1px solid rgba(240, 216, 200, 0.82);
  }

  .form-topbar {
    border-radius: 28px 28px 0 0;
    padding-top: 10px;
  }

  .form-scroll {
    padding: 16px 20px;
  }

  .two-field-stack {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sticky-bar {
    left: 50%;
    right: auto;
    width: min(720px, calc(100% - 24px));
    transform: translateX(-50%);
    margin-bottom: 10px;
    border-radius: 22px;
    border: 1px solid rgba(240, 216, 200, 0.95);
  }
}

/* Tablet landscape + desktop: content + always-visible form */
@media (min-width: 1024px) {
  :root {
    --page-pad: 24px;
    --content-max: 1180px;
    --sticky-height: 0px;
  }

  body.modal-open {
    overflow: auto;
    touch-action: auto;
  }

  .landing-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding: 28px var(--page-pad) 40px;
  }

  .visual-feed {
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow-card);
  }

  .media-block:not(.hero-media) {
    margin-top: 0;
  }

  .media-block-last {
    margin-bottom: 0;
  }

  .parent-hook-card,
  .schedule-card,
  .learning-path-card,
  .trust-card,
  .review-card {
    margin-left: 18px;
    margin-right: 18px;
    padding: 22px;
  }

  .outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outcome-card {
    min-height: 168px;
    padding: 16px 14px 16px 16px;
  }

  .outcome-icon {
    position: static;
    margin-bottom: 10px;
  }

  .enrolment-panel,
  .enrolment-panel.is-open,
  .enrolment-panel[aria-hidden="true"] {
    display: block;
    position: sticky;
    inset: auto;
    top: 20px;
    align-self: start;
    z-index: 20;
    width: 100%;
    height: calc(100dvh - 40px);
    max-height: calc(100dvh - 40px);
    background: transparent;
    backdrop-filter: none;
    overflow: visible;
  }

  .form-card {
    width: 100%;
    height: 100%;
    max-height: inherit;
    border-radius: 32px;
    border: 1px solid rgba(240, 216, 200, 0.82);
    box-shadow: var(--shadow-card);
  }

  .form-topbar {
    border-radius: 32px 32px 0 0;
    padding: 10px 16px;
  }

  .panel-close {
    display: none;
  }

  .form-scroll {
    padding: 16px 18px;
  }

  .radio-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-bar {
    display: none;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  :root {
    --content-max: 1280px;
    --page-pad: 32px;
  }

  .landing-page {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding-top: 36px;
  }

  .parent-hook-card h1 {
    font-size: 2.25rem;
  }

  .review-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .class-card,
  .primary-cta {
    animation: none;
    transition: none;
  }
}

/* Surgical conversion-flow additions. The original image-led layout is unchanged. */
.feedback-disclosure {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
  text-align: center;
}

.review-card-compact .review-list {
  margin-top: 14px;
}

.review-card-compact .review-item {
  background: rgba(255, 255, 255, 0.92);
}

.module-note {
  margin: 4px 0 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid rgba(240, 216, 200, 0.9);
  background: linear-gradient(135deg, #fffaf5, #fff3e8);
}

.module-note-icon {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

.module-note p {
  margin: 0;
  color: var(--text);
  line-height: 1.2;
}

.module-note strong,
.module-note small {
  display: block;
}

.module-note strong {
  font-size: 12px;
  font-weight: 950;
}

.module-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}

.form-card .two-field-stack {
  grid-template-columns: 1fr;
}

.privacy-note {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
}

.privacy-note.centered {
  margin-top: 12px;
  text-align: center;
}

.panel-paybar[hidden],
.safe-payment[hidden] {
  display: none !important;
}

.post-payment-view,
.confirmation-view {
  padding: 8px 2px 16px;
}

.postpay-summary {
  margin: 16px 0;
  padding: 14px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(240, 216, 200, 0.9);
  border-radius: 16px;
  background: #fff8f3;
}

.postpay-summary span {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
}

.postpay-summary strong {
  color: var(--text);
  font-size: 13px;
}

.postpay-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.inline-cta {
  margin-top: 10px;
}

.success-mark {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e9f8ef;
  color: #168653;
  font-size: 28px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(22, 134, 83, 0.15);
}

#popup.is-visible {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sticky-height) + 16px);
  z-index: 5000;
  width: min(90vw, 420px);
  padding: 12px 14px;
  display: block !important;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #2b201b;
  color: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}
