:root {
  --bg: oklch(0.983 0.01 244);
  --surface: oklch(0.994 0.005 250);
  --surface-strong: oklch(0.968 0.019 246);
  --ink: oklch(0.27 0.04 252);
  --ink-soft: oklch(0.42 0.032 252);

  --brand-900: oklch(0.34 0.12 250);
  --brand-800: oklch(0.41 0.13 252);
  --brand-700: oklch(0.49 0.14 252);
  --brand-600: oklch(0.58 0.13 247);
  --brand-300: oklch(0.83 0.07 246);

  --accent: oklch(0.79 0.11 180);
  --line: oklch(0.86 0.02 248 / 0.5);

  --font-display: "Unbounded", sans-serif;
  --font-text: "Manrope", sans-serif;

  --shadow-soft: 0 10px 30px oklch(0.25 0.04 252 / 0.12);
  --shadow-strong: 0 20px 50px oklch(0.25 0.07 252 / 0.18);

  --radius-s: 0.7rem;
  --radius-m: 1rem;
  --radius-l: 1.35rem;
  --radius-xl: 2rem;

  --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(0.19 0.02 252);
  --surface: oklch(0.27 0.02 252);
  --surface-strong: oklch(0.23 0.02 252);
  --ink: oklch(0.94 0.01 250);
  --ink-soft: oklch(0.84 0.016 250);
  --brand-900: oklch(0.72 0.12 246);
  --brand-800: oklch(0.66 0.12 246);
  --brand-700: oklch(0.59 0.11 245);
  --brand-600: oklch(0.54 0.1 245);
  --brand-300: oklch(0.42 0.07 246);
  --accent: oklch(0.73 0.11 182);
  --line: oklch(0.4 0.02 252 / 0.85);
  --shadow-soft: 0 14px 34px oklch(0.08 0.01 252 / 0.48);
  --shadow-strong: 0 22px 50px oklch(0.06 0.01 252 / 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-feature-settings: "cv02" 1, "cv03" 1;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 2%, oklch(0.92 0.06 236), transparent 32%),
    radial-gradient(circle at 8% 24%, oklch(0.93 0.05 257), transparent 35%),
    var(--bg);
  line-height: 1.6;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 94% 6%, oklch(0.33 0.06 236 / 0.55), transparent 34%),
    radial-gradient(circle at 10% 24%, oklch(0.31 0.06 257 / 0.45), transparent 38%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  transform: translateY(-170%);
  z-index: 1000;
  padding: 0.65rem 0.85rem;
  border-radius: 0.55rem;
  background: var(--brand-900);
  color: var(--surface);
  text-decoration: none;
  transition: transform 180ms var(--easing);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 4px;
  background: oklch(0.95 0.01 247 / 0.35);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), oklch(0.76 0.13 225));
  transition: width 120ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid oklch(0.81 0.02 248 / 0.45);
  backdrop-filter: blur(14px);
  background: oklch(0.985 0.008 244 / 0.86);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.site-header nav {
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: var(--brand-900);
}

.brand__seal {
  display: grid;
  place-items: center;
  width: 2.15rem;
  aspect-ratio: 1;
  border-radius: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--surface);
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900));
}

.brand__text {
  display: grid;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand__text small {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.4rem;
  border: 1px solid oklch(0.76 0.03 248 / 0.8);
  border-radius: 0.7rem;
  background: transparent;
  padding: 0.45rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.38rem;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-900);
  transition: transform 220ms var(--easing), opacity 220ms var(--easing);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.35rem;
  padding-inline: 0.72rem;
  border-radius: 999px;
  border: 1px solid oklch(0.76 0.03 248 / 0.8);
  background: oklch(0.985 0.01 244 / 0.8);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 220ms var(--easing), border-color 220ms var(--easing), background-color 220ms var(--easing);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: oklch(0.7 0.07 244 / 0.9);
}

.theme-toggle__icon {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  position: relative;
  background: oklch(0.88 0.07 95);
  box-shadow: inset 0 0 0 2px oklch(0.67 0.06 96);
}

.theme-toggle__icon::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: 999px;
  background: oklch(0.985 0.01 244 / 0.92);
  transform: scale(0);
  transition: transform 220ms var(--easing);
}

html[data-theme="dark"] .theme-toggle__icon {
  background: oklch(0.79 0.08 244);
  box-shadow: inset 0 0 0 2px oklch(0.51 0.1 244);
}

