:root {
  --font-body: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --page-bg: #f1f8f2;
  --surface: #ffffff;
  --surface-strong: #0f5b42;
  --surface-alt: #e0f0e4;
  --surface-alt-strong: #d0e8d6;
  --ink: #102318;
  --muted: #516857;
  --line: rgba(16, 35, 24, 0.1);
  --primary: #12754d;
  --primary-dark: #0b5c3b;
  --primary-soft: rgba(18, 117, 77, 0.12);
  --shadow: 0 28px 60px rgba(7, 44, 28, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100vw - 32px));
  --header-offset: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(124, 190, 84, 0.28), transparent 32%),
    radial-gradient(circle at top right, rgba(18, 117, 77, 0.16), transparent 28%),
    linear-gradient(180deg, #f4fbf5 0%, #eef8f0 52%, #f8fcf8 100%);
}

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

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

p,
li,
input,
textarea,
button {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

main {
  display: grid;
  gap: 28px;
  padding: 28px 0 72px;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #154f39, #0e3d2b);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.hero-section,
.info-band,
.content-section,
.registration-section,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.header-inner {
  position: relative;
  width: 100%;
  margin: 0;
  padding-left: 10%;
  padding-right: 10%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 32px;
  min-height: 102px;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.header-branding-end {
  justify-self: end;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  height: 100%;
  min-height: 102px;
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(4, 24, 16, 0.16);
}

.header-logo img {
  width: 74px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(22%) sepia(31%) saturate(1128%) hue-rotate(108deg) brightness(93%) contrast(93%);
}

.brand-copy {
  display: grid;
  gap: 4px;
  color: #fff;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
}

.brand-copy span {
  max-width: 20ch;
  font-size: 10px;
  font-weight: 400;
  font-style: italic;
  line-height: 15px;
}

.brand-copy-end {
  text-align: right;
}

.primary-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: #fff;
}

.desktop-nav-item,
.mobile-nav-item {
  display: inline-flex;
}

.mobile-nav-item {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, #1b8f5f, #0e6541);
  color: #fff;
  box-shadow: 0 18px 34px rgba(11, 92, 59, 0.2);
}

.button {
  min-height: 50px;
  padding: 0 24px;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 35, 24, 0.12);
  color: var(--ink);
}

.button-secondary.on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-toggle,
.sr-only {
  display: none;
}

.contents-dock {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: grid;
  gap: 10px;
  width: 210px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 35, 24, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contents-dock-toggle {
  display: none;
}

.contents-dock-panel {
  display: contents;
}

.contents-dock p {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.contents-dock-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--primary-dark);
}

.contents-dock-list li {
  margin: 0;
}

.contents-dock-list a {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.contents-dock-list a:hover,
.contents-dock-list a.is-active {
  color: var(--primary);
}

.hero-section,
.content-section,
.registration-section {
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  padding: 26px 0 8px;
}

.hero-copy,
.panel,
.content-section,
.registration-section,
.site-footer,
.info-band,
.registration-panel,
.info-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 35, 24, 0.08);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  text-align: center;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 12ch;
}

.hero-copy h1 {
  max-width: 100%;
  margin-inline: auto;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 14ch;
}

.overview-title {
  max-width: none;
  margin-inline: auto;
}

h3 {
  font-size: 1.2rem;
}

.hero-intro,
.section-heading > div > p:last-child,
.panel-copy > p,
.info-card p,
.registration-panel p,
.site-footer p {
  margin: 16px 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  justify-content: center;
}

.registration-download {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.hero-facts dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  font-weight: 800;
}

.hero-facts dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.hero-media {
  position: relative;
  order: 1;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(14, 101, 65, 0.12), rgba(124, 190, 84, 0.16));
}

.hero-copy {
  order: 2;
}

.hero-media img {
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(7, 44, 28, 0.18);
}

.hero-badge {
  position: absolute;
  top: 0;
  right: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
}

.info-band div {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 117, 77, 0.08), rgba(255, 255, 255, 0.8));
}

.info-band strong {
  display: block;
  font-size: 1rem;
}

.info-band span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.content-section,
.registration-section {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 34px;
}

.content-section.alt {
  background: linear-gradient(180deg, rgba(224, 240, 228, 0.9), rgba(255, 255, 255, 0.8));
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.section-heading.compact h2,
.registration-section h2 {
  max-width: 18ch;
}

.benefits-title {
  margin-inline: auto;
}

.requirements-title,
.requirements-subtitle {
  margin-inline: auto;
}

.requirements-subtitle {
  max-width: 40ch;
  margin-top: 14px;
  line-height: 1.2;
}

.course-certification-subtitle {
  margin: 18px auto 0;
  max-width: 40ch;
}

.course-certification-title {
  margin-inline: auto;
}

.tutors-cta-title,
.tutors-cta-subtitle {
  margin-inline: auto;
}

.tutors-cta-subtitle {
  max-width: 34ch;
  margin-top: 14px;
  line-height: 1.2;
}

.course-certification-list {
  display: inline-grid;
  gap: 8px;
  margin: 14px auto 0;
  padding-left: 22px;
  text-align: left;
  color: var(--muted);
}

.section-number {
  display: none;
}

.panel,
.grid-two,
.certificate-grid,
.tutor-grid,
.registration-layout,
.info-grid {
  display: grid;
  gap: 22px;
}

.panel {
  padding: 20px;
  border-radius: 26px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  align-items: center;
}

.content-section .panel,
.content-section .grid-two,
.content-section .info-grid {
  grid-template-columns: 1fr;
}

.panel.media-left {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.9fr);
}

