/* ============================================================
   RIDKK Academy (/academy) — builds on landing.css, products.css
   and industries.css. Prefix: .ac-
   Scenes use the product-page player (products.js, [data-step]).
   ============================================================ */

.ac-hero .hero-sub { max-width: 34em; }
.ac-hero-center .hero-sub { margin-inline: auto; }
.ac-hero-visual { padding: 6px 18px 44px; }
.ac-h2-sm { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
[hidden] { display: none !important; }

.ac-btn-price {
  font-size: .86em;
  font-weight: 800;
  background: rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 4px 10px;
}
.btn-inverse .ac-btn-price { background: var(--indigo-soft); color: var(--indigo-deep); }

/* ---------- Scene: a business built live ---------- */
.ac-scene {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-inline: auto;
}
.ac-prompt { max-width: none; border-radius: 18px; }
.ac-prompt .chat-head { padding: 11px 14px; }
.ac-prompt .chat-body { padding: 12px 12px 14px; min-height: 150px; background: #f8fafc; }
.ac-prompt .msg { font-size: .86rem; max-width: 88%; }
.ac-prompt .msg-out { background: var(--indigo-soft); color: #312e81; }
.ac-spark svg { width: 20px; height: 20px; color: #fff; }
.ac-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.ac-live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: ac-blink 1.4s ease-in-out infinite; }
@keyframes ac-blink { 50% { opacity: .25; } }

.ac-browser {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.ac-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fbfcfe, #f3f5fa);
  border-radius: 18px 18px 0 0;
}
.ac-dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.ac-dots i { width: 9px; height: 9px; border-radius: 50%; background: #fca5a5; }
.ac-dots i:nth-child(2) { background: #fcd34d; }
.ac-dots i:nth-child(3) { background: #86efac; }
.ac-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font: 600 .8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
}
.ac-url svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }
.ac-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: #14532d;
  background: #dcfce7;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.ac-avail svg { width: 11px; height: 11px; }

.ac-site { padding: 14px; display: grid; gap: 12px; }
.ac-site-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ac-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; letter-spacing: -.01em; }
.ac-logo i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 4px 10px -4px rgba(239, 68, 68, .6);
}
.ac-navlines { display: inline-flex; gap: 8px; }
.ac-navlines i { width: 26px; height: 6px; border-radius: 3px; background: var(--line); }
.ac-site-hero { background: linear-gradient(135deg, #fff7ed, #fef3c7); border-radius: 12px; padding: 14px; }
.ac-site-h { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; color: #7c2d12; margin-bottom: 8px; }
.ac-line { display: block; height: 6px; width: 78%; border-radius: 3px; background: rgba(124, 45, 18, .16); }
.ac-line-short { width: 52%; margin-top: 6px; }
.ac-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ac-card { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 11px; background: #fff; }
.ac-card i { height: 44px; border-radius: 8px; background: linear-gradient(135deg, #fecdd3, #fda4af); }
.ac-card-2 i { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.ac-card-3 i { background: linear-gradient(135deg, #e9d5ff, #c4b5fd); }
.ac-card b { font-size: .74rem; font-weight: 700; color: #334155; }
.ac-card em { height: 5px; width: 60%; border-radius: 3px; background: var(--line); }
.ac-site-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-height: 40px; }
.ac-paybtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #5b52ea, var(--indigo-deep));
  border-radius: 10px;
  padding: 9px 14px;
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .6);
}
.ac-paybtn svg { width: 15px; height: 15px; }
.js [data-scene] .ac-paybtn.on { animation: ac-pop .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes ac-pop { 0% { scale: .7; } 60% { scale: 1.08; } 100% { scale: 1; } }
.ac-bot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 600;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  padding: 7px 10px;
  max-width: 62%;
}
.ac-bot i { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.ac-bot svg { width: 13px; height: 13px; }
.ac-toast {
  position: absolute;
  inset-inline-end: -14px;
  top: 54px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
}
.ac-toast-ico { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #22c55e; }
.ac-toast-ico svg { width: 13px; height: 13px; }
.ac-toast strong { display: block; font-size: .82rem; }
.ac-toast small { display: block; font-size: .7rem; color: #cbd5e1; }

.ac-track { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.ac-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-block: 5px;
  padding-inline: 7px 11px;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}
/* Pills stay visible while they wait; only their colour changes. */
.js [data-scene] .ac-pill[data-step] { opacity: 1; transform: none; }
.ac-pill svg { width: 10px; height: 10px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--line); color: #fff; transition: background-color .3s ease; }
.ac-pill.on,
html:not(.js) .ac-pill { color: #14532d; border-color: #bbf7d0; background: #f0fdf4; }
.ac-pill.on svg,
html:not(.js) .ac-pill svg { background: var(--green); }

/* ---------- The idea: one person, a full company ---------- */
.ac-idea-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ac-idea-copy h2,
.ac-teacher-copy h2,
.ac-watch-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.14;
  margin-bottom: 16px;
  text-wrap: balance;
}
.ac-orbit { position: relative; height: 400px; }
.ac-orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ac-link { stroke: #a5b4fc; stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; animation: ac-flow 1.6s linear infinite; }
@keyframes ac-flow { to { stroke-dashoffset: -26; } }
.ac-you {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 0 0 10px rgba(99, 102, 241, .12), 0 0 0 22px rgba(99, 102, 241, .06), 0 24px 50px -18px rgba(79, 70, 229, .7);
  animation: ac-breathe 3.6s ease-in-out infinite;
}
@keyframes ac-breathe {
  50% { box-shadow: 0 0 0 14px rgba(99, 102, 241, .14), 0 0 0 30px rgba(99, 102, 241, .05), 0 24px 50px -18px rgba(79, 70, 229, .7); }
}
.ac-you-face svg { width: 30px; height: 30px; }
.ac-you strong { font-size: 1.05rem; line-height: 1.2; }
.ac-you small { font-size: .72rem; opacity: .85; }
.ac-roles { position: absolute; inset: 0; }
.ac-role {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 12px;
  box-shadow: var(--shadow-md);
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  animation: ac-bob 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -.7s);
}
@keyframes ac-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.ac-role-ico { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: var(--indigo-soft); color: var(--indigo); }
.ac-role-ico svg { width: 16px; height: 16px; }
.ac-orbit-caption { text-align: center; font-weight: 600; color: var(--indigo-deep); margin-top: 14px; }

/* ---------- What you build ---------- */
.ac-build-item { position: relative; }
.ac-build-num {
  position: absolute;
  top: 20px;
  inset-inline-end: 24px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--indigo-soft);
}

/* ---------- The eight weeks: a road with stops ---------- */
.ac-weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 22px; padding-top: 22px; }
.ac-week {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.ac-week:hover { border-color: #cfd6f4; box-shadow: var(--shadow-md); }
/* The road: a rail above each card that runs to the next stop, and the stop itself. */
.ac-week::before {
  content: "";
  position: absolute;
  top: -17px;
  inset-inline-start: 30px;
  width: calc(100% + 22px);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c7d2fe, #ddd6fe);
  transform-origin: left center;
}
[dir="rtl"] .ac-week::before { transform-origin: right center; }
.js .ac-week.reveal::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.16, 1, .3, 1) .35s; }
.js .ac-week.reveal.visible::before { transform: scaleX(1); }
.ac-week:nth-child(4n)::before,
.ac-week:last-child::before { display: none; }
.ac-week::after {
  content: "";
  position: absolute;
  top: -23px;
  inset-inline-start: 20px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--indigo);
  box-sizing: border-box;
}
.ac-week-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ac-week-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .6);
}
.ac-week-label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); }
.ac-week h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.ac-week-topics { display: grid; gap: 6px; margin-bottom: 16px; }
.ac-week-topics li { position: relative; padding-inline-start: 16px; font-size: .9rem; color: var(--body); }
.ac-week-topics li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a5b4fc;
}
.ac-week-result {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .84rem;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 11px;
  padding: 9px 11px;
}
.ac-week-result svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--green); }

/* ---------- Teacher ---------- */
.ac-teacher { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.ac-teacher-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-md);
}
.ac-teacher-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--indigo), var(--violet), #0ea5e9);
}
.ac-teacher-photo img,
.ac-teacher-photo span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  background: #fff;
}
.ac-teacher-photo span { display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; color: var(--indigo-deep); }
.ac-teacher-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.ac-teacher-role { font-size: .92rem; color: var(--muted); }
.ac-teacher-stat { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 2px; }
.ac-teacher-stat strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ac-teacher-stat span { font-size: .84rem; color: var(--body); }
.ac-teacher-copy .deep-body + .deep-body { margin-top: 12px; }
.ac-teacher-label { margin: 22px 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ac-teacher-chips { justify-content: flex-start; margin-bottom: 0; }

/* ---------- Prices ---------- */
.ac-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ac-prices-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.ac-prices-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ac-price .plan-tagline { min-height: 2.9em; }
.ac-price .plan-price { margin: 18px 0 6px; }
.ac-price-regular { font-size: .84rem; color: var(--muted); }
.plan-popular .ac-price-regular { color: #a5b4fc; }
.ac-price-date { font-size: .88rem; font-weight: 600; color: var(--indigo-deep); margin: 8px 0 18px; }
.plan-popular .ac-price-date { color: #c7d2fe; }
.ac-price .btn { margin-bottom: 22px; }
.ac-price .plan-features li span { flex: 1; }

.ac-join { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.ac-join .ac-prices { grid-template-columns: 1fr 1fr; }
.ac-join .plans-note { margin-top: 18px; }

/* ---------- Promise ---------- */
.ac-promise { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; max-width: 980px; margin-inline: auto; }
.ac-promise-no { background: #0f172a; border-radius: 20px; padding: 30px 28px; }
.ac-promise-no h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.ac-promise-no p { color: #cbd5e1; font-size: 1rem; line-height: 1.7; }

/* ---------- Booking card + form ---------- */
.ac-hero-book .hero-inner { align-items: start; }
.ac-book {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 26px 24px 24px;
  scroll-margin-top: 100px;
}
.ac-book-head h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.ac-book-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-top: 6px; }
.ac-book-price span { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.ac-book-sub { font-size: .9rem; color: var(--body); margin: 6px 0 16px; }

.ac-form { display: grid; gap: 14px; }
.ac-field label,
.ac-levels legend { display: block; font-size: .84rem; font-weight: 600; color: #334155; margin-bottom: 6px; }
.ac-field input,
.ac-field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ac-field input:focus,
.ac-field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
[dir="rtl"] .ac-field input[dir="ltr"] { text-align: right; }
.ac-hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.ac-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ac-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--body); cursor: pointer; }
.ac-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--indigo); }
.ac-check a { color: var(--indigo-deep); font-weight: 600; text-decoration: underline; }
.ac-form-note { font-size: .8rem; color: var(--muted); text-align: center; text-wrap: balance; }
.ac-form .btn[disabled] { opacity: .7; cursor: progress; }
.ac-alert { border-radius: 12px; padding: 12px 14px; font-size: .9rem; font-weight: 600; border: 1px solid; }
.ac-alert-ok { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.ac-alert-bad { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.ac-alert ul { margin-top: 6px; padding-inline-start: 18px; list-style: disc; font-weight: 500; }

.ac-levels { border: 0; display: grid; gap: 10px; }
.ac-level { position: relative; display: block; cursor: pointer; }
.ac-level input { position: absolute; opacity: 0; inset: 0; }
.ac-level-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.ac-level-name { font-weight: 700; }
.ac-level-price { font-weight: 800; font-size: 1.1rem; }
.ac-level-line { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.ac-level input:checked + .ac-level-box { border-color: var(--indigo); background: var(--indigo-soft); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.ac-level input:focus-visible + .ac-level-box { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ---------- When: date, time, countdown, seats ---------- */
.ac-when {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid #dfe3f8;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.ac-when-center .ac-when { margin-inline: auto; justify-items: center; text-align: center; }
.ac-when-center .ac-when-time,
.ac-when-center .ac-countdown { justify-content: center; }
.ac-when-date { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.ac-when-date svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--indigo); }
.ac-when-time { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: .88rem; color: var(--body); }
.ac-when-time > span { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 11px; }
.ac-when-time > .ac-local { background: var(--indigo-soft); border-color: #e0e7ff; color: var(--indigo-deep); font-weight: 600; }
.ac-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ac-countdown-label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ac-count { min-width: 54px; text-align: center; background: #0f172a; color: #fff; border-radius: 11px; padding: 7px 8px 6px; }
.ac-count b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ac-count small { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.ac-seats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: #14532d; }
.ac-seats i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.ac-seats-full { color: #991b1b; }
.ac-seats-full i { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .18); }

/* ---------- Open session: what you watch, the two hours ---------- */
.ac-watch-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ac-bar { display: flex; gap: 4px; height: 46px; margin-bottom: 26px; border-radius: 14px; overflow: hidden; }
.ac-bar-part { flex-basis: 0; min-width: 0; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; transform-origin: center bottom; }
.js .ac-bar.reveal .ac-bar-part { transform: scaleY(0); transition: transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * .08s + .2s); }
.js .ac-bar.reveal.visible .ac-bar-part { transform: scaleY(1); }
.ac-tone-0 { background: #4f46e5; }
.ac-tone-1 { background: #6366f1; }
.ac-tone-2 { background: #7c3aed; }
.ac-tone-3 { background: #9333ea; }
.ac-tone-4 { background: #0ea5e9; }
.ac-tone-5 { background: #16a34a; }
.ac-tone-6 { background: #f59e0b; }
.ac-agenda-item { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.ac-agenda-item:first-child { border-top: 0; }
.ac-agenda-time { display: grid; grid-template-columns: auto 1fr; align-items: center; align-content: start; column-gap: 9px; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-agenda-time small { grid-column: 2; font-size: .76rem; font-weight: 600; color: var(--muted); }
.ac-agenda-dot { width: 12px; height: 12px; border-radius: 50%; }
.ac-agenda-item h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.ac-agenda-item p { font-size: .96rem; color: var(--body); }
.ac-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ac-after p + p { margin-top: 16px; }

/* ---------- Course: weekly rhythm, included ---------- */
.ac-rhythm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ac-rhythm-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.ac-rhythm-item h3 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 6px; }
.ac-rhythm-item p { font-size: .95rem; color: var(--body); }
.ac-rhythm-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  inset-inline-end: -24px;
  width: 18px;
  translate: 0 -50%;
  text-align: center;
  font-weight: 800;
  color: var(--indigo);
}
[dir="rtl"] .ac-rhythm-item:not(:last-child)::after { content: "←"; }
.ac-included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ac-included-item { display: flex; gap: 13px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm); }
.ac-included-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.ac-included-item p { font-size: .9rem; color: var(--body); }

/* ---------- Seat page: the ticket ---------- */
.ac-seat { padding-bottom: 80px; min-height: 72vh; }
.ac-seat-inner { max-width: 880px; display: grid; gap: 26px; }
.ac-seat-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.ac-seat-head .hero-sub { margin-bottom: 18px; }
.ac-seat-pill { margin-bottom: 18px; }
.ac-seat-pill-paid { color: #14532d; border-color: #bbf7d0; background: #f0fdf4; }
.ac-seat-pill-pending { color: #92400e; border-color: #fde68a; background: #fffbeb; }
.ac-seat-pill-refunded { color: #475569; border-color: var(--line); background: var(--bg-soft); }
.ac-ticket { display: grid; grid-template-columns: 1.4fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ac-ticket-paid { border-color: #c7d2fe; }
.ac-ticket-main { padding: 26px 28px; border-inline-end: 2px dashed var(--line); }
.ac-ticket-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); margin-bottom: 6px; }
.ac-ticket-product { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.ac-ticket-rows { display: grid; gap: 10px; }
.ac-ticket-rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: .95rem; }
.ac-ticket-rows dt { font-size: .84rem; font-weight: 600; color: var(--muted); }
.ac-ticket-rows dd { font-weight: 600; overflow-wrap: anywhere; }
.ac-ticket-rows .ac-local { display: block; font-size: .85rem; font-weight: 500; color: var(--indigo-deep); }
.ac-ticket-side { padding: 26px 24px; background: linear-gradient(180deg, #fbfbfe, #f5f7fd); display: grid; gap: 12px; align-content: center; }
.ac-ticket-soon { font-size: .88rem; color: var(--body); background: #fff; border: 1px dashed #c7d2fe; border-radius: 12px; padding: 12px; }
.ac-countdown-ticket { justify-content: center; }
.ac-seat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ac-seat .deep-card p + p { margin-top: 14px; }
.ac-rules { display: grid; gap: 10px; counter-reset: rule; }
.ac-rules li { counter-increment: rule; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #334155; }
.ac-rules li::before {
  content: counter(rule);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: .8rem;
  font-weight: 800;
}

/* ---------- Terms ---------- */
.ac-hero-terms { padding-bottom: 30px; }
.ac-terms { padding-top: 40px; }
.ac-terms-list { display: grid; gap: 14px; }
.ac-terms-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.ac-terms-list h2 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.ac-terms-list h2 span {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: .82rem;
  font-weight: 800;
}
.ac-terms-list p { color: var(--body); }
.ac-legal { margin-top: 26px; text-align: center; font-size: .84rem; color: var(--muted); }
.ac-legal a { color: var(--indigo-deep); font-weight: 600; }
.ac-legal a:hover { text-decoration: underline; }

/* ---------- Phone: a booking bar that follows the reader ---------- */
.ac-sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ac-idea-inner,
  .ac-watch-inner,
  .ac-teacher,
  .ac-promise,
  .ac-join { grid-template-columns: 1fr; gap: 34px; }
  .ac-teacher-card { max-width: 360px; margin-inline: auto; width: 100%; }
  .ac-weeks { grid-template-columns: repeat(2, 1fr); }
  .ac-week:nth-child(4n)::before { display: block; }
  .ac-week:nth-child(2n)::before,
  .ac-week:last-child::before { display: none; }
  .ac-prices,
  .ac-prices-2 { grid-template-columns: minmax(0, 440px); justify-content: center; }
  .ac-join .ac-prices { grid-template-columns: 1fr 1fr; }
  .ac-rhythm { grid-template-columns: 1fr; gap: 18px; }
  .ac-rhythm-item:not(:last-child)::after { display: none; }
  .ac-included { grid-template-columns: 1fr 1fr; }
  .ac-book { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (max-width: 760px) {
  .ac-hero-visual { padding: 0 0 8px; }
  .ac-toast { inset-inline-end: 6px; top: 46px; }
  .ac-orbit { height: auto; display: grid; gap: 16px; justify-items: center; }
  .ac-orbit-lines { display: none; }
  .ac-you { position: static; transform: none; width: 112px; height: 112px; }
  .ac-roles { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .ac-role { position: static; transform: none; white-space: normal; animation: none; }
  .ac-weeks { grid-template-columns: 1fr; gap: 18px; padding-top: 0; }
  .ac-week::before,
  .ac-week::after { display: none !important; }
  .ac-two,
  .ac-ticket,
  .ac-seat-grid,
  .ac-included,
  .ac-join .ac-prices { grid-template-columns: 1fr; }
  .ac-ticket-main { border-inline-end: 0; border-bottom: 2px dashed var(--line); padding: 22px 20px; }
  .ac-ticket-side { padding: 22px 20px; }
  .ac-agenda-item { grid-template-columns: 84px 1fr; gap: 12px; }
  .ac-book { padding: 22px 18px 20px; }
  .ac-count { min-width: 48px; }

  .ac-sticky {
    position: fixed;
    inset-inline: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #5b52ea, var(--indigo-deep));
    border-radius: 14px;
    padding: 15px 18px;
    box-shadow: 0 16px 34px -12px rgba(67, 56, 202, .75);
    transition: translate .3s ease, opacity .3s ease;
  }
  .ac-sticky.is-hidden { translate: 0 160%; opacity: 0; pointer-events: none; }
  /* Keep the contact bubble clear of the booking bar. */
  .academy-page .cfab { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 420px) {
  .ac-site-cards { gap: 7px; }
  .ac-bot { max-width: 100%; }
  .ac-url { font-size: .72rem; }
}

/* ---------- RTL refinements ---------- */
[dir="rtl"] .ac-week-label,
[dir="rtl"] .ac-teacher-label,
[dir="rtl"] .ac-ticket-label,
[dir="rtl"] .ac-live,
[dir="rtl"] .ac-count small { letter-spacing: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ac-link,
  .ac-you,
  .ac-role,
  .ac-live i { animation: none; }
  .js .ac-week.reveal::before { transform: none; transition: none; }
  .js .ac-bar.reveal .ac-bar-part { transform: none; transition: none; }
  .js [data-scene] .ac-paybtn.on { animation: none; }
}

/* ---------- Refinements after the first visual pass ---------- */
.ac-prompt .chat-head { background: linear-gradient(135deg, #4338ca, #7c3aed); }
.ac-hero .hero-cta .btn-lg { padding-inline: 20px; }
.ac-promise-no { display: flex; flex-direction: column; justify-content: center; }
.ac-price-date { min-height: 2.9em; }

/* Who it is for */
.ac-for { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ac-for-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.ac-for-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .7);
  margin-bottom: 14px;
}
.ac-for-ico svg { width: 21px; height: 21px; }
.ac-for-item h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.ac-for-item p { font-size: .94rem; color: var(--body); }

/* Tools strip under "what you build" */
.ac-tools { margin-top: 44px; text-align: center; }
.ac-tools h3 { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
[dir="rtl"] .ac-tools h3 { letter-spacing: 0; font-size: .92rem; }
.ac-tools .chips { margin-bottom: 0; }
.ac-tools .chips li { background: #fff; }

@media (max-width: 1000px) { .ac-for { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ac-for { grid-template-columns: 1fr; } }

/* ---------- Refinements after the customer read-through ---------- */
.ac-scene,
.ac-form,
.ac-when { text-align: start; }
.ac-when-center .ac-when { text-align: center; }
.ac-next {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
}
.ac-next { border-radius: 14px; text-align: start; }
[dir="rtl"] .ac-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1.28; letter-spacing: 0; }
[dir="rtl"] .ac-seat-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.ac-teacher-edu { display: grid; gap: 6px; margin-bottom: 4px; }
.ac-teacher-edu li { position: relative; padding-inline-start: 16px; font-size: .96rem; color: var(--body); }
.ac-teacher-edu li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #a5b4fc; }
.ac-when-min { font-size: .88rem; color: var(--body); }
.ac-guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem; font-weight: 600; color: #14532d; background: #f0fdf4; border: 1px solid #dcfce7; border-radius: 11px; padding: 9px 12px; text-align: start; }
.ac-guarantee svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); }