html[data-theme="dark"] .theme-toggle__icon::after {
  transform: scale(1);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding-inline: 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background-color 220ms var(--easing), color 220ms var(--easing), transform 220ms var(--easing);
}

.site-menu a:hover {
  color: var(--brand-900);
  background: oklch(0.93 0.03 247 / 0.6);
}

.site-menu a.is-current {
  color: var(--brand-900);
  background: oklch(0.92 0.04 244 / 0.72);
}

.site-menu__cta {
  background: var(--brand-900);
  color: var(--surface) !important;
}

.site-menu__cta:hover {
  background: var(--brand-800);
}

.section {
  padding-block: clamp(4.2rem, 8vw, 7rem);
}

.section--light {
  background: transparent;
}

.section--deep {
  background:
    radial-gradient(circle at 90% 18%, oklch(0.48 0.13 249 / 0.28), transparent 32%),
    linear-gradient(160deg, var(--brand-900), oklch(0.29 0.08 248));
  color: oklch(0.96 0.01 247);
}

.section--deep .eyebrow,
.section--deep p,
.section--deep li,
.section--deep .section__head p {
  color: oklch(0.92 0.02 248 / 0.9);
}

.section__head {
  max-width: 72ch;
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 4.4vw, 3.2rem);
}

.section__head h2 {
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  text-wrap: balance;
}

.section__head p {
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--brand-700);
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(3.6rem, 6.5vw, 6rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 84% 16%, oklch(0.56 0.15 240 / 0.48), transparent 34%),
    radial-gradient(circle at 16% 88%, oklch(0.45 0.12 268 / 0.36), transparent 38%),
    linear-gradient(145deg, var(--brand-900), oklch(0.33 0.09 245));
  color: oklch(0.97 0.008 248);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  width: clamp(180px, 18vw, 320px);
  height: clamp(180px, 18vw, 320px);
  right: -4%;
  bottom: 12%;
  background: oklch(0.76 0.12 219 / 0.35);
  animation: float-orb-1 11s ease-in-out infinite;
}

.hero::after {
  width: clamp(120px, 10vw, 200px);
  height: clamp(120px, 10vw, 200px);
  left: 8%;
  top: 9%;
  background: oklch(0.8 0.11 180 / 0.35);
  animation: float-orb-2 9s ease-in-out infinite;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(oklch(0.95 0.015 248 / 0.28) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
  animation: noise-pan 18s linear infinite;
}

.hero__layout {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  z-index: 1;
}

.hero__copy {
  display: grid;
  gap: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4.8rem);
  max-width: 12ch;
  text-wrap: balance;
}

.hero__lead {
  font-size: clamp(1.12rem, 2.15vw, 1.45rem);
  max-width: 47ch;
  color: oklch(0.96 0.01 245);
}

.hero__text {
  max-width: 62ch;
  color: oklch(0.94 0.015 248 / 0.93);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding-inline: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms var(--easing), background-color 220ms var(--easing), color 220ms var(--easing), border-color 220ms var(--easing);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: oklch(0.29 0.04 248);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -20%;
  width: 28%;
  transform: skewX(-24deg) translateX(-320%);
  background: oklch(0.98 0.01 200 / 0.42);
  animation: sheen 5s var(--easing) infinite;
}

.btn--primary:hover {
  background: oklch(0.83 0.11 180);
}

.btn--ghost {
  border-color: oklch(0.86 0.03 247 / 0.7);
  color: oklch(0.96 0.01 247);
}

.btn--ghost:hover {
  background: oklch(0.95 0.015 248 / 0.14);
}

.btn--secondary {
  margin-top: 0.4rem;
  background: var(--brand-900);
  color: var(--surface);
}

.hero__media {
  margin: 0;
  background: oklch(0.95 0.01 248 / 0.14);
  border: 1px solid oklch(0.9 0.02 248 / 0.35);
  border-radius: var(--radius-xl);
  overflow: clip;
  box-shadow: var(--shadow-strong);
  transform: rotate(1.6deg);
  animation: media-float 6.8s ease-in-out infinite;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 650ms var(--easing);
}

.hero__media:hover img {
  transform: scale(1.04);
}

.hero__media figcaption {
  padding: 1rem 1.15rem 1.15rem;
  font-size: 0.93rem;
  color: oklch(0.95 0.01 247 / 0.93);
}