.panel.media-left .panel-media {
  order: 0;
}

.panel.media-left .panel-copy {
  order: 1;
}

.panel-media img,
.feature-media img,
.card-frame img {
  width: 100%;
  border-radius: 20px;
}

.panel-copy ul,
.registration-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.objective-media-full {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dark-media-full {
  padding: 0;
  background: #000;
  border: 0;
  box-shadow: none;
  overflow: hidden;
}

.dark-media-full img {
  border-radius: 0;
}

.card-frame,
.feature-media,
.tutor-card {
  margin: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 35, 24, 0.08);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(7, 44, 28, 0.08);
}

.feature-media.narrow img {
  max-height: 620px;
  object-fit: cover;
}

.stacked-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.tall img {
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.checklist li + li,
.registration-panel li + li {
  margin-top: 10px;
}

.stat-stack {
  display: grid;
  gap: 16px;
}

.stat-stack div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(18, 117, 77, 0.08);
}

.stat-stack strong {
  display: block;
  margin-bottom: 6px;
}

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

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

.info-card {
  padding: 24px;
  border-radius: 24px;
}

.info-graphic {
  min-height: 100%;
}

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

.tutor-card {
  overflow: hidden;
}

.tutor-card img {
  width: 100%;
  border-radius: 0;
}

.tutor-card-wide {
  grid-column: 1 / -1;
}

#course-certification .dark-media-full {
  padding: 0;
}

#course-certification .dark-media-full img {
  display: block;
  margin-top: -20px;
}

.course-certification-award {
  width: min(100%, 40ch);
  margin: 18px auto 0;
  text-align: left;
}

.course-certification-award .course-certification-subtitle {
  margin: 0;
  max-width: none;
}

.course-certification-award > p {
  margin: 10px 0 0;
}

.course-certification-award .course-certification-list {
  display: grid;
  margin: 14px 0 0;
}

.registration-section {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(145deg, #0d4d34 0%, #0a3f2a 50%, #12754d 100%);
}

.registration-section .eyebrow,
.registration-section .section-number,
.registration-section h2,
.registration-panel a,
.registration-panel p,
.registration-panel li,
.registration-panel span,
.registration-panel h3,
.registration-section .section-heading > div > p:last-child {
  color: inherit;
}

.registration-section .section-number {
  background: rgba(255, 255, 255, 0.12);
}

.registration-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.registration-panel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.registration-panel.secondary {
  background: rgba(124, 190, 84, 0.18);
}

.registration-form {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.registration-form label {
  display: grid;
  gap: 8px;
}

.registration-form span {
  font-size: 0.92rem;
  font-weight: 700;
}

.registration-form label:has(input[required], textarea[required]) > span::after {
  content: " *";
  color: #c43d3d;
  font-weight: 800;
}

.registration-form input,
.registration-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 35, 24, 0.14);
  border-radius: 16px;
  background: #f8fbf8;
  color: var(--ink);
  font-family: inherit;
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
  color: rgba(16, 53, 37, 0.48);
}

.registration-form input:focus,
.registration-form textarea:focus {
  outline: none;
  border-color: rgba(18, 117, 77, 0.5);
  box-shadow: 0 0 0 4px rgba(18, 117, 77, 0.12);
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(120px, 148px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.country-select {
  position: relative;
}

.country-select input {
  padding-right: 52px;
}

.country-select-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--primary-dark);
  cursor: pointer;
  opacity: 0.78;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.24s ease, opacity 0.2s ease;
}

.country-select:hover .country-select-toggle,
.country-select:focus-within .country-select-toggle,
.country-select-toggle:hover,
.country-select-toggle:focus-visible {
  background: rgba(18, 117, 77, 0.08);
  color: var(--primary);
  opacity: 1;
}

.country-select-toggle i {
  display: none;
}

.country-select-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.24s ease;
}

.country-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 35, 24, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(7, 44, 28, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.28s ease, visibility 0.22s ease;
}

.country-select.is-open .country-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.country-select:not(.dial-code-select).is-open .country-select-toggle {
  transform: translateY(-50%) rotate(180deg);
}

.country-select:not(.dial-code-select).is-open .country-select-toggle::before {
  transform: rotate(225deg) translateY(1px);
}

