:root {
  --yellow: #ffde7b;
  --yellow-light: #ffe494;
  --green: #2ebb5e;
  --green-neon: #aeff00;
  --orange-light: #ff8555;
  --orange: #ff662a;
  --ink: #1e1e1e;
  --blue: #58a5ef;
  --pink: #f25471;
  --cream: #f8f6f1;
  --white: #ffffff;
  --stroke-01: #e3dcd6;
  --brown: #4b1a11;
  --lime: #e2f0b8;
  --stroke-02: #f2f2f2;
  --muted: color-mix(in srgb, var(--ink) 58%, white);
  --page: min(1240px, calc(100% - 48px));
  --radius: 18px;
  --font-sans: "Fustat", sans-serif;
  --font-script: "Just Me Again Down Here", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -.02em;
  overflow-x: clip;
  background: var(--white);
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
}
h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.033;
  letter-spacing: -.04em;
}
h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.083;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.11;
  letter-spacing: -.04em;
}
h4 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -.03em;
}
h5 {
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -.04em;
}
h6 {
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -.02em;
}
.lead,
.text-01 {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -.02em;
}
.text-02 {
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -.02em;
}
.text-03 {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.02em;
}
.cream-section { background: var(--cream); }
.section { padding: 70px max(24px, calc((100vw - 1240px) / 2)); }
.script-label {
  color: var(--orange);
  font-family: var(--font-script);
  font-size: 32px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}
.script-label span { font-family: var(--font-sans); font-size: 15px; vertical-align: 3px; }
.script-label:has(.label-star-img) { display: inline-flex; align-items: center; gap: 9px; }
.label-star-img { flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; }
.dark-script { color: var(--brown); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading.wide { max-width: var(--page); margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: end; }
.section-heading p:not(.script-label) { color: var(--muted); margin-bottom: 0; font-size: 18px; line-height: 27px; letter-spacing: -.02em; }
.button {
  min-height: 50px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: none;
  transform: none;
  box-shadow: none;
}
/* hover fill rises slowly from bottom to top */
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--button-hover, var(--ink));
  transform: translateY(101%);
  transition: transform .55s cubic-bezier(.33, 1, .68, 1);
  border-radius: inherit;
  pointer-events: none;
}
.button:hover { transform: none; box-shadow: none; }
.button:hover::before { transform: translateY(0); }
.button-orange {
  --button-hover: var(--ink);
  color: white;
  background: var(--orange);
}
.button-dark {
  --button-hover: var(--orange);
  color: white;
  background: var(--ink);
  font-size: 16px;
  line-height: 24px;
}
.button-icon { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 5px; display: grid; place-items: center; font-size: 9px; }
.button-icon-img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.button-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Header + hero */
.site-header {
  height: 108px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  position: relative;
  z-index: 30;
}
.brand { display: flex; align-items: center; justify-self: start; gap: 9px; }
.brand img { width: 158px; height: 42px; object-fit: contain; }
.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: #f3f3f3;
  border: 1px solid color-mix(in srgb, var(--stroke-01) 40%, white);
  border-radius: 99px;
  box-shadow: 0 12px 30px -20px rgba(30, 30, 30, .4), 0 2px 6px rgba(30, 30, 30, .04);
}
.nav-item { position: relative; display: flex; }
.nav-pill > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 0;
  border-radius: 99px;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}
.nav-pill > a:hover,
.nav-trigger:hover { background: var(--cream); }
.nav-pill > a.active,
.nav-trigger.is-current { background: var(--cream); font-weight: 700; }
.nav-trigger > svg { width: 11px; height: 7px; opacity: .5; transition: transform .28s cubic-bezier(.2, .8, .25, 1), opacity .2s; }
.nav-item.is-open > .nav-trigger { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(30, 30, 30, .08); }
.nav-item.is-open > .nav-trigger > svg { transform: rotate(180deg); opacity: 1; }
.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 326px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--stroke-01);
  border-radius: 24px;
  box-shadow: 0 34px 70px -26px rgba(30, 30, 30, .45), 0 8px 20px rgba(30, 30, 30, .06);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(.97);
  transform-origin: top center;
  transition: opacity .2s ease, transform .3s cubic-bezier(.2, .8, .25, 1), visibility .3s;
  z-index: 40;
}
.nav-menu-courses {
  left: 0;
  transform: translate(0, 10px) scale(.97);
  transform-origin: top left;
  width: min(720px, calc(100vw - 48px));
  max-height: min(420px, 70vh);
  padding: 18px;
  background: #ececec;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 60px -24px rgba(30, 30, 30, .35);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c8c8c8 transparent;
}
.nav-menu-courses::-webkit-scrollbar { width: 8px; }
.nav-menu-courses::-webkit-scrollbar-thumb { background: #c8c8c8; border-radius: 99px; }
.nav-menu-courses::before { display: none; }
.nav-courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.nav-course-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 20px;
  background: #fff;
  border-radius: 16px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-course-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 30, 30, .08); }
.nav-course-card strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.nav-course-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: #2a2a2a;
}
.nav-course-card span {
  margin-top: auto;
  padding-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  position: relative;
  align-self: flex-start;
}
.nav-course-card span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width .35s ease;
}
.nav-course-card:hover span::after,
.nav-course-card:focus-visible span::after {
  width: 100%;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  background: var(--white);
  border-top: 1px solid var(--stroke-01);
  border-left: 1px solid var(--stroke-01);
  border-radius: 4px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
}
.nav-item.is-open > .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav-item.is-open > .nav-menu-courses { transform: translate(0, 0) scale(1); }
.nav-menu-label {
  margin: 4px 0 10px 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 42%, white);
}
.nav-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 16px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 16px;
  color: var(--ink);
  transition: background .2s ease, transform .2s ease;
}
.nav-menu-item:hover { background: var(--cream); transform: translateX(3px); }
.nav-menu-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; }
.nav-menu-icon svg { width: 19px; height: 19px; }
.nav-icon-orange { background: color-mix(in srgb, var(--orange) 15%, white); color: var(--orange); }
.nav-icon-blue { background: color-mix(in srgb, var(--blue) 22%, white); color: #2277c4; }
.nav-icon-green { background: color-mix(in srgb, var(--green) 18%, white); color: #16884a; }
.nav-icon-yellow { background: color-mix(in srgb, var(--yellow) 50%, white); color: #9a6510; }
.nav-icon-pink { background: color-mix(in srgb, var(--pink) 15%, white); color: var(--pink); }
.nav-menu-text { display: grid; gap: 1px; min-width: 0; }
.nav-menu-text strong { font-size: 16px; font-weight: 700; line-height: 22px; letter-spacing: -.02em; }
.nav-menu-text small { font-size: 13px; line-height: 18px; letter-spacing: -.01em; color: var(--muted); }
.nav-menu-arrow { width: 16px; height: 16px; color: var(--orange); opacity: 0; transform: translateX(-5px); transition: opacity .2s ease, transform .2s ease; }
.nav-menu-item:hover .nav-menu-arrow { opacity: 1; transform: translateX(0); }
.nav-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  padding: 13px 16px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}
.nav-menu-foot span { font-size: 14px; line-height: 19px; letter-spacing: -.02em; }
.nav-menu-foot strong { color: var(--green-neon); }
.nav-menu-foot a { font-size: 14px; font-weight: 700; letter-spacing: -.02em; color: var(--yellow); white-space: nowrap; }
.nav-menu-foot a:hover { color: var(--white); }
.header-cta { min-height: 46px; }
.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, white);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30, 30, 30, .08);
}
.menu-toggle { display: none; border: 0; background: none; }
.hero {
  padding: 70px max(24px, calc((100vw - 1240px) / 2)) 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 49.6%;
  align-items: center;
  gap: 0;
}
.hero-copy { max-width: 520px; margin-bottom: 18px; }
.label-star { width: 17px; height: 17px; margin-right: 7px; vertical-align: -2px; color: var(--orange); transform: rotate(-8deg); }
.hero h1 { margin-bottom: 20px; max-width: 512px; }
.lead { max-width: 470px; color: var(--muted); }
.hero-art {
  position: relative;
  left: 26px;
  top: 8px;
  width: 100%;
  aspect-ratio: 397 / 289;
}
.hero-person,
.hero-deco {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}
.hero-main {
  width: 43.8%;
  left: 5%;
  top: 8.9%;
  z-index: 3;
}
.hero-blue {
  width: 52%;
  left: 50%;
  top: 1.5%;
  z-index: 3;
}
.hero-green {
  width: 48%;
  left: 55%;
  top: 47%;
  z-index: 3;
}
.hero-deco-smile {
  width: 12.6%;
  left: 1%;
  top: 23.5%;
  z-index: 5;
}
.hero-deco-spark {
  width: 11.6%;
  left: 36.8%;
  top: 0;
  z-index: 4;
}
.hero-deco-point {
  width: 17%;
  left: -14%;
  bottom: 4%;
  z-index: 5;
  opacity: .9;
}
.hero-deco-arrow-a {
  width: 10.6%;
  left: 53.2%;
  top: 37%;
  z-index: 4;
  transform: rotate(180deg);
}
.hero-deco-arrow-b {
  width: 9.1%;
  left: 59.4%;
  top: 77.2%;
  z-index: 2;
  opacity: .45;
}
.hero-deco-stars {
  width: 16.9%;
  left: 54.7%;
  top: 32.9%;
  z-index: 6;
  filter: drop-shadow(0 8px 16px rgba(30, 30, 30, .12));
}
.hero-deco-badge {
  width: 7.3%;
  left: 56.5%;
  top: 5.3%;
  z-index: 6;
  filter: drop-shadow(0 6px 14px rgba(30, 30, 30, .16));
}
/* Partners */
.partner-wrap { position: relative; padding: 0 max(24px, calc((100vw - 1240px) / 2)) 50px; }
.partner-wrap::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: -20px; height: 60px; background: var(--cream); clip-path: polygon(0 10%, 45% 65%, 100% 0, 100% 55%, 45% 100%, 2% 40%); }
.partner-card { position: relative; z-index: 1; background: var(--yellow); border-radius: 15px; padding: 30px 50px 27px; text-align: center; overflow: hidden; }
.partner-card p { font-size: 13px; margin-bottom: 24px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.partner-track { gap: 75px; animation: marquee 22s linear infinite; }
.partner-track span { font-size: 24px; font-weight: 800; white-space: nowrap; opacity: .78; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Student reels  -  paper cards on yellow board, matches testimonials style */
.reels-section {
  position: relative;
  padding: 60px 0 70px;
  margin-bottom: 40px;
  overflow: hidden;
  background: var(--yellow);
  clip-path: polygon(0 5%, 94% 5%, 100% 0, 100% 95%, 91% 100%, 9% 95%, 0 100%);
}
.reels-section .section-heading {
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 34px;
}
.reels-section .section-heading p:not(.script-label) { color: #5a5148; }
.reels-marquee {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.reels-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 6px max(24px, calc((100vw - 1240px) / 2)) 20px;
  animation: reelsMarquee 55s linear infinite;
  will-change: transform;
}
.reels-marquee:hover .reels-track { animation-play-state: paused; }
@keyframes reelsMarquee { to { transform: translateX(-50%); } }
.reel-card {
  flex: 0 0 auto;
  width: 220px;
  text-decoration: none;
  color: inherit;
}
.reel-watch {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.reel-watch:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}
.reel-polaroid {
  display: grid;
  gap: 12px;
  background: white;
  padding: 14px 14px 18px;
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.reel-card:nth-child(even) .reel-polaroid { transform: rotate(0); }
.reel-card:nth-child(3n) .reel-polaroid { transform: rotate(4deg); }
.reel-card:hover .reel-polaroid { transform: rotate(0) translateY(-6px); }
.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s ease;
}
.reel-card:hover .reel-frame img { transform: scale(1.05); }
.reel-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
}
.reel-play svg {
  width: 38px;
  height: 38px;
  fill: white;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.reel-ig {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30, 30, 30, .45);
  display: grid;
  place-items: center;
}
.reel-ig svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
}
.reel-meta { display: grid; gap: 1px; }
.reel-meta strong {
  font-size: 14px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.reel-meta small {
  font-size: 11px;
  color: var(--muted);
}
.reel-react {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--pink);
}
.reel-react i { font-style: normal; }
.reel-react b { color: var(--blue); font-weight: 900; }

body.reel-modal-open { overflow: hidden; }
.reel-modal[hidden] { display: none; }
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .78);
  backdrop-filter: blur(6px);
}
.reel-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  max-height: calc(100dvh - 40px);
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.reel-modal-video {
  position: relative;
  width: 100%;
  min-height: min(720px, calc(100dvh - 130px));
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}
.reel-modal-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.reel-modal-video iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: min(720px, calc(100dvh - 130px));
  border: 0;
  background: transparent;
}
.reel-modal-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 20, .8);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.reel-modal-instagram {
  justify-self: center;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}