.hero__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.7rem, 3.5vw, 2.8rem);
}

.metric {
  background: oklch(0.95 0.01 248 / 0.12);
  border: 1px solid oklch(0.9 0.02 248 / 0.38);
  border-radius: var(--radius-l);
  padding: 1rem 1.05rem;
}

.metric__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: oklch(0.98 0.008 248);
}

.metric__label {
  color: oklch(0.94 0.015 248 / 0.9);
  font-size: 0.96rem;
}

.course-rebuild {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.course-intro,
.course-objectives,
.course-profile {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2vw, 1.3rem);
  display: grid;
  gap: 0.72rem;
}

.course-intro {
  grid-column: span 7;
  background:
    radial-gradient(circle at 100% 0%, oklch(0.92 0.05 239 / 0.42), transparent 45%),
    var(--surface);
}

.course-objectives {
  grid-column: span 5;
}

.course-profile {
  grid-column: span 8;
}

.course-label {
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: oklch(0.92 0.05 243 / 0.85);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

.course-intro h3,
.course-objectives h3,
.course-profile h3 {
  font-size: clamp(1.17rem, 2.3vw, 1.45rem);
  color: var(--ink);
}

.course-intro p,
.course-objectives p,
.course-objectives li,
.course-profile p {
  color: var(--ink-soft);
}

.course-intro__list,
.course-objectives ul {
  display: grid;
  gap: 0.5rem;
}

.course-intro__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-intro__list li {
  position: relative;
  padding-left: 1.05rem;
}

.course-intro__list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: oklch(0.67 0.11 231);
}

.course-objectives__lead {
  font-weight: 600;
  color: var(--ink);
}

.course-profile {
  background:
    radial-gradient(circle at 0% 100%, oklch(0.92 0.06 244 / 0.45), transparent 45%),
    var(--surface);
}

.course-profile__ppc {
  font-size: 0.94rem;
}

.course-facts {
  grid-column: span 4;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  padding: clamp(0.9rem, 2vw, 1.15rem);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-facts__item {
  border-radius: 0.95rem;
  border: 1px solid oklch(0.84 0.03 246 / 0.55);
  background: var(--surface);
  padding: 0.78rem 0.72rem;
  display: grid;
  gap: 0.2rem;
}

.course-facts__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.14rem);
  color: var(--brand-900);
  line-height: 1.24;
}

.course-facts__label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.areas-layout {
  display: grid;
  gap: 1.1rem;
  align-items: start;
  grid-template-columns: 1fr;
}

.areas-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.area-card {
  min-height: 196px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  border: 1px solid oklch(0.91 0.02 248 / 0.36);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 100% 0%, oklch(0.88 0.06 243 / 0.28), transparent 42%),
    oklch(0.96 0.01 248 / 0.08);
  padding: 1rem;
  transition: transform 280ms var(--easing), box-shadow 280ms var(--easing), border-color 280ms var(--easing);
}

.area-card:hover {
  transform: translateY(-5px);
  border-color: oklch(0.78 0.05 240 / 0.7);
  box-shadow: 0 16px 32px oklch(0.16 0.04 252 / 0.2);
}

.area-card__tag {
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.54rem;
  font-family: var(--font-display);
  font-size: 0.67rem;
  color: oklch(0.98 0.008 248);
  background: oklch(0.55 0.12 244 / 0.9);
}

.area-card h3 {
  font-size: 1rem;
  color: oklch(0.99 0.008 248);
  line-height: 1.25;
  text-wrap: balance;
}

.area-card p {
  color: oklch(0.93 0.015 248 / 0.92);
  font-size: 0.92rem;
}

.quiz-shell {
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, oklch(0.89 0.07 236 / 0.5), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.3vw, 1.6rem);
  display: grid;
  gap: 0.95rem;
  max-width: 860px;
}

.quiz-shell__step {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-700);
}

.quiz-shell__progress {
  width: 100%;
  height: 0.44rem;
  border-radius: 999px;
  overflow: hidden;
  background: oklch(0.93 0.03 243 / 0.75);
}

.quiz-shell__progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-600), var(--accent));
  transition: width 300ms var(--easing);
}

.quiz-shell h3 {
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
}

.quiz-shell__options {
  display: grid;
  gap: 0.6rem;
}

