:root {
  /* All section (h2) headings: 45px on laptop/desktop, scaling down on small phones */
  --h2-size: clamp(32px, 9vw, 45px);
  --ink: #111111;
  --brand: #2e2a6e;
  --accent: #5b4a9e;
  --line: #d9d6ea;
  --promo-h: 60px; /* height of the sticky Career Gala bar */
  --ticker-bg: #efeefb;
  --font-en: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-ml: "Gayathri", "Manjari", sans-serif;

  /* Hero glow colours, reused as soft background accents across the site */
  --glow-peach: 244, 214, 200;
  --glow-pink: 236, 196, 212;
  --glow-lilac: 196, 190, 240;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-en);
  color: var(--ink);
  background: #fff;
}

/* ---------- Hero shell ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* fills at least one screen; grows if the text needs more room */
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--promo-h));
  min-height: calc(100svh - var(--promo-h));
  /* blue (#C0DBED) from the top left blending into pink (#EDB5D3) at the bottom right; blue holds longer, about 60 / 40; softened to 60% strength over white */
  background: linear-gradient(to bottom right, rgba(192, 219, 237, .6) 0%, rgba(192, 219, 237, .6) 30%, rgba(237, 181, 211, .6) 100%), #fff;
}

.hero__header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 22px 6px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ----- Header menu ----- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--promo-h); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__list { display: flex; gap: clamp(18px, 2.6vw, 38px); list-style: none; }
.nav__list a {
  position: relative;
  font-size: 15px; color: var(--ink); text-decoration: none;
  padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__list a:hover { color: var(--accent); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__cta {
  font-size: 14px; color: #fff; text-decoration: none;
  background: var(--brand); padding: 11px 20px; border-radius: 999px;
  transition: background .2s ease;
}
.nav__cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 18px 20px 22px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(17, 17, 17, .08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 13px 0; font-size: 17px; border-bottom: 1px solid #f0eff5; }
  .nav__list a::after { display: none; }
  .nav__cta { text-align: center; padding: 14px 20px; font-size: 15px; }
}

.logo {
  display: inline-block;
  line-height: 0;
}
.logo img {
  display: block;
  height: 28px;
  width: auto;
}
@media (max-width: 560px) { .logo img { height: 26px; } }

/* ---------- Body ---------- */
.hero__body {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.hero__content { padding: clamp(16px, 4svh, 60px) 0; }

.hero__tag {
  display: inline-block; /* gradient spans the text only, not the full row */
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  margin-bottom: 26px;
  color: var(--accent); /* fallback if gradient text isn't supported */
  background: linear-gradient(90deg, #2e2a6e 0%, #5b4a9e 45%, #c4589a 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title {
  font-family: var(--font-ml);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 60px);  /* 60px on laptops/desktops */
  line-height: 0.967;                     /* 58px at 60px size; scales with the font */
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.hero__title span { color: var(--accent); }
/* Laptop/desktop: keep the three designed lines (the <br>s) instead of wrapping into four */
@media (min-width: 901px) { .hero__title { white-space: nowrap; } }

.hero__text {
  font-size: 18px;
  line-height: 1.4;
  max-width: 500px;
  margin-bottom: clamp(20px, 5svh, 46px);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.btn {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s ease;
}
.btn--outline {
  padding: 16px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.btn--outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.btn--link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Visual ----------
   Fixed-ratio stage (1119 x 982, measured from the design reference).
   Everything inside is placed in % / cqw so the layout scales as one piece. */
.hero__visual {
  position: relative;
  align-self: end;
  justify-self: end;
  /* as wide as the column allows (spilling into the empty right margin on wide screens),
     but never taller than the space between header and ticker */
  --bleed-right: max(-200px, min(0px, calc((1220px - 100vw) / 2 + 20px)));
  width: calc(min(calc(100% + 60px - var(--bleed-right)), (100svh - 80px - var(--promo-h)) * 1119 / 982) * 0.92);
  margin-left: -60px;
  margin-right: var(--bleed-right);
  aspect-ratio: 1119 / 982;
  container-type: inline-size;
}

/* Soft glow behind the lady: switched off for now, the hero background carries the colour */
.hero__glow {
  display: none;
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 60%;
  width: 130%;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%); /* glow centred slightly below the middle of the stage */
}

.hero__frame {
  position: absolute;
  z-index: 1;
  left: 22.3%;
  top: 7.4%;
  width: 61%;
  height: 88.8%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 3.6cqw;
}

.hero__person {
  position: absolute;
  z-index: 2;
  left: 17.85%; /* keeps her centred on the same line as before (51.85%) */
  bottom: 0;
  width: 68%;
  height: auto;
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  font-size: max(11px, 2.7cqw);
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(60, 40, 70, 0.06);
}

.chip--order {
  --gap: 2.3cqw;
  gap: var(--gap);
  left: 4%;
  top: 39.5%;
  padding: 1.8cqw 1.6cqw 1.8cqw 2cqw;
}
.chip__check {
  display: grid;
  place-items: center;
  width: 4.8cqw;
  height: 4.8cqw;
  min-width: 20px;
  min-height: 20px;
  background: var(--accent);
  border-radius: 50%;
}
.chip__check svg { width: 58%; height: 58%; }
/* red "unread" dot on the bell */
.chip__dot {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 26%;
  height: 26%;
  background: #e53935;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.chip--search {
  --gap: 1.6cqw;
  gap: var(--gap);
  left: 58%;
  top: 64.8%;
  padding: 1.6cqw 2.5cqw 1.6cqw 1.6cqw;
  min-height: 7.1cqw;
}
.chip--search > svg { width: 3.9cqw; height: 3.9cqw; min-width: 16px; min-height: 16px; }

.graph-card {
  position: absolute;
  z-index: 3;
  left: 70.2%;
  top: 14.6%;
  width: 24.4%;
  padding: 1.9cqw 1.9cqw 2.1cqw;
  background: #fff;
  border-radius: 1.25cqw;
  box-shadow: 0 6px 24px rgba(60, 40, 70, 0.06);
}
.graph-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1cqw;
}
.graph-card__title {
  font-size: max(10px, 2cqw);
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.graph-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .3cqw;
  padding: .5cqw 1.1cqw .5cqw .8cqw;
  background: #e5f6ea;
  color: #0fa83a;
  border-radius: 999px;
  font-size: max(9px, 2cqw);
  font-weight: 700;
}
.graph-card__badge svg { width: 1.9cqw; height: 1.9cqw; min-width: 9px; min-height: 9px; }
.graph-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5cqw;
  height: 17cqw;
  margin-top: 2cqw;
  padding-bottom: 1px;
  border-bottom: 1.5px solid var(--line);
}
.graph-card__bars i {
  flex: 1;
  height: var(--h);
  background: #d9d6ea;
  border-radius: .8cqw .8cqw 0 0;
  transform-origin: bottom;
}
.graph-card__bars i:last-child { background: linear-gradient(180deg, var(--accent), var(--brand)); }

/* ---------- Card interactions ----------
   Default styles show the finished state (no JS / reduced motion).
   script.js adds .js-anim to .hero__visual, then toggles .is-on per card. */

/* New lead: bell pops in and rings, red dot appears, ring ripples out */
.chip__check { position: relative; }
.chip__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
/* Bell circle is always shown; .is-on replays the pop, ring and ripple */
.chip--order.is-on .chip__check { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
.chip--order.is-on .chip__bell { animation: bell-ring .9s .25s ease-in-out; transform-origin: 50% 15%; }
.chip--order.is-on .chip__dot { animation: pop .4s .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.chip--order.is-on .chip__ring { animation: ripple 1s ease-out; }

/* Sales graph: transitions (not keyframes) so the bars always move from where they are.
   Off: bars ease down to short stubs (the card never looks empty) and the badge fades out.
   On:  bars glide up one after another, then the 2X badge pops in. */
.js-anim .graph-card__bars i {
  transform: scaleY(.12);
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}
.js-anim .graph-card__badge {
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s ease, transform .3s ease;
}
.js-anim .graph-card.is-on .graph-card__bars i {
  transform: scaleY(1);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}
.js-anim .graph-card.is-on .graph-card__bars i:nth-child(2) { transition-delay: .15s; }
.js-anim .graph-card.is-on .graph-card__bars i:nth-child(3) { transition-delay: .3s; }
.js-anim .graph-card.is-on .graph-card__bars i:nth-child(4) { transition-delay: .45s; }
.js-anim .graph-card.is-on .graph-card__badge {
  opacity: 1;
  transform: scale(1);
  transition: opacity .4s ease 1s, transform .5s cubic-bezier(.34, 1.56, .64, 1) 1s;
}

/* Gmail pill: types the mail subject, then the result, in the same pill */
.typing { display: inline-block; min-width: 1ch; }
.caret {
  display: none;
  width: 1.5px;
  height: 1.1em;
  margin-left: calc(var(--gap) * -1 + 2px);
  background: #1a73e8;
  animation: blink .8s steps(1) infinite;
}
.js-anim .caret { display: inline-block; }
.typing.is-url { animation: fade-in .35s ease; }
.js-anim .typing.is-url + .caret { display: none; } /* no cursor once the result shows */

/* "loading" dots (blue, red, yellow, green) */
.dots { display: none; gap: .25em; align-items: center; height: 1.2em; }
.dots i {
  width: .32em;
  height: .32em;
  border-radius: 50%;
  animation: dot 1s ease-in-out infinite;
}
.dots i:nth-child(1) { background: #4285f4; }
.dots i:nth-child(2) { background: #ea4335; animation-delay: .12s; }
.dots i:nth-child(3) { background: #fbbc05; animation-delay: .24s; }
.dots i:nth-child(4) { background: #34a853; animation-delay: .36s; }
.chip--search.is-searching .dots { display: inline-flex; }
.chip--search.is-searching .typing,
.chip--search.is-searching .caret { display: none; }

@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-6px); opacity: 1; }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
@keyframes ripple {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(18deg); }
  30% { transform: rotate(-16deg); }
  45% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  75% { transform: rotate(4deg); }
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 4;
  background: var(--ticker-bg);
  overflow: hidden;
  padding: 24px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 56s linear infinite;
}
.ticker__list {
  display: flex;
  list-style: none;
}
.ticker__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 38px;
  font-size: 22px;
  white-space: nowrap;
}
.ticker__icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: #7a73b8; }
.ticker__icon svg { width: 100%; height: 100%; display: block; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- "If This Is Your Business" chat section ---------- */
.familiar {
  position: relative;
  overflow: hidden;
  /* Exactly one screen tall: heading on top, stage fills the rest */
  height: calc(100vh - var(--promo-h));
  height: calc(100svh - var(--promo-h));
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 7svh, 80px) 24px 0;
  background:
    radial-gradient(ellipse 34% 48% at 56% 62%, rgba(236, 196, 212, .55) 0%, rgba(236, 196, 212, 0) 100%),
    radial-gradient(ellipse 30% 44% at 42% 52%, rgba(244, 214, 200, .55) 0%, rgba(244, 214, 200, 0) 100%),
    #fff;
  text-align: center;
}
.familiar__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: var(--h2-size);
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 4svh, 44px);
}

/* Takes all remaining height; the stage scales to fit inside it */
.familiar__fit {
  flex: 1;
  min-height: 0;
  container-type: size;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Stage proportions measured from the design (732 x 610).
   Width is limited by the space left, so the whole stage is always visible. */
.familiar__stage {
  --ratio: 732 / 610;
  position: relative;
  width: min(980px, 100cqw, 100cqh * 732 / 610);
  aspect-ratio: var(--ratio);
  text-align: left;
}
.familiar__frame {
  position: absolute;
  left: 24.7%;
  top: 0;
  width: 58.2%;
  height: 93.5%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
}
/* Tall cut-out: sized by height to fill the stage, centred on the frame */
.familiar__person {
  position: absolute;
  left: 53.8%;
  bottom: 0;
  height: 95%;
  width: auto;
  transform: translateX(-50%);
}

/* Chat thread: sits over the lower part of the stage, newest message at the bottom */
.chat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  list-style: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  transition: opacity .5s ease;
}

/* Pinned chat: the section sticks while the page scroll plays the chat,
   then the page carries on. script.js sets the wrapper height. */
.familiar-pin.is-pinned .familiar { position: sticky; top: var(--promo-h); }
@media (max-width: 560px) {
  /* Pinned on phones: one full screen, heading at the top and the photo's bottom
     resting on the bottom edge of the screen for the whole chat */
  .familiar-pin.is-pinned .familiar { height: calc(100vh - var(--promo-h)); height: calc(100svh - var(--promo-h)); justify-content: flex-start; padding-top: 32px; }
  .familiar-pin.is-pinned .familiar__fit { flex: 1; height: auto; min-height: 520px; margin-top: 8px; } /* stage fills the rest of the screen */
}
.msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 48%; /* wide enough to keep messages short, still leaving a gap between the two sides */
  flex: none;
}
.msg--user { align-self: flex-end; }
.msg--cda  { align-self: flex-start; }

.msg p,
.msg__dots {
  font-family: var(--font-ml);
  font-size: 18px;
  line-height: 1.5;
  padding: 13px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(60, 40, 70, 0.06);
}
.msg--user p,
.msg--user .msg__dots { background: #fff; font-weight: 500; }
.msg--cda p,
.msg--cda .msg__dots  { background: #dce8fb; font-weight: 400; }

.msg__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.msg__avatar--cda { background: #2e2a6e; }
.msg__avatar--cda img { width: 30px; height: auto; filter: brightness(0) invert(1); }
.msg__avatar--user {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b9b9b9'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-6 8-6s8 2 8 6z'/%3E%3C/svg%3E") no-repeat center / 26px;
  box-shadow: 0 4px 14px rgba(60, 40, 70, 0.06);
}

/* Typing indicator (three dots) shown inside the bubble before the text */
.msg__dots { display: none; gap: 5px; align-items: center; height: 46px; }
.msg__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9a9a9a;
  animation: dot 1s ease-in-out infinite;
}
.msg__dots i:nth-child(2) { animation-delay: .15s; }
.msg__dots i:nth-child(3) { animation-delay: .3s; }

/* End of the chat: the counsellor CTA, a button centred at the bottom */
.msg__cta {
  display: inline-flex; /* arrow sits centred against the text, on one line or two */
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.4;
  padding: 14px 22px;
  border-radius: 999px;
  background: #2e2a6e;
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 22px rgba(46, 42, 110, 0.25);
  transition: transform .2s ease, background .2s ease;
}
.msg__cta svg { width: 20px; height: 20px; flex: none; }
.msg__cta:hover { background: #3d3790; transform: translateY(-2px); }
.msg.msg--cta { align-self: center; max-width: 100%; margin-top: 6px; }

/* The same button, stuck to the bottom of the screen after the chat section.
   script.js sets --lift while it travels there, so it moves with the scroll (no fade or jump). */
.msg__cta.sticky-cta {
  position: fixed; left: 50%; z-index: 60;
  bottom: max(var(--lift, 0px), calc(16px + env(safe-area-inset-bottom, 0px)));
  width: max-content; max-width: calc(100% - 32px);
  visibility: hidden; transform: translateX(-50%);
  transition: transform .2s ease, background .2s ease;
}
.msg__cta.sticky-cta.is-visible { visibility: visible; }
.msg__cta.sticky-cta:hover { transform: translate(-50%, -2px); }
.familiar-pin.cta-stuck .msg__cta { visibility: hidden; }

/* JS-driven states. Without .js-chat every message is visible. */
/* Every message stays in the layout; the stack slides by --shift so the newest shown
   message sits at the bottom. Smooth in both scroll directions (no display toggling). */
.js-chat .msg {
  will-change: transform, opacity; /* the browser animates these on its own layer, so scrolling doesn't repaint */
  opacity: 0;
  transform: translateY(calc(var(--shift, 0px) + 18px));
  transition: transform .55s cubic-bezier(.22, .7, .2, 1), opacity .35s ease;
  will-change: transform, opacity;
}
.js-chat .msg.is-shown { opacity: 1; transform: translateY(var(--shift, 0px)); }
.js-chat .msg.is-typing p,
.js-chat .msg.is-typing .msg__cta { display: none; }
.js-chat .msg.is-typing .msg__dots { display: inline-flex; }
.js-chat .msg.is-shown:not(.is-typing) p,
.js-chat .msg.is-shown:not(.is-typing) .msg__cta { animation: fade-in .3s ease; }

/* Phones: nothing changes size while "typing", so the thread glides instead of jumping.
   The dots sit over the space the text then fades into. */
@media (max-width: 560px) {
  .js-chat .msg { position: relative; transition: transform .95s cubic-bezier(.25, .8, .25, 1), opacity .6s ease; }
  .js-chat .msg p { transition: opacity .45s ease; }
  .js-chat .msg.is-typing p { display: block; opacity: 0; }
  .js-chat .msg.is-shown:not(.is-typing) p { animation: none; }
  .js-chat .msg .msg__dots {
    display: inline-flex; position: absolute; top: 0;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .js-chat .msg--cda .msg__dots { left: 40px; }
  .js-chat .msg--user .msg__dots { right: 40px; }
  .js-chat .msg.is-typing .msg__dots { opacity: 1; visibility: visible; transition: opacity .2s ease; }
}

@keyframes msg-in {
  from { opacity: 0; max-height: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; max-height: 200px; transform: none; }
}


/* ---------- Hero: business owner content ---------- */
.hero__title { font-size: clamp(32px, min(4.2vw, 7.8svh), 64px); line-height: 1.12; margin-bottom: 24px; }
.hero__text { max-width: 520px; margin-bottom: 34px; }

/* ===== shared section bits ===== */
.section__actions { display: flex; justify-content: center; margin-top: clamp(36px, 6svh, 64px); }

/* ===== Tools ===== */
.tools { color: var(--ink); background: #fafafa; }
.tools__inner { max-width: 1480px; margin: 0 auto; padding: clamp(56px, 10svh, 110px) clamp(20px, 6vw, 112px); }

/* ===== CTA band ===== */
.band {
  color: #fff; text-align: center;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(138, 131, 201, .45) 0%, rgba(138, 131, 201, 0) 60%),
    var(--brand);
}
.band__inner { max-width: 900px; margin: 0 auto; padding: clamp(56px, 10svh, 100px) 20px; }
.band__title { font-weight: 400; font-size: var(--h2-size); line-height: 1.12; letter-spacing: -.02em; }
.band__text { margin: 18px auto 32px; max-width: 560px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: rgba(255,255,255,.82); }
.band__btn { display: inline-flex; gap: 10px; padding: 16px 28px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 500; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__header, .hero__body { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; } /* stacked layout: let it grow */
  .hero__body { grid-template-columns: 1fr; }
  .hero__content { padding: 40px 0 10px; }
  .hero__visual { width: 100%; max-width: 620px; margin: 0 auto; }
}

@media (max-width: 560px) {
  :root { --h2-size: clamp(26px, 7.4vw, 34px); } /* smaller section headings on phones */
  /* Compact hero: tighter spacing and a slightly smaller photo */
  .hero__header, .hero__body { padding-left: 16px; padding-right: 16px; }
  .hero__header { padding-top: 14px; padding-bottom: 12px; }
  .hero__content { padding: 20px 0 32px; } /* more room between the buttons and the photo */
  .hero__tag { font-size: 17px; margin-bottom: 20px; }
  .hero__text { margin-bottom: 28px; }
  .hero__visual { width: 100%; }
  /* Taller hero: fills the phone screen, text at the top and the photo at the bottom */
  .hero { min-height: calc(100vh - var(--promo-h)); min-height: calc(100svh - var(--promo-h)); }
  /* Phones: the glow is drawn in CSS instead of the image. Each ellipse eases to fully
     transparent, so the colour blends into the white with no visible cut. */
  .hero__glow { display: none; }
  /* Phones: the same two colours, blending the other way: blue at the top right, pink at the bottom left */
  .hero { background: linear-gradient(to bottom left, rgba(192, 219, 237, .6) 0%, rgba(192, 219, 237, .6) 30%, rgba(237, 181, 211, .6) 100%), #fff; }
  .hero__body { align-content: space-between; }
  /* Two lines on phones: size the title so its longest line (about 11.2em)
     fits the screen minus the 16px side padding */
  .hero__title { font-size: clamp(24px, 9.6vw, 44px); line-height: 1.12; margin-bottom: 14px; } /* larger on phones; the title wraps onto more lines */
  /* Hero buttons on one row: tighter gap and button padding */
  .hero__actions { flex-wrap: nowrap; gap: 14px; }
  .hero__actions .btn--outline { padding: 12px 14px; font-size: 14px; white-space: nowrap; }
  .hero__actions .btn--link { white-space: nowrap; }
  .hero__text { font-size: 16px; }
  .ticker__list li { font-size: 17px; padding: 0 22px; }

  .familiar { padding: 40px 16px 0; height: auto; min-height: 0; }
  /* Phones: fixed-height stage so the photo stays small with no empty gap */
  .familiar__fit { flex: none; height: 520px; }
  .familiar__stage { width: 100cqw; height: 100cqh; aspect-ratio: auto; }
  .familiar__frame { left: 8%; width: 84%; top: auto; bottom: 4%; height: 88%; }
  .familiar__person { left: 50%; width: auto; height: 85%; transform: translateX(-50%); }
  .chat { height: 53%; bottom: 3%; gap: 10px; }
  .msg { max-width: 74%; gap: 8px; } /* same as the other pages */
  .msg p, .msg__dots { font-size: 15px; padding: 10px 13px; }
  .msg__dots { height: 38px; }
  .msg__avatar { width: 32px; height: 32px; }
  .msg__avatar--cda img { width: 22px; }
  .msg__avatar--user { background-size: 19px; }
  .msg__cta { font-size: 15px; padding: 11px 15px; }
  .msg__cta svg { width: 18px; height: 18px; }
}

/* ===== Where Your Business Can Grow ===== */
.earn {
  color: var(--ink);
  background:
    radial-gradient(ellipse 38% 55% at 100% 0%, rgba(var(--glow-pink), .55) 0%, rgba(var(--glow-pink), 0) 100%),
    #fafafa;
}
.earn__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(48px, 9svh, 110px) clamp(20px, 6vw, 112px) clamp(48px, 8svh, 90px);
}
/* Laptop/desktop: fill exactly one screen, content centred vertically */
@media (min-width: 901px) {
  .earn { min-height: 100vh; min-height: 100svh; display: flex; }
  .earn__inner { width: 100%; display: flex; flex-direction: column; justify-content: center; }
}
.earn__title {
  margin: 0 0 clamp(10px, 1.4vw, 18px);
  font-family: "Inter Tight", sans-serif; font-weight: 400;
  font-size: var(--h2-size); line-height: 1.08; letter-spacing: -.02em;
}
.earn__text {
  max-width: 720px; margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(17px, 1.5vw, 24px); line-height: 1.45; letter-spacing: -.01em;
}
.earn__list {
  list-style: none; margin: calc(clamp(64px, 13svh, 150px) + 16px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.earn__item {
  padding: 0 clamp(14px, 2.2vw, 36px);
  border-left: 1px solid #e2e2e6;
}
.earn__item:first-child { border-left: 0; padding-left: clamp(0px, 1vw, 20px); }
.earn__icon { display: block; width: clamp(36px, 3vw, 44px); height: auto; aspect-ratio: 1; object-fit: contain; margin-bottom: clamp(32px, 7svh, 96px); }
.earn__name {
  margin: 0 0 14px;
  font-family: "Inter Tight", sans-serif; font-weight: 500;
  font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.01em;
}
.earn__desc {
  margin: 0; max-width: 280px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(17px, 1.5vw, 23px); line-height: 1.45; color: #7a7a80;
}
.earn__actions { display: flex; justify-content: center; margin-top: clamp(40px, 8svh, 100px); }

@media (max-width: 900px) {
  .earn__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .earn__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .earn__icon { margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .earn__list { grid-template-columns: 1fr; row-gap: 0; margin-top: 68px; }
  .earn__actions { margin-top: 32px; }
  .earn__item { border-left: 0; padding: 24px 0; border-top: 1px solid #e6e6ea;
    display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; align-items: start; }
  .earn__item:first-child { border-top: 0; padding-left: 0; }
  .earn__icon { grid-row: span 2; width: 38px; margin: 0; }
  .earn__name { font-size: 20px; margin-bottom: 6px; }
  .earn__desc { font-size: 16px; }
}

/* ===== Courses: photo cards ===== */
.courses {
  color: var(--ink);
  background:
    radial-gradient(ellipse 36% 28% at 100% 55%, rgba(var(--glow-pink), .5) 0%, rgba(var(--glow-pink), 0) 100%),
    #fff;
}
.courses__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(56px, 10svh, 100px) clamp(20px, 6vw, 112px);
}
.courses__grid {
  list-style: none; margin: clamp(40px, 7svh, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.3vw, 20px);
}
.course {
  display: flex; flex-direction: column;
  background: #f6f6f6; border-radius: 28px; /* grey card on the white section */
  padding: 12px 12px 20px;
}
.course__media {
  position: relative; overflow: hidden;
  aspect-ratio: 366 / 262; border-radius: 18px;
  color: #fff;
}
.course__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.course:hover .course__media img { transform: scale(1.05); }
.course__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%), linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)); /* slight black overlay so the text reads clearly */
}
.course__badge {
  position: absolute; z-index: 1; top: 10px; left: 8px;
  padding: 2px 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 999px;
  font: 400 13px/1.3 "Inter Tight", sans-serif;
}
.course__head { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; }
.course__title {
  margin: 0 0 10px;
  font: 300 clamp(24px, 2.1vw, 30px)/1.05 "Inter Tight", sans-serif;
}
.course__place { margin: 0; font: 400 14px/1.3 "Inter Tight", sans-serif; }
.course__desc {
  margin: 22px 0 28px; padding: 0;
  font: 400 15px/1.3 "Inter Tight", sans-serif; letter-spacing: -.005em;
}
.course__btn {
  margin-top: auto; align-self: flex-start;
  padding: 10px 22px; border: 1px solid rgba(17, 17, 17, .5); /* slimmer and lighter than the other outline buttons */
}
.course__btn:hover { border-color: var(--brand); }

@media (max-width: 1000px) { .courses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .courses__grid { grid-template-columns: 1fr; }
  .course { border-radius: 22px; }
}

/* ===== How We Support You + 4-step path ===== */
.support {
  color: var(--ink);
  background:
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(var(--glow-lilac), .45) 0%, rgba(var(--glow-lilac), 0) 100%),
    radial-gradient(ellipse 38% 40% at 0% 100%, rgba(var(--glow-peach), .55) 0%, rgba(var(--glow-peach), 0) 100%),
    #fff;
}
.support__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(56px, 10svh, 110px) clamp(20px, 6vw, 112px);
}
.support__intro { max-width: 760px; }
.support__grid {
  list-style: none; margin: clamp(40px, 7svh, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.3vw, 20px);
}
.support__item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 220px;
  padding: clamp(22px, 2vw, 30px);
  background: #f6f6f6; border-radius: 28px;
}
.support__icon { width: 48px; height: 48px; flex: none; }
.support__item p {
  font-size: clamp(18px, 1.45vw, 22px); line-height: 1.35; letter-spacing: -.01em;
}
.support__note { display: block; margin-top: 6px; font-size: 14px; color: #7a7a80; letter-spacing: 0; }

/* path */
.path { margin-top: clamp(64px, 11svh, 120px); }
.path__title {
  font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.01em;
  margin-bottom: clamp(32px, 5svh, 56px);
}
.path__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
/* the track line behind the numbers; fills in when the section scrolls into view */
.path__steps::before, .path__steps::after {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px;
  height: 2px; border-radius: 2px;
}
.path__steps::before { background: var(--line); }
.path__steps::after {
  background: linear-gradient(90deg, var(--brand), #8a83c9);
  transform-origin: left; transform: scaleX(1);
}
.path__step { position: relative; z-index: 1; padding-right: clamp(16px, 3vw, 48px); }
.path__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 0 0 8px #fff;
  margin-bottom: 26px;
}
.path__step p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; max-width: 260px; }
.path__actions { display: flex; justify-content: center; margin-top: clamp(48px, 8svh, 80px); }
/* Row layout: 01 sits at the left edge, 04 at the right edge, with the numbers evenly spaced.
   The 1-2-2-1 columns put the centred middle numbers exactly at one third and two thirds. */
@media (min-width: 761px) {
  .path__steps { grid-template-columns: 1fr 2fr 2fr 1fr; }
  .path__step:first-child { padding-right: 12px; }
  .path__step:nth-child(2), .path__step:nth-child(3) { padding: 0 12px; text-align: center; }
  .path__step:nth-child(2) > *, .path__step:nth-child(3) > * { margin-left: auto; margin-right: auto; }
  .path__step:last-child { padding: 0 0 0 12px; text-align: right; }
  .path__step:last-child > * { margin-left: auto; }
}

/* Step-by-step fill (only when JS adds .js-path; script.js drives --p and .is-on).
   The line grows left to right to each circle, and each circle fills left to right as the line reaches it. */
.js-path .path__steps::after {
  transform: scaleX(var(--p, 0));
  transition: transform .9s cubic-bezier(.45, 0, .25, 1);
}
.js-path.is-reset .path__steps::after,
.js-path.is-reset .path__num,
.js-path.is-reset .path__step p { transition: none; }
.js-path .path__num {
  background: linear-gradient(var(--brand), var(--brand)) left center / 0% 100% no-repeat, #fff;
  color: var(--brand);
  box-shadow: 0 0 0 8px #fff, inset 0 0 0 2px var(--line);
  transition: background-size .5s cubic-bezier(.45, 0, .25, 1), color .25s ease .2s, box-shadow .3s ease;
}
.js-path .path__step.is-on .path__num {
  background-size: 100% 100%;
  color: #fff;
  box-shadow: 0 0 0 8px #fff, inset 0 0 0 2px transparent;
}
.js-path .path__step p { color: #a3a3ab; transition: color .4s ease .15s; }
.js-path .path__step.is-on p { color: var(--ink); }

@media (max-width: 1000px) {
  .support__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  /* steps become a vertical timeline */
  .path__steps { grid-template-columns: 1fr; gap: 26px; }
  .path__steps::before, .path__steps::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .path__steps::after { background: linear-gradient(180deg, var(--brand), #8a83c9); transform-origin: top; }
  .js-path .path__steps::after { transform: scaleY(var(--p, 0)); }
  .path__step { display: flex; align-items: center; gap: 20px; padding: 0; }
  .path__num { margin: 0; flex: none; }
  .path__step p { max-width: none; }
}
@media (max-width: 560px) {
  .support__grid { grid-template-columns: 1fr; gap: 12px; }
  .support__item { min-height: 0; flex-direction: row; justify-content: flex-start; align-items: center; gap: 18px; border-radius: 22px; padding: 20px; }
  .support__icon { width: 40px; height: 40px; }
  .support__item p { font-size: 17px; }
  /* Why CDA: icon sits above each heading on phones */
  #why .support__item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .path__num { width: 48px; height: 48px; font-size: 15px; }
  .path__steps::before, .path__steps::after { left: 23px; top: 24px; bottom: 24px; }
  .path__step p { font-size: 17px; }
  .path__actions .btn { text-align: center; }
}

/* ===== FAQ accordion ===== */
.faq {
  color: var(--ink);
  background:
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(var(--glow-peach), .6) 0%, rgba(var(--glow-peach), 0) 100%),
    radial-gradient(ellipse 36% 46% at 100% 100%, rgba(var(--glow-pink), .55) 0%, rgba(var(--glow-pink), 0) 100%),
    #f8f8f8;
}
.faq__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(56px, 10svh, 110px) clamp(20px, 6vw, 112px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 110px); align-items: start;
}
.faq__intro { position: sticky; top: 40px; }
.faq__cta { display: inline-block; margin-top: clamp(28px, 4svh, 44px); }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff; border-radius: 22px;
  transition: box-shadow .25s ease;
}
.faq__item[open] { box-shadow: 0 10px 30px rgba(46, 42, 110, .08); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px 22px 28px;
  font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { color: var(--accent); }
.faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 22px; }
/* plus that turns into a minus */
.faq__icon {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ticker-bg);
  transition: background .25s ease, transform .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; border-radius: 2px; background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--brand); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 28px 24px; }