.reel-modal-instagram:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .reels-section { padding: 50px 0 60px; }
  .reels-section .section-heading { padding: 0 22px; margin-bottom: 26px; }
  .reel-card { width: 168px; }
  .reels-track { gap: 16px; animation-duration: 40s; padding-left: 22px; padding-right: 22px; }
  .reel-modal { padding: 8px; }
  .reel-modal-dialog { padding: 8px; border-radius: 18px; }
  .reel-modal-video,
  .reel-modal-video iframe { height: calc(100dvh - 90px); min-height: 0; }
}

/* Steps  -  one sticky pin for heading + steps (no white overlay clipping text) */
.how-section {
  --how-pin-top: 88px;
  height: 220vh;
  padding-top: 40px;
  padding-bottom: 0;
  position: relative;
  overflow: visible;
}
.how-pin {
  position: sticky;
  top: var(--how-pin-top);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - var(--how-pin-top) - 12px);
  padding-bottom: 8px;
  background: #fff;
  overflow: visible;
}
.how-heading {
  position: relative;
  top: auto;
  z-index: 2;
  background: transparent;
  padding: 8px 16px 4px;
  margin: 0 auto 0;
  max-width: 760px;
  flex: 0 0 auto;
  box-shadow: none;
  overflow: visible;
}
.how-heading h2 {
  margin-bottom: 8px;
  line-height: 1.15;
}
.how-heading p:not(.script-label) {
  margin-bottom: 0;
}
.steps-stack {
  --steps-progress: 0;
  --steps-active: 0;
  position: relative;
  top: auto;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  height: auto;
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  isolation: isolate;
}
.steps-progress {
  position: relative;
  top: auto;
  height: auto;
  min-height: 280px;
  display: grid;
  place-items: stretch center;
  padding: 8px 0;
  z-index: 2;
}
.steps-progress-track {
  position: relative;
  width: 3px;
  height: 100%;
  margin: 0 auto;
  background: var(--stroke-01);
  border-radius: 99px;
  overflow: hidden;
}
.steps-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-light) 42%, var(--green) 72%, var(--blue) 100%);
  transform-origin: top center;
  transform: scaleY(var(--steps-progress));
  will-change: transform;
}
.steps-panels {
  position: relative;
  min-width: 0;
  height: min(460px, 52vh);
  overflow: hidden;
}
.step-row {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
  background: #fff;
  padding: 8px 0 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
  filter: none;
  transition:
    opacity .5s cubic-bezier(.22, 1, .36, 1),
    transform .5s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .5s;
  z-index: 1;
}
.step-row.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition:
    opacity .5s cubic-bezier(.22, 1, .36, 1),
    transform .5s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear 0s;
  z-index: 3;
}
.step-row.is-passed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
  z-index: 2;
}
.step-copy {
  border-left: 0;
  padding: 5px 0 15px 0;
  max-width: 490px;
  position: relative;
}
.step-copy::before { display: none; }
.step-copy .script-label { margin-bottom: 27px; }
.step-copy h3 { font-size: 32px; line-height: 40px; letter-spacing: -.03em; margin-bottom: 25px; }
.step-copy > p:last-child { color: var(--muted); }
.speech-frame { width: 100%; max-width: 570px; height: min(420px, 52vh); padding: 40px 58px 68px; display: grid; place-items: center; clip-path: polygon(7% 0, 82% 0, 100% 8%, 97% 91%, 21% 100%, 10% 91%, 0 89%, 0 8%); }
.orange-frame { background: var(--orange-light); }
.green-frame { background: var(--green); }
.blue-frame { background: var(--blue); }
.mock-card {
  width: 100%;
  min-height: 280px;
  background: white;
  padding: 30px 35px;
  position: relative;
  clip-path: polygon(0 0, 86% 0, 100% 14%, 100% 100%, 22% 95%, 16% 100%, 12% 94%, 0 94%);
}
.mock-card h3 { letter-spacing: -.02em; text-align: center; font-size: 22px; }
.login-card label { display: block; font-size: 10px; font-weight: 700; margin-top: 11px; }
.login-card input { width: 100%; border: 1px solid #bbb; padding: 8px 10px; border-radius: 7px; display: block; margin-top: 5px; font-size: 10px; color: #777; }
.mock-card button { width: 100%; border: 0; border-radius: 50px; padding: 10px; background: var(--orange); color: white; font-size: 11px; margin-top: 16px; cursor: pointer; }
.course-picker { padding: 25px 48px; font-size: 10px; }
.course-picker h3 { margin-bottom: 12px; }
.course-picker > div { padding: 8px 10px; background: #fafafa; }
.course-picker .select-title { background: var(--orange); color: white; display: flex; justify-content: space-between; }
.course-picker .selected { background: #63251f; color: white; }
.tooltip { position: absolute; right: 5px; bottom: 70px; background: var(--yellow); padding: 8px 12px; border-radius: 5px; box-shadow: 0 4px 10px #0001; font-weight: 700; }
.class-card { padding: 30px 32px; }
.class-card h3 { text-align: left; font-size: 19px; }
.class-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 9px; margin: 18px 0; }
.class-card hr { border: 0; border-top: 1px solid #ddd; }.class-card > p { font-size: 10px; margin: 14px 0 7px; }
.students { display: flex; align-items: center; }.students span { width: 32px; height: 32px; border-radius: 50%; color: white; background: var(--orange); border: 2px solid white; margin-right: -7px; display: grid; place-items: center; font-size: 7px; }
.students span:nth-child(2) { background: var(--blue); }.students span:nth-child(3) { background: var(--green); }.students small { margin-left: 15px; font-size: 8px; }

/* Courses */
.angled { position: relative; margin-top: 30px; }
.angled::before, .angled::after { content: ""; position: absolute; left: 0; width: 100%; height: 50px; background: inherit; }
.angled::before { top: -32px; clip-path: polygon(0 70%, 8% 0, 76% 35%, 96% 0, 100% 45%, 100% 100%, 0 100%); }
.angled::after { bottom: -45px; clip-path: polygon(0 0, 100% 0, 100% 20%, 85% 100%, 9% 65%, 0 100%); }
.slider-buttons { display: flex; gap: 12px; }
.slider-buttons button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: white; font-size: 26px; cursor: pointer; transition: transform .2s; }
.slider-buttons button:hover { transform: scale(1.08); }
.card-slider, .testimonial-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px calc((100vw - 1240px) / 2) 25px; }
.card-slider::-webkit-scrollbar, .testimonial-slider::-webkit-scrollbar { display: none; }
.course-card { background: white; min-width: 460px; height: 330px; padding: 22px 25px; border-left: 4px solid; display: grid; grid-template-columns: 39% 61%; grid-template-rows: 52px 1fr; scroll-snap-align: center; position: relative; cursor: pointer; }
.course-card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.course-card-link:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.course-card .course-body a { position: relative; z-index: 3; }
.accent-orange { border-color: var(--orange); }.accent-green { border-color: var(--green); }.accent-lime { border-color: var(--green-neon); }.accent-blue { border-color: var(--blue); }
.course-top { grid-column: 1 / -1; display: flex; align-items: start; gap: 7px; }
.course-top strong { font-size: 24px; }.course-top small { color: var(--muted); margin-right: auto; margin-top: 7px; }
.tag { font-size: 8px; color: white; padding: 6px 10px; border-radius: 30px; white-space: nowrap; }.tag.blue { background: var(--blue); }.tag.green { background: var(--green); }.tag.orange { background: var(--orange); }
.course-visual { margin: 15px 20px 5px 0; overflow: hidden; position: relative; display: grid; place-items: center; background: #fff; min-height: 160px; clip-path: polygon(0 8%, 90% 0, 100% 90%, 8% 100%); }
.course-visual b { font-size: 16px; transform: rotate(-8deg); }.course-visual span { font-size: 48px; position: absolute; opacity: .7; }.course-visual span:first-child { left: 8px; top: 0; }.course-visual span:nth-child(2) { right: 5px; bottom: 0; }
.course-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.course-visual .visual-sticker { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; object-fit: contain; z-index: 3; }
.collage-one { background: var(--yellow); }.collage-two { background: var(--orange-light); }.collage-three { background: var(--lime); }.collage-four { background: #b7d6f4; }
.course-body { padding: 14px 0 0; }.author { background: var(--yellow); font-size: 9px; padding: 6px 12px; border-radius: 30px; }
.course-body h3 { font-size: 24px; line-height: 28px; letter-spacing: -.02em; margin: 20px 0 9px; }.course-body p { font-size: 16px; line-height: 24px; color: var(--muted); margin-bottom: 18px; }
.course-body a {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  position: relative;
}
.course-body a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width .35s ease;
}
.course-card:hover .course-body a::after,
.course-card:focus-within .course-body a::after {
  width: 100%;
}

/* Teachers and CTA */
.teachers-section { padding-top: 80px; }
.teacher-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: end; }
.teacher { text-align: center; }
.teacher-image {
  aspect-ratio: .78;
  margin-bottom: 20px;
  display: grid;
  place-items: end center;
}
.teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 28px rgba(30, 30, 30, .12));
}
.teacher h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -.02em; }
.teacher p { color: var(--muted); font-size: 15px; line-height: 22px; }
.course-cta {
  min-height: 520px;
  margin: 40px 0 60px;
  padding: 55px max(24px, calc((100vw - 1240px) / 2)) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
}
.angled-yellow {
  background: var(--yellow);
  position: relative;
  clip-path: polygon(0 3%, 88% 3%, 100% 17%, 100% 94%, 84% 100%, 75% 94%, 0 94%);
}
.cta-portrait {
  height: 100%;
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  /* sit on the section floor so clip-path cuts the image flush */
  margin-bottom: 0;
  padding-bottom: 0;
}
.community-portrait {
  width: min(500px, 108%);
  height: auto;
  max-height: none;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 28px rgba(30, 30, 30, .16));
  transform: translate(-6px, 6%);
  object-fit: contain;
  object-position: bottom center;
}
.student-badge, .star-badge { position: absolute; background: white; border-radius: 12px; box-shadow: 0 7px 25px #0002; z-index: 2; }
.student-badge { left: 0; bottom: 42%; top: auto; padding: 12px 18px; display: flex; gap: 10px; align-items: center; }.student-badge b { background: var(--blue); color: white; padding: 10px; border-radius: 8px; }.student-badge span span, .student-badge strong, .student-badge small { display: block; }.student-badge small { color: var(--muted); font-size: 9px; }
.star-badge { right: 8px; bottom: 42%; top: auto; color: var(--orange); padding: 13px 18px; letter-spacing: 3px; }
.cta-copy {
  max-width: 500px;
  align-self: center;
  padding-bottom: 70px;
}
.cta-copy h2 { margin-bottom: 25px; }.cta-copy p:not(.script-label) { color: #5a5148; }.cta-copy .button { margin-top: 16px; }

/* Global and quality */
.global-section { padding-top: 30px; padding-bottom: 40px; overflow: hidden; }
.global-section .section-heading { margin-bottom: 28px; }
.greeting-marquee { margin: 14px calc(-1 * max(24px, calc((100vw - 1240px) / 2))); }
.greetings { gap: 15px; align-items: center; animation: greetings-left 34s linear infinite; }
.reverse .greetings { animation-name: greetings-right; transform: translateX(-50%); }
@keyframes greetings-left { to { transform: translateX(-50%); } }
@keyframes greetings-right { to { transform: translateX(0); } }
.greet { min-width: 130px; height: 52px; border-radius: 999px; display: grid; place-items: center; color: white; font-size: 19px; font-weight: 700; padding: 0 24px; white-space: nowrap; }
.greet.yellow-bg { color: var(--ink); }
.avatar-chip {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #eee;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 -20px 0 -8px;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(30, 30, 30, .12);
  border: 2px solid white;
}
.avatar-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.blue-bg { background: var(--blue); }.yellow-bg { background: var(--yellow); color: var(--ink); }.green-bg { background: var(--green); }.brown-bg { background: var(--brown); }.orange-bg { background: var(--orange-light); }
.quality-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 60px; padding-bottom: 70px; }
.quality-copy h2 { margin-bottom: 40px; }
.accordion-item { position: relative; padding-left: 26px; margin-bottom: 8px; }
.accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--stroke-01);
  border-radius: 99px;
  transition: background .4s ease, width .4s ease;
}
.accordion-item.active::before { width: 3px; background: var(--ink); }
.accordion-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -.02em;
  color: var(--ink);
  cursor: pointer;
  transition: color .3s ease;
}
.accordion-item:not(.active) button { color: color-mix(in srgb, var(--ink) 88%, white); }
.accordion-item > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1); }
.accordion-item > div p {
  overflow: hidden;
  color: var(--muted);
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -.02em;
  margin: 0;
  opacity: 0;
  transition: opacity .35s ease .1s;
}
.accordion-item.active > div { grid-template-rows: 1fr; }
.accordion-item.active > div p { margin: 4px 0 18px; opacity: 1; }
.quality-art { height: 540px; position: relative; display: grid; place-items: center; }
.quality-portrait {
  width: min(520px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(30, 30, 30, .14));
}
.live-card { position: absolute; left: -20px; bottom: 40px; width: 325px; background: white; padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; box-shadow: 0 8px 25px #0002; clip-path: polygon(0 0, 91% 0, 100% 100%, 0 89%); z-index: 2; }
.live-avatar { width: 35px; height: 35px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: white; font-size: 10px; }
.live-card strong, .live-card small { display: block; font-size: 10px; }.live-card small { color: var(--muted); }
.live-card button { grid-column: 2; width: 125px; border: 0; background: var(--orange); color: white; border-radius: 30px; padding: 8px; font-size: 10px; }

/* Testimonials */
.testimonials {
  padding: 60px 0 70px;
  min-height: auto;
  margin-bottom: 40px;
  background: var(--yellow);
  clip-path: polygon(0 5%, 94% 5%, 100% 0, 100% 95%, 91% 100%, 9% 95%, 0 100%);
}
.testimonials .section-heading {
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.testimonial-slider { padding-bottom: 35px; }
.quote-card { min-width: 310px; height: 390px; background: white; padding: 25px; display: flex; flex-direction: column; scroll-snap-align: center; transform: rotate(-3deg); }
.quote-card:nth-child(even) { transform: rotate(0); }.quote-card:nth-child(3n) { transform: rotate(4deg); }
.quote-card header { display: flex; gap: 10px; align-items: center; }.quote-card header > span { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; font-size: 9px; }
.quote-card:nth-child(5n+2) header > span { background: var(--orange); }
.quote-card:nth-child(5n+3) header > span { background: var(--green); }
.quote-card:nth-child(5n+4) header > span { background: var(--brown); }
.quote-card:nth-child(5n) header > span { background: var(--pink); }
.quote-card header > span.avatar-photo { width: 46px; height: 46px; background: var(--cream); overflow: hidden; border: 2px solid white; box-shadow: 0 4px 12px rgba(30,30,30,.14); }
.quote-card header > span.avatar-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.quote-card header p { margin: 0; }.quote-card header b, .quote-card header small { display: block; }
.quote-card header b { font-size: 14px; letter-spacing: -.02em; line-height: 1.2; }
.quote-card header small { font-size: 11px; color: var(--muted); }
.quote-card blockquote { margin: 35px 0 0; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.quote-card footer { margin-top: auto; color: var(--pink); }.quote-card footer i { color: var(--blue); font-style: normal; margin-left: 5px; }

/* Compare, FAQ, final CTA */
.comparison-section { padding-top: 50px; }
.compare-grid { max-width: 870px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-card { min-height: 510px; padding: 38px 32px 65px; clip-path: polygon(0 0, 100% 0, 100% 94%, 12% 94%, 0 100%); }
.competitor { background: var(--lime); }.syncpedia { background: var(--yellow); }
.compare-card h3 { font-size: 25px; }
.compare-card ul { margin: 25px 0 0; padding: 0; list-style: none; }
.compare-card li { position: relative; padding: 15px 5px 15px 32px; border-bottom: 1px solid #0000000d; font-size: 13px; }
.compare-card li::before { position: absolute; left: 0; font-weight: 900; }.competitor li::before { content: "×"; }.syncpedia li::before { content: "→"; }
.faq-section { max-width: 1240px; margin: 0 auto; }
.faq-section .section-heading { margin-bottom: 36px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; }
.faq-questions { display: flex; flex-direction: column; }
.faq-question { min-height: 64px; padding: 10px 15px; border: 0; background: white; text-align: left; font-weight: 700; cursor: pointer; transition: background .2s, padding .2s; }
.faq-question:hover { padding-left: 22px; }.faq-question.active { background: var(--lime); }
.faq-answer { min-height: 390px; background: var(--lime); padding: 110px 35px 55px; clip-path: polygon(0 0, 94% 0, 94% 4%, 100% 0, 100% 100%, 0 100%); }
.faq-answer h3 { font-size: 20px; letter-spacing: -.02em; }.faq-answer p { font-size: 13px; max-width: 520px; }
.final-cta {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 110px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.final-cta .script-label { margin-bottom: 14px; }
.final-cta h2 {
  font-size: clamp(34px, 4.4vw, 48px);
  max-width: 780px;
  margin: 0 auto 16px;
  letter-spacing: -.03em;
  line-height: 1.12;
}
.final-cta > p:not(.script-label) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto;
}
.final-cta .button { margin-top: 24px; }
.final-cta .button-icon {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  color: #fff;
}
.final-cta .button-icon svg { display: block; }

/* Footer */
.site-footer {
  background: var(--cream);
  padding: 70px max(24px, calc((100vw - 1240px) / 2)) 25px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -58px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--cream);
  clip-path: polygon(
    0 100%,
    0 72%,
    12% 78%,
    28% 58%,
    46% 82%,
    62% 48%,
    78% 70%,
    90% 42%,
    100% 62%,
    100% 100%
  );
}

/* Courses page */
.courses-hero {
  position: relative;
  padding: 55px max(24px, calc((100vw - 1240px) / 2)) 100px;
  text-align: center;
}
.courses-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.courses-hero .script-label { justify-content: center; }
.inline-doodle { width: 18px; height: 18px; }
.courses-hero .script-label .label-star { margin-right: 0; vertical-align: 0; }
.courses-hero h1 {
  position: relative;
  margin: 0 auto 22px;
  max-width: 780px;
}
.courses-hero .lead { margin: 0 auto; max-width: 620px; color: var(--muted); }
.hero-spark, .hero-arrow { position: absolute; pointer-events: none; object-fit: contain; }
.hero-spark { width: 96px; left: -104px; top: 92px; transform: rotate(-4deg); }
.hero-arrow { width: 84px; right: -96px; top: -34px; }
.courses-hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 74px;
  background: white;
  clip-path: polygon(0 100%, 0 62%, 11% 0, 100% 0, 100% 100%);
}
.courses-catalog { padding-top: 30px; padding-bottom: 70px; background: white; }
.courses-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 34px;
}
.courses-view-all {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.course-filters {
  max-width: 1180px;
  margin: 0 auto 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.course-filter {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(30, 30, 30, .16);
  border-radius: 40px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.course-filter:hover { border-color: var(--orange); }
.course-filter.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.courses-page .course-card {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 262px;
  padding: 20px 26px 24px;
  border-left-width: 5px;
  border-radius: 3px;
  grid-template-columns: 40% 60%;
  grid-template-rows: auto 1fr;
  box-shadow: 0 10px 30px rgba(30, 30, 30, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.courses-page .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30, 30, 30, .12);
}
.courses-page .course-top { align-items: center; gap: 8px; }
.courses-page .course-top strong { font-size: 26px; letter-spacing: -.03em; }
.courses-page .course-top small { font-size: 12px; margin-top: 4px; }
.courses-page .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 7px 13px;
}
.courses-page .tag.yellow { background: var(--yellow); color: var(--ink); }
.courses-page .course-visual {
  margin: 6px 24px 6px 0;
  padding: 8px;
  position: relative;
  place-items: stretch;
  background: #fff;
  min-height: 210px;
  clip-path: polygon(0 5%, 94% 0, 100% 94%, 5% 100%);
}
.courses-page .course-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  clip-path: none;
}
.courses-page .course-visual .visual-sticker {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  clip-path: none;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(30, 30, 30, .25));
}
.courses-page .course-body { padding: 6px 0 0; }
.courses-page .course-body h3 {
  font-size: 21px;
  line-height: 26px;
  margin: 16px 0 8px;
}
.courses-page .course-body p {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 16px;
}
.courses-page .course-body a { font-size: 15px; text-decoration: none; }
.courses-page .course-body a:hover { text-decoration: none; }
.courses-page .author { font-size: 11px; padding: 7px 14px; font-weight: 600; }
.courses-page .title-accent { color: var(--orange); }
/* Courses roadmap */
.roadmap-section {
  padding-top: 60px;
  padding-bottom: 70px;
}
.roadmap-section .section-heading { margin-left: auto; margin-right: auto; }
.roadmap-track {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.roadmap-step {
  --roadmap-accent: var(--orange);
  position: relative;
  padding-right: 14px;
}
.roadmap-step.orange { --roadmap-accent: var(--orange); }
.roadmap-step.green { --roadmap-accent: var(--green); }
.roadmap-step.blue { --roadmap-accent: var(--blue); }
.roadmap-step.brown { --roadmap-accent: var(--brown); }
.roadmap-year {
  display: block;
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--roadmap-accent);
}
.roadmap-dot {
  display: block;
  position: relative;
  height: 14px;
  margin: 20px 0 22px;
}
.roadmap-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--roadmap-accent);
  z-index: 1;
}
.roadmap-dot::after {
  content: "";
  position: absolute;
  left: 20px;
  right: -34px;
  top: 11px;
  border-top: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent);
}
.roadmap-step:last-child .roadmap-dot::after { display: none; }
.roadmap-step h3 {
  font-size: 20px;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}
