.course-site {
  --cs-line: color-mix(in srgb, var(--tx) 14%, transparent);
  --cs-glow: color-mix(in srgb, var(--p) 14%, transparent);
  --cs-panel: color-mix(in srgb, var(--sf) 90%, var(--p) 10%);
}
.course-site .cs-hero {
  padding: clamp(40px, 6vw, 82px) 0 clamp(52px, 7vw, 99px);
  background: radial-gradient(ellipse at 17% 10%, var(--cs-glow), transparent 49%);
}
.cs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}
.cs-hero .hx { max-width: 560px; min-width: 0 }
.cs-hero .hx :is(h1, .h1) { font-size: clamp(42px, 5.1vw, 74px); line-height: 1.22; letter-spacing: -.035em }
.cs-hero .lead { max-width: 35ch; margin-block: 22px 27px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.95 }
.cs-hero .acts { gap: 11px }
.cs-hero .acts .b { min-height: 52px }
.course-site .cs-hero .eb, .course-site .cs-sample .eb { color: var(--p) }
.cs-hero-art {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--cs-line);
  border-radius: 30px;
  background: linear-gradient(145deg, var(--cs-glow), var(--sf) 60%);
  box-shadow: 0 26px 70px #0004;
}
.cs-hero-art::before {
  content: "";
  position: absolute;
  inset: -1px 13% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--p), transparent);
}
.cs-hero-art :is(.cs-hero-photo, .ph) {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 21px;
}
.course-site .s-products.v-course-grid { padding-top: 42px }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.cs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cs-line);
  border-radius: 23px;
  background: var(--sf);
  box-shadow: 0 14px 30px #0002;
}
.cs-card:first-child { background: var(--cs-panel); border-color: color-mix(in srgb, var(--p) 32%, transparent) }
.cs-card-art { position: relative; background: var(--cs-panel); overflow: hidden }
.cs-card-art :is(img, .ph) { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease }
.cs-card:hover .cs-card-art img { transform: scale(1.035) }
.cs-badge {
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 13px;
  padding: 5px 11px;
  border: 1px solid #fff3;
  border-radius: 99px;
  background: #10212bd9;
  color: #dafaf0;
  font-size: 12px;
}
.cs-card-copy { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 19px 18px 17px }
.cs-card h3 { margin: 0; font-size: clamp(17px, 1.8vw, 23px); line-height: 1.5 }
.cs-card-copy p { margin: 0; color: var(--mu); line-height: 1.8 }
.cs-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
}
.cs-amount { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px }
.cs-amount strong { font-size: 18px; white-space: nowrap }
.cs-amount small, .cs-amount s { color: var(--mu); font-size: 12px }
.cs-amount s { flex-basis: 100% }
.cs-enroll { min-height: 43px; padding-inline: 12px; white-space: nowrap; font-size: 13px }
.cs-enroll .i { width: 16px; height: 16px }
.cs-sample {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid var(--cs-line);
  border-radius: 27px;
  background: linear-gradient(135deg, var(--sf), var(--cs-panel));
}
.cs-sample .sh { margin-block: 0 }
.cs-sample > img { width: 100%; border-radius: 15px }
.cs-player {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0a1118;
}
.cs-player :is(video, iframe) { display: block; width: 100%; height: 100%; border: 0 }
.cs-player video { object-fit: contain }
.course-site .s-faq .acc { max-width: 880px; margin-inline: auto }
.course-site .s-cta .wrap > * { border-color: var(--cs-line) }
.cs-library h3 { margin-bottom: 14px }
.cs-lesson-note { margin: 0 0 14px; color: var(--mu); white-space: pre-line }
.cs-lesson { margin-top: 9px; border: 1px solid color-mix(in srgb, var(--tx) 14%, transparent); border-radius: 13px }
.cs-lesson summary { display: flex; align-items: center; gap: 10px; padding: 11px; cursor: pointer; list-style: none; font-weight: 650 }
.cs-lesson summary::-webkit-details-marker { display: none }
.cs-lesson summary span { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 8px; background: color-mix(in srgb, var(--p) 18%, transparent) }
.cs-lesson summary::after { content: "＋"; margin-inline-start: auto }
.cs-lesson[open] summary::after { content: "−" }
.cs-lesson .cs-player { width: calc(100% - 20px); margin: 0 10px 10px }
@media (max-width: 970px) {
  .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 730px) {
  .cs-hero-grid, .cs-sample { grid-template-columns: minmax(0, 1fr) }
  .cs-hero .hx { text-align: start }
  .cs-hero .hx :is(.acts, .badges) { justify-content: flex-start }
  .cs-hero-art { border-radius: 24px; padding: 7px }
  .cs-hero-art :is(.cs-hero-photo, .ph) { border-radius: 18px; aspect-ratio: 16 / 11 }
}
@media (max-width: 500px) {
  .cs-grid { grid-template-columns: minmax(0, 1fr) }
  .cs-hero .acts .b { min-height: 46px; padding-inline: 13px }
  .cs-card-copy { padding: 16px }
}
@media (prefers-reduced-motion: reduce) {
  .cs-card-art img { transition: none }
  .cs-card:hover .cs-card-art img { transform: none }
}
