:root {
  color-scheme: light;

  --ink: #111827;
  --muted: #667085;
  --soft: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #fbfcff;
  --line: #e5e7eb;

  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --primary: var(--brand);

  --radius: 22px;
  --radius-sm: 14px;
  --rail: 1120px;

  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
          radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.08), transparent 28%),
          radial-gradient(circle at 88% 18%, rgba(147, 197, 253, 0.16), transparent 26%),
          var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

body.modal-active {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 660px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.15vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 7px;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header,
.hero,
.section,
.site-footer {
  width: calc(100% - 32px);
  max-width: var(--rail);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(229, 231, 235, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav button:hover {
  color: var(--ink);
}

.nav-cta {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 8px 13px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.68fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 92px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  color: #344054;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.6;
}

.hero-copy > p:not(.eyebrow):not(.lead) {
  margin-top: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
          transform 160ms ease,
          box-shadow 160ms ease,
          background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(37, 99, 235, 0.88);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.button.primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.3);
}

.button-logo {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: contain;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 28px;
}

.hero-brand-mark {
  display: block;
  width: clamp(68px, 8vw, 96px);
  height: clamp(68px, 8vw, 96px);
  margin-bottom: 18px;
  border-radius: 999px;
  object-fit: contain;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.12);
}

.hero-facts div,
.course-card,
.faq details,
form,
.modal-panel,
.studio-flow article,
.image-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.hero-facts div {
  --fact-color: 37, 99, 235;
  min-height: 88px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border-color: rgba(var(--fact-color), 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.hero-facts div:nth-child(2) {
  --fact-color: 22, 163, 74;
}

.hero-facts div:nth-child(3) {
  --fact-color: 234, 88, 12;
}

.meta-icon {
  margin-bottom: 9px;
  color: rgb(var(--fact-color));
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.2;
}

.hero-facts span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.image-panel {
  overflow: hidden;
  background: #ffffff;
}

.image-panel picture,
.course-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-image-panel,
.hero-image-panel img {
  min-height: 500px;
}

.section {
  padding-block: clamp(46px, 6vw, 74px);
  border-top: 1px solid rgba(229, 231, 235, 0.72);
}

.section-heading {
  margin-bottom: 24px;
}

.section-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: 24px;
}

.section-feature.image-left {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 0.95fr);
}

.section-feature .section-heading {
  margin-bottom: 0;
}

.copy-stack {
  display: grid;
  gap: 12px;
}

.program-intro {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.program-intro .section-heading,
.program-intro p {
  margin-inline: auto;
}

.program-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  max-width: 820px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.program-points span {
  --point-color: 37, 99, 235;
  display: grid;
  gap: 5px;
  justify-items: center;
  min-height: 116px;
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  color: #344054;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
}

.program-points span:nth-child(2) {
  --point-color: 22, 163, 74;
}

.program-points span:nth-child(3) {
  --point-color: 234, 88, 12;
}

.program-points span:nth-child(4) {
  --point-color: 124, 58, 237;
}

.program-points span:last-child {
  border-right: 0;
}

.program-points svg {
  color: rgb(var(--point-color));
}

.program-points strong {
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-list {
  display: grid;
  gap: 14px;
}

.faq details,
.registration-steps {
  padding: 18px;
}

.program-glance {
  display: grid;
  margin: 0 auto;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.95), rgba(255, 255, 255, 0) 220px),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.program-glance-header {
  display: grid;
  gap: 5px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
}

.program-glance-header .eyebrow {
  margin: 0;
}

.program-glance-header h3 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.program-glance-row {
  --glance-color: 37, 99, 235;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 4px 0 0 rgba(var(--glance-color), 0.72);
}

.program-glance-row:last-child {
  border-bottom: 0;
}

.program-glance-row:nth-child(2) {
  --glance-color: 37, 99, 235;
}

.program-glance-row:nth-child(3) {
  --glance-color: 22, 163, 74;
}

.program-glance-row:nth-child(4) {
  --glance-color: 234, 88, 12;
}

.program-glance-row:nth-child(5) {
  --glance-color: 124, 58, 237;
}

.glance-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(var(--glance-color), 0.16);
  background: rgba(var(--glance-color), 0.075);
  color: rgb(var(--glance-color));
}

.program-glance-row h4 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 0.98rem;
}

.program-glance-row p {
  margin: 0;
  max-width: 760px;
  font-size: 0.94rem;
  line-height: 1.58;
}

.course-list {
  grid-template-columns: 1fr;
}

.platforms-panel {
  display: grid;
  gap: 24px;
  justify-items: center;
  margin: 28px 0 18px;
  padding: 10px 0;
  text-align: center;
}

.platforms-panel h3 {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  width: min(820px, 100%);
}