.roadmap-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.courses-page .testimonials {
  margin-top: 40px;
  margin-bottom: 0;
}
.courses-page .final-cta { background: white; }
.buy-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: min(280px, calc(100vw - 32px));
  background: #111;
  color: white;
  border-radius: 28px;
  padding: 16px 14px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.buy-widget-top {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 4px 8px 14px;
  letter-spacing: -.01em;
}
.buy-widget-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  background: #000;
  color: white;
}
.buy-widget-btn i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  color: #f5c518;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 16px;
  flex: 0 0 auto;
}

/* Contact page */
.contact-hero {
  position: relative;
  padding: 55px max(24px, calc((100vw - 1240px) / 2)) 90px;
  text-align: center;
}
.contact-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.contact-hero .script-label { justify-content: center; }
.contact-hero h1 {
  position: relative;
  margin: 0 auto 22px;
  max-width: 760px;
}
.contact-hero .lead { margin: 0 auto; max-width: 620px; color: var(--muted); }
.contact-hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: white;
  clip-path: polygon(0 70%, 50% 0, 100% 70%, 100% 100%, 0 100%);
}
.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 40px;
}
.contact-form label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--stroke-02);
  padding: 14px 16px;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--stroke-02);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
}
.contact-form .button { margin-top: 8px; }
.lead-form-kicker {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lead-form-title {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 18px;
}
.lead-type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.lead-type {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke-01);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lead-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  width: 1px;
  height: 1px;
  padding: 0;
}
.lead-type span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}
.lead-type small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.lead-type.is-active,
.lead-type:has(input:checked) {
  border-color: color-mix(in srgb, var(--orange) 55%, white);
  box-shadow: 0 10px 24px rgba(255, 102, 42, .12);
  transform: translateY(-1px);
}
.lead-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.lead-actions .button {
  width: 100%;
  margin-top: 0;
  justify-content: center;
}
.lead-form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}
/* ========== Troy | Syncpedia guide chatbot ========== */
.troy-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  font-family: var(--font-sans);
}
.troy-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .25s ease;
}
.troy-launcher:hover { transform: translateY(-3px); }
.troy-launcher:active { transform: scale(.97); }
.troy-launcher.is-open { display: none; }
.troy-orb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  box-shadow: 0 12px 28px rgba(30, 30, 30, .14);
  overflow: visible;
}
.troy-orb img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  transition: transform .25s ease;
}
.troy-launcher:hover .troy-orb img { transform: scale(1.06); }
.troy-orb::before,
.troy-orb::after { content: none; }
.troy-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  translate: 0 -50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(30, 30, 30, .16);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.troy-tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  translate: 0 -50%;
  border: 6px solid transparent;
  border-left-color: var(--ink);
}
.troy-launcher:hover .troy-tip,
.troy-launcher:focus-visible .troy-tip {
  opacity: 1;
  transform: translateX(0);
}
.troy-ping {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  z-index: 2;
}
.troy-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 40px));
  display: none;
  grid-template-rows: auto auto 1fr auto;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(227, 220, 214, .95);
  box-shadow: 0 28px 70px rgba(30, 30, 30, .2);
  transform-origin: bottom right;
}
.troy-panel.is-open {
  display: grid;
  animation: troyOpen .32s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes troyOpen {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.troy-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  background: var(--ink);
  color: #fff;
}
.troy-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.troy-avatar img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.troy-head-meta { flex: 1; min-width: 0; }
.troy-head-meta .troy-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.troy-head-meta .troy-role {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}
.troy-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
}
.troy-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  animation: troyBlink 1.6s ease-in-out infinite;
}
@keyframes troyBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.troy-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.troy-close:hover { background: rgba(255, 255, 255, .16); }
.troy-quick {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--stroke-01);
  scrollbar-width: none;
}
.troy-quick::-webkit-scrollbar { display: none; }
.troy-chip {
  flex: 0 0 auto;
  border: 1px solid #e4ddd5;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.troy-chip:hover {
  border-color: color-mix(in srgb, var(--green) 55%, var(--ink));
  color: var(--ink);
  background: var(--lime);
}
.troy-log {
  padding: 16px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfaf6;
}
.troy-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -.015em;
  white-space: pre-wrap;
}
.troy-msg a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.troy-msg.bot {
  align-self: flex-start;
  background: var(--lime);
  border: 1px solid color-mix(in srgb, var(--lime) 70%, #c9d89a);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.troy-msg.user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.troy-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ebe4dc;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
}
.troy-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 45%, var(--lime));
  animation: troyDot 1s ease-in-out infinite;
}
.troy-typing span:nth-child(2) { animation-delay: .15s; }
.troy-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes troyDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.troy-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 12px 14px;
  border-top: 1px solid var(--stroke-01);
  background: #fff;
}
.troy-composer input {
  height: 46px;
  border: 1.5px solid #e8e2da;
  border-radius: 14px;
  padding: 0 14px;
  outline: 0;
  background: var(--cream);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}
