:root {
  --ink: #15233c;
  --muted: #617086;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --sky: #dff2ff;
  --blue: #2476ff;
  --green: #19a974;
  --gold: #f4b942;
  --line: #dbe3ef;
  --shadow: 0 22px 70px rgba(21, 35, 60, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 251, 247, 0.9);
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  border-radius: 999px;
  padding: 9px 14px;
  color: #2d3c55;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  background: #eaf4ff;
  color: var(--blue);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(44px, 7vw, 90px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 75% 20%, rgba(36, 118, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #fbfbf7 0%, #eef9ef 52%, #eaf4ff 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
}

h3 {
  font-size: 1.2rem;
}

.hero p:not(.eyebrow),
.section-heading > p,
.mission-copy,
.register-card p,
.contact h2 + p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(36, 118, 255, 0.25);
}

.button.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  position: absolute;
  inset: -20px 28px 28px -20px;
  content: "";
  border-radius: 34px;
  background: var(--gold);
  transform: rotate(-4deg);
}

.hero-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
  border: 10px solid white;
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.mission,
.webinars,
.chapters,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 64px);
}

.mission {
  background: white;
}

.mission-copy p:first-child {
  margin-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(32px, 6vw, 78px) clamp(18px, 5vw, 64px);
  background: #f3f7fb;
}

.feature-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(21, 35, 60, 0.07);
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.feature-grid h3,
.feature-grid p {
  margin-right: 22px;
  margin-left: 22px;
}

.feature-grid h3 {
  margin-top: 22px;
}

.feature-grid p {
  margin-bottom: 24px;
  color: var(--muted);
}

.section-heading {
  max-width: 520px;
}

.webinars {
  background: var(--ink);
  color: white;
}

.webinars .eyebrow {
  color: #8ee8c4;
}

.webinars .section-heading > p {
  color: #c8d4e4;
}

.video-grid {
  display: grid;
  gap: 16px;
}

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

.video-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 232, 196, 0.7);
  background: rgba(255, 255, 255, 0.13);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.play-icon::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid white;
  content: "";
}

.video-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.video-date {
  color: #8ee8c4;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-copy strong {
  color: white;
  font-size: 1.02rem;
  line-height: 1.25;
}

.video-copy span:last-child {
  color: #c8d4e4;
  font-weight: 700;
}

.chapters {
  background:
    radial-gradient(circle at 15% 18%, rgba(244, 185, 66, 0.22), transparent 28%),
    linear-gradient(135deg, #f9fbf4 0%, #ffffff 48%, #eef6ff 100%);
}

.chapters .section-heading {
  position: sticky;
  top: 104px;
  align-self: start;
}

.chapters .section-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.chapters .video-card {
  border-color: var(--line);
  background: white;
  box-shadow: 0 14px 34px rgba(21, 35, 60, 0.08);
}

.chapters .video-card:hover {
  border-color: rgba(36, 118, 255, 0.4);
  background: white;
}

.chapters .video-copy strong {
  color: var(--ink);
}

.chapters .video-copy span:last-child {
  color: var(--muted);
}

.chapters .video-date {
  color: var(--blue);
}

.video-card.compact {
  grid-template-columns: 144px minmax(0, 1fr);
  grid-template-rows: auto;
}

.video-card.compact .video-thumb img {
  height: 100%;
  min-height: 138px;
}

.video-card.compact .play-icon {
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
}

.video-card.compact .play-icon::before {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
}

.channel-link {
  grid-column: 2;
  justify-self: start;
  margin-top: 20px;
}

.webinar-list {
  display: grid;
  gap: 12px;
}

.webinar-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.webinar-list a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.webinar-list span {
  font-weight: 800;
}

.webinar-list strong {
  color: #8ee8c4;
  white-space: nowrap;
}

.register {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(25, 169, 116, 0.12), rgba(36, 118, 255, 0.12)),
    white;
}

.register-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

.register-card img {
  width: 100%;
  border-radius: 22px;
}

.schedule {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #eff8ff;
  color: var(--ink) !important;
  font-weight: 800;
}

.contact {
  background: #f9fbf4;
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 28px rgba(21, 35, 60, 0.06);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(36, 118, 255, 0.18);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: #d8e3ef;
}

footer span:first-child {
  color: white;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero,
  .mission,
  .webinars,
  .chapters,
  .contact,
  .register-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .featured-recordings,
  .chapter-recordings {
    grid-template-columns: 1fr;
  }

  .chapters .section-heading {
    position: static;
  }

  .channel-link {
    grid-column: 1;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.6rem);
  }

  .register-card {
    padding: 16px;
  }
}

@media (max-width: 560px) {
  .video-card.compact {
    grid-template-columns: 1fr;
  }

  .video-card.compact .video-thumb img {
    min-height: auto;
  }
}