.platform-chip {
  --platform-color: 37, 99, 235;
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.platform-chip:nth-child(4n + 2) {
  --platform-color: 22, 163, 74;
}

.platform-chip:nth-child(4n + 3) {
  --platform-color: 234, 88, 12;
}

.platform-chip:nth-child(4n + 4) {
  --platform-color: 124, 58, 237;
}

.platform-chip span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(var(--platform-color), 0.16);
  background: rgba(var(--platform-color), 0.06);
  color: rgb(var(--platform-color));
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 28px rgba(var(--platform-color), 0.08);
}

.platform-chip img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.platform-chip strong,
.platform-chip small {
  display: block;
}

.platform-chip strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
}

.platform-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.25;
}

.course-card {
  --course-color: 37, 99, 235;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  min-height: 340px;
  overflow: hidden;
  padding: 0;
  border-color: rgba(var(--course-color), 0.16);
  box-shadow: var(--shadow-sm);
}

.course-card::before {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: 5px;
  background: rgb(var(--course-color));
  content: "";
}

.course-card-reverse::before {
  inset: 0 auto 0 0;
}

.course-card:nth-child(2) {
  --course-color: 22, 163, 74;
}

.course-card:nth-child(3) {
  --course-color: 234, 88, 12;
}

.course-card:nth-child(4) {
  --course-color: 124, 58, 237;
}

.course-card:nth-child(5) {
  --course-color: 8, 145, 178;
}

.course-card:nth-child(6) {
  --course-color: 219, 39, 119;
}

.course-card-reverse .course-image {
  order: 2;
}

.course-card-reverse .course-summary {
  order: 1;
}

.course-image {
  min-height: 100%;
  background: #eef2f7;
}

.course-image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.course-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
}

.course-summary h3 {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  line-height: 1.12;
}

.course-summary > p {
  max-width: 40rem;
  margin: 0;
}

.course-level {
  color: rgb(var(--course-color));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-meta-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 44rem;
}

.course-meta-line span {
  border-left: 2px solid rgba(var(--course-color), 0.72);
  background: rgba(var(--course-color), 0.04);
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.course-summary .button {
  width: fit-content;
  margin-top: 14px;
}

.course-modal-panel {
  --course-modal-color: 37, 99, 235;
  width: min(820px, 100%);
  border-color: rgba(var(--course-modal-color), 0.18);
  box-shadow:
    inset 0 5px 0 rgb(var(--course-modal-color)),
    var(--shadow-md);
}

.course-modal-panel .eyebrow,
.course-modal-panel h2 {
  color: rgb(var(--course-modal-color));
}

.course-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.course-detail-grid div,
.course-detail-block {
  border-top: 1px solid rgba(var(--course-modal-color), 0.16);
  padding-top: 14px;
}

.course-detail-block {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.course-detail-grid span,
.course-detail-block span {
  display: block;
  margin-bottom: 6px;
  color: rgb(var(--course-modal-color));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-detail-grid p,
.course-detail-block p {
  margin: 0;
}

.course-detail-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-detail-block li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.course-detail-block li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  background: rgb(var(--course-modal-color));
  content: "";
}

.interest,
.future-topics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.learning-section {
  display: grid;
  gap: 24px;
}

.studio-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.studio-flow article {
  --flow-color: 37, 99, 235;
  display: grid;
  align-content: start;
  padding: 18px;
  border-color: rgba(var(--flow-color), 0.16);
  background: rgba(255, 255, 255, 0.78);
}

.studio-flow article:nth-child(2) {
  --flow-color: 22, 163, 74;
}

.studio-flow article:nth-child(3) {
  --flow-color: 234, 88, 12;
}

.flow-mark {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 15px;
  background: rgba(var(--flow-color), 0.1);
  color: rgb(var(--flow-color));
}

.instructor-feature {
  align-items: center;
}

.instructor-photo-card img {
  min-height: 360px;
}

.credit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 2px 0 4px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  --faq-color: 37, 99, 235;
}

.faq details:nth-child(2) {
  --faq-color: 22, 163, 74;
}

.faq details:nth-child(3) {
  --faq-color: 234, 88, 12;
}

.faq details:nth-child(4) {
  --faq-color: 124, 58, 237;
}

.faq details:nth-child(5) {
  --faq-color: 8, 145, 178;
}

.faq details:nth-child(6) {
  --faq-color: 219, 39, 119;
}

.faq details:nth-child(7) {
  --faq-color: 37, 99, 235;
}

.faq details:nth-child(8) {
  --faq-color: 22, 163, 74;
}

.faq details:nth-child(9) {
  --faq-color: 234, 88, 12;
}

.faq details:nth-child(10) {
  --faq-color: 124, 58, 237;
}

summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

summary svg {
  box-sizing: content-box;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid rgba(var(--faq-color), 0.16);
  border-radius: 999px;
  background: rgba(var(--faq-color), 0.075);
  color: rgb(var(--faq-color));
  padding: 6px;
}

details p {
  margin-top: 12px;
}

.interest .button {
  margin-top: 16px;
}

.registration-steps {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 4px solid var(--primary);
}

.registration-steps svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--primary);
}

