:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e0e9;
  --paper: #f7f8fa;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --brand-blue: #342b8f;
  --zoom-blue: #2d8cff;
  --green: #35aa9e;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 250, 0.86);
  border-bottom: 1px solid rgba(217, 224, 233, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.instructor-card,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--accent-dark);
}

.header-cta {
  justify-self: end;
  min-height: 40px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  color: var(--white);
  background: var(--accent);
  transform: translateY(-1px);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 68px 0;
}

main > .section:not(.hero):not(.enrollment-banner):not(.consultation) {
  border-top: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.74fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  min-height: calc(88vh - 78px);
  padding-top: 54px;
  padding-bottom: 20px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.status-pill,
.zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.status-pill {
  color: var(--accent-dark);
  background: #e6f4ef;
  border: 1px solid #b9ded3;
}

.zoom-pill {
  color: var(--white);
  background: var(--zoom-blue);
  border: 1px solid rgba(45, 140, 255, 0.18);
}

.zoom-pill img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
}

.pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  background: #12b981;
  border-radius: 50%;
}

.pulse-dot::after {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid rgba(18, 185, 129, 0.45);
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(0.45);
  }
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 17px;
}

.hero-lede {
  max-width: 760px;
  color: #293241;
  font-size: clamp(19px, 2vw, 23px);
}

.hero-copy > p:not(.hero-lede) {
  max-width: 690px;
}