.faq__a p {
  max-width: 640px;
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: #55555c;
}
.faq__item[open] .faq__a { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}
@media (max-width: 560px) {
  .faq__item { border-radius: 18px; }
  .faq__q { padding: 18px 16px 18px 20px; font-size: 16px; }
  .faq__icon { width: 30px; height: 30px; }
  .faq__icon::before, .faq__icon::after { width: 12px; }
  .faq__a { padding: 0 20px 20px; }
  .faq__a p { font-size: 15px; }
}

/* ===== Testimonials ===== */
.stories {
  color: var(--ink);
  background:
    radial-gradient(ellipse 34% 45% at 0% 30%, rgba(var(--glow-pink), .5) 0%, rgba(var(--glow-pink), 0) 100%),
    radial-gradient(ellipse 30% 40% at 100% 100%, rgba(var(--glow-peach), .5) 0%, rgba(var(--glow-peach), 0) 100%),
    #fff;
}
.stories__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(56px, 10svh, 110px) clamp(20px, 6vw, 112px);
}
.stories__inner > .earn__text { max-width: 640px; }
.stories__grid {
  margin-top: clamp(40px, 7svh, 72px);
  /* first column is as wide as the featured video card */
  display: grid; grid-template-columns: clamp(320px, 30vw, 420px) minmax(0, 1fr);
  gap: clamp(14px, 1.3vw, 20px);
}