.quiz-option {
  width: 100%;
  text-align: left;
  min-height: 3rem;
  border-radius: 0.88rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.97rem;
  font-weight: 600;
  padding: 0.78rem 0.9rem;
  transition: transform 230ms var(--easing), border-color 230ms var(--easing), background-color 230ms var(--easing), box-shadow 230ms var(--easing);
}

.quiz-option:hover {
  transform: translateY(-2px);
  border-color: oklch(0.74 0.08 245 / 0.8);
}

.quiz-option.is-selected {
  border-color: var(--brand-700);
  background: oklch(0.91 0.05 243 / 0.68);
  box-shadow: 0 10px 26px oklch(0.21 0.03 252 / 0.16);
}

.quiz-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quiz-btn {
  min-height: 2.7rem;
  border-radius: 999px;
  border: 0;
  background: var(--brand-900);
  color: var(--surface);
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 700;
  padding-inline: 1rem;
  transition: transform 220ms var(--easing), background-color 220ms var(--easing), opacity 220ms var(--easing);
}

.quiz-btn:hover {
  transform: translateY(-2px);
  background: var(--brand-800);
}

.quiz-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.quiz-btn--ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.quiz-btn--ghost:hover {
  background: oklch(0.93 0.03 243 / 0.8);
}

.quiz-result {
  border-radius: 1rem;
  border: 1px solid oklch(0.78 0.08 243 / 0.45);
  background: oklch(0.93 0.05 241 / 0.48);
  padding: 0.95rem;
  display: grid;
  gap: 0.5rem;
}

.quiz-result__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-700);
}

.quiz-result h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--brand-900);
}

.quiz-result p {
  color: var(--ink-soft);
}

.chatbot-section {
  padding: 2.5rem 0 3rem;
  background: oklch(0.975 0.005 248);
  border-bottom: 1px solid oklch(0.91 0.012 248);
}

.chatbot {
  max-width: 720px;
  margin: 0 auto;
  background: oklch(1 0 0);
  border: 1px solid oklch(0.9 0.012 248);
  border-radius: 1.25rem;
  box-shadow: 0 2px 20px oklch(0.35 0.07 248 / 0.08);
  overflow: hidden;
}

.chatbot__messages {
  min-height: 240px;
  max-height: 420px;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scroll-behavior: smooth;
}

.chat-message {
  max-width: 80%;
  padding: 0.65rem 0.95rem;
  border-radius: 1rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.chat-message p {
  white-space: pre-wrap;
  margin: 0;
  color: inherit;
}

.chat-message--assistant {
  align-self: flex-start;
  background: oklch(0.96 0.008 248);
  border: 1px solid oklch(0.9 0.012 248);
  border-bottom-left-radius: 0.3rem;
  color: oklch(0.22 0.03 248);
}

.chat-message--user {
  align-self: flex-end;
  background: oklch(0.32 0.1 248);
  border-bottom-right-radius: 0.3rem;
  color: oklch(0.98 0.008 248);
}

.chatbot__bar {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid oklch(0.92 0.01 248);
  background: oklch(0.985 0.004 248);
}

.chatbot__bar textarea {
  flex: 1;
  border: 1px solid oklch(0.87 0.015 248);
  border-radius: 0.85rem;
  background: oklch(0.975 0.005 248);
  color: oklch(0.18 0.025 248);
  font-family: var(--font-text);
  font-size: 0.95rem;
  padding: 0.62rem 0.9rem;
  resize: none;
  line-height: 1.5;
  min-height: 44px;
  max-height: 140px;
  overflow-y: auto;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.chatbot__bar textarea:focus {
  outline: none;
  border-color: oklch(0.44 0.13 248);
  box-shadow: 0 0 0 3px oklch(0.44 0.13 248 / 0.1);
}

.chatbot__bar textarea::placeholder {
  color: oklch(0.62 0.02 248);
}

.chatbot__send {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: oklch(0.32 0.1 248);
  color: oklch(0.99 0.004 248);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease-out, transform 0.1s ease-out;
}

.chatbot__send:hover {
  background: oklch(0.27 0.1 248);
}

.chatbot__send:active {
  transform: scale(0.94);
}

.chatbot__send:disabled {
  background: oklch(0.84 0.018 248);
  cursor: not-allowed;
  transform: none;
}

.chatbot__status {
  font-size: 0.8rem;
  padding: 0.2rem 1.5rem 0.55rem;
  min-height: 1.4rem;
  color: oklch(0.55 0.04 248);
}

.chatbot__status[data-status='error'] {
  color: oklch(0.52 0.18 28);
}

.chatbot__status[data-status='success'] {
  color: oklch(0.48 0.14 166);
}

.panel,
.course-intro,
.course-objectives,
.course-profile,
.course-facts,
.infra-card,
.faculty-card,
.life-card,
.blog-item {
  transition: transform 260ms var(--easing), box-shadow 260ms var(--easing), border-color 260ms var(--easing);
}

.panel:hover,
.course-intro:hover,
.course-objectives:hover,
.course-profile:hover,
.course-facts:hover,
.infra-card:hover,
.faculty-card:hover,
.life-card:hover,
.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px oklch(0.21 0.04 252 / 0.16);
}

.infra-hero {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1.1fr 0.9fr;
  margin-bottom: 1rem;
}

.infra-hero figure {
  margin: 0;
  border-radius: var(--radius-l);
  overflow: clip;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
}

.infra-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.infra-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
}

