:root {
  --berkeley: #006678;
  --graphite: #404041;
  --support: #6e9ea8;
  --deep: #00444e;
  --paper: #ffffff;
  --mist: #f2f6f7;
  --line: #cedcdf;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-line: rgba(0, 102, 120, 0.18);
  --shadow: rgba(0, 68, 78, 0.14);
  --shadow-strong: rgba(0, 68, 78, 0.24);
  --content: 1180px;
  --radius: 24px;
  --font: "Proda Sans", "ProdaSans-Medium", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--graphite);
  background: #f8fbfb;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: block;
  width: 100%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--deep), var(--berkeley), var(--support));
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

a,
button,
video {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--support);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--deep);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 12px 36px rgba(0, 68, 78, 0.06);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-group {
  display: grid;
  width: min(38vw, 440px);
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr 1fr;
  gap: 34px;
  text-decoration: none;
}

.header-logo-mark {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.header-logo-ceb,
.header-logo-resgate {
  mix-blend-mode: multiply;
}

.header-actions > .button {
  padding-inline: 24px;
  font-size: 1rem;
  font-weight: 650;
}

.header-actions,
.nav-list {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 28px;
}

.nav-list {
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  padding-block: 8px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--berkeley);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  color: var(--paper);
  background: var(--berkeley);
  border: 2px solid var(--berkeley);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(0, 102, 120, 0.2);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button::after {
  content: "→";
  font-size: 1.18em;
  line-height: 1;
}

.button:hover {
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: 0 18px 38px rgba(0, 68, 78, 0.26);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--berkeley);
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(0, 102, 120, 0.3);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  color: var(--paper);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 6vw, 86px) 0 clamp(62px, 7vw, 96px);
  background:
    radial-gradient(
      circle at 82% 15%,
      rgba(110, 158, 168, 0.24),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(242, 246, 247, 0.98),
      rgba(255, 255, 255, 0.76)
    );
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 58%;
  content: "";
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(0, 102, 120, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 120, 0.065) 1px, transparent 1px);
  background-size: 46px 46px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -120px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 102, 120, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(110, 158, 168, 0.2),
    0 36px 90px rgba(0, 68, 78, 0.12);
  backdrop-filter: blur(6px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(42px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--berkeley);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: var(--berkeley);
}

.hero h1,
.chapter-title {
  margin: 0;
  color: var(--graphite);
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.008em;
  line-height: 1.04;
  text-shadow: 0 14px 34px rgba(0, 68, 78, 0.16);
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(2.3rem, 3.9vw, 3.95rem);
}

.hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.58;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-points li::before {
  content: "+";
  color: var(--berkeley);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 6px 18px rgba(0, 102, 120, 0.2);
}

.people-art {
  position: relative;
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
  filter: drop-shadow(0 30px 44px rgba(0, 68, 78, 0.2));
}

.people-art svg {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 102, 120, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.section {
  padding: clamp(88px, 10vw, 142px) 0;
}

.chapter-title {
  max-width: 820px;
  font-size: clamp(2.55rem, 4.8vw, 4.7rem);
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(48px, 6vw, 74px);
}

.section-intro,
.center-lead {
  max-width: 64ch;
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.center-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.title-swoosh {
  display: block;
  width: clamp(64px, 6.5vw, 96px);
  height: auto;
  flex: 0 0 auto;
}

.title-nowrap {
  white-space: nowrap;
}

.center-grid,
.quality-grid,
.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(52px, 8vw, 104px);
}

.center-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.08fr);
}

.promater-photo {
  position: relative;
  width: min(100%, 500px);
  margin: 0;
  justify-self: center;
}

.promater-photo::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -8%;
  bottom: -8%;
  left: 11%;
  content: "";
  background: rgba(110, 158, 168, 0.17);
  border: 1px solid rgba(0, 102, 120, 0.14);
  border-radius: 30px;
  box-shadow: 0 34px 78px rgba(0, 68, 78, 0.15);
  backdrop-filter: blur(14px);
}

.promater-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 54px rgba(0, 68, 78, 0.21);
}

.promater-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 13px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 68, 78, 0.14);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(16px);
}

.video-shell {
  position: relative;
  width: min(100%, 380px);
}

.video-shell::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -10%;
  bottom: -5%;
  left: 12%;
  content: "";
  background: rgba(110, 158, 168, 0.18);
  border: 1px solid rgba(0, 102, 120, 0.16);
  border-radius: 32px;
  box-shadow: 0 34px 80px rgba(0, 68, 78, 0.16);
  backdrop-filter: blur(16px);
}

.video-shell video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: var(--deep);
  border: 1px solid rgba(0, 102, 120, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 30px 56px rgba(0, 68, 78, 0.22);
}

.center-copy > p:not(.eyebrow) {
  max-width: 64ch;
  font-size: 1.08rem;
  line-height: 1.72;
}

.center-copy > .center-lead {
  font-size: 1.16rem;
}

.center-title-row {
  display: grid;
  grid-template-columns: minmax(22px, 1fr) auto auto minmax(22px, 1fr);
  gap: 18px;
  align-items: center;
}

