.courses-page { overflow-x: clip; }
.courses-main { width: min(100% - 48px, 1120px); margin: 0 auto; }
.courses-hero {
  min-height: 540px;
  padding: 68px 0 55px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(24px, 6vw, 82px);
}
.courses-hero-copy { position: relative; z-index: 1; animation: courses-copy-arrive .75s cubic-bezier(.2,.7,.25,1) both; }
.courses-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #e4dfe0; font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.courses-eyebrow > span { width: 25px; height: 1px; background: #ff6268; }
.courses-hero h1 { max-width: 720px; margin: 0; font-size: clamp(48px, 6.7vw, 78px); line-height: .99; letter-spacing: -.075em; }
.courses-title-line, .courses-title-typing, .courses-title-tail { display: block; }
.courses-title-line {
  color: transparent;
  background: linear-gradient(105deg, #f8f7f7 0%, #f8f7f7 38%, #fff 45%, #c7c2c3 49%, #fff 53%, #f8f7f7 61%, #f8f7f7 100%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: courses-text-reflection 6s ease-in-out infinite;
}
.courses-title-typing { position: relative; width: fit-content; color: var(--red); }
.courses-typing-reserve { display: inline-block; visibility: hidden; white-space: nowrap; }
.courses-typing-text {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  overflow: hidden;
  border-right: 2px solid var(--red);
  color: transparent;
  background: linear-gradient(105deg, #ff1018 0%, #ff1018 38%, #ff8589 46%, #c70008 50%, #ff8589 54%, #ff1018 62%, #ff1018 100%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  animation: courses-typing 1.15s steps(8, end) .55s forwards, courses-caret .72s step-end 1.7s infinite, courses-text-reflection 6s ease-in-out 1.7s infinite;
}
.courses-title-tail { margin-top: 6px; color: #eee9ea; }
.courses-hero-description { max-width: 590px; margin: 23px 0 25px; color: #cbc4c5; font-size: 16px; line-height: 1.75; }
.courses-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.courses-hero-actions .button { min-height: 52px; height: auto; font-size: 14px; }
.courses-hero-actions .button svg { width: 19px; height: 19px; }
.courses-format { display: inline-flex; align-items: center; gap: 8px; color: #c1b9ba; font-size: 12px; }
.courses-format svg { width: 17px; height: 17px; color: #ff7379; }
.courses-hero-art { position: relative; width: min(100%, 390px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; isolation: isolate; animation: courses-art-arrive .9s .12s cubic-bezier(.2,.7,.25,1) both; }
.courses-art-orbit { position: absolute; z-index: -1; width: 76%; aspect-ratio: 1; border: 1px solid rgba(255,67,75,.55); border-radius: 50%; box-shadow: 0 0 45px rgba(255,16,24,.12), inset 0 0 35px rgba(255,16,24,.08); }
.courses-art-orbit-one { animation: courses-orbit 22s linear infinite; }
.courses-art-orbit-two { width: 96%; border-color: rgba(255,255,255,.1); transform: rotate(38deg) scaleY(.48); animation: courses-orbit 30s linear reverse infinite; }
.courses-art-core { width: 39%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,153,157,.6); border-radius: 31%; background: linear-gradient(145deg, rgba(255,54,62,.32), rgba(54,0,3,.78)); box-shadow: 0 0 45px rgba(255,16,24,.22), inset 0 1px 0 rgba(255,255,255,.16); transform: rotate(-8deg); animation: courses-core-pulse 4s ease-in-out infinite; }
.courses-art-core svg { width: 51px; height: 51px; fill: #fff; stroke: #fff; transform: rotate(8deg); }
.courses-art-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(13,8,9,.82); box-shadow: 0 12px 30px rgba(0,0,0,.24); color: #eee9ea; font-size: 11px; font-weight: 650; backdrop-filter: blur(10px); }
.courses-art-chip svg { width: 15px; height: 15px; color: #ff747a; }
.courses-art-chip-top { top: 16%; right: 1%; animation: courses-chip-float 5s ease-in-out infinite; }
.courses-art-chip-bottom { bottom: 17%; left: 0; animation: courses-chip-float 5.5s .4s ease-in-out infinite; }
.courses-art-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #ff6268; box-shadow: 0 0 15px rgba(255,16,24,.8); }
.courses-art-dot-one { top: 22%; left: 19%; }
.courses-art-dot-two { right: 18%; bottom: 22%; width: 5px; height: 5px; background: #fff; }
.courses-intro { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; padding: 0 0 88px; }
.courses-intro-card { min-height: 170px; padding: 22px; display: grid; grid-template-columns: 43px minmax(0,1fr); align-content: start; gap: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(19,5,6,.58)); transition: transform .28s, border-color .28s, box-shadow .28s; }
.courses-intro-card:hover { transform: translateY(-4px); border-color: rgba(255,80,87,.43); box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.courses-intro-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,81,88,.23); border-radius: 13px; background: rgba(255,16,24,.09); color: #ff747a; }
.courses-intro-icon svg { width: 21px; height: 21px; }
.courses-intro-card h2 { margin: 2px 0 8px; font-size: 15px; letter-spacing: -.3px; }
.courses-intro-card p { margin: 0; color: #aaa3a4; font-size: 12px; line-height: 1.7; }
.courses-library { padding: 54px 0 82px; border-top: 1px solid rgba(255,255,255,.1); }
.courses-library-heading { margin-bottom: 27px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.courses-library-heading .section-kicker, .courses-bottom-cta .section-kicker { margin: 0 0 12px; color: #ff747a; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
.courses-library-heading h2, .courses-bottom-cta h2 { margin: 0 0 11px; font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.7px; }
.courses-library-heading h2 span, .courses-bottom-cta h2 span { color: var(--red); }
.courses-library-heading > div > p:last-child, .courses-bottom-cta > div:first-child > p:last-child { max-width: 660px; margin: 0; color: #bdb6b7; font-size: 14px; line-height: 1.75; }
.courses-count { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: #c9c2c3; font-size: 11px; }
.courses-count svg { width: 15px; height: 15px; color: #ff747a; }
.courses-empty-state { min-height: 350px; padding: 42px clamp(22px, 6vw, 66px); display: grid; grid-template-columns: minmax(190px,.65fr) minmax(0,1.35fr); align-items: center; gap: clamp(25px, 6vw, 72px); overflow: hidden; border: 1px solid rgba(255,58,66,.27); border-radius: 22px; background: radial-gradient(ellipse at 2% 50%, rgba(255,16,24,.12), transparent 44%), linear-gradient(120deg, rgba(255,255,255,.035), rgba(16,5,6,.7)); }
.courses-empty-visual { position: relative; width: min(100%, 210px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.courses-empty-ring { position: absolute; inset: 5%; border: 1px solid rgba(255,73,80,.48); border-radius: 50%; box-shadow: 0 0 35px rgba(255,16,24,.13), inset 0 0 24px rgba(255,16,24,.08); animation: courses-orbit 24s linear infinite; }
.courses-empty-play { width: 43%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,124,129,.47); border-radius: 28%; background: linear-gradient(145deg, rgba(255,34,42,.23), rgba(41,0,3,.82)); box-shadow: 0 0 34px rgba(255,16,24,.2); }
.courses-empty-play svg { width: 31px; height: 31px; fill: #ff777d; stroke: #ff777d; }
.courses-empty-spark { position: absolute; color: #ff797e; text-shadow: 0 0 16px rgba(255,16,24,.55); }
.courses-empty-spark-one { top: 3%; right: 16%; font-size: 22px; animation: courses-chip-float 3s ease-in-out infinite; }
.courses-empty-spark-two { bottom: 12%; left: 8%; font-size: 28px; animation: courses-chip-float 3.5s .4s ease-in-out infinite; }
.courses-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #ff9296; font-size: 9px; font-weight: 750; letter-spacing: 1.7px; }
.courses-status > span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(255,16,24,.7); animation: courses-status-pulse 1.8s ease-in-out infinite; }
.courses-empty-copy h3 { max-width: 490px; margin: 0 0 11px; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; letter-spacing: -.8px; }
.courses-empty-copy > p { max-width: 610px; margin: 0; color: #bdb6b7; font-size: 13px; line-height: 1.75; }
.courses-text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #ff858a; font-size: 12px; font-weight: 700; transition: gap .2s, color .2s; }
.courses-text-link:hover { gap: 11px; color: #ffb1b4; }
.courses-text-link svg { width: 15px; height: 15px; }
.courses-bottom-cta { margin: 0 0 62px; padding: 31px 35px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: radial-gradient(ellipse at 100% 0, rgba(255,16,24,.12), transparent 47%), rgba(255,255,255,.025); }
.courses-bottom-cta h2 { font-size: clamp(26px, 3.4vw, 36px); }
.courses-bottom-cta > div:first-child > p:last-child { max-width: 580px; font-size: 12px; }
.courses-bottom-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.courses-bottom-actions .button { min-height: 45px; height: auto; padding: 0 14px; gap: 8px; border-radius: 12px; font-size: 12px; }
.courses-bottom-actions .button svg { width: 16px; height: 16px; }
.courses-footer { width: min(100% - 48px, 1120px); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.courses-footer .brand { gap: 7px; }
.courses-footer .brand img { width: 42px; height: 30px; }
.courses-footer .brand-name { font-size: 16px; }
.courses-footer > p { margin: 0; color: #8f8889; font-size: 11px; }
.courses-footer > a:last-child { display: inline-flex; align-items: center; gap: 6px; color: #aaa1a2; font-size: 11px; }
.courses-footer > a:last-child svg { width: 14px; height: 14px; color: #ff747a; }

@keyframes courses-text-reflection { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes courses-typing { from { width: 0; } to { width: calc(100% + 3px); } }
@keyframes courses-caret { 0%,48% { border-color: var(--red); } 49%,100% { border-color: transparent; } }
@keyframes courses-copy-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes courses-art-arrive { from { opacity: 0; transform: translate(16px,10px) scale(.96); } to { opacity: 1; transform: translate(0) scale(1); } }
@keyframes courses-orbit { to { transform: rotate(360deg); } }
@keyframes courses-core-pulse { 0%,100% { box-shadow: 0 0 36px rgba(255,16,24,.17), inset 0 1px 0 rgba(255,255,255,.16); } 50% { box-shadow: 0 0 58px rgba(255,16,24,.32), inset 0 1px 0 rgba(255,255,255,.22); } }
@keyframes courses-chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes courses-status-pulse { 0%,100% { opacity: .7; box-shadow: 0 0 7px rgba(255,16,24,.45); } 50% { opacity: 1; box-shadow: 0 0 15px rgba(255,16,24,.9); } }

@media (max-width: 760px) {
  .courses-main { width: calc(100% - 32px); }
  .courses-hero { min-height: 0; padding: 37px 0 36px; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .courses-hero-copy { order: 0; }
  .courses-eyebrow { gap: 7px; font-size: 9px; letter-spacing: 1.4px; }
  .courses-eyebrow > span { width: 18px; }
  .courses-hero h1 { font-size: clamp(41px, 11vw, 64px); }
  .courses-hero-description { margin: 18px 0 19px; font-size: 14px; line-height: 1.7; }
  .courses-hero-actions { gap: 15px; }
  .courses-hero-actions .button { min-height: 48px; padding: 0 15px; font-size: 13px; }
  .courses-format { font-size: 11px; }
  .courses-hero-art { order: 1; width: min(78vw, 300px); margin: 4px auto 0; }
  .courses-art-core svg { width: 39px; height: 39px; }
  .courses-art-chip { padding: 8px 10px; font-size: 10px; }
  .courses-intro { grid-template-columns: 1fr; gap: 9px; padding-bottom: 56px; }
  .courses-intro-card { min-height: 0; padding: 16px; grid-template-columns: 39px minmax(0,1fr); gap: 12px; border-radius: 15px; }
  .courses-intro-icon { width: 39px; height: 39px; }
  .courses-intro-icon svg { width: 19px; height: 19px; }
  .courses-intro-card h2 { margin-top: 0; font-size: 14px; }
  .courses-intro-card p { font-size: 12px; }
  .courses-library { padding: 37px 0 54px; }
  .courses-library-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
  .courses-library-heading h2 { font-size: clamp(30px, 8vw, 39px); }
  .courses-library-heading > div > p:last-child { font-size: 13px; }
  .courses-count { font-size: 10px; }
  .courses-empty-state { min-height: 0; padding: 29px 19px; grid-template-columns: minmax(0,1fr); gap: 15px; border-radius: 18px; }
  .courses-empty-visual { width: 165px; }
  .courses-empty-copy h3 { font-size: 23px; }
  .courses-empty-copy > p { font-size: 12px; }
  .courses-bottom-cta { margin-bottom: 42px; padding: 22px 19px; align-items: flex-start; flex-direction: column; gap: 19px; }
  .courses-bottom-cta h2 { font-size: clamp(27px, 7vw, 35px); }
  .courses-bottom-actions { width: 100%; }
  .courses-bottom-actions .button { flex: 1 1 auto; }
  .courses-footer { width: calc(100% - 32px); min-height: 70px; flex-wrap: wrap; gap: 8px; }
  .courses-footer .brand { gap: 4px; }
  .courses-footer .brand img { width: 35px; height: 27px; }
  .courses-footer .brand-name { font-size: 14px; }
  .courses-footer > p { display: none; }
}
@media (max-width: 390px) {
  .courses-main { width: calc(100% - 24px); }
  .courses-hero h1 { font-size: clamp(38px, 10.5vw, 42px); }
  .courses-hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .courses-footer { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .courses-page *, .courses-page *::before, .courses-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .courses-typing-reserve { visibility: visible; }
  .courses-typing-text { display: none; }
}