.troy-composer input:focus {
  border-color: color-mix(in srgb, var(--green) 40%, #e8e2da);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 70%, transparent);
}
.troy-send {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.troy-send:hover { background: var(--green); transform: translateY(-1px); }
.troy-send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.troy-handlinks {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
  background: #fff;
}
.troy-handlinks a {
  flex: 1;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.troy-call {
  background: #f2f2f2;
  color: var(--ink);
}
.troy-wa {
  background: #e8f8ee;
  color: #128c47;
}
@media (max-width: 760px) {
  .troy-root {
    right: 12px;
    bottom: 12px;
  }
  .troy-launcher {
    width: 62px;
    height: 62px;
  }
  .troy-tip { display: none; }
  .troy-panel {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    height: min(78vh, 620px);
    border-radius: 24px 24px 0 0;
    bottom: 0;
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .troy-status i,
  .troy-typing span,
  .troy-panel.is-open { animation: none; }
}
.contact-photo {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-photo-shape {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  margin: 10px auto;
  overflow: visible;
  clip-path: none;
}
.contact-photo-shape img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.contact-channels { padding-top: 20px; padding-bottom: 56px; }
.channel-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.channel-card {
  --channel-bg: var(--orange);
  --chamfer: 36px;
  --tail: 22px;
  --tail-join: 42px;
  min-height: 236px;
  color: white;
  text-align: center;
  padding: 44px 24px calc(52px + var(--tail));
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  overflow: visible;
  /* Exact reference shape: top-right 45° cut + bottom-left speech tail */
  clip-path: polygon(
    0 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% calc(100% - var(--tail)),
    var(--tail-join) calc(100% - var(--tail)),
    0 100%,
    0 calc(100% - var(--tail))
  );
  background-color: var(--channel-bg);
  background-image: url("../assets/channel-wave.svg");
  background-repeat: no-repeat;
  background-position: left 6% top 12%;
  background-size: 54% 88%;
  transition: transform .25s ease;
}
.channel-card::before {
  content: none;
}
.contact-visit {
  max-width: 1100px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.visit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 12px 30px rgba(30, 30, 30, .05);
}
.visit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--orange) 14%, white);
  color: var(--orange);
}
.visit-icon svg { width: 24px; height: 24px; }
.visit-label {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.visit-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.02em;
}
.visit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}
.visit-meta a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.visit-meta a:hover { color: var(--orange); }
.visit-social {
  display: grid;
  align-content: center;
  gap: 4px;
  background: #2b4a3a;
  color: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.visit-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(43, 74, 58, .28);
}
.visit-social strong {
  font-size: 20px;
  letter-spacing: -.03em;
}
.visit-social span {
  color: #cfe6d5;
  font-size: 14px;
}
.channel-card:hover { transform: translateY(-3px); color: white; }
.orange-channel { --channel-bg: #ff8657; }
.blue-channel { --channel-bg: #5496e7; }
.green-channel { --channel-bg: #3bb75e; }
.channel-icon {
  width: 62px;
  height: 62px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(30,30,30,.12);
  position: relative;
  z-index: 1;
}
.channel-icon svg { width: 24px; height: 24px; }
.channel-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  opacity: .96;
  position: relative;
  z-index: 1;
}
.channel-card strong {
  font-size: clamp(17px, 1.7vw, 22px);
  letter-spacing: -.02em;
  word-break: break-word;
  position: relative;
  z-index: 1;
}
.contact-faq { padding-top: 60px; }

/* Legal pages */
.legal-content {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 40px;
}
.legal-content article { margin-bottom: 46px; }
.legal-content h3 { font-size: 20px; margin-bottom: 14px; letter-spacing: -.02em; }
.legal-content p { color: #55514c; font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }
.legal-content p:last-child { margin-bottom: 0; }

/* Auth pages */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 55% 45% at 8% 12%, rgba(46, 187, 94, .14), transparent 58%),
    radial-gradient(ellipse 48% 40% at 96% 8%, rgba(255, 102, 42, .12), transparent 55%),
    radial-gradient(ellipse 42% 36% at 78% 92%, rgba(255, 222, 123, .28), transparent 60%),
    var(--cream);
  overflow-x: clip;
  position: relative;
}
.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
}
.auth-page::before {
  width: min(520px, 58vw);
  height: min(520px, 58vw);
  left: -18vw;
  top: 18vh;
  background: rgba(225, 243, 171, .45);
}
.auth-page::after {
  width: min(420px, 48vw);
  height: min(420px, 48vw);
  right: -14vw;
  bottom: -8vh;
  background: rgba(255, 133, 85, .16);
}
.auth-header {
  width: min(1080px, calc(100% - 48px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}
.auth-header .brand img { width: 148px; height: auto; }
.auth-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.auth-close:hover {
  background: #fff;
  border-color: var(--ink);
  transform: scale(1.06);
}
.auth-shell {
  width: min(1080px, calc(100% - 48px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding: 12px 0 56px;
  position: relative;
  z-index: 1;
}
.auth-visual,
.auth-panel {
  position: relative;
  display: grid;
  place-items: center;
}
.auth-visual {
  animation: authZoomIn .7s cubic-bezier(.22, 1, .36, 1) both;
}
.auth-panel {
  animation: authZoomIn .75s .08s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes authZoomIn {
  from { opacity: 0; transform: scale(.94) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-photo {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  aspect-ratio: auto;
}
.auth-photo::before { content: none; }
.auth-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  clip-path: none;
  transform: scale(1);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  filter: drop-shadow(0 18px 40px rgba(30, 30, 30, .12));
}
.auth-photo:hover img { transform: scale(1.02); }
.auth-photo-badge {
  position: absolute;
  left: -8px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  background: #fff;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(30, 30, 30, .14);
  animation: authFloat 4.5s ease-in-out infinite;
}
.auth-photo-badge strong {
  font-size: 18px;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.auth-photo-badge span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
@keyframes authFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.auth-spark {
  position: absolute;
  top: 8%;
  right: 4%;
  color: var(--orange);
  font-size: 28px;
  animation: authSpark 2.8s ease-in-out infinite;
}
@keyframes authSpark {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(1.18) rotate(12deg); opacity: 1; }
}
.auth-form-wrap {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(227, 220, 214, .85);
  border-radius: 28px;
  padding: 36px 34px 32px;
  box-shadow: 0 24px 60px rgba(30, 30, 30, .06);
}
.auth-eyebrow {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}
.auth-form-wrap h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.auth-sub {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
.auth-sub a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-sub a:hover { color: var(--orange); }
.auth-google {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  border: 1.5px solid #e6e0d8;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.auth-google:hover {
  border-color: #dadce0;
  box-shadow: 0 10px 28px rgba(30, 30, 30, .08);
  transform: translateY(-1px);
}
.auth-google svg { width: 22px; height: 22px; flex-shrink: 0; }
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: #e8e2da;
}
.auth-form label {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.auth-form input {
  width: 100%;
  display: block;
  margin-top: 8px;
  height: 48px;
  border: 1.5px solid #e8e2da;
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, .9);
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-form input::placeholder { color: #b0a89f; font-weight: 500; }
.auth-form input:focus {
  background: #fff;
  border-color: color-mix(in srgb, var(--orange) 55%, #e8e2da);
  box-shadow: 0 0 0 4px rgba(255, 102, 42, .12);
}
.password-field {
  position: relative;
  display: block;
}
.password-field input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-35%);
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.password-toggle:hover { background: rgba(30, 30, 30, .05); }
.password-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.auth-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  font-size: 16px;
}
.auth-help {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-help:hover { color: var(--orange); }
.auth-legal {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.auth-legal a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-legal a:hover { color: var(--orange); }

/* Signup-only refinements */
.auth-page--signup .auth-form-wrap {
  padding: 32px 30px 28px;
}
.auth-page--signup .auth-sub { margin-bottom: 18px; }
.auth-page--signup .auth-form label { margin-bottom: 12px; }
.auth-page--signup .auth-divider { margin: 16px 0 14px; }
.auth-field-row {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
}
.auth-hint {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.01em;
}
.auth-perks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 420px;
}
.auth-perks li {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(227, 220, 214, .9);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(30, 30, 30, .06);
}
.auth-page--signup .auth-photo {
  background: transparent;
}
.auth-page--signup .auth-photo::before { content: none; }
.auth-page--signup .auth-photo img {
  object-position: center center;
}

/* Illustrative logo rail  -  fictional marks only, not real partners */
.auth-logo-rail {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 36px;
  background: #f3e7c8;
  border-radius: 18px;
  padding: 22px 28px 26px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.auth-logo-rail p {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: #6a5f52;
  letter-spacing: -.01em;
}
.auth-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 36px;
}
.fake-logo {
  color: #4a4038;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .88;
}
.fake-logo i {
  display: inline-block;
  flex-shrink: 0;
}
.fl-voltra { font-weight: 800; font-size: 23px; }
.fl-klim { font-weight: 600; font-size: 21px; }
.fl-orbi { font-weight: 700; font-size: 21px; }
.fl-orbi i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(90deg, #4a4038 50%, transparent 50%);
  border: 2px solid #4a4038;
  box-sizing: border-box;
}
.fl-nexa { font-weight: 700; font-size: 21px; }
.fl-nexa i {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 15px solid #4a4038;
  transform: rotate(180deg);
}
.fl-lumen { font-weight: 600; font-size: 21px; }
.fl-sift { font-weight: 800; font-size: 22px; letter-spacing: -.06em; }
.fl-aero { font-weight: 600; font-size: 21px; font-style: italic; }

@media (max-width: 760px) {
  .auth-logo-rail {
    width: min(480px, calc(100% - 32px));
    padding: 18px 16px 20px;
    margin-bottom: 28px;
  }
  .auth-logo-row { gap: 14px 22px; }
  .fake-logo { font-size: 17px; }
  .fl-voltra { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-visual,
  .auth-panel,
  .auth-photo-badge,
  .auth-spark { animation: none; }
}

/* Course details page */
/* ========== Course detail page ========== */
.detail-page {
  background:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(255, 228, 148, .35), transparent 55%),
    radial-gradient(ellipse 50% 35% at 95% 8%, rgba(225, 243, 171, .45), transparent 50%),
    #fff;
}

.detail-hero {
  padding: 36px max(24px, calc((100vw - 1240px) / 2)) 28px;
  background: transparent;
}
.detail-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.breadcrumb {
  color: #9a9690;
  font-size: 13px;
  margin-bottom: 16px;
}
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb span { color: var(--ink); font-weight: 600; }

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.detail-tag-green {
  background: color-mix(in srgb, var(--green) 16%, white);
  color: #16884a;
}
.detail-tag-blue {
  background: color-mix(in srgb, var(--blue) 18%, white);
  color: #1f6fb8;
}

.detail-hero-copy .script-label {
  justify-content: flex-start;
  margin-bottom: 8px;
}
.detail-hero-copy h1 {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: clamp(36px, 4.4vw, 54px);
}
.detail-hero-copy .lead {
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.45;
}

.detail-meta-chips {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
}
.detail-meta-chips li {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(30, 30, 30, .04);
}
.detail-meta-chips strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2px;
}
.detail-meta-chips span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.detail-instructor {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #55514c;
  font-size: 14px;
}
.detail-instructor img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(30, 30, 30, .12);
}
.detail-instructor strong { color: var(--ink); }
.detail-instructor strong a { text-decoration: underline; text-underline-offset: 2px; }
.detail-instructor strong a:hover { color: var(--orange); }

.detail-hero-media {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.detail-media-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 102, 42, .18), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}
.detail-media-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.detail-media-blob-a {
  width: 180px;
  height: 180px;
  top: 8%;
  right: 4%;
  background: color-mix(in srgb, var(--lime) 70%, white);
  opacity: .85;
}
.detail-media-blob-b {
  width: 140px;
  height: 140px;
  bottom: 10%;
  left: 2%;
  background: color-mix(in srgb, var(--yellow) 65%, white);
  opacity: .9;
}
.detail-media-doodle {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: auto;
  pointer-events: none;
}
.detail-media-star { top: 18px; left: 18px; transform: rotate(-12deg); }
.detail-media-squiggle { bottom: 36px; right: 10px; width: 72px; transform: rotate(8deg); }
.detail-media-frame {
  position: relative;
  z-index: 1;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  box-shadow:
    0 24px 50px rgba(30, 30, 30, .12),
    0 0 0 1px rgba(30, 30, 30, .04);
  transform: rotate(-1.5deg);
}
.detail-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #faf9f6;
}
.detail-media-badge {
  position: absolute;
  z-index: 3;
  left: 6%;
  bottom: 8%;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 14px 28px rgba(30, 30, 30, .2);
  max-width: 180px;
}
.detail-media-badge strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.detail-media-badge span {
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.35;
}

.detail-trust {
  padding: 0 max(24px, calc((100vw - 1240px) / 2)) 10px;
}
.detail-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(30, 30, 30, .05);
}
.detail-trust-inner article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
}
.detail-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}
.detail-trust-inner strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.detail-trust-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 42px;
  align-items: start;
  padding-top: 42px;
}
.detail-block { margin-bottom: 48px; }
.detail-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-content h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 14px;
}
.detail-overview,
.detail-section-lead,
.detail-content p,
.detail-content li {
  color: #55514c;
  font-size: 15px;
  line-height: 1.65;
}
.detail-overview { max-width: 680px; margin-bottom: 20px; }
.detail-section-lead { margin: -4px 0 18px; }