.center-title-row::before,
.center-title-row::after {
  height: 1px;
  content: "";
  background: #bcc5c7;
}

.center-title-row .chapter-title {
  max-width: none;
  font-size: clamp(2.7rem, 3.85vw, 4rem);
  text-align: center;
  white-space: nowrap;
}

.pillar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.pillar-list li {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background: rgba(242, 246, 247, 0.72);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 68, 78, 0.07);
}

.pillar-list li:first-child {
  padding: 18px 20px;
  border: 1px solid var(--glass-line);
}

.pillar-list strong {
  color: var(--deep);
  font-size: 1.08rem;
  text-align: center;
}

.courses {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #dce8ea;
  background: linear-gradient(135deg, #101b22, #15282f);
}

.courses::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
}

.courses .eyebrow,
.courses .chapter-title,
.courses .section-intro {
  color: var(--paper);
}

.courses .chapter-title {
  text-shadow: 0 16px 36px rgba(0, 68, 78, 0.5);
}

.courses .eyebrow::before {
  background: var(--support);
}

.courses .section-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.22);
}

.course-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(38px, 4vw, 54px);
  backdrop-filter: blur(5px);
}

.course-card > * {
  position: relative;
  z-index: 1;
}

.course-card::before {
  position: absolute;
  z-index: 0;
  right: -14%;
  bottom: -20%;
  width: min(88%, 470px);
  aspect-ratio: 1173 / 1341;
  content: "";
  opacity: 0.2;
  background: url("../media/heart-charcoal-transparent.png") center / contain no-repeat;
  filter: grayscale(1) brightness(1.5) contrast(1.06);
  pointer-events: none;
}

.course-card--bls {
  background: linear-gradient(
    145deg,
    rgba(7, 48, 92, 0.8) 0%,
    rgba(6, 83, 147, 0.72) 58%,
    rgba(8, 116, 189, 0.64) 125%
  );
}

.course-card--acls {
  background: linear-gradient(
    145deg,
    rgba(70, 5, 9, 0.82) 0%,
    rgba(119, 17, 24, 0.72) 58%,
    rgba(183, 33, 42, 0.64) 125%
  );
}

.course-card--acls::before {
  right: auto;
  left: -14%;
}