.registration-steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.registration-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.future-topics {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  border-top: 0;
  padding-block: clamp(34px, 5vw, 58px);
}

.future-topics h2 {
  max-width: 34rem;
  margin-inline: auto;
}

.future-topics p {
  max-width: 48rem;
  margin-inline: auto;
}

.topic-cloud {
  display: grid;
  grid-template-columns: repeat(7, minmax(86px, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin-top: 8px;
}

.topic-cloud span {
  --topic-color: 37, 99, 235;
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: center;
  min-height: 92px;
  border: 1px solid rgba(var(--topic-color), 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: rgb(var(--topic-color));
  padding: 14px 10px;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: inset 0 3px 0 rgba(var(--topic-color), 0.72);
}

.topic-cloud svg {
  box-sizing: content-box;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(var(--topic-color), 0.16);
  border-radius: 999px;
  background: rgba(var(--topic-color), 0.075);
  padding: 8px;
}

.topic-cloud span:nth-child(2),
.topic-cloud span:nth-child(6) {
  --topic-color: 22, 163, 74;
}

.topic-cloud span:nth-child(3),
.topic-cloud span:nth-child(7) {
  --topic-color: 234, 88, 12;
}

.topic-cloud span:nth-child(4) {
  --topic-color: 124, 58, 237;
}

.topic-cloud span:nth-child(5) {
  --topic-color: 219, 39, 119;
}

.future-topics .button {
  margin-top: 8px;
}

.suggestion-modal-panel {
  width: min(560px, 100%);
}

form {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 22px);
}

.modal form {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}

label span,
.form-note {
  color: var(--muted);
  font-weight: 500;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

fieldset {
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(247, 251, 255, 0.72);
  padding: 12px;
}

legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.checkbox-field p {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkbox-grid {
  display: grid;
  gap: 8px;
}

.checkbox-option {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 450;
}

.checkbox-option input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--primary);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 9px 11px;
  font-size: 0.9rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.86rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 16px;
}

.modal[aria-hidden="false"] {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 840px);
  overflow: auto;
  padding: clamp(18px, 3vw, 28px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 112, 133, 0.38) transparent;
}

.modal-panel::-webkit-scrollbar {
  width: 10px;
}

.modal-panel::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 18px;
}

.modal-panel::-webkit-scrollbar-thumb {
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: rgba(102, 112, 133, 0.38);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 8px;
}

.modal-header h2 {
  margin-bottom: 0;
}

.registration-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  margin-bottom: 4px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: #f7fbff;
  padding: 12px;
}

.registration-note svg {
  flex: 0 0 auto;
  box-sizing: content-box;
  width: 17px;
  height: 17px;
  padding: 7px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.registration-note strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.registration-note p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.icon-button {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.icon-button::before,
.icon-button::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.icon-button::before {
  transform: rotate(45deg);
}

.icon-button::after {
  transform: rotate(-45deg);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(220px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: 34px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: contain;
}

.site-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.footer-contact span {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact small {
  max-width: 260px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    border-radius: var(--radius);
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .interest,
  .future-topics,
  .section-feature,
  .section-feature.image-left {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 52px;
  }

  .hero-image-panel,
  .hero-image-panel img {
    min-height: 420px;
  }

  .course-list,
  .studio-flow,
  .platforms-panel,
  .topic-cloud,
  .program-points,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card,
  .course-meta-line,
  .course-detail-grid,
  .course-detail-block ul {
    grid-template-columns: 1fr;
  }

  .topic-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card-reverse .course-image,
  .course-card-reverse .course-summary {
    order: initial;
  }

  .course-image img {
    min-height: 260px;
  }

  .credit-list {
    grid-template-columns: 1fr;
  }

  .program-points span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .program-points span:last-child {
    border-bottom: 0;
  }

  .program-glance-header,
  .program-glance-row {
    padding-inline: 20px;
  }

  .image-panel img {
    min-height: 280px;
  }

  .instructor-photo-card img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .brand span {
    font-size: 0.92rem;
  }

  nav {
    gap: 14px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  h2 {
    font-size: clamp(1.42rem, 7.5vw, 1.9rem);
  }

  p {
    font-size: 0.9rem;
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  form .button {
    width: 100%;
  }

  .hero-image-panel,
  .hero-image-panel img {
    min-height: 360px;
  }

  .program-glance-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .topic-cloud {
    grid-template-columns: 1fr;
  }
}