.detail-highlight {
  background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 55%, white), color-mix(in srgb, var(--yellow) 40%, white));
  border-radius: 18px;
  padding: 20px 22px;
  max-width: 680px;
}
.detail-highlight strong {
  display: block;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.detail-highlight p { margin: 0; color: var(--ink); font-weight: 500; }

.learn-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.learn-grid li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0;
}
.learn-grid span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--green) 16%, white);
  color: #16884a;
  font-size: 13px;
  font-weight: 800;
}
.learn-grid p { margin: 0; font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.45; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.audience-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px 18px;
}
.audience-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.audience-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.prereq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.prereq-list li {
  margin: 0;
  background: #fff;
  border: 1px dashed var(--stroke-01);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.curriculum {
  background: var(--cream);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 10px;
}
.curriculum details {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 10px #00000008;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.curriculum details[open] {
  box-shadow: 0 8px 22px rgba(30, 30, 30, .08);
}
.curriculum summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 16px;
  font-weight: 800;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.curriculum details[open] summary::after { content: "–"; background: var(--ink); color: #fff; }
.curriculum-index {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--orange) 14%, white);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}
.curriculum-title { font-size: 15px; line-height: 1.35; }
.curriculum details p {
  padding: 0 20px 18px 72px;
  margin: 0;
  font-size: 14px;
}

.detail-outcome-card {
  background: linear-gradient(160deg, #1e1e1e 0%, #2c2c2c 100%);
  color: #fff;
  border-radius: 22px;
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
}
.detail-outcome-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 35%, transparent);
  filter: blur(2px);
}
.detail-outcome-card .detail-kicker { color: var(--orange-light); position: relative; z-index: 1; }
.detail-outcome-card h2 { color: #fff; position: relative; z-index: 1; }
.detail-outcome {
  max-width: 640px;
  margin: 0 0 18px !important;
  color: rgba(255, 255, 255, .78) !important;
  position: relative;
  z-index: 1;
}
.outcome-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.outcome-points li {
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.outcome-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange-light);
}

.mentor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
}
.mentor-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}
.mentor-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(30, 30, 30, .05);
}
.mentor-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  background: #eceae4;
}
.mentor-card figcaption { padding: 16px 18px 20px; }
.mentor-card strong { display: block; font-size: 15px; }
.mentor-card strong a:hover { color: var(--orange); }
.mentor-card span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  margin: 4px 0 8px;
  letter-spacing: .02em;
}
.mentor-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #55514c;
}

.detail-sidebar { position: sticky; top: 24px; }
.detail-card {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 22px;
  padding: 18px 18px 24px;
  box-shadow: 0 18px 40px rgba(30, 30, 30, .08);
}
.detail-card-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 16px;
  aspect-ratio: 1;
}
.detail-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-price {
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-price strong { font-size: 34px; letter-spacing: -.03em; }
.detail-price small { color: var(--muted); font-size: 13px; }
.detail-price-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.detail-card h3 {
  font-size: 15px;
  margin: 22px 0 10px;
}
.detail-side-secondary {
  width: 100%;
  margin-top: 10px;
}
.detail-card > .button-orange { width: 100%; }
.meta-list { list-style: none; margin: 0 0 18px; padding: 0; }
.meta-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--stroke-01);
  font-size: 13px;
}
.meta-list li:last-child { border-bottom: 0; }
.meta-list em { font-style: normal; color: #666; }
.meta-list b { font-weight: 700; }
.detail-guarantee {
  background: var(--cream);
  border-radius: 14px;
  padding: 14px 16px;
}
.detail-guarantee strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.detail-guarantee p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #55514c;
}

.related-courses { padding-top: 20px; }
.related-grid { max-width: 1180px; }
.detail-page .course-card,
.related-courses .course-card {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 300px;
  box-shadow: 0 8px 28px #0000000d;
}

/* Legacy collage hooks (unused on upgraded page) */
.detail-collage,
.collage-people,
.collage-stroke,
.collage-bar,
.collage-circle,
.collage-hill,
.collage-squiggle,
.collage-arrow { display: none; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2.3fr 1fr 1fr 1fr; gap: 80px; padding-bottom: 55px; }
.footer-brand img { width: 168px; height: 46px; object-fit: contain; margin-bottom: 15px; }
.footer-brand p {
  max-width: 350px;
  color: #4b4844;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}
.footer-brand > a {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--ink);
}
.footer-address {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: #4b4844;
  font-weight: 500;
}
.footer-address a {
  display: inline-block;
  margin-top: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
.footer-address a:hover { color: var(--orange); }
.footer-grid h3 {
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
.footer-grid > div:not(.footer-brand) a {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #2f2c28;
  letter-spacing: -.01em;
}
.footer-grid > div:not(.footer-brand) a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--stroke-01);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #3d3a36;
}
.footer-copy {
  font-weight: 700;
  color: var(--ink);
}
.footer-copy em {
  font-style: normal;
  font-weight: 600;
  color: #5a564f;
  margin-left: 6px;
}
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-bottom a {
  font-weight: 700;
  color: #2f2c28;
}
.footer-bottom a:hover { color: var(--orange); }

.mentor-profile-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(30,30,30,.08);
}
.mentor-profile-card .teacher-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
}
.mentor-profile-card .teacher-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mentor-profile-card .button-row,
.mentor-profile-card .button { margin-top: 12px; margin-right: 10px; }
.mentor-profile-card ul { margin: 18px 0 8px; padding-left: 18px; }
.mentor-profile-card li { margin-bottom: 8px; color: #55514c; }
@media (max-width: 760px) {
  .mentor-profile-card { grid-template-columns: 1fr; }
}

/* Motion and responsive */
.reveal,
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .reels-track { animation-play-state: paused !important; }
  .how-section { height: auto; padding-bottom: 40px; }
  .how-pin {
    position: static;
    max-height: none;
    background: transparent;
  }
  .how-heading { position: static; }
  .steps-stack {
    position: static;
    height: auto;
    max-height: none;
  }
  .steps-panels { height: auto; overflow: visible; }
  .step-row,
  .step-row.is-active,
  .step-row.is-passed {
    position: relative;
    inset: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    filter: none;
    margin-bottom: 40px;
  }
  .steps-rail-fill { transition: none; }
  .steps-progress-fill { transform: scaleY(1) !important; }
}