.course-card:nth-child(2) {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.course-label {
  margin: 0;
  color: #b9d0d5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.course-card--bls .course-label,
.course-card--bls .course-meta small {
  color: #afd8f7;
}

.course-card--acls .course-label,
.course-card--acls .course-meta small {
  color: #ffc2c6;
}

.course-name {
  margin: 16px 0 0;
  color: var(--paper);
  font-family: var(--font);
  font-size: clamp(3.65rem, 5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 0.98;
  text-shadow: 0 16px 34px rgba(0, 68, 78, 0.5);
}

.course-full-name {
  min-height: 3.2em;
  margin: 12px 0 0;
  color: #dce8ea;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.45;
}

.course-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.course-meta span {
  color: var(--paper);
  font-size: 1.56rem;
  font-weight: 800;
}

.course-meta small {
  color: #b9d0d5;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-description {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.course-topics {
  display: grid;
  gap: 11px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.course-topics li {
  position: relative;
  padding-left: 25px;
  font-size: 1rem;
  line-height: 1.55;
}

.course-topics li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: #b9d0d5;
  border-radius: 50%;
  transform: translateY(-50%);
}

.course-card--bls .course-topics li::before {
  background: #8dccf7;
}

.course-card--acls .course-topics li::before {
  background: #ffadb2;
}

.course-schedule {
  margin: 0 0 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.course-schedule-title {
  margin: 0 0 12px;
  color: #ffc2c6;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.course-turmas,
.course-days {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.course-days {
  margin-bottom: 0;
}

.course-turmas li,
.course-days li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.course-turmas strong {
  color: var(--paper);
  font-size: 1rem;
}

.course-turmas span {
  color: var(--paper);
  font-weight: 750;
}

.course-days small {
  color: #ffc2c6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-days span {
  font-size: 0.92rem;
  text-align: right;
}

.button-glass {
  width: fit-content;
  margin-top: auto;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 34px rgba(0, 68, 78, 0.28);
  backdrop-filter: blur(12px);
}

.button-glass:hover {
  color: var(--deep);
  background: var(--paper);
  border-color: var(--paper);
}

.course-card--bls .button-glass:hover {
  color: #063f79;
}

.course-card--acls .button-glass:hover {
  color: #681015;
}

.course-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.course-card > .button-glass {
  z-index: 2;
}

.course-card:hover .button-glass {
  background: var(--paper);
  border-color: var(--paper);
}

.course-card--bls:hover .button-glass {
  color: #063f79;
}

.course-card--acls:hover .button-glass {
  color: #681015;
}

.course-note {
  margin: 24px 0 0;
  color: #dce8ea;
  font-size: 0.9rem;
  line-height: 1.55;
}

.quality {
  overflow: hidden;
  background: var(--paper);
}

.quality-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.quality-copy {
  max-width: 760px;
}

.quality .section-intro {
  font-size: 1.16rem;
  line-height: 1.72;
}

.quality-certification {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(26px, 3.2vw, 42px);
  margin-top: 38px;
  padding: 30px 18px;
  border-top: 1px solid var(--glass-line);
  border-bottom: 1px solid var(--glass-line);
}

.quality-berkeley-logo {
  width: clamp(180px, 20vw, 232px);
  height: auto;
  flex: 0 0 auto;
}

.quality-aha-logo {
  width: clamp(112px, 12vw, 134px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.quality-list {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--glass-line);
  list-style: none;
}

.quality-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-line);
}

.quality-list > li > span {
  color: var(--support);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quality-list strong,
.quality-list small {
  display: block;
}

.quality-list strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.quality-list small {
  margin-top: 4px;
  color: var(--graphite);
  font-size: 0.94rem;
  line-height: 1.55;
}

.quality-video {
  display: grid;
  justify-items: center;
  align-self: center;
}

.video-sound {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--paper);
  background: rgba(0, 68, 78, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 43, 50, 0.28);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.video-sound[hidden] {
  display: none;
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(125deg, var(--berkeley), var(--deep));
}

.final-cta::before {
  position: absolute;
  z-index: -1;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.final-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.final-copy .chapter-title,
.final-copy p {
  color: var(--paper);
}

.final-copy .chapter-title {
  max-width: none;
  text-shadow: 0 16px 36px rgba(0, 68, 78, 0.46);
}

.final-copy > p {
  max-width: 60ch;
  margin: 24px auto 0;
  font-size: 1.08rem;
}

.site-footer {
  color: var(--graphite);
  background: var(--paper);
  border-top: 1px solid var(--glass-line);
}

.footer-purchase-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.footer-purchase-link:hover,
.footer-purchase-link:focus-visible {
  background: rgba(0, 102, 120, 0.045);
}

.footer-purchase-link:focus-visible {
  outline-offset: -4px;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 6vw, 84px);
  padding-block: 44px;
}

.footer-logo-mark {
  display: block;
  width: 100%;
  height: auto;
  justify-self: center;
  overflow: hidden;
}

.footer-logo-ceb,
.footer-logo-resgate {
  mix-blend-mode: multiply;
}

.footer-logo-ceb {
  max-width: 220px;
}

.footer-logo-berkeley {
  max-width: 260px;
}

.footer-logo-resgate {
  max-width: 235px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1020px) {
  .brand-group {
    width: 340px;
    gap: 22px;
  }

  .header-inner {
    gap: 20px;
  }

  .header-actions {
    gap: 18px;
  }

  .nav-list {
    display: none;
  }

  .hero::after {
    top: -100px;
    right: -140px;
    width: 400px;
    height: 400px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.74fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  }

  .center-grid,
  .quality-grid {
    gap: 54px;
  }

  .quality-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  }
}

@media (max-width: 860px) {
  .center-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .quality-copy {
    max-width: none;
  }

  .video-shell {
    width: min(100%, 430px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 74px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-group {
    width: 272px;
    gap: 15px;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .hero::before {
    width: 100%;
    opacity: 0.32;
  }

  .hero::after {
    top: 43%;
    right: -190px;
    width: 340px;
    height: 340px;
  }

  .hero-grid,
  .center-grid,
  .course-grid,
  .quality-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 58px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3rem);
  }

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

  .hero-points {
    display: grid;
  }

  .people-art {
    width: min(100%, 520px);
    justify-self: center;
  }

  .center-grid,
  .quality-grid,
  .final-grid {
    gap: 58px;
  }

  .video-shell {
    width: min(92%, 400px);
  }


  .pillar-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 0;
  }

  .pillar-list li,
  .pillar-list li:first-child {
    padding: 17px 20px;
    border: 1px solid var(--glass-line);
  }

  .course-card,
  .course-card:nth-child(2) {
    padding: 36px 22px;
    border-left: 0;
  }

  .course-card:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .course-full-name {
    min-height: 0;
  }

  .button-glass {
    width: 100%;
  }

  .promater-photo {
    width: min(92%, 480px);
  }

  .center-title-row {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 14px;
  }

  .center-title-row::before,
  .center-title-row::after {
    content: none;
  }

  .center-title-row .chapter-title {
    font-size: clamp(2rem, 8.4vw, 2.7rem);
    text-align: center;
    white-space: normal;
  }

  .title-swoosh {
    width: clamp(46px, 13vw, 60px);
  }

  .quality-certification {
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 5vw, 30px);
  }

  .quality-berkeley-logo {
    width: min(180px, 46vw);
  }

  .quality-aha-logo {
    width: min(96px, 25vw);
    height: auto;
  }

  .footer-logos {
    gap: 14px;
    padding-block: 32px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid var(--glass-line);
    box-shadow: 0 -10px 28px var(--shadow);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .mobile-cta .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-group {
    width: 225px;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .chapter-title {
    font-size: 2.55rem;
  }

  .course-name {
    font-size: 3.7rem;
  }

  .video-shell {
    width: 92%;
  }

  .quality-certification {
    padding: 24px 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