.dial-code-select .country-select-toggle {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: 100%;
  min-height: 52px;
  padding: 14px 38px 14px 16px;
  border: 1px solid rgba(16, 35, 24, 0.14);
  background: #f8fbf8;
  justify-content: flex-start;
  transform: none;
}

.dial-code-select .country-select-toggle::before {
  position: absolute;
  right: 16px;
}

.dial-code-select .country-select-menu {
  width: min(360px, calc(100vw - 48px));
}

.dial-code-select.is-open .country-select-toggle::before {
  transform: rotate(225deg) translateY(1px);
}

.dial-code-search {
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 24, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.dial-code-search::placeholder {
  color: rgba(16, 53, 37, 0.48);
}

.dial-code-search:focus {
  outline: none;
  border-color: rgba(18, 117, 77, 0.5);
  box-shadow: 0 0 0 4px rgba(18, 117, 77, 0.1);
}

.dial-code-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.country-select-list {
  display: grid;
  gap: 4px;
  max-height: 262px;
  overflow-y: auto;
  padding-right: 2px;
}

.country-select-option,
.country-select-empty {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.country-select-option {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.country-select-option:hover,
.country-select-option:focus-visible,
.country-select-option.is-active {
  background: rgba(18, 117, 77, 0.1);
  color: var(--primary-dark);
  outline: none;
}

.country-select-empty {
  color: var(--muted);
  background: rgba(18, 117, 77, 0.04);
}

.country-select-option .dial-code-option-country,
.country-select-option .dial-code-option-value {
  display: block;
}

.country-select-option .dial-code-option-country {
  font-weight: 700;
}

.country-select-option .dial-code-option-value {
  margin-top: 2px;
  color: rgba(16, 53, 37, 0.72);
  font-size: 0.88rem;
}

.full-span {
  grid-column: 1 / -1;
}

.consent-group {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 35, 24, 0.12);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  padding: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.form-actions .button {
  min-width: 220px;
}

.static-form-status {
  margin: 0;
  color: var(--primary-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 38px;
  padding: 26px 30px;
  border-radius: 28px;
  background: #092f20;
  color: rgba(235, 246, 240, 0.82);
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-branding p {
  margin: 0;
  max-width: 44ch;
  color: rgba(225, 241, 232, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.footer-links a i {
  color: #9fe0bf;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #dff5ea;
}

.footer-credit {
  width: var(--content-width);
  margin: -14px auto 38px;
  text-align: center;
  color: rgba(16, 53, 37, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-credit a {
  color: #0f5b3d;
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #0a3f2a;
}

@media (max-width: 1320px) {
  .contents-dock {
    top: calc(var(--header-offset) + 12px);
    left: 12px;
    transform: none;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .contents-dock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid rgba(16, 35, 24, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 36px rgba(7, 44, 28, 0.14);
    color: var(--primary-dark);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .contents-dock-toggle:hover,
  .contents-dock-toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(7, 44, 28, 0.18);
    background: rgba(255, 255, 255, 0.98);
  }

  .contents-dock-toggle i {
    font-size: 1rem;
  }

  .contents-dock-panel {
    display: none;
    width: min(320px, calc(100vw - 24px));
    margin-top: 12px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 35, 24, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-offset) - 104px);
    overflow-y: auto;
  }

  .contents-dock.is-open .contents-dock-panel {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 84px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(4, 24, 16, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
    justify-self: end;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .nav-toggle svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    transition: transform 0.2s ease;
  }

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

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 56px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-branding-end,
  .header-branding .brand-copy {
    display: none;
  }

  .header-logo {
    width: 74px;
    height: 56px;
    min-height: 56px;
    border-radius: 0 0 16px 16px;
  }

  .header-logo img {
    width: 50px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px 22px;
    background: rgba(12, 49, 35, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a {
    width: 100%;
  }

  .desktop-nav-item {
    display: none;
  }

  .mobile-nav-item {
    display: inline-flex;
    padding: 2px 0;
  }

  .contents-dock {
    top: calc(var(--header-offset) + 10px);
    left: 10px;
  }

  .contents-dock-toggle {
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .contents-dock-panel {
    width: min(300px, calc(100vw - 20px));
    max-height: calc(100vh - var(--header-offset) - 94px);
  }

  .hero-section,
  .panel,
  .panel.media-left,
  .registration-layout,
  .info-band,
  .grid-two,
  .info-grid,
  .certificate-grid,
  .tutor-grid,
  .hero-facts,
  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .tutor-card-wide {
    grid-column: span 1;
  }

  .footer-branding {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  main {
    gap: 20px;
    padding-bottom: 46px;
  }

  .site-header {
    padding: 0 0 10px;
  }

  .nav-toggle {
    margin-top: 5px;
  }

  .hero-copy,
  .content-section,
  .registration-section,
  .registration-form,
  .site-footer,
  .footer-credit,
  .info-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-number {
    width: fit-content;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 640px) {
  .phone-field {
    grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
  }
}