@media (max-width: 1020px) {
  :root { --page: calc(100% - 40px); }
  .site-header { grid-template-columns: 1fr auto; }.nav-pill { display: none; }.header-actions { margin-right: 55px; }
  .brand { position: relative; z-index: 4; }
  .menu-toggle { display: block; position: absolute; right: 24px; width: 42px; height: 42px; z-index: 3; }.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .2s; }
  .nav-pill.open {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 110px 26px 40px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    z-index: 2;
  }
  .nav-pill.open > a,
  .nav-pill.open .nav-trigger { justify-content: space-between; padding: 16px 18px; border-radius: 16px; font-size: 20px; font-weight: 700; }
  .nav-pill.open .nav-item { display: block; }
  .nav-pill.open .nav-trigger { width: 100%; }
  .nav-pill.open .nav-item.is-open > .nav-trigger { background: var(--cream); color: var(--ink); }
  .nav-pill.open .nav-menu {
    position: static;
    width: auto;
    max-height: 0;
    padding: 0 0 0 8px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition: max-height .32s ease, opacity .2s ease, visibility .32s, padding .32s ease;
  }
  .nav-pill.open .nav-menu::before { display: none; }
  .nav-pill.open .nav-item.is-open > .nav-menu { max-height: 520px; padding: 8px 0 12px 8px; opacity: 1; visibility: visible; transform: none; }
  .nav-pill.open .nav-item.is-open > .nav-menu-courses {
    max-height: min(420px, 55vh);
    padding: 12px;
    background: #ececec;
    border-radius: 18px;
    overflow-y: auto;
  }
  .nav-pill.open .nav-courses-grid { grid-template-columns: 1fr; gap: 10px; }
  .nav-pill.open .nav-course-card { padding: 16px 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) 52%; padding-top: 60px; padding-bottom: 70px; }
  .hero h1 { font-size: 52px; line-height: 56px; }
  .hero-art { left: 0; top: 0; }
  .how-heading { top: 86px; }
  .course-cta { gap: 40px; }
  .community-portrait { width: min(400px, 100%); }
  .quality-section { gap: 45px; }.live-card { left: 0; }
  .hero-spark { left: -20px; width: 60px; }.hero-arrow { right: -24px; width: 70px; }
  .contact-form-section { gap: 35px; }
  .detail-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .detail-hero-media { min-height: 360px; order: -1; }
  .detail-media-frame { width: min(380px, 88%); transform: none; }
  .detail-meta-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .detail-trust-inner { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1.15fr .85fr; gap: 28px; }
  .learn-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .mentor-row-three { grid-template-columns: 1fr; max-width: 320px; }
  .channel-grid { gap: 14px; }
  .contact-visit { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .section { padding: 55px 22px; }
  h2 { font-size: 36px; }
  .site-header { height: 82px; padding: 0 20px; }.brand img { width: 128px; }.header-actions { display: none; }
  .hero { min-height: auto; padding: 46px 22px 40px; display: block; }
  .hero h1 { font-size: 40px; line-height: 44px; max-width: none; }
  .hero-copy { max-width: none; margin-bottom: 0; }
  .hero .lead { max-width: none; }
  .hero-art { width: 100%; left: 0; top: 0; margin: 34px 0 0; }
  .partner-wrap { padding: 0 20px 70px; }.partner-card { padding: 25px 20px; }.partner-track { gap: 45px; }
  .how-section {
    height: auto;
    padding-top: 70px;
    padding-bottom: 40px;
  }
  .section-heading { margin-bottom: 32px; }.section-heading h2 br { display: none; }
  .how-pin {
    position: static;
    max-height: none;
    gap: 18px;
    background: transparent;
  }
  .how-heading {
    position: static;
    top: auto;
    padding: 12px 8px 16px;
    margin-bottom: 8px;
  }
  .steps-stack {
    position: static;
    top: auto;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .steps-progress {
    position: relative;
    top: auto;
    height: auto;
    padding: 0 8px 8px;
  }
  .steps-progress-track {
    width: 100%;
    height: 3px;
  }
  .steps-progress-fill {
    transform-origin: left center;
    transform: scaleX(var(--steps-progress));
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 42%, var(--green) 72%, var(--blue) 100%);
  }
  .steps-panels {
    height: auto;
    overflow: visible;
  }
  .step-row {
    position: relative;
    inset: auto;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
    margin-bottom: 50px;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    filter: none;
  }
  .step-row.is-passed,
  .step-row.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    filter: none;
  }
  .step-copy { max-width: none; }
  .speech-frame { height: 360px; padding: 30px 34px 55px; }
  .section-heading.wide { display: flex; align-items: end; padding: 0 22px; }.section-heading.wide h2 { font-size: 33px; }.section-heading.wide .slider-buttons { flex-shrink: 0; }
  .courses-section { padding-left: 0; padding-right: 0; }.course-card { min-width: 88vw; height: 335px; }.card-slider, .testimonial-slider { padding-left: 22px; padding-right: 22px; }
  .courses-page .course-card { min-width: 0; width: 100%; height: auto; }
  .teachers-section { padding-top: 70px; }.teacher-grid { grid-template-columns: 1fr; max-width: 320px; gap: 40px; }
  .course-cta {
    min-height: auto;
    margin: 30px 0 50px;
    padding: 60px 22px 0;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: end;
    clip-path: polygon(0 2%, 88% 2%, 100% 9%, 100% 97%, 82% 100%, 68% 97%, 0 97%);
  }
  .cta-portrait { height: auto; min-height: 360px; order: -1; }
  .community-portrait { width: min(380px, 96vw); transform: translateY(5%); }
  .student-badge { top: auto; bottom: 38%; }
  .star-badge { top: auto; bottom: 38%; right: 5px; }
  .cta-copy { padding-bottom: 56px; align-self: start; }
  .global-section { padding-left: 0; padding-right: 0; }.global-section .section-heading { padding: 0 22px; }.greeting-marquee { margin-left: 0; margin-right: 0; }
  .quality-section { grid-template-columns: 1fr; gap: 60px; }
  .quality-art { height: auto; min-height: 380px; }
  .quality-portrait { width: min(420px, 92vw); }
  .live-card { bottom: 20px; max-width: 90%; }
  .testimonials { padding: 50px 0 60px; }.testimonials .section-heading { padding: 0 22px; }.quote-card { min-width: 78vw; }
  .compare-grid { grid-template-columns: 1fr; }.compare-card { min-height: auto; }
  .faq-grid { grid-template-columns: 1fr; }.faq-answer { min-height: 320px; padding-top: 80px; }
  .final-cta h2 br { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px 30px; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { flex-direction: column; gap: 20px; }.footer-bottom div { flex-wrap: wrap; gap: 15px 25px; }
  .courses-hero { padding: 40px 22px 80px; }
  .courses-hero h1 { font-size: 40px; line-height: 44px; }
  .hero-spark, .hero-arrow { display: none; }
  .courses-catalog { padding-top: 20px; }
  .courses-grid { grid-template-columns: 1fr; }
  .courses-page .course-card { min-height: 280px; }
  .roadmap-track { grid-template-columns: 1fr; gap: 34px; }
  .roadmap-dot { margin: 14px 0 16px; }
  .roadmap-dot::after { left: 20px; right: auto; width: 60px; }
  .buy-widget { right: 14px; bottom: 14px; width: min(240px, calc(100vw - 28px)); border-radius: 24px; }
  .contact-hero { padding: 40px 22px 70px; }
  .contact-hero h1 { font-size: 40px; line-height: 44px; }
  .contact-form-section { grid-template-columns: 1fr; gap: 50px; }
  .contact-photo { min-height: 0; }
  .contact-photo-shape { width: min(100%, 320px); height: auto; }
  .channel-grid { grid-template-columns: 1fr; }
  .contact-visit { grid-template-columns: 1fr; }
  .visit-card { grid-template-columns: 1fr; gap: 14px; }
  .lead-type-row,
  .lead-actions { grid-template-columns: 1fr; }
  .buy-widget { bottom: 84px; }
  .detail-hero { padding: 28px 22px 18px; }
  .detail-hero-media { min-height: 300px; }
  .detail-media-badge { left: 4%; bottom: 4%; }
  .detail-trust { padding: 0 22px 8px; }
  .detail-trust-inner { grid-template-columns: 1fr; gap: 6px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; order: -1; }
  .curriculum details p { padding-left: 20px; }
  .curriculum summary { gap: 10px; }
  .mentor-row,
  .mentor-row-three { grid-template-columns: 1fr; max-width: 360px; }
  .related-grid { grid-template-columns: 1fr; }
  .detail-hero-actions .button { width: 100%; justify-content: center; }
  .auth-page { overflow-y: auto; }
  .auth-header,
  .auth-shell { width: min(480px, calc(100% - 32px)); }
  .auth-header { height: 68px; }
  .auth-header .brand img { width: 132px; }
  .auth-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 8px 0 48px;
    gap: 28px;
  }
  .auth-visual { order: -1; }
  .auth-photo { width: min(280px, 78vw); }
  .auth-photo-badge { left: -4px; bottom: 18px; padding: 12px 14px; }
  .auth-spark { top: 2%; right: 8%; }
  .auth-form-wrap { width: 100%; padding: 28px 22px 24px; border-radius: 24px; }
  .auth-form-wrap h1 { font-size: 28px; }
  .auth-eyebrow { font-size: 24px; }
  .auth-field-row { grid-template-columns: 1fr; gap: 0; }
  .auth-perks { margin-top: 16px; max-width: 280px; }
  .auth-page--signup .auth-form-wrap { padding: 26px 20px 22px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 40px; line-height: 44px; }.lead { font-size: 16px; line-height: 24px; }
  .button-row .button { width: 100%; }
  .hero-art { height: 420px; }
  .hero-main { width: 200px; left: 10px; }
  .hero-blue { width: 210px; right: -18px; left: auto; }
  .hero-green { width: 195px; right: -8px; left: auto; }
  .hero-deco-badge { right: 160px; }
  .hero-deco-stars { right: 110px; top: 160px; width: 88px; }
  .hero-deco-arrow-a, .hero-deco-arrow-b, .hero-deco-point { display: none; }
  .speech-frame { height: 315px; padding: 25px 25px 45px; }.mock-card { min-height: 240px; padding: 24px; }.course-picker { padding: 22px 30px; }.class-card { padding: 23px; }
  .course-card { grid-template-columns: 38% 62%; padding: 18px 15px; }.course-top strong { font-size: 20px; }.tag { padding: 5px 7px; }
  .courses-page .course-card { grid-template-columns: 1fr; padding: 18px 18px 22px; }
  .courses-page .course-visual { margin: 10px 0; min-height: 170px; }
  .courses-page .course-top strong { font-size: 22px; }
  .slider-buttons button { width: 36px; height: 36px; }
  .cta-portrait { transform: scale(.9); transform-origin: bottom center; width: 100%; }
  .community-portrait { transform: translateY(4%); }
  .star-badge { right: -8px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-brand { grid-column: auto; }
}

