/* ACA X — shared styles for the hand-written ACA X pages.
   Replaces the Tilda export one page at a time; pages not yet rewritten
   still load their own Tilda css/js. */

:root {
  --bg: #1a1a1a;
  --lime: #d0f539;
  --lime-2: #d9fe40;
  --white: #fff;
  --muted: #525252;
  --soon: #ff3b30;
  --card: rgba(168, 168, 168, 0.1);
  --card-faint: rgba(168, 168, 168, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --radius: 10px;
  --wrap: 1110px;
  --header-h: 100px;
  --font: 'Roboto', Arial, sans-serif;
  --font-small: Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
sup { font-size: 0.6em; line-height: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 20px);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------------------------------------------------------- header */
.x-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
}
.x-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 145px;
}
.x-logo img { width: 81px; }
.x-nav {
  display: flex;
  flex: 1;
  justify-content: space-between;
  max-width: 732px;
}
@media (max-width: 1100px) { .x-header .wrap { gap: 60px; } }
.x-nav a {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
  padding: 8px 0;
  transition: color 0.2s;
}
.x-nav a:hover { color: var(--lime); }

main { padding-top: var(--header-h); }

/* ------------------------------------------------------------ primitives */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 30px;
  border-radius: var(--radius);
  background: var(--lime);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s;
}
.btn:hover { background: var(--lime-2); transform: translateY(-2px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 200;
  line-height: 22px;
}
.eyebrow::before {
  content: '';
  width: 100px;
  height: 1px;
  background: var(--lime);
}

.h2 {
  font-size: var(--fs, 60px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.accent { color: var(--lime); }

.section { padding: 80px 0; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 88px 0 110px; }
.hero__title {
  position: relative;
  max-width: 918px;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.hero__x {
  position: absolute;
  top: -26px;
  left: 172px;
  color: var(--lime);
  font-size: 40px;
  text-transform: none;
}
.hero__star {
  position: absolute;
  top: 55px;
  right: 180px;
  width: 98px;
  opacity: 0.5;
}
.hero .btn { margin-top: 20px; }
.hero__points {
  display: grid;
  grid-template-columns: 454px 407px 1fr;
  margin-top: 70px;
  list-style: none;
  padding: 0;
}
.hero__points b {
  display: block;
  color: var(--lime);
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}
.hero__points span {
  display: block;
  max-width: 230px;
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- intro */
.intro { padding: 80px 0 54px; }
.intro .wrap {
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 76px;
}
.intro .h2 { max-width: 601px; }
.intro p { font-size: 16px; font-weight: 300; line-height: 25px; }

/* ------------------------------------------------------------- bootcamps */
.camps { padding: 58px 0 131px; }
.camps__head { position: relative; }
.camps__head .h2 { margin-top: 36px; }
.camps__mark { display: none; opacity: 0.7; }
.camps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 13px;
  margin-top: 76px;
}
.camp {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 30px 27px 30px;
  border-radius: var(--radius);
  background: var(--card);
  transition: background 0.2s, transform 0.2s;
}
a.camp:hover { background: rgba(168, 168, 168, 0.18); transform: translateY(-3px); }
.camp h3 {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
}
.camp__more {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-top: 24px;
  color: var(--lime-2);
  font-size: 18px;
  line-height: 28px;
}
.camp__more::after {
  content: '';
  width: 20px;
  height: 20px;
  background: url(img/arrow-circle.svg) center / contain no-repeat;
}
.camp--soon .camp__more { color: var(--soon); }
.camp--soon .camp__more::after { display: none; }

/* ------------------------------------------------------------------ what */
.what { padding: 38px 0 144px; }
.what .wrap {
  display: grid;
  grid-template-columns: 1fr 471px;
  gap: 40px;
}
.what .h2 { margin-top: 36px; max-width: 571px; }
.what__quote {
  margin: 55px 0 46px 0;
  padding-left: 14px;
  border-left: 1px solid var(--white);
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  text-transform: uppercase;
}
.what__card {
  align-self: start;
  margin-top: 73px;
  padding: 64px 33px 50px;
  border-radius: var(--radius);
  background: var(--card);
  list-style: none;
}
.what__card li {
  display: grid;
  grid-template-columns: 74px 1fr;
  row-gap: 8px;
}
.what__card li + li { margin-top: 42px; }
.what__card b {
  grid-row: span 2;
  color: var(--lime);
  font-size: 40px;
  font-weight: 700;
  line-height: 62px;
}
.what__card h3 {
  padding-top: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 37px;
  text-transform: uppercase;
}
.what__card p {
  max-width: 312px;
  font-family: var(--font-small);
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
}

/* ---------------------------------------------------------------- stages */
.stages { padding: 20px 0 60px; }
.stages__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
  margin-top: 56px;
  list-style: none;
  padding: 0;
}
.stage { position: relative; }
.stage__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 107px;
  height: 107px;
  border: 1px solid var(--white);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
}
/* the line joining each circle to the next one */
.stage:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 53px;
  left: 107px;
  right: -30px;
  height: 1px;
  background: var(--white);
}
.stage .stage__week {
  margin-top: 31px;
  color: var(--lime);
  font-size: 15px;
  font-weight: 800;
  line-height: 25px;
}
.stage h3 {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 800;
  line-height: 31px;
  text-transform: uppercase;
}
.stage p {
  margin-top: 9px;
  max-width: 269px;
  font-family: var(--font-small);
  font-size: 14px;
  line-height: 17px;
}

/* ----------------------------------------------------------------- offer */
.offer { padding: 38px 0 114px; }
.offer .wrap {
  display: grid;
  grid-template-columns: 1fr 405px;
  gap: 40px;
}
.offer .h2 { margin-top: 36px; }
.offer__mark { display: none; opacity: 0.7; }
.offer__body { padding-top: 75px; }
.offer__body p { font-size: 16px; line-height: 19px; }
.offer__body .btn { margin-top: 32px; padding: 0 44px; }

/* ----------------------------------------------------------------- about */
.about { padding: 38px 0 126px; }
.about .wrap {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 40px;
}
.about .h2 { margin-top: 36px; }
.about__text {
  margin-top: 23px;
  max-width: 437px;
  font-size: 16px;
  line-height: 19px;
}
.about__text p + p { margin-top: 19px; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: start;
  margin-top: 68px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  background: var(--card-faint);
  list-style: none;
  padding: 0;
  overflow: hidden;
}
.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 202px;
  padding: 20px;
  text-align: center;
}
.stats li:nth-child(odd) { border-right: 1px solid var(--line); }
.stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stats b { font-size: 50px; font-weight: 700; line-height: 78px; }
.stats span {
  max-width: 142px;
  font-size: 14px;
  font-weight: 800;
  line-height: 22px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- footer */
.x-footer { padding: 74px 0 100px; font-family: var(--font-small); }
.x-footer .wrap {
  display: grid;
  grid-template-columns: 1fr 283px 160px;
  align-items: start;
  max-width: 1200px;
}
.x-footer__copy { margin-top: 66px; color: var(--muted); font-size: 14px; line-height: 28px; }
.x-footer h2 {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.x-footer ul { margin: 0; padding: 0; list-style: none; }
.x-footer li { font-size: 14px; line-height: 28px; }
.x-footer li + li { margin-top: 5px; }
.x-footer a:hover { color: var(--lime); }

/* ------------------------------------------------------ reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ================================================================ tablet */
@media (max-width: 1100px) {
  .h2 { font-size: min(var(--fs, 60px), 48px); }
  .hero__title { font-size: 64px; }
  .hero__x { left: 138px; font-size: 34px; }
  .hero__star { right: 40px; }
  .hero__points { grid-template-columns: repeat(3, 1fr); }
  .camp h3 { font-size: 26px; line-height: 32px; }
  .what .wrap, .offer .wrap, .about .wrap { grid-template-columns: 1fr 1fr; }
  .stages__list { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .stage:nth-child(2n)::before { display: none; }
  .x-footer .wrap { grid-template-columns: 1fr 240px 140px; }
}

/* ================================================================ mobile */
@media (max-width: 760px) {
  :root { --header-h: 54px; }
  .wrap { padding: 0 16px; }
  .x-logo { display: none; }
  .x-nav { max-width: none; }
  .x-nav a { font-size: 14px; }

  .h2 { font-size: min(var(--fs, 60px), 34px); line-height: 1.18; }
  .eyebrow { font-size: 16px; }
  .eyebrow::before { width: 40px; }

  .hero { padding: 64px 0 50px; }
  .hero__title { font-size: 34px; line-height: 1.18; }
  .hero__x { top: -16px; left: 73px; font-size: 20px; }
  .hero__star { position: static; width: 110px; margin: 32px auto 0; }
  .hero__points { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .hero__points li { display: grid; grid-template-columns: 76px 1fr; align-items: center; }
  .hero__points b { font-size: 40px; }
  .hero__points span { font-size: 16px; line-height: 19px; color: rgba(255, 255, 255, 0.8); }
  /* mobile puts the button under the three points */
  .hero__wrap { display: flex; flex-direction: column; }
  .hero .btn { order: 5; display: flex; width: 257px; margin: 44px auto 0; }
  .btn { padding: 0 16px; font-size: 14px; }

  .intro { padding: 72px 0 40px; }
  .intro .wrap { grid-template-columns: 1fr; gap: 36px; }
  .intro p { font-size: 15px; color: rgba(255, 255, 255, 0.8); }

  .camps { padding: 60px 0 70px; }
  .camps__head { display: grid; grid-template-columns: auto 1fr; align-items: end; }
  .camps__head .eyebrow { grid-column: 1 / -1; justify-self: end; flex-direction: row-reverse; }
  .camps__mark { display: block; width: 70px; }
  .camps__head .h2 { margin-top: 20px; text-align: right; }
  .camps__grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
  .camp { min-height: 128px; padding: 18px 14px 14px; }
  .camp h3 { font-size: 15px; line-height: 18px; }
  .camp__more { gap: 12px; margin-top: 12px; font-size: 11px; line-height: 16px; }
  .camp__more::after { width: 13px; height: 13px; }

  .what { padding: 30px 0 60px; }
  /* mobile puts the button under the card */
  .what .wrap { display: flex; flex-direction: column; }
  .what__main { display: contents; }
  .what__quote { margin: 40px 0 0; font-size: 15px; line-height: 21px; color: rgba(255, 255, 255, 0.8); }
  .what__card { margin-top: 40px; padding: 30px 20px; }
  .what__card li { grid-template-columns: 56px 1fr; }
  .what__card b { font-size: 34px; line-height: 44px; }
  .what__card h3 { padding-top: 10px; font-size: 19px; line-height: 1.25; }
  .what__card p { font-size: 14px; line-height: 17px; color: rgba(255, 255, 255, 0.85); }
  .what__card li + li { margin-top: 36px; }
  .what .btn { display: flex; width: 257px; margin: 26px auto 0; order: 3; }

  .stages { padding: 60px 0 40px; }
  .stages__list { grid-template-columns: 1fr; gap: 44px; margin-top: 40px; }
  .stage { display: grid; grid-template-columns: 72px 1fr; column-gap: 26px; }
  .stage::before, .stage:not(:last-child)::before { display: none; }
  .stage__num { grid-row: span 3; width: 72px; height: 72px; font-size: 22px; }
  .stage .stage__week { margin-top: 0; font-size: 11px; line-height: 16px; color: var(--lime); }
  .stage h3 { margin-top: 4px; font-size: 15px; line-height: 22px; }
  .stage p { margin-top: 10px; font-size: 13px; line-height: 16px; color: rgba(255, 255, 255, 0.8); }

  .offer { padding: 60px 0 40px; }
  .offer .wrap { grid-template-columns: 1fr; gap: 0; }
  .offer__head { display: grid; grid-template-columns: auto 1fr; align-items: end; }
  .offer__head .eyebrow { grid-column: 1 / -1; justify-self: end; flex-direction: row-reverse; }
  .offer__mark { display: block; width: 70px; margin-bottom: 4px; }
  .offer__head .h2 { margin-top: 20px; text-align: right; }
  .offer__body { padding-top: 46px; }
  .offer__body p { font-size: 19px; line-height: 24px; color: rgba(255, 255, 255, 0.85); }
  .offer__body .btn { display: flex; width: 200px; margin: 44px auto 0; }

  .about { padding: 60px 0 60px; }
  .about .wrap { grid-template-columns: 1fr; gap: 0; }
  .about__text { font-size: 14px; line-height: 17px; color: rgba(255, 255, 255, 0.8); }
  .stats { margin-top: 60px; }
  .stats li { align-items: flex-start; justify-content: flex-start; min-height: 116px; padding: 18px 16px; text-align: left; }
  .stats b { font-size: 32px; line-height: 44px; }
  .stats span { font-size: 14px; line-height: 17px; color: rgba(255, 255, 255, 0.8); }

  .x-footer { padding: 40px 0 60px; }
  .x-footer .wrap { grid-template-columns: 1.25fr 1fr; row-gap: 22px; column-gap: 12px; }
  .x-footer li { white-space: nowrap; }
  .x-footer__copy { grid-column: 1 / -1; order: -1; margin-top: 0; }
}

/* =====================================================================
   Course pages (body.course)
   ===================================================================== */
.x-burger { display: none; }
.x-nav .x-nav__cta { display: none; }

.course .x-header .wrap { gap: 0; }
.course .x-logo { margin-right: 89px; }
.course .x-nav { max-width: 736px; gap: 24px; }
.course .x-nav a { opacity: 0.7; }
.course .x-nav a:hover { opacity: 1; }
.x-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  height: 46px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.x-header__cta:hover { background: var(--lime); border-color: var(--lime); color: #000; opacity: 1; }

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}
.btn--ghost:hover { background: var(--white); color: #000; }

.c-text { font-size: 16px; line-height: 1.45; }

/* hero */
.c-hero { position: relative; overflow: hidden; padding: var(--pt, 81px) 0 80px; min-height: 610px; }
.c-hero .wrap { position: relative; }
.c-hero__title {
  position: relative;
  z-index: 1;
  max-width: 786px;
  font-size: var(--fs, 100px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.c-hero__art {
  position: absolute;
  top: 17px;
  right: -50px;
  width: 427px;
  pointer-events: none;
}
.c-hero__lead { position: relative; max-width: 638px; margin-top: var(--mt, 60px); font-size: 20px; line-height: 1.45; }
.c-hero__lead + .c-hero__lead { margin-top: 16px; }
.c-hero__btns { position: relative; display: flex; gap: 30px; margin-top: var(--mt, 70px); }
.c-hero__btns .btn { width: 250px; }

/* split sections reuse .what; spacing for extra paragraphs */
.c-split .what__quote { opacity: 0.7; margin: 40px 0 24px; }
.c-split .h2 + .c-text { margin-top: 32px; }
.c-split .c-text { max-width: 560px; }
.c-split .c-text + .btn, .c-split .what__quote + .btn { margin-top: 48px; }
.c-split .what__card { margin-top: 66px; }

/* who is this for */
.c-cards { padding: 38px 0 80px; }
.c-cards .h2 { margin-top: 36px; }
.c-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}
.c-card {
  min-height: 200px;
  padding: 18px 27px 24px;
  border-radius: var(--radius);
  background: var(--card);
}
.c-card h3 {
  min-height: 72px;
  color: var(--lime);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.c-card p { margin-top: 20px; font-size: 14px; font-weight: 300; line-height: 1.3; }
a.c-card { display: block; transition: background 0.2s; }
a.c-card:hover { background: rgba(168, 168, 168, 0.18); }

/* curriculum */
.c-curr { padding: 38px 0 100px; }
.c-curr .h2 { margin-top: 36px; }
.c-curr__list { margin: 80px 0 0; padding: 0; list-style: none; }
.c-curr__list li {
  display: grid;
  grid-template-columns: 97px 1fr;
  align-items: center;
  min-height: 102px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.c-curr__list b { color: var(--lime); font-size: 40px; font-weight: 700; line-height: 1.2; padding-left: 4px; }
.c-curr__list h3 { font-size: 24px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.c-curr__list p { margin-top: 8px; font-size: 14px; font-weight: 300; line-height: 1.35; opacity: 0.85; }

/* enrol */
.c-enroll { padding: 36px 0 164px; }
.c-enroll .wrap {
  display: grid;
  grid-template-columns: 669fr 500fr;
  gap: 11px;
  max-width: 1200px;
}
.c-enroll__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 60px 40px;
  border: 1px solid var(--lime);
  border-radius: var(--radius);
}
.c-enroll__title { font-size: 30px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.c-enroll__title em { color: var(--lime); font-style: normal; }
.c-enroll__lead { margin-top: 44px; font-size: 18px; line-height: 1.3; }
.c-enroll__fee {
  margin-top: 22px;
  padding: 3px 8px;
  background: var(--lime);
  color: #000;
  font-size: 25px;
  font-weight: 500;
  text-transform: uppercase;
}
.c-enroll__note {
  position: relative;
  max-width: 480px;
  margin-top: auto;
  padding: 90px 0 0 28px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
}
.c-enroll__note::before {
  content: 'X';
  position: absolute;
  left: 0;
  bottom: 18px;
  color: var(--lime);
  font-size: 25px;
  font-weight: 400;
}
.c-enroll__box {
  padding: 33px 36px 44px;
  border-radius: var(--radius);
  background: #cff43b;
  color: #000;
}
.c-enroll__box .c-enroll__title { margin-bottom: 64px; }

/* lead form (enrol box and modal) */
.x-form { display: grid; gap: 20px; }
.x-input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #777;
  border-radius: var(--radius);
  background: #fff;
  color: #000;
  font: 400 16px var(--font);
}
.x-input::placeholder { color: #8a8a8a; }
.x-input:focus { outline: 2px solid #1a1a1a; outline-offset: 1px; }
.x-input[aria-invalid="true"] { border-color: #e5322d; box-shadow: 0 0 0 1px #e5322d; }
select.x-input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") right 20px center no-repeat; }
.x-phone {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 1px solid #777;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.x-phone:focus-within { outline: 2px solid #1a1a1a; outline-offset: 1px; }
.x-phone select {
  height: 58px;
  padding: 0 6px 0 16px;
  border: 0;
  background: transparent;
  color: #000;
  font: 500 16px var(--font);
  cursor: pointer;
}
.x-phone .x-input { height: 58px; border: 0; border-radius: 0; padding-left: 8px; }
.x-phone .x-input:focus { outline: 0; }
.x-form__btn {
  height: 60px;
  border: 0;
  border-radius: var(--radius);
  background: #1a1a1a;
  color: #fff;
  font: 600 14px var(--font);
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.x-form__btn:hover { background: #fff; color: #000; }
.x-form__btn[disabled] { opacity: 0.6; cursor: wait; }
.x-form__error { margin: 0; color: #b3150f; font-size: 14px; line-height: 1.35; }
.x-form__ok { font-size: 18px; line-height: 1.45; }
.x-form__ok:focus { outline: 0; }

/* popup (Uzbek pages) */
.x-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.x-modal[hidden] { display: none; }
.x-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.x-modal__box {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 40px 36px 36px;
  border-radius: var(--radius);
  background: #cff43b;
  color: #000;
}
.x-modal__box .c-enroll__title { margin-bottom: 28px; padding-right: 30px; }
.x-modal__descr { margin: -12px 0 24px; font-size: 16px; line-height: 1.4; }
.x-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  color: #000;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }

/* faq */
.c-faq { padding: 20px 0 60px; }
.c-faq__title { font-size: 36px; }
.c-faq__list { max-width: 760px; margin: 60px auto 0; }
.c-faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.c-faq__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.c-faq__item summary {
  position: relative;
  padding: 24px 50px 24px 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.c-faq__item summary::-webkit-details-marker { display: none; }
.c-faq__item summary::before,
.c-faq__item summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 4px;
  width: 20px;
  height: 1px;
  background: var(--white);
  transition: transform 0.25s;
}
.c-faq__item summary::after { transform: rotate(90deg); }
.c-faq__item[open] summary::after { transform: rotate(0); }
.c-faq__a { padding: 0 50px 26px 0; font-size: 16px; font-weight: 300; line-height: 1.55; opacity: 0.85; }

/* ------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .course .x-logo { margin-right: 40px; }
  .course .x-nav a { font-size: 14px; }
  .x-header__cta { padding: 0 20px; font-size: 14px; }
  .c-hero__title { font-size: min(var(--fs, 100px), 80px); }
  .c-hero__art { width: 340px; }
  .c-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .c-enroll .wrap { grid-template-columns: 1fr 1fr; }
  .c-enroll__info { padding: 29px 32px 32px; }
}

/* ------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  .course .x-logo { display: block; margin-right: auto; }
  .course .x-logo img { width: 68px; }
  .course .x-header .x-header__cta { display: none; }
  .x-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #111;
    cursor: pointer;
  }
  .x-burger span, .x-burger span::before, .x-burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .x-burger span { position: relative; }
  .x-burger span::before, .x-burger span::after { content: ''; position: absolute; left: 0; }
  .x-burger span::before { top: -6px; }
  .x-burger span::after { top: 6px; }
  .x-burger[aria-expanded="true"] span { background: transparent; }
  .x-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .x-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

  .course .x-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-width: none;
    padding: 12px 16px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .course .x-nav.is-open { display: flex; }
  .course .x-nav a { padding: 14px 0; font-size: 18px; opacity: 1; }
  .course .x-nav .x-nav__cta { display: flex; margin: 12px 0 0; height: 52px; }
}

@media (max-width: 760px) {
  .course { --header-h: 76px; }
  .course .h2 { font-size: min(var(--fs, 60px), 30px); }

  .c-hero { min-height: 0; padding: 40px 0 70px; }
  .c-hero__lead { margin-top: 30px; }
  .c-hero__btns { margin-top: 40px; }
  .c-hero__title { font-size: 34px; line-height: 1.12; }
  .c-hero__lead { margin-top: 36px; font-size: 16px; }
  .c-hero__art { position: static; width: 72%; margin: 30px auto 0; }
  .c-hero__btns { gap: 10px; margin-top: 40px; }
  .c-hero__btns .btn { flex: 1; width: auto; }

  .c-split .c-text { font-size: 15px; }
  .c-split .what__main > .btn { order: 3; }

  .c-cards { padding: 30px 0 50px; }
  .c-cards__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .c-card { min-height: 0; padding: 20px; }
  .c-card h3 { min-height: 0; font-size: 18px; }
  .c-card p { margin-top: 10px; }

  .c-curr { padding: 30px 0 50px; }
  .c-curr__list { margin-top: 40px; }
  .c-curr__list li { grid-template-columns: 52px 1fr; min-height: 76px; padding: 14px 0; }
  .c-curr__list b { font-size: 26px; padding-left: 0; }
  .c-curr__list h3 { font-size: 15px; line-height: 1.3; }

  .c-enroll { padding: 20px 0 70px; }
  .c-enroll .wrap { grid-template-columns: 1fr; gap: 20px; }
  .c-enroll__info { padding: 24px 20px 28px; }
  .c-enroll__title { font-size: 20px; }
  .c-enroll__lead { margin-top: 20px; font-size: 15px; }
  .c-enroll__fee { font-size: 16px; }
  .c-enroll__note { padding: 50px 0 0; font-size: 14px; }
  .c-enroll__note::before { top: 22px; bottom: auto; font-size: 18px; }
  .c-enroll__box { padding: 28px 18px 32px; }
  .c-enroll__box .c-enroll__title { margin-bottom: 40px; }
  .x-input, .x-form__btn { height: 55px; font-size: 15px; }
  .x-phone select, .x-phone .x-input { height: 53px; }
  .x-modal__box { padding: 36px 18px 28px; }

  .c-faq__title { font-size: 26px; }
  .c-faq__list { margin-top: 30px; }
  .c-faq__item summary { padding: 20px 40px 20px 0; font-size: 16px; }
  .c-faq__a { padding-right: 0; font-size: 14px; }
}
@media (min-width: 1101px) { .c-split .wrap { gap: 12px; } }
@media (max-width: 760px) {
  /* phone order: title, lead, artwork, buttons */
  .c-hero .wrap { display: flex; flex-direction: column; }
  .c-hero__art { order: 2; }
  .c-hero__btns { order: 3; }
}
/* highlighted words carried over from the Tilda copy */
main em, .x-modal em { color: var(--lime); font-style: normal; }
.c-enroll__box em, .x-modal em { color: inherit; }
main i { color: var(--soon); font-style: normal; }
/* Uzbek hub: the X mark sits in the grid's empty sixth slot */
.camps__slot-mark { align-self: center; justify-self: center; width: 170px; opacity: 0.7; }
.camp--soon h3 .accent { color: var(--lime); }
@media (max-width: 760px) { .camps__slot-mark { width: 90px; } }
/* grid children may shrink below their content width (long words, cards) */
.intro .wrap > *, .what .wrap > *, .offer .wrap > *, .about .wrap > *, .c-enroll .wrap > * { min-width: 0; }
@media (min-width: 761px) and (max-width: 1100px) {
  .intro .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .what__card { padding: 40px 24px; }
  .what__card h3 { font-size: 20px; line-height: 1.3; }
}
@media (max-width: 760px) { html:has(body.course) { scroll-padding-top: 80px; } }
/* small tablets: two-column sections are ~340px wide, so cap headings */
@media (min-width: 761px) and (max-width: 1000px) { .h2 { font-size: min(var(--fs, 60px), 38px); } }