.hero-cta {
  margin-top: 6px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.hero-panel,
.consultation-widget,
.course-card,
.feature-grid article,
.steps article,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-panel-stack {
  align-self: start;
  display: grid;
  gap: 16px;
}

.hero-panel {
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.enrollment-banner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 42px;
  padding: clamp(28px, 5vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.enrollment-banner h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.register-button {
  justify-self: end;
  min-width: 160px;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.register-button:hover {
  background: var(--accent);
}

.instructor-card {
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.instructor-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

.instructor-card strong,
.instructor-card span {
  display: block;
}

.instructor-card span,
.role {
  color: var(--muted);
}

.lead-widget label {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.response-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.response-note::before {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #12b981;
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 0 rgba(18, 185, 129, 0.35);
  animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 185, 129, 0.45);
  }
  75% {
    box-shadow: 0 0 0 8px rgba(18, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(18, 185, 129, 0);
  }
}

.widget-step {
  display: none;
}

.widget-step.is-active {
  display: block;
}

textarea,
input,
select {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

textarea:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--accent);
}

.form-divider {
  display: block;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.text-button {
  display: block;
  margin: 12px auto 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.form-status {
  min-height: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 750;
}

.form-status:not(:empty) {
  margin: 14px 0;
}

.form-status.error {
  color: #b42318;
}

.form-status.success {
  color: var(--accent-dark);
  padding: 12px 14px;
  background: #e6f4ef;
  border: 1px solid #b9ded3;
  border-radius: 8px;
}

.proof-strip {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  padding: 22px;
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 24px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: clamp(28px, 5vw, 70px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid,
.course-grid,
.steps {
  display: grid;
  gap: 16px;
}

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

.feature-grid article,
.course-card,
.steps article {
  padding: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.course-card span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 8px;
  font-weight: 900;
}

.course-card:nth-child(2) span {
  background: var(--accent);
}

.course-card:nth-child(3) span {
  background: var(--green);
}

.course-card {
  display: flex;
  flex-direction: column;
}

.course-cta {
  align-self: flex-start;
  margin-top: auto;
}

.cpe-section {
  padding-top: 28px;
}

.cpe-section h2 {
  max-width: 760px;
}

.courses,
.seo-benefits {
  padding-top: 36px;
}

#structure {
  padding-bottom: 42px;
}

.cpe-panel {
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
  background: #172554;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cpe-panel h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
}

.cpe-panel p {
  max-width: 860px;
  margin-bottom: 22px;
  color: #e4ecf7;
  font-size: clamp(18px, 2vw, 22px);
}

.cpe-cta {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.process {
  border-bottom: 1px solid var(--line);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.steps strong {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 14px;
}

.instructor {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.portrait-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  background: #10201f;
  border-radius: 8px;
}

.consultation h2,
.consultation .eyebrow {
  color: var(--white);
}

.consultation p {
  color: #c8d3d1;
}

.consultation .response-note {
  color: var(--accent-dark);
}

.consultation-widget {
  padding: 24px;
}

.consultation-forms {
  display: grid;
  gap: 14px;
}

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

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  padding: 20px 0;
  font-size: 18px;
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  padding-bottom: 20px;
}

.footer {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: #d8e0df;
  background: var(--ink);
}

.footer div,
.footer small,
.footer span {
  display: block;
}

.footer a {
  color: var(--white);
  font-weight: 850;
}

.footer-social-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #d8e0df;
  font-size: 15px;
  font-weight: 750;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-social-link:hover {
  color: #7de0d3;
}

.footer-links {
  display: flex;
  max-width: 780px;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-links span {
  width: 100%;
}

.footer-links a {
  font-size: 14px;
}

.admin-page {
  min-height: 100vh;
  background: #eef3f7;
}

.admin-shell {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) 0;
}

.admin-panel {
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-panel h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 58px);
}

.admin-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 850;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: 54px;
}

.seo-hero h1 {
  max-width: 960px;
}

.seo-index-hero {
  display: block;
  text-align: center;
}

.seo-index-hero h1,
.seo-index-hero .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

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

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: 24px;
}

.seo-main h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.seo-side,
.seo-disclaimer {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.seo-side ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.seo-side li + li {
  margin-top: 10px;
}

.section.seo-disclaimer {
  padding: clamp(28px, 4vw, 42px) clamp(30px, 5vw, 56px);
}

.seo-disclaimer h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.seo-disclaimer p {
  max-width: 920px;
  margin-bottom: 0;
}

.section.seo-related {
  padding-top: 20px;
  padding-bottom: 46px;
}

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

.seo-link-grid a {
  display: flex;
  min-height: 84px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  font-weight: 850;
}

.seo-link-grid a:hover {
  color: var(--accent-dark);
  border-color: #b9ded3;
}

.seo-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 360px));
  gap: 14px;
  justify-content: center;
}

.seo-country-group {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.seo-country-group h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.seo-location-links {
  display: grid;
  gap: 10px;
}

.seo-location-links a {
  color: var(--accent-dark);
  font-weight: 750;
}

.seo-location-links a:hover {
  text-decoration: underline;
}

.seo-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.seo-text-links span {
  font-weight: 850;
}

.seo-text-links a {
  color: var(--accent-dark);
  font-weight: 750;
}

.seo-text-links a:not(:last-child)::after {
  margin-left: 12px;
  color: var(--line);
  content: "|";
}

.seo-text-links a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .instructor,
  .consultation,
  .enrollment-banner,
  .seo-hero,
  .seo-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .proof-strip,
  .course-grid,
  .steps,
  .seo-link-grid,
  .seo-country-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instructor {
    align-items: start;
  }

  .portrait-wrap {
    width: min(100%, 420px);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    max-width: 168px;
    font-size: 14px;
    line-height: 1.15;
  }

  .header-cta {
    font-size: 13px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 52px 0;
  }

  .courses,
  .cpe-section,
  .seo-benefits {
    padding-top: 34px;
  }

  .section.seo-related {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 18px;
  }

  .seo-hero {
    padding-bottom: 32px;
  }

  .section.seo-content {
    padding-top: 24px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .proof-strip,
  .feature-grid,
  .course-grid,
  .steps,
  .seo-link-grid,
  .seo-country-grid {
    grid-template-columns: 1fr;
  }

  .consultation,
  .enrollment-banner {
    padding: 24px 16px;
  }

  .register-button {
    justify-self: start;
  }
}