/* Blogs / Newsroom */
.blogs-page .blog-hero,
.blog-article-page .blog-article { background: var(--cream); }
.blog-hero {
  padding: 70px max(24px, calc((100vw - 1240px) / 2)) 50px;
}
.blog-hero-copy { max-width: 760px; }
.blog-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 10px 0 18px;
}
.blog-source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.blog-source-pills span {
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: 0 6px 18px rgba(30, 30, 30, .06);
}
.blog-listing { padding-top: 40px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.blog-card {
  background: white;
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(30, 30, 30, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card-image {
  display: block;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: var(--cream);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-content {
  padding: 24px 28px 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 30, 30, .1);
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: white;
}
.blog-tag.orange { background: var(--orange); }
.blog-tag.blue { background: var(--blue); }
.blog-tag.green { background: var(--green); }
.blog-tag.brown { background: var(--brown); }
.blog-tag.pink { background: var(--pink); }
.blog-card h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 0;
}
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.blog-card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.blog-card-foot a { text-decoration: underline; text-underline-offset: 3px; }
.blog-cta-band {
  margin: 24px 0 0;
  padding: 55px max(24px, calc((100vw - 1240px) / 2)) 70px;
}
.blog-cta-inner { max-width: 640px; }
.blog-cta-inner h2 { margin-bottom: 14px; }
.blog-cta-inner .button { margin-top: 18px; }
.blog-cta-inner .button-row { justify-content: flex-start; margin-top: 18px; }
.blog-cta-inner .button-row .button { margin-top: 0; }

.blog-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.blog-article-inner {
  background: white;
  border-radius: 28px;
  padding: 42px 46px 48px;
  box-shadow: 0 16px 40px rgba(30, 30, 30, .07);
}
.blog-article-inner h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 14px 0 12px;
}
.blog-byline {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.blog-article-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 26px;
  background: var(--cream);
}
.blog-body {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -.01em;
}
.blog-body h2 {
  font-size: 28px;
  margin: 34px 0 12px;
}
.blog-body p { margin: 0 0 16px; }
.blog-body ul { margin: 0 0 18px; padding-left: 22px; }
.blog-body li { margin-bottom: 8px; }
.blog-body .lede {
  font-size: 18px;
  font-weight: 600;
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 18px;
}
.blog-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--yellow) 35%, white);
  font-size: 14px;
  color: #5a5148;
}
.blog-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.blog-related h2 { font-size: 24px; margin-bottom: 8px; }
.blog-related > p { color: var(--muted); margin-bottom: 16px; }
.blog-related-list { display: grid; gap: 12px; }
.blog-related-item {
  display: grid;
  gap: 8px;
  background: white;
  border-radius: 16px;
  padding: 10px 10px 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(30, 30, 30, .06);
}
.blog-related-item img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 10px;
}
.blog-related-item .blog-tag,
.blog-related-item strong { margin-left: 6px; margin-right: 6px; }
.blog-related-item strong {
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article { grid-template-columns: 1fr; }
  .blog-article-inner { padding: 28px 22px 34px; }
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding-bottom: 48px;
  }
  .auth-visual { order: -1; }
  .auth-photo { width: min(320px, 70vw); }
  .auth-form-wrap { width: min(420px, 100%); }
}

/* About page */
.about-hero {
  padding: 30px max(24px, calc((100vw - 1240px) / 2)) 20px;
  overflow: hidden;
}
.about-hero-stage {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 560px) 1fr;
  align-items: center;
  gap: 8px;
  min-height: 460px;
}
.about-hero-copy {
  text-align: center;
  padding: 30px 8px 50px;
  z-index: 2;
}
.about-scroll-title {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 auto;
  max-width: 560px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .18em .28em;
}
.about-scroll-title .scroll-word {
  color: color-mix(in srgb, var(--ink) calc(var(--word-dark, 0) * 100%), #cfcac2);
  transition: color .28s ease-out;
  will-change: color;
}
.about-hero-person {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.about-hero-photo {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: none;
  border: 0;
  box-shadow: none;
}
.about-hero-person.left .about-hero-photo { width: min(340px, 100%); }
.about-hero-person.right .about-hero-photo { width: min(380px, 100%); }
.about-hero-squiggle {
  position: absolute !important;
  top: 36px;
  left: 14%;
  width: 54px !important;
  z-index: 2;
  filter: none !important;
}
.about-hero-arrow {
  position: absolute !important;
  top: 80px;
  left: -28px;
  width: 70px !important;
  z-index: 2;
  filter: none !important;
  transform: rotate(-12deg);
}

.about-intro {
  background: var(--white);
  padding-top: 70px;
  padding-bottom: 50px;
}
.about-intro-copy {
  max-width: 760px;
  margin-bottom: 42px;
  text-align: left;
}
.about-intro-copy .script-label { margin-bottom: 14px; }
.about-intro-title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--ink);
  max-width: 18ch;
}
.about-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.about-stat {
  --stat-ink: rgba(255, 255, 255, .22);
  position: relative;
  color: white;
  padding: 38px 30px 52px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(
    0 0,
    calc(100% - 46px) 0,
    100% 46px,
    100% calc(100% - 22px),
    38px calc(100% - 22px),
    0 100%
  );
}
.about-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -2;
}
.about-stat::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -35%;
  width: 78%;
  height: 170%;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
  background:
    repeating-radial-gradient(
      circle at 72% 48%,
      transparent 0 14px,
      rgba(0, 0, 0, .10) 14px 16px,
      transparent 16px 28px
    );
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 42%, #000 100%);
}
.about-stat.orange { background: #ff7a4d; }
.about-stat.blue { background: #5aa9f0; }
.about-stat.green { background: #2fbf63; }
.about-stat.wide { min-height: 270px; }
.about-stat strong {
  font-size: clamp(46px, 5vw, 64px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.about-stat span {
  position: relative;
  z-index: 1;
  max-width: 170px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.02em;
}
.about-stat.wide span { max-width: 210px; }

.about-journey {
  --journey-gap: 4cm;
  height: 420vh;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}
.journey-sticky {
  position: sticky;
  top: 72px;
  min-height: calc(100vh - 72px);
  padding-top: 34px;
  overflow: hidden;
}
.about-journey .section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}
.about-journey .muted-phrase { color: color-mix(in srgb, var(--ink) 42%, white); font-weight: 700; }
.journey-track {
  width: 100%;
  height: min(460px, 56vh);
  position: relative;
  overflow: visible;
}
.journey-card {
  color: white;
  padding: 26px 24px 42px;
  width: min(700px, 62%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  inset: 0 auto auto 0;
  z-index: calc(var(--journey-index) + 1);
  transform: translate3d(var(--journey-x, calc(var(--journey-index) * var(--journey-gap))), 0, 0);
  opacity: 1;
  box-shadow: -14px 8px 30px rgba(30, 30, 30, .16);
  will-change: transform;
  /* speech-bubble block with bottom-left pointer */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 28px),
    34px calc(100% - 28px),
    0 100%,
    0 calc(100% - 28px)
  );
}
.journey-card:first-child {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.journey-card.green { background: var(--green); }
.journey-card.blue { background: var(--blue); }
.journey-card.orange { background: var(--orange-light); }
.journey-card.brown { background: var(--brown); }
.journey-top {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 48%);
  gap: 12px;
  align-items: start;
  min-height: 170px;
}
.journey-year {
  font-size: clamp(40px, 5vw, 56px);
  line-height: .95;
  letter-spacing: -.05em;
  padding-top: 6px;
}
.journey-card h3 {
  font-size: 22px;
  margin: 0;
  color: white;
}
.journey-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  opacity: .95;
  max-width: 36ch;
}
.journey-photo {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  justify-self: end;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 3px solid rgba(255,255,255,.92);
}
.journey-photo.shape-a {
  clip-path: polygon(
    48% 0%, 62% 7%, 78% 3%, 90% 14%, 100% 28%, 96% 44%, 100% 58%,
    90% 72%, 96% 86%, 78% 96%, 58% 100%, 40% 94%, 22% 100%, 8% 86%,
    0% 68%, 6% 48%, 0% 30%, 12% 14%, 28% 4%
  );
}
.journey-photo.shape-b {
  clip-path: polygon(
    42% 0%, 58% 6%, 74% 0%, 88% 12%, 100% 24%, 94% 40%, 100% 55%,
    92% 70%, 100% 84%, 82% 96%, 64% 90%, 48% 100%, 30% 92%, 12% 98%,
    0% 80%, 8% 62%, 0% 42%, 10% 24%, 4% 10%, 22% 2%
  );
}
.journey-photo.shape-c {
  clip-path: polygon(
    50% 2%, 66% 0%, 82% 8%, 96% 18%, 100% 36%, 92% 50%, 100% 66%,
    88% 80%, 94% 94%, 74% 100%, 54% 92%, 36% 100%, 18% 90%, 4% 78%,
    0% 58%, 8% 40%, 0% 22%, 14% 8%, 30% 0%
  );
}
.journey-photo.shape-d {
  clip-path: polygon(
    46% 0%, 64% 4%, 80% 0%, 94% 12%, 100% 30%, 90% 44%, 100% 60%,
    88% 74%, 98% 88%, 78% 100%, 58% 92%, 40% 100%, 20% 94%, 4% 80%,
    0% 60%, 10% 44%, 0% 28%, 12% 12%, 28% 2%
  );
}
.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.12) contrast(1.05);
}

.about-values {
  --value-card-h: 232px;
  --value-stack-gap: 48px;
  --value-overlap-gap: 0px;
  /* Enough scroll for the 3-card stack, without a huge empty cream gap */
  height: 145vh;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  overflow: visible;
  /* shallow V cut at the top of the cream section */
  clip-path: polygon(0 28px, 48% 0, 100% 22px, 100% 100%, 0 100%);
  margin-top: -1px;
}
.about-values::before {
  content: "";
  position: absolute;
  right: -50px;
  top: 90px;
  width: 260px;
  height: 200px;
  background: white;
  transform: rotate(14deg);
  opacity: .28;
  pointer-events: none;
  z-index: 0;
}
.values-sticky {
  position: sticky;
  top: 72px;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: flex-start;
  padding-top: 28px;
  padding-bottom: 16px;
  overflow: visible;
}
.values-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px 40px;
  align-items: start;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}
.values-copy {
  position: relative;
  top: auto;
  padding-top: 8px;
  max-width: 100%;
  min-width: 0;
}
.values-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.18;
  letter-spacing: -.03em;
  max-width: 100%;
  text-wrap: balance;
}
.values-copy > p:last-child {
  color: var(--muted);
  max-width: 420px;
  white-space: normal;
}
.values-cards {
  position: relative;
  min-width: 0;
  /* JS sets the height (separated start layout); fallback below. */
  height: calc(var(--value-card-h) + ((var(--value-card-h) + 24px) * 2));
}
.value-card {
  --value-accent: var(--orange);
  --notch: 22px;
  background: white;
  padding: 34px 32px 28px;
  box-shadow: 0 12px 30px rgba(30,30,30,.1);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--value-card-h);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: calc(var(--value-index) + 1);
  transform: translate3d(0, var(--value-y, calc(var(--value-index) * var(--value-stack-gap))), 0);
  opacity: 1;
  will-change: transform;
  /* notched top-right corner: flat line, dip, then rise back up */
  clip-path: polygon(
    0 var(--notch),
    calc(100% - 130px) var(--notch),
    calc(100% - 92px) calc(var(--notch) + 34px),
    100% 0,
    100% 100%,
    0 100%
  );
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--value-accent);
  clip-path: polygon(
    0 var(--notch),
    calc(100% - 130px) var(--notch),
    calc(100% - 92px) calc(var(--notch) + 34px),
    100% 0,
    100% 3px,
    calc(100% - 92px) calc(var(--notch) + 37px),
    calc(100% - 130px) calc(var(--notch) + 3px),
    0 calc(var(--notch) + 3px)
  );
}
.value-card.accent-orange { --value-accent: var(--orange); }
.value-card.accent-white { --value-accent: #fff; }
.value-card.accent-yellow { --value-accent: #f0c419; }
.value-card.accent-green { --value-accent: var(--green); }
.value-card.filled.green {
  background: var(--green);
  color: white;
  background-image:
    radial-gradient(ellipse 90px 140px at 82% 20%, transparent 40%, rgba(0,0,0,.1) 41% 48%, transparent 49%),
    radial-gradient(ellipse 70px 160px at 92% 70%, transparent 38%, rgba(0,0,0,.12) 39% 46%, transparent 47%),
    radial-gradient(ellipse 60px 120px at 74% 80%, transparent 42%, rgba(0,0,0,.08) 43% 50%, transparent 51%);
}
.value-card.filled.green h3,
.value-card.filled.green p { color: white; }
.value-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  flex: 0 0 auto;
}
.value-card .value-icon { margin-bottom: auto; }
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.value-icon { width: 44px; height: 44px; flex: 0 0 auto; }
.value-icon svg { width: 100%; height: 100%; }
.value-icon.yellow-stars {
  color: #f0c419;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 44px;
}

@media (max-width: 1020px) {
  .about-hero-stage { grid-template-columns: 1fr; min-height: auto; gap: 18px; }
  .about-hero-person { min-height: auto; }
  .about-hero-copy { order: 1; padding: 12px 0 8px; }
  .about-hero-person.left { order: 2; }
  .about-hero-person.right { order: 3; }
  .about-scroll-title { font-size: clamp(30px, 8vw, 40px); }
  .about-hero-photo,
  .about-hero-person.left .about-hero-photo,
  .about-hero-person.right .about-hero-photo { width: min(300px, 78%); }
  .about-stats { grid-template-columns: 1fr; }
  .journey-card { width: min(520px, 74%); }
  .values-layout { grid-template-columns: 1fr; gap: 28px; }
  .values-copy {
    max-width: none;
  }
  .values-copy h2 {
    white-space: normal;
    font-size: clamp(30px, 6vw, 40px);
  }
}
@media (max-width: 760px) {
  .about-journey {
    height: auto;
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .journey-sticky {
    position: static;
    min-height: 0;
    padding-top: 0;
    overflow: visible;
  }
  .journey-track {
    height: auto;
    display: grid;
    gap: 16px;
  }
  .journey-card,
  .journey-card:first-child {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 420px;
    height: auto;
    transform: none;
    opacity: 1;
  }
  .journey-top {
    min-height: 150px;
    grid-template-columns: 1fr minmax(120px, 46%);
  }
  .about-values {
    height: auto;
    padding-top: 30px;
    padding-bottom: 0;
    clip-path: none;
    margin-top: 0;
  }
  .values-sticky {
    position: static;
    min-height: 0;
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }
  .values-cards {
    height: auto;
    display: grid;
    gap: 10px;
  }
  .value-card {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 238px;
    padding: 30px 24px 24px;
    transform: none;
  }
}
@media (max-width: 640px) {
  .about-hero-photo,
  .about-hero-person.left .about-hero-photo,
  .about-hero-person.right .about-hero-photo { width: min(260px, 78%); }
}

/* ========== Applicant dashboard + jobs apply + admin ========== */
.dash-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(255, 102, 42, .08), transparent 50%),
    radial-gradient(ellipse 40% 35% at 100% 0%, rgba(46, 187, 94, .1), transparent 50%),
    var(--cream);
}
.dash-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: #fff;
  border-right: 1px solid var(--stroke-01);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dash-brand img { width: 140px; height: auto; margin-bottom: 10px; }