.infra-card span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  background: oklch(0.92 0.05 244);
  color: var(--brand-900);
}

.infra-card h3 {
  font-size: 1.03rem;
}

.infra-card p {
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.infra-tags {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.infra-tags li {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0.82rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.faculty-tools {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.faculty-tools label {
  font-weight: 600;
  font-size: 0.96rem;
}

.faculty-tools input {
  width: min(480px, 100%);
  min-height: 2.7rem;
  border-radius: 0.72rem;
  border: 1px solid oklch(0.8 0.03 248 / 0.8);
  background: oklch(0.97 0.01 248 / 0.14);
  color: oklch(0.98 0.008 248);
  padding-inline: 0.9rem;
  font-size: 1rem;
}

.faculty-tools input::placeholder {
  color: oklch(0.92 0.015 248 / 0.8);
}

.faculty-tools p {
  color: oklch(0.95 0.01 248 / 0.94);
  font-size: 0.9rem;
}

.faculty-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faculty-card {
  border: 1px solid oklch(0.91 0.02 248 / 0.35);
  border-radius: 1rem;
  background: oklch(0.96 0.01 248 / 0.08);
  padding: 0.95rem;
  display: grid;
  gap: 0.28rem;
}

.faculty-card h3 {
  font-size: 1rem;
  color: oklch(0.99 0.008 248);
}

.faculty-card p {
  font-size: 0.88rem;
  color: oklch(0.93 0.015 248 / 0.86);
}

.faculty-card a {
  font-size: 0.9rem;
  color: oklch(0.93 0.03 217);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

.research-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel__links-title {
  font-weight: 700;
  color: var(--ink);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border-radius: 999px;
  padding-inline: 0.78rem;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  transition: transform 220ms var(--easing), border-color 220ms var(--easing), color 220ms var(--easing);
}

.link-row a:hover {
  transform: translateY(-2px);
  color: var(--brand-900);
  border-color: oklch(0.74 0.08 246);
}

.life-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.life-card {
  border-radius: var(--radius-l);
  border: 1px solid oklch(0.9 0.02 248 / 0.35);
  background: oklch(0.96 0.01 248 / 0.08);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.life-card h3 {
  font-size: 1.07rem;
  color: oklch(0.99 0.008 248);
}

.life-card p {
  color: oklch(0.93 0.015 248 / 0.9);
}

.life-card a {
  width: fit-content;
  color: oklch(0.94 0.03 214);
  font-weight: 600;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-feature {
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background:
    radial-gradient(circle at 98% 0%, oklch(0.91 0.06 239 / 0.55), transparent 38%),
    var(--surface);
  display: grid;
  gap: 0.75rem;
}

.blog-feature__tag {
  width: fit-content;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  color: var(--brand-900);
  background: oklch(0.92 0.06 241);
}

.blog-feature h3 {
  font-size: clamp(1.3rem, 2.3vw, 2rem);
}

.blog-feature p,
.blog-item p {
  color: var(--ink-soft);
}

.blog-list {
  display: grid;
  gap: 0.65rem;
}

.blog-item {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.blog-item h3 {
  font-size: 1.06rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid .panel {
  border: 1px solid oklch(0.91 0.02 248 / 0.33);
  background: oklch(0.96 0.01 248 / 0.08);
}

.contact-grid .panel h3 {
  color: oklch(0.99 0.008 248);
}

.contact-grid .panel p {
  color: oklch(0.93 0.015 248 / 0.9);
}

.contact-grid .panel a {
  width: fit-content;
  color: oklch(0.94 0.03 214);
}

.page-hub {
  background:
    radial-gradient(circle at 92% 6%, oklch(0.92 0.05 238 / 0.45), transparent 32%),
    transparent;
}

.hub-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hub-card {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  transition: transform 250ms var(--easing), box-shadow 250ms var(--easing), border-color 250ms var(--easing);
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.76 0.06 243 / 0.7);
  box-shadow: 0 16px 34px oklch(0.21 0.04 252 / 0.16);
}

.hub-card h3 {
  font-size: 1.06rem;
}

.hub-card p {
  color: var(--ink-soft);
}

.hub-card a {
  width: fit-content;
  color: var(--brand-900);
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 82% 14%, oklch(0.56 0.16 239 / 0.5), transparent 34%),
    radial-gradient(circle at 14% 86%, oklch(0.45 0.13 266 / 0.34), transparent 38%),
    linear-gradient(148deg, var(--brand-900), oklch(0.29 0.08 248));
  color: oklch(0.97 0.008 248);
}

.page-hero__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
}

.page-hero__copy {
  display: grid;
  gap: 0.9rem;
}

.page-hero__copy h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  max-width: 13ch;
  text-wrap: balance;
}

.page-hero__copy p {
  max-width: 62ch;
  color: oklch(0.95 0.014 247 / 0.94);
}

.page-hero__visual {
  margin: 0;
  border-radius: 1.3rem;
  overflow: clip;
  border: 1px solid oklch(0.9 0.02 248 / 0.35);
  box-shadow: var(--shadow-strong);
}

.page-hero__visual img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.page-hero__visual figcaption {
  padding: 0.8rem 0.9rem;
  font-size: 0.9rem;
  color: oklch(0.95 0.014 247 / 0.9);
  background: oklch(0.95 0.01 248 / 0.12);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.page-metric {
  border-radius: 0.95rem;
  border: 1px solid oklch(0.91 0.02 248 / 0.33);
  background: oklch(0.96 0.01 248 / 0.08);
  padding: 0.8rem;
}

.page-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: oklch(0.99 0.008 248);
}

.page-metric span {
  font-size: 0.86rem;
  color: oklch(0.93 0.015 248 / 0.9);
}

.page-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.page-card {
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.page-card h3 {
  font-size: 1.08rem;
  color: var(--ink);
  text-wrap: balance;
}

.page-card p,
.page-card li {
  color: var(--ink-soft);
}

.page-card ul {
  margin: 0;
  display: grid;
  gap: 0.42rem;
}

.page-card--span-8 {
  grid-column: span 8;
}

.page-card--span-7 {
  grid-column: span 7;
}

.page-card--span-6 {
  grid-column: span 6;
}

.page-card--span-5 {
  grid-column: span 5;
}

.page-card--span-4 {
  grid-column: span 4;
}

.page-card--tone {
  background:
    radial-gradient(circle at 100% 0%, oklch(0.92 0.06 239 / 0.52), transparent 42%),
    var(--surface);
}

.page-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.page-steps li {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 0.65rem;
  align-items: start;
}

.page-steps li::before {
  content: attr(data-step);
  width: 1.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.48rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--brand-900);
  background: oklch(0.92 0.05 244);
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.38rem 0.65rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

.faq-list details {
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.7rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq-list p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}

.resource-links {
  display: grid;
  gap: 0.45rem;
}

.resource-links a {
  width: fit-content;
  color: var(--brand-900);
  font-weight: 700;
}

.page-card,
.panel,
.course-intro,
.course-objectives,
.course-profile,
.course-facts,
.faculty-card,
.hub-card,
.blog-item,
.blog-feature,
.contact-grid .panel {
  min-width: 0;
}

.faculty-card a,
.contact-grid .panel a,
.resource-links a,
.site-footer a,
.hub-card a,
.page-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

html[data-theme="dark"] .scroll-progress {
  background: oklch(0.31 0.02 252 / 0.8);
}

html[data-theme="dark"] .site-header {
  border-bottom-color: oklch(0.43 0.02 252 / 0.7);
  background: oklch(0.23 0.02 252 / 0.88);
}

html[data-theme="dark"] .menu-toggle {
  border-color: oklch(0.5 0.03 252 / 0.9);
}

html[data-theme="dark"] .menu-toggle span {
  background: oklch(0.9 0.01 250);
}

html[data-theme="dark"] .theme-toggle {
  border-color: oklch(0.5 0.03 252 / 0.9);
  background: oklch(0.28 0.02 252 / 0.95);
  color: oklch(0.94 0.01 250);
}

html[data-theme="dark"] .site-menu a {
  color: oklch(0.87 0.015 250);
}

html[data-theme="dark"] .site-menu {
  border-color: oklch(0.47 0.03 252 / 0.85);
  background: oklch(0.24 0.02 252 / 0.97);
}

html[data-theme="dark"] .site-menu a:hover,
html[data-theme="dark"] .site-menu a.is-current {
  color: oklch(0.96 0.01 250);
  background: oklch(0.35 0.04 246 / 0.8);
}

html[data-theme="dark"] .site-menu__cta {
  background: oklch(0.74 0.12 246);
  color: oklch(0.18 0.02 252) !important;
}

html[data-theme="dark"] .section--light {
  background: transparent;
}

html[data-theme="dark"] .hero__media,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .page-hero__visual,
html[data-theme="dark"] .page-metric {
  border-color: oklch(0.47 0.03 252 / 0.75);
}

html[data-theme="dark"] .hero__media figcaption,
html[data-theme="dark"] .page-hero__visual figcaption {
  color: oklch(0.88 0.014 250 / 0.95);
  background: oklch(0.3 0.02 252 / 0.84);
}

html[data-theme="dark"] .quiz-shell,
html[data-theme="dark"] .course-intro,
html[data-theme="dark"] .course-objectives,
html[data-theme="dark"] .course-profile,
html[data-theme="dark"] .course-facts,
html[data-theme="dark"] .page-card,
html[data-theme="dark"] .hub-card,
html[data-theme="dark"] .infra-card,
html[data-theme="dark"] .faculty-card,
html[data-theme="dark"] .life-card,
html[data-theme="dark"] .blog-item,
html[data-theme="dark"] .blog-feature,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .contact-grid .panel,
html[data-theme="dark"] .panel {
  border-color: oklch(0.44 0.03 252 / 0.8);
  background: var(--surface);
}

html[data-theme="dark"] .page-card--tone,
html[data-theme="dark"] .course-profile,
html[data-theme="dark"] .course-intro,
html[data-theme="dark"] .blog-feature,
html[data-theme="dark"] .quiz-shell {
  background:
    radial-gradient(circle at 100% 0%, oklch(0.44 0.08 242 / 0.35), transparent 45%),
    var(--surface);
}

html[data-theme="dark"] .page-card h3,
html[data-theme="dark"] .course-intro h3,
html[data-theme="dark"] .course-objectives h3,
html[data-theme="dark"] .course-profile h3,
html[data-theme="dark"] .hub-card h3,
html[data-theme="dark"] .blog-item h3,
html[data-theme="dark"] .blog-feature h3,
html[data-theme="dark"] .faq-list summary,
html[data-theme="dark"] .panel h3 {
  color: oklch(0.94 0.01 250);
}

html[data-theme="dark"] .page-card p,
html[data-theme="dark"] .page-card li,
html[data-theme="dark"] .course-intro p,
html[data-theme="dark"] .course-objectives p,
html[data-theme="dark"] .course-objectives li,
html[data-theme="dark"] .course-profile p,
html[data-theme="dark"] .faculty-card p,
html[data-theme="dark"] .faculty-card a,
html[data-theme="dark"] .hub-card p,
html[data-theme="dark"] .hub-card a,
html[data-theme="dark"] .blog-feature p,
html[data-theme="dark"] .blog-meta,
html[data-theme="dark"] .faq-list p,
html[data-theme="dark"] .panel p,
html[data-theme="dark"] .panel li,
html[data-theme="dark"] .contact-grid .panel p,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .site-footer__bottom {
  color: oklch(0.83 0.015 250);
}

html[data-theme="dark"] .resource-links a,
html[data-theme="dark"] .contact-grid .panel a,
html[data-theme="dark"] .link-row a {
  color: oklch(0.9 0.05 220);
}

html[data-theme="dark"] .chatbot-section {
  background: oklch(0.17 0.02 252);
  border-bottom-color: oklch(0.28 0.03 252);
}

html[data-theme="dark"] .chatbot {
  background: oklch(0.2 0.02 252);
  border-color: oklch(0.3 0.03 252);
}

html[data-theme="dark"] .chat-message--assistant {
  background: oklch(0.25 0.025 252);
  border-color: oklch(0.34 0.04 252);
  color: oklch(0.9 0.012 248);
}

html[data-theme="dark"] .chat-message--user {
  background: oklch(0.38 0.11 248);
  color: oklch(0.97 0.008 248);
}

html[data-theme="dark"] .chatbot__bar {
  background: oklch(0.18 0.02 252);
  border-top-color: oklch(0.28 0.03 252);
}

html[data-theme="dark"] .chatbot__bar textarea {
  background: oklch(0.22 0.02 252);
  border-color: oklch(0.34 0.04 252);
  color: oklch(0.9 0.012 248);
}

html[data-theme="dark"] .chatbot__bar textarea::placeholder {
  color: oklch(0.58 0.03 252);
}

html[data-theme="dark"] .chatbot__status {
  color: oklch(0.65 0.03 252);
}

html[data-theme="dark"] .pill-list li,
html[data-theme="dark"] .course-facts__item {
  background: oklch(0.31 0.02 252);
  border-color: oklch(0.45 0.03 252 / 0.85);
}

html[data-theme="dark"] .course-facts__value {
  color: oklch(0.93 0.02 245);
}

html[data-theme="dark"] .course-facts__label,
html[data-theme="dark"] .page-metric span {
  color: oklch(0.8 0.015 250);
}

html[data-theme="dark"] .site-footer {
  background: oklch(0.22 0.02 252);
  border-top-color: oklch(0.41 0.02 252 / 0.7);
}

html[data-theme="dark"] .site-footer__bottom {
  border-top-color: oklch(0.41 0.02 252 / 0.7);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: oklch(0.965 0.012 246);
  padding-top: 2rem;
}

.site-footer__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr 1fr;
  padding-bottom: 1.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--brand-900);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1rem 1.6rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--easing), transform 700ms var(--easing);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__media.reveal {
  transform: translateY(24px) rotate(1.6deg);
}

.hero__media.reveal.is-visible {
  transform: translateY(0) rotate(1.6deg);
}

@keyframes sheen {
  0%,
  60% {
    transform: skewX(-24deg) translateX(-320%);
  }
  100% {
    transform: skewX(-24deg) translateX(420%);
  }
}

@keyframes float-orb-1 {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-16px, -22px, 0);
  }
}

@keyframes float-orb-2 {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, 18px, 0);
  }
}