/* featured video card */
.story-video {
  position: relative; overflow: hidden;
  /* same proportions as the video (352 x 624), so it fits with no bars or cropping */
  width: 100%; aspect-ratio: 352 / 624; align-self: start;
  border-radius: 28px; color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(138, 131, 201, .55) 0%, rgba(138, 131, 201, 0) 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(240, 160, 170, .35) 0%, rgba(240, 160, 170, 0) 60%),
    var(--brand);
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.story-video.has-poster::after {    /* darken the bottom of the thumbnail so text stays readable */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(20,16,50,.9) 78%);
}
.story-video__play {
  position: absolute; inset: 0; z-index: 1;
  border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.story-video__btn {
  position: relative;
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: #fff; color: var(--brand);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .25s ease;
  margin-top: 16%; /* sits just below the face in the thumbnail */
}
.story-video__btn svg { width: 30px; height: 30px; margin-left: 4px; }
.story-video__btn::before {        /* soft pulsing ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  animation: play-pulse 2s ease-out infinite;
}
@keyframes play-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.story-video__play:hover .story-video__btn { transform: scale(1.08); }
.story-video__play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 28px; }
.story-video__body {
  position: relative; z-index: 2; pointer-events: none;
  padding: clamp(24px, 2.6vw, 40px);
}
.story-video__tag {
  display: inline-block; padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.85); border-radius: 999px;
  font-size: 13px;
}
.story-video__name {
  margin: 14px 0 10px;
  font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.02em;
}
.story-video__text { max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; opacity: .92; }
.story-video video {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; object-fit: contain; background: #000;
}
.story-video.is-playing { background: #000; }
.story-video.is-playing .story-video__play,
.story-video.is-playing .story-video__body,
.story-video.is-playing::after { display: none; }

/* quote cards */
.stories__quotes { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(14px, 1.3vw, 20px); }
.quote {
  margin: 0; display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 36px);
  background: #f6f6f6; border-radius: 28px;
}
.quote__mark { width: 40px; height: 30px; }
.quote__text {
  margin: 22px 0 28px;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -.01em;
}
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--ticker-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238a83c9' d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4.4 0-8 2.2-8 5v1h16v-1c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.quote__who strong { display: block; font-weight: 500; font-size: 16px; }
.quote__who small { display: block; margin-top: 2px; font-size: 14px; color: #7a7a80; }
.is-placeholder { color: #9a9aa2; }

@media (max-width: 900px) {
  .stories__grid { grid-template-columns: 1fr; }
  .stories__quotes { grid-template-rows: none; }
  .story-video { max-width: 420px; justify-self: center; }
}
@media (max-width: 560px) {
  .story-video { border-radius: 22px; }
  .story-video__btn { width: 68px; height: 68px; }
  .story-video__btn svg { width: 24px; height: 24px; }
  .quote { border-radius: 22px; }
}

/* ===== Footer ===== */
.footer {
  color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(138, 131, 201, .35) 0%, rgba(138, 131, 201, 0) 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(240, 160, 170, .14) 0%, rgba(240, 160, 170, 0) 60%),
    #1f1c4d;
}
.footer__inner {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(56px, 9svh, 96px) clamp(20px, 6vw, 112px) 28px;
}
.footer a { color: inherit; text-decoration: none; }

.footer__cta {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  column-gap: 40px; row-gap: 14px;
  padding-bottom: clamp(40px, 7svh, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__cta-title {
  grid-column: 1;
  font-weight: 400; font-size: var(--h2-size); line-height: 1.08; letter-spacing: -.02em;
}
.footer__cta-text { grid-column: 1; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255,255,255,.75); }
.footer__btn {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: #fff; color: var(--brand) !important; font-size: 16px; font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(40px, 7svh, 72px) 0;
}
.footer__logo img { display: block; width: 92px; height: auto; filter: brightness(0) invert(1); }
.footer__tag { margin-top: 18px; max-width: 320px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.7); }
.footer__social { display: flex; gap: 10px; list-style: none; margin-top: 24px; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .2s ease, border-color .2s ease;
}
.footer__social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.footer__social svg { width: 18px; height: 18px; }

.footer__col h3 {
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 15px; color: rgba(255,255,255,.85); transition: color .2s ease; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact li { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.85); }
.footer__contact strong { display: block; font-weight: 500; color: #fff; }
.footer .is-placeholder { color: rgba(255,255,255,.45); }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: rgba(255,255,255,.55);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #fff; }

@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer__cta { grid-template-columns: 1fr; }
  .footer__btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

/* ===== Counsellor popup form ===== */
.lead {
  border: 0; padding: 0; background: transparent;
  width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100svh - 32px);
  margin: auto; overflow: visible; color: var(--ink);
}
.lead::backdrop { background: rgba(20, 17, 52, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lead[open] { animation: lead-in .4s cubic-bezier(.22, .7, .2, 1); }
.lead[open]::backdrop { animation: fade-in .3s ease; }
@keyframes lead-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.lead__card {
  position: relative; overflow: auto; max-height: calc(100svh - 32px);
  padding: clamp(26px, 4vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(236, 196, 212, .45) 0%, rgba(236, 196, 212, 0) 60%),
    radial-gradient(70% 50% at 0% 0%, rgba(244, 214, 200, .45) 0%, rgba(244, 214, 200, 0) 60%),
    #fff;
  box-shadow: 0 30px 80px rgba(20, 17, 52, .3);
}
.lead__close {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: rgba(46, 42, 110, .08); color: var(--brand);
  cursor: pointer; transition: background .2s ease;
}
.lead__close:hover { background: rgba(46, 42, 110, .16); }
.lead__close svg { width: 18px; height: 18px; }

.lead__tag {
  display: inline-block; font-size: 14px; font-weight: 500; margin-bottom: 8px;
  color: var(--accent);
  background: linear-gradient(90deg, #2e2a6e 0%, #5b4a9e 45%, #c4589a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead__title { font-weight: 400; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.lead__text { margin: 10px 0 22px; font-size: 15px; line-height: 1.5; color: #55555c; max-width: 360px; }

.lead__field { display: block; margin-bottom: 14px; }
.lead__field > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.lead__field input, .lead__field select {
  width: 100%; height: 48px; padding: 0 14px;
  font: 400 15px/1 var(--font-en); color: var(--ink);
  background: #fff; border: 1.5px solid #e2e1ec; border-radius: 14px;
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.lead__field select {
  padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232e2a6e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.lead__field select:invalid { color: #9a9aa2; }
.lead__field input:focus, .lead__field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 74, 158, .14); }
.lead__phone { display: flex; }
.lead__code {
  display: grid; place-items: center; padding: 0 12px;
  font-size: 15px; color: #55555c; background: #f6f5fb;
  border: 1.5px solid #e2e1ec; border-right: 0; border-radius: 14px 0 0 14px;
}
.lead__phone input { border-radius: 0 14px 14px 0; }
.lead__row { display: grid; grid-template-columns: 1fr; gap: 0; } /* full-width rows: long course names fit */
.lead__error { display: none; margin-top: 5px; font-size: 12.5px; color: #d0384b; }
.lead__field.is-invalid .lead__error { display: block; }
.lead__field.is-invalid input, .lead__field.is-invalid select { border-color: #d0384b; }

.lead__submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; margin-top: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff; font: 500 16px/1 var(--font-en);
  transition: background .2s ease, transform .2s ease;
}
.lead__submit:hover { background: var(--accent); }
.lead__submit:active { transform: scale(.98); }
.lead__note { margin-top: 12px; font-size: 12px; line-height: 1.45; color: #8a8a92; text-align: center; }

.lead__done { text-align: center; padding: 12px 0 4px; }
.lead__done .lead__text { margin-left: auto; margin-right: auto; }
.lead__done-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: #22a447; animation: pop .45s cubic-bezier(.34, 1.56, .64, 1);
}
.lead__done-icon svg { width: 30px; height: 30px; }

@media (max-width: 560px) {
  .lead__card { border-radius: 22px; }
  .lead__row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lead[open], .lead[open]::backdrop, .lead__done-icon { animation: none; }
}
.lead__whatsapp { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.lead__whatsapp:hover { color: var(--accent); }
.lead__card { max-height: calc(100svh - 32px); overflow-y: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-video__btn::before { animation: none; }
  .ticker__track { animation: none; }
}

/* Why CDA cards have a heading above the text */
.support__name { margin-bottom: 8px; font-weight: 500; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.3; letter-spacing: -.01em; }
.support__item div p { font-size: 16px; line-height: 1.5; color: #55555c; }
.courses__campuses { margin-top: 32px; text-align: center; font-size: 17px; }
.courses__campuses + .section__actions { margin-top: 24px; }
.course__badge { right: 8px; width: fit-content; max-width: calc(100% - 16px); border-radius: 12px; }
.course__badge .is-placeholder { color: inherit; }
.story-video__meta { margin-bottom: 10px; font-size: 14px; opacity: .8; }
.story-video__play:disabled { cursor: default; }
.story-video__play:disabled .story-video__btn { transform: none; }
.story-video__play:disabled .story-video__btn::before { animation: none; opacity: 0; }

@media (max-width: 560px) {
  .hero__header { gap: 10px; }
  .support__item { align-items: flex-start; }
  .support__item div p { font-size: 15px; }
}

/* Phones: a wider sales card, so the 2X badge stays inside it */
@media (max-width: 560px) {
  .graph-card { left: auto; right: 1%; width: 31%; }
}

/* Fade the glow image out at its edges, so no hard line shows behind the hero */
.hero__glow {
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 68%, transparent 100%);
}

/* Very narrow phones */
@media (max-width: 360px) {
  .graph-card { width: 36%; right: 0; }
}

/* ===== Section labels and added content ===== */
.eyebrow {
  margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.familiar .eyebrow { margin-bottom: 10px; }
.familiar .familiar__title { margin-bottom: 10px; }
.familiar__intro { margin-bottom: clamp(12px, 2.4svh, 28px); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.45; color: #55555c; }

.why__lead { margin-bottom: 12px; font-weight: 500; font-size: clamp(21px, 2vw, 30px); line-height: 1.25; letter-spacing: -.01em; }
.why__text { font-family: var(--font-ml); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }
@media (min-width: 761px) { #why .support__grid { grid-template-columns: repeat(3, 1fr); } }

.course__cat { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tools__more { margin-top: 8px; color: #55555c; font-size: clamp(16px, 1.25vw, 19px); }

/* Tools: a slow, endless row of brand icons */
.tools { overflow: hidden; }
.tools__inner { padding-bottom: 0; }
.tools__marquee {
  max-width: 1480px; margin: 0 auto;
  padding: clamp(40px, 7svh, 72px) 0 clamp(56px, 10svh, 110px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tools__track { display: flex; width: max-content; }
.tools__list { display: flex; gap: clamp(14px, 1.4vw, 22px); padding-right: clamp(14px, 1.4vw, 22px); list-style: none; }
.tools__marquee.is-moving .tools__track { animation: tools-scroll var(--tools-time, 40s) linear infinite; }
@keyframes tools-scroll { to { transform: translateX(-50%); } }
/* Still fallback: centred and wrapping */
.tools__marquee:not(.is-moving) { -webkit-mask-image: none; mask-image: none; padding-left: clamp(20px, 6vw, 112px); padding-right: clamp(20px, 6vw, 112px); }
.tools__marquee:not(.is-moving) .tools__track { width: auto; }
.tools__marquee:not(.is-moving) .tools__list { flex-wrap: wrap; justify-content: center; padding-right: 0; }

.tool-chip {
  flex: none; display: flex; align-items: center; gap: 14px;
  padding: 12px 26px 12px 12px;
  background: #fff; border: 1px solid #ecebf3; border-radius: 999px;
  box-shadow: 0 6px 22px rgba(31, 28, 77, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tool-chip:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 28, 77, .12); }
.tool-chip__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--tool-bg, var(--ticker-bg)); }
.tool-chip__icon svg, .tool-chip__icon img { width: 32px; height: 32px; display: block; object-fit: contain; }
.tool-chip__name { white-space: nowrap; font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.01em; color: var(--ink); }
@media (max-width: 560px) {
  .tool-chip { gap: 10px; padding: 8px 18px 8px 8px; }
  .tool-chip__icon { width: 46px; height: 46px; }
  .tool-chip__icon svg, .tool-chip__icon img { width: 25px; height: 25px; }
  .tool-chip__name { font-size: 15px; }
}

.story-video__name { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; }
.story-video__text { font-size: 15px; }
.story-video__btn { margin-top: 0; margin-bottom: 38%; }
.quote__who { display: block; font-size: 15px; color: #7a7a80; }


@media (max-width: 560px) {
  .eyebrow { font-size: 11.5px; margin-bottom: 10px; }
  .familiar__intro { padding: 0 6px; font-size: 14px; }
}

/* ===== Career Gala registration bar (sticky, above the header) ===== */
.promo {
  position: sticky; top: 0; z-index: 70;
  height: var(--promo-h);
  color: #fff; background: var(--brand);
}
.promo__inner {
  height: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 36px);
}
.promo__logo { flex: none; display: block; width: auto; height: 42px; }
.promo__text { font-size: 16px; line-height: 1.35; letter-spacing: .01em; }
.promo__btn {
  flex: none; padding: 8px 24px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px;
  font-size: 15px; font-weight: 500; color: #fff; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.promo__btn:hover { background: #fff; color: var(--brand); }
@media (max-width: 700px) {
  :root { --promo-h: 56px; }
  .promo__inner { justify-content: space-between; gap: 10px; padding: 0 16px; }
  .promo__logo { height: 36px; }
  .promo__text { font-size: 12.5px; line-height: 1.3; }
  .promo__btn { padding: 7px 14px; font-size: 13px; }
}

/* Chat section: a single outline ring behind the man, no fill */
.familiar__frame { background: none; box-shadow: none; }

/* Hero: a square behind the man, no fill. Eight squares in all: the outer one and seven more, each the same
   gap (--step) inside the last, closing in on the centre. The lines get thicker towards the centre and thinner
   going outwards; the corner radius shrinks in proportion. */
.hero__frame {
  --step: 4.7cqw;
  --r: 14cqw;
  left: 16.8%; width: 72%; top: auto; bottom: 3.8%; height: auto; aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, .4); /* outermost ring: the faintest */
  border-radius: var(--r);
  background: none;
  box-shadow: 0 0 0 1px rgba(124, 108, 200, .05), inset 0 0 0 1px rgba(124, 108, 200, .03);
}
.hero__frame i {
  position: absolute; display: block; pointer-events: none;
  inset: calc(var(--n) * var(--step));
  border: calc(1.5px + var(--n) * .4px) solid rgba(255, 255, 255, .95);
  border-radius: calc(var(--r) * (8 - var(--n)) / 8);
  box-shadow: 0 0 0 1px rgba(124, 108, 200, .08), inset 0 0 0 1px rgba(124, 108, 200, .05);
  opacity: calc(.4 + var(--n) * .08); /* stronger towards the centre, fading as the rings go outwards */
}

.hero__content { position: relative; z-index: 4; } /* text and buttons stay above the rings */


/* ===== Synced from the homemakers page: Career Gala bar, chat-section rings, smooth strips ===== */
/* ===== Career Gala registration bar (sticky, above the header) ===== */
.promo {
  position: sticky; top: 0; z-index: 70;
  height: var(--promo-h);
  color: #fff; background: var(--brand);
}
.promo__inner {
  height: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 36px);
}
.promo__logo { flex: none; display: block; width: auto; height: 42px; margin-right: -14px; } /* pulls the text closer to the logo */
.promo__text { font-size: 16px; line-height: 1.35; letter-spacing: .01em; }
.promo__btn {
  flex: none; padding: 8px 24px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px;
  font-size: 15px; font-weight: 500; color: #fff; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.promo__btn:hover { background: #fff; color: var(--brand); }
/* Hidden once the sticky counsellor button arrives at the bottom (script.js sets .promo-off); back when scrolling up */
.promo { transition: transform .35s ease, visibility 0s linear 0s; }
html.promo-off .promo { transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
html.promo-off section[id] { scroll-margin-top: 0; }
@media (max-width: 700px) {
  :root { --promo-h: 56px; }
  .promo__inner { justify-content: space-between; gap: 10px; padding: 0 16px; }
  .promo__logo { height: 36px; }
  .promo__text { font-size: 12.5px; line-height: 1.3; }
  .promo__btn { padding: 7px 14px; font-size: 13px; }
}

/* Career Gala text: on phones it stays on one line and scrolls like a marquee.
   The text is written twice; the track moves half its width, so the loop is seamless. */
.promo__track { display: inline-block; }
@media (max-width: 700px) {
  .promo__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; /* text fades into the bar colour at both ends */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); }
  .promo__logo { margin-right: 12px; } /* phones: keep the scrolling text clear of the logo */
  .promo__track { display: inline-flex; white-space: nowrap; animation: promo-marquee 12s linear infinite; }
  .promo__track span { padding-right: 40px; }
}
@keyframes promo-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .promo__track { animation: none; }
}
/* Desktop: the second copy is only for the phone loop */
@media (min-width: 701px) {
  .promo__track span[aria-hidden="true"] { display: none; }
}

/* "Does This Sound Familiar?": the same rings as the hero behind the photo. The outer frame and seven more,
   each the same gap (--step) inside the last; lines thicken and strengthen towards the centre. */
.familiar__stage { container-type: inline-size; }
.familiar__frame {
  height: auto; aspect-ratio: 1; /* square rings */
  --step: 3.6cqw;
  --r: 11cqw;
  border: 1.5px solid rgba(255, 255, 255, .4); /* outermost ring: the faintest */
  border-radius: var(--r);
  box-shadow: 0 0 0 1px rgba(124, 108, 200, .05), inset 0 0 0 1px rgba(124, 108, 200, .03);
}
.familiar__frame i {
  position: absolute; display: block; pointer-events: none;
  inset: calc(var(--n) * var(--step));
  border: calc(1.5px + var(--n) * .4px) solid rgba(255, 255, 255, .95);
  border-radius: calc(var(--r) * (8 - var(--n)) / 8);
  box-shadow: 0 0 0 1px rgba(124, 108, 200, .08), inset 0 0 0 1px rgba(124, 108, 200, .05);
  opacity: calc(.4 + var(--n) * .08);
}
@media (max-width: 560px) {
  .familiar__frame { --step: 5.4cqw; --r: 16cqw; height: auto; aspect-ratio: 1; }
}

/* Square rings centred on the photo (the photo is 95% of the stage tall, sitting on the bottom) */
.familiar__frame { top: 52.5%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .familiar__frame { top: 57.5%; bottom: auto; } /* centre of the phone photo */
}

/* Smooth scrolling strips on phones: run them on their own GPU layer and move by whole sub-pixels in 3D */
.ticker__track, .promo__track { will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes promo-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Hero "Talk to a Counsellor": filled brand blue like the header button, with a WhatsApp icon */
.btn--solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 999px;
  background: var(--brand); color: #fff;
}
.btn--solid:hover { background: var(--accent); color: #fff; }
.btn__wa { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) {
  .hero__actions .btn--solid { padding: 12px 16px; font-size: 14px; gap: 8px; white-space: nowrap; }
  .btn__wa { width: 18px; height: 18px; }
}




/* Country code picker, joined to the left of the phone box */
.lead__phone select.lead__code {
  flex: none; width: auto; height: 48px;
  padding: 0 30px 0 12px;
  font: 400 15px/1 var(--font-en); color: #55555c;
  background-color: #f6f5fb; background-position: right 8px center;
  border: 1.5px solid #e2e1ec; border-right: 0; border-radius: 14px 0 0 14px;
  cursor: pointer;
}
.lead__phone select.lead__code:focus { border-color: var(--accent); box-shadow: none; }


/* ===== Footer: call-back form in place of the button, copyright centred ===== */
.footer__cta { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); grid-template-rows: auto 1fr; align-items: start; }
.footer__cta-title, .footer__cta-text { grid-column: 1; }
.footer__cta-text { align-self: start; } /* sits right under the title, however tall the form is */
.footer__form {
  grid-column: 2; grid-row: 1 / span 2;
  padding: clamp(22px, 2.4vw, 30px); border-radius: 24px;
  background: #fff; color: var(--ink);
}
.footer__form .lead__field:last-of-type { margin-bottom: 0; }
.footer__form .lead__submit { margin-top: 18px; }
.footer__done { text-align: center; padding: 18px 0 8px; }
.footer__done .lead__done-icon { width: 56px; height: 56px; margin-bottom: 14px; }
.footer__done .lead__title { font-size: 26px; }
.footer__done .lead__text { margin: 8px auto 0; }
.footer__bottom { justify-content: center; text-align: center; }
@media (max-width: 900px) {
  .footer__cta { grid-template-columns: 1fr; }
  .footer__form { grid-column: 1; grid-row: auto; margin-top: 14px; }
}


/* Footer: phone and email under the "Ready to take your first step?" text */
.footer__cta-info { grid-column: 1; align-self: start; }
.footer__reach { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.footer__reach a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(16px, 1.2vw, 18px); color: rgba(255,255,255,.85); transition: color .2s ease; }
.footer__reach a:hover { color: #fff; }
.footer__reach svg { width: 20px; height: 20px; flex: none; color: rgba(255,255,255,.7); }


/* ===== Hero + chat section backgrounds: same blue and pink as the student page ===== */
:root { --hero-blue: 192, 219, 237; --hero-pink: 237, 181, 211; }
.hero { background: #fff; } /* colour only in the glow behind the photo */
.hero__glow { left: 42%; } /* the colour in glow-blue-pink.png sits right of its middle */
/* this page hid the glow image by default; show it as on the student page */
.hero__glow { display: block; filter: saturate(1.5); -webkit-mask-image: none; mask-image: none; }
@media (max-width: 560px) { .hero__glow { display: none; } }
.familiar {
  background:
    radial-gradient(ellipse 34% 48% at 56% 62%, rgba(var(--hero-pink), .75) 0%, rgba(var(--hero-pink), 0) 100%),
    radial-gradient(ellipse 30% 44% at 42% 52%, rgba(var(--hero-blue), .8) 0%, rgba(var(--hero-blue), 0) 100%),
    #fff;
}
@media (max-width: 560px) {
  .hero {
    background:
      radial-gradient(ellipse 80% 32% at 92% 78%,
        rgba(var(--hero-pink), .85) 0%, rgba(var(--hero-pink), .6) 30%, rgba(var(--hero-pink), .28) 58%,
        rgba(var(--hero-pink), .08) 80%, rgba(var(--hero-pink), 0) 100%),
      radial-gradient(ellipse 95% 34% at 42% 76%,
        rgba(var(--hero-blue), .95) 0%, rgba(var(--hero-blue), .65) 30%, rgba(var(--hero-blue), .3) 58%,
        rgba(var(--hero-blue), .08) 80%, rgba(var(--hero-blue), 0) 100%),
      #fff;
  }
}

/* Testimonials: show 4 lines, then "..." */
.story-video__text,
.quote__text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* Sticky button: WhatsApp chat (green, WhatsApp icon) instead of the counsellor popup */
.msg__cta.sticky-cta--wa { background: #25d366; color: #fff; }
.msg__cta.sticky-cta--wa:hover { background: #1ebe5b; }
.msg__cta.sticky-cta--wa svg { width: 22px; height: 22px; }

/* Chat-section button: the same green WhatsApp button from the start */
.msg__cta.msg__cta--wa { background: #25d366; color: #fff; }
.msg__cta.msg__cta--wa:hover { background: #1ebe5b; }
.msg__cta.msg__cta--wa svg { width: 22px; height: 22px; }

/* Green WhatsApp buttons (chat section + sticky): same look on every page,
   English font, text and icon centred in the button */
.msg__cta.msg__cta--wa,
.msg__cta.sticky-cta--wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-en); font-size: 17px; line-height: 1;
  padding: 16px 24px; white-space: nowrap; text-align: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .3);
}
.msg__cta.msg__cta--wa span,
.msg__cta.sticky-cta--wa span { display: block; }
.msg__cta.msg__cta--wa svg,
.msg__cta.sticky-cta--wa svg { display: block; width: 22px; height: 22px; flex: none; }
@media (max-width: 560px) {
  .msg__cta.msg__cta--wa,
  .msg__cta.sticky-cta--wa { font-size: 15px; padding: 13px 18px; gap: 8px; }
  .msg__cta.msg__cta--wa svg,
  .msg__cta.sticky-cta--wa svg { width: 20px; height: 20px; }
}

/* The whole course card opens the form */
.course { cursor: pointer; }


/* ===== Placements + Hiring Partners (same as the working-professional page) ===== */
.placements {
  color: var(--ink);
  background:
    radial-gradient(ellipse 36% 40% at 0% 0%, rgba(var(--glow-lilac), .4) 0%, rgba(var(--glow-lilac), 0) 100%),
    #fafafa;
}
/* Stats: plain numbers, no cards */
.stats {
  list-style: none; margin-top: clamp(36px, 6svh, 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; /* middle column is exactly centred */
}
/* first number on the left, middle one centred, last one on the right.
   Each caption sits centred under its own number. */
.stats__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stats__item:nth-child(1) { justify-self: start; }
.stats__item:nth-child(3) { justify-self: end; }
.stats__item strong { white-space: nowrap; }
.stats__item strong { display: block; font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; color: var(--brand); }
.stats__item span { display: block; margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); color: #55555c; }
.placements__sub {
  margin: clamp(48px, 8svh, 80px) 0 clamp(20px, 3svh, 28px);
  font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em;
}
/* Hiring partner logos: full-width carousel that never stops */
.partners {
  overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.partners__track { display: flex; width: max-content; animation: partners 50s linear infinite; }
.partners__list { list-style: none; display: flex; align-items: center; gap: clamp(14px, 1.2vw, 20px); padding-right: clamp(14px, 1.2vw, 20px); }
.partners__list li {
  flex: none; display: grid; place-items: center;
  width: clamp(150px, 13vw, 200px); height: clamp(76px, 6.5vw, 96px); padding: 14px 22px;
  background: #fff; border: 1px solid #ececf2; border-radius: 20px;
}
.partners__list img { width: auto; height: auto; max-width: 100%; max-height: clamp(36px, 3.2vw, 48px); object-fit: contain; }
@keyframes partners { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .partners__track { animation-duration: 120s; } }
.placements--partners > .support__inner { padding-bottom: clamp(24px, 4svh, 40px); }
.placements--partners { padding-bottom: clamp(56px, 10svh, 110px); background: #fafafa; } /* plain, so no glow seam under Placements */ /* carousel is the last thing in the section */
@media (max-width: 900px) {
  .stats__item strong { font-size: clamp(30px, 8.5vw, 48px); }
  .stats__item span { font-size: 15px; margin-top: 8px; }
}

/* Phones: script.js moves the stack with a spring (.is-spring), so only the fade is a CSS transition */
@media (max-width: 560px) {
  .js-chat.is-spring .msg { transition: opacity .45s ease; }
  .js-chat.is-spring .msg:not(.is-shown) { transform: translateY(var(--shift, 0px)); transition: opacity .3s ease; } /* fades out in place, no jump */
  .js-chat.is-spring .msg.is-shown { animation: msg-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes msg-rise { from { translate: 0 14px; } to { translate: 0 0; } }

/* ===== No sideways scrolling: anything wider than the screen is clipped ===== */
html { overflow-x: hidden; }
body { overflow-x: hidden; overflow-x: clip; } /* clip keeps the sticky sections working where supported */

/* ===== Forms stay still while typing ===== */
/* Phones zoom the page in on any field under 16px: keep every field at 16px on touch screens */
@media (hover: none), (max-width: 900px) {
  .lead__field input, .lead__field select, .lead__code { font-size: 16px; }
}
/* Error messages sit in reserved space below the field, so showing or clearing one never moves the form */
.lead__field { position: relative; margin-bottom: 27px; }
.lead__error { position: absolute; left: 2px; right: 0; top: 100%; margin-top: 3px; line-height: 1.25; }
.footer__form .lead__field:last-of-type { margin-bottom: 0; }
.footer__form .lead__submit { margin-top: 30px; }
.lead__card .lead__submit { margin-top: 2px; }

/* ===== Course ticker: each course has its own icon (inline in index.html) ===== */
.ticker__list li::before { content: none; display: none; }
.ticker__icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: #7a73b8; }
.ticker__icon svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .ticker__icon { width: 20px; height: 20px; } }