.dash-upgrade {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin: 6px 0 14px;
}
.dash-upgrade:hover { background: var(--orange); }
.dash-nav-label {
  margin: 14px 8px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-nav { display: grid; gap: 4px; }
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
a.dash-nav-item { text-decoration: none; }
.dash-nav-item:hover { background: #f4f1ea; }
.dash-nav-item.is-active {
  background: var(--orange);
  color: #fff;
}
.dash-ico { width: 18px; text-align: center; opacity: .8; }
.dash-side-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--stroke-01);
  display: grid;
  gap: 10px;
}
.dash-user { display: grid; gap: 2px; padding: 0 8px; }
.dash-user strong { font-size: 14px; }
.dash-user span { font-size: 12px; color: var(--muted); word-break: break-all; }
.dash-logout {
  border: 1px solid var(--stroke-01);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  font-weight: 700;
  cursor: pointer;
}
.dash-main { padding: 28px 32px 48px; min-width: 0; }
.dash-top {
  display: flex;
  align-items: start;
  gap: 14px;
  margin-bottom: 24px;
}
.dash-top h1 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 6px;
  letter-spacing: -.04em;
}
.dash-top p { margin: 0; color: var(--muted); }
.dash-menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke-01);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}
.dash-panel { display: none; }
.dash-panel.is-active { display: block; animation: authZoomIn .35s ease both; }
.dash-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.dash-toolbar input {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--stroke-01);
  padding: 0 18px;
  background: #fff;
  font: inherit;
}
.dash-count { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.dash-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dash-course-card {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 150px 1fr;
}
.dash-course-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.dash-course-card > div { padding: 14px 16px 16px; display: grid; gap: 6px; }
.dash-course-card h3 { font-size: 18px; margin: 0; letter-spacing: -.03em; }
.dash-course-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dash-course-meta { font-size: 11px; font-weight: 800; color: var(--orange); text-transform: uppercase; letter-spacing: .04em; }
.dash-course-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.dash-course-actions a {
  font-weight: 800;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dash-course-actions .button {
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
}
.dash-jobs-hero { margin-bottom: 22px; max-width: 640px; }
.dash-jobs-hero h2 { margin-bottom: 8px; }
.dash-jobs-hero .script-label { margin-bottom: 4px; }
.dash-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dash-job-card {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(30, 30, 30, .04);
}
.dash-job-card.accent-orange { border-top: 4px solid var(--orange); }
.dash-job-card.accent-green { border-top: 4px solid var(--green); }
.dash-job-card.accent-blue { border-top: 4px solid var(--blue); }
.dash-job-card.accent-lime { border-top: 4px solid #b7d96c; }
.dash-job-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.dash-job-badge {
  background: #fff3ec;
  color: var(--orange);
  padding: 4px 10px;
  border-radius: 999px;
}
.dash-job-card h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.dash-job-type { margin: 0; color: var(--muted); font-size: 13px; }
.dash-job-card ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.dash-job-card > p { margin: 0; font-size: 14px; color: #4b4844; }
.dash-job-card .button { justify-self: start; min-height: 44px; font-size: 15px; }
.dash-empty {
  background: #fff;
  border-radius: 22px;
  border: 1px dashed #ddd5cc;
  padding: 40px 28px;
  text-align: center;
  max-width: 480px;
}
.dash-apps-list { display: grid; gap: 10px; }
.dash-app-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 16px;
  padding: 14px 16px;
}
.dash-app-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.dash-app-status {
  background: #e8f8ee;
  color: #128c47;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Apply form */
.apply-top {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apply-top .brand img { width: 140px; }
.apply-back { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.apply-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.apply-summary {
  background: #1e1e1e;
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  position: sticky;
  top: 18px;
}
.apply-summary .script-label { color: #ffb089; }
.apply-summary h1 { font-size: clamp(28px, 3vw, 36px); margin: 0 0 14px; }
.apply-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.apply-chips span {
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.apply-highlights { margin: 14px 0 0; padding-left: 18px; line-height: 1.55; color: rgba(255,255,255,.82); }
.apply-form-card {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(30,30,30,.06);
}
.apply-form-card h2 { margin: 0 0 6px; font-size: 28px; }
.apply-lead { color: var(--muted); margin: 0 0 18px; }
.apply-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.apply-steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: #f0ebe4;
  color: var(--muted);
}
.apply-steps span.is-active,
.apply-steps span.is-done { background: var(--orange); color: #fff; }
.apply-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.apply-step.is-active { display: block; }
.apply-step legend {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.apply-form-card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.apply-form-card input,
.apply-form-card select,
.apply-form-card textarea {
  width: 100%;
  border: 1.5px solid #e8e2da;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  background: var(--cream);
}
.apply-form-card input:focus,
.apply-form-card select:focus,
.apply-form-card textarea:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--orange) 50%, #e8e2da);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,102,42,.12);
}
.apply-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-weight: 500 !important;
}
.apply-check input { width: auto; margin-top: 3px; }
.apply-nav-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.apply-secure-note { font-size: 12px; color: var(--muted); margin: 8px 0 14px; }
.apply-status { font-weight: 700; color: var(--green); min-height: 20px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Admin */
.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(255,102,42,.12), transparent 55%),
    var(--cream);
}
.admin-login-card {
  width: min(420px, calc(100% - 32px));
  margin: 10vh auto;
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid var(--stroke-01);
  box-shadow: 0 24px 60px rgba(30,30,30,.08);
}
.admin-login-card label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.admin-login-card input {
  height: 46px; border-radius: 12px; border: 1.5px solid #e8e2da; padding: 0 14px; font: inherit; background: var(--cream);
}
.admin-status { color: var(--orange); font-weight: 700; min-height: 20px; }
.admin-bar {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}
.admin-bar h1 { margin: 0; font-size: 32px; }
.admin-bar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-main { width: min(1200px, calc(100% - 32px)); margin: 0 auto 40px; position: relative; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.admin-stats > div {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--stroke-01);
  display: grid;
  gap: 4px;
}
.admin-stats strong { font-size: 28px; letter-spacing: -.04em; }
.admin-stats span { color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.admin-filters input,
.admin-filters select {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke-01);
  padding: 0 14px;
  background: #fff;
  font: inherit;
}
.admin-filters input { flex: 1; min-width: 200px; }
.admin-table-wrap {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--stroke-01);
  overflow: auto;
}
.admin-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #f0ebe4;
  vertical-align: top;
  font-size: 13px;
}
.admin-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover { background: #faf7f2; }
.admin-table small { color: var(--muted); }
.admin-status {
  border-radius: 999px;
  border: 1px solid #e8e2da;
  padding: 6px 10px;
  font: inherit;
  font-weight: 700;
  background: #fff;
}
.admin-detail {
  position: fixed;
  right: 16px;
  top: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--stroke-01);
  box-shadow: 0 24px 60px rgba(30,30,30,.18);
  padding: 24px;
  overflow: auto;
  z-index: 40;
}
.admin-detail-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--stroke-01);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}
.admin-dl { display: grid; gap: 12px; margin-top: 16px; }
.admin-dl div { display: grid; gap: 4px; }
.admin-dl dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-dl dd { margin: 0; font-size: 14px; line-height: 1.45; }

@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 88vw);
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 20px 0 40px rgba(30,30,30,.15);
  }
  .dash-sidebar.is-open { transform: translateX(0); }
  .dash-menu { display: grid; place-items: center; }
  .dash-main { padding: 18px 16px 40px; }
  .apply-shell { grid-template-columns: 1fr; }
  .apply-summary { position: static; }
  .apply-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .dash-app-row { grid-template-columns: 1fr; }
}

/* admin.syncpedia.in admin shell */
.app-admin { background: var(--cream); }
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.app-side {
  background: #1e1e1e;
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.app-side .script-label { color: #ffb089; margin: 0; }
.app-brand { font-size: 22px; letter-spacing: -.03em; margin-bottom: 12px; }
.app-nav { display: grid; gap: 4px; }
.app-nav button {
  text-align: left;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.app-nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-nav button.is-active { background: var(--orange); color: #fff; }
.app-side-foot {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}
.app-side-foot button {
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  font-weight: 700;
  cursor: pointer;
}
.app-main { padding: 24px 28px 40px; min-width: 0; }
.app-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.app-top h1 { margin: 0 0 4px; font-size: 32px; }
.app-top p { margin: 0; color: var(--muted); }
.app-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.app-panel { display: none; }
.app-panel.is-active { display: block; }
.app-form {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
}
.app-form h3 { margin: 0 0 12px; }
.app-cards { display: grid; gap: 10px; }
.app-entity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 16px;
  padding: 14px;
}
.app-entity > div:first-child:not(.app-thumb) { grid-column: 1 / 2; }
.app-entity:has(.app-thumb) { grid-template-columns: 56px 1fr auto; }
.app-thumb {
  width: 56px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  aspect-ratio: 9 / 16;
}
.app-entity p { margin: 4px 0; color: var(--muted); font-size: 13px; }
.app-entity-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-entity-actions button {
  border: 1px solid var(--stroke-01);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.mkt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mkt-card {
  background: #fff;
  border: 1px solid var(--stroke-01);
  border-radius: 18px;
  padding: 18px;
}
.mkt-card h3 { margin: 0 0 12px; font-size: 18px; }
.mkt-card ol, .mkt-card ul { margin: 0; padding-left: 18px; line-height: 1.6; }
.mkt-wide { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { position: sticky; top: 0; z-index: 20; }
  .app-nav { grid-template-columns: repeat(3, 1fr); }
  .app-main { padding: 16px; }
  .mkt-grid { grid-template-columns: 1fr; }
  .app-entity, .app-entity:has(.app-thumb) { grid-template-columns: 1fr; }
}