@keyframes noise-pan {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(24px, 14px, 0);
  }
}

@keyframes media-float {
  0%,
  100% {
    transform: rotate(1.6deg) translateY(0);
  }
  50% {
    transform: rotate(1.6deg) translateY(-8px);
  }
}

:focus-visible {
  outline: 2px solid oklch(0.69 0.16 245);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .hero__layout,
  .page-hero__layout,
  .areas-layout,
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .hero__media {
    max-width: min(540px, 100%);
  }

  .course-intro,
  .course-objectives,
  .course-profile,
  .course-facts,
  .page-card--span-8,
  .page-card--span-7,
  .page-card--span-6,
  .page-card--span-5,
  .page-card--span-4,
  .contact-grid,
  .research-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .contact-grid,
  .research-grid {
    display: grid;
  }
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
  }

  .theme-toggle {
    min-height: 2.35rem;
    padding-inline: 0.62rem;
  }

  .theme-toggle__label {
    display: none;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 0.3rem);
    right: 4vw;
    width: min(360px, 92vw);
    border-radius: 1rem;
    border: 1px solid oklch(0.78 0.03 248 / 0.7);
    background: oklch(0.985 0.01 244 / 0.98);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top right;
    transition: opacity 220ms var(--easing), transform 220ms var(--easing);
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-menu a {
    justify-content: center;
    min-height: 2.55rem;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

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

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 3.6rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .faculty-grid,
  .areas-cards,
  .hub-grid,
  .page-metrics,
  .infra-grid,
  .life-grid {
    grid-template-columns: 1fr;
  }

  .page-steps li {
    grid-template-columns: 1fr;
  }

  .chatbot {
    border-radius: 0.75rem;
  }

  .chat-message {
    max-width: 92%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
