@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");
:root {
  --red: #b90000;
  --red2: #8e0000;
  --ink: #16181d;
  --muted: #626875;
  --paper: #fff;
  --soft: #f5f5f3;
  --line: #e3e4e7;
  --gold: #f3c35c;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(20, 22, 27, 0.1);
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.65;
  background: #fff;
  max-width: 100%;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
body::after {
  content: "";
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff url("../images/spythar-favicon.jpeg") center / cover
    no-repeat;
  box-shadow:
    0 20px 55px rgba(20, 22, 27, 0.16),
    0 0 0 0 rgba(185, 0, 0, 0.22);
  animation: site-loader-pulse 1.15s ease-in-out infinite;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
body.site-ready::before,
body.site-ready::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body:not(.site-ready) {
  overflow: hidden;
}
@keyframes site-loader-pulse {
  0%,
  100% {
    transform: scale(0.96);
    box-shadow:
      0 20px 55px rgba(20, 22, 27, 0.16),
      0 0 0 0 rgba(185, 0, 0, 0.2);
  }
  50% {
    transform: scale(1);
    box-shadow:
      0 20px 55px rgba(20, 22, 27, 0.18),
      0 0 0 14px rgba(185, 0, 0, 0);
  }
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: #fff;
  padding: 10px 16px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", Manrope, sans-serif;
  line-height: 1.12;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  letter-spacing: -0.055em;
}
.hero-title {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 18px;
  color: var(--muted);
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 700px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}
.btn:hover {
  background: var(--red2);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: #b9bbc1;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.section {
  padding: 105px 0;
}
.section-soft {
  background: var(--soft);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}
.section-head p {
  max-width: 580px;
}
.topbar {
  background: var(--ink);
  color: #e8e8ea;
  font-size: 0.77rem;
}
.topbar .container {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a {
  color: #fff;
  font-weight: 700;
}
.site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(15px);
  transition: box-shadow 0.2s ease;
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
}
.brand {
  width: 238px;
  flex: none;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > a {
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 700;
}
.nav > a:hover,
.nav > a.active,
.nav-dropdown.active > .nav-dropdown-label {
  color: var(--red);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-dropdown-label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 7px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav-dropdown-label {
  user-select: none;
}
.nav-dropdown-control {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.nav-dropdown-label:hover,
.nav-dropdown-control:checked + .nav-dropdown-label {
  color: var(--red);
  background: #fbf1f1;
}
.dropdown-arrow {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 2px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.nav-dropdown-control:checked + .nav-dropdown-label .dropdown-arrow {
  transform: translateY(4px) rotate(225deg);
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 245px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 44px rgba(20, 22, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 130;
}
.nav-submenu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 6px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown-control:checked ~ .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-mega-menu {
  left: auto;
  right: 0;
  width: min(760px, calc(100vw - 40px));
  padding: 18px;
  grid-template-columns: 190px 1fr;
  gap: 16px;
}
.nav-dropdown:hover .nav-mega-menu,
.nav-dropdown:focus-within .nav-mega-menu,
.nav-dropdown-control:checked ~ .nav-mega-menu {
  display: grid;
}
.nav-submenu-section {
  min-width: 0;
}
.nav-submenu-title {
  display: block;
  padding: 7px 12px 9px;
  color: #777b84;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-course-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}
.nav-course-links .nav-submenu-title {
  grid-column: 1 / -1;
}
.nav-submenu a {
  display: block;
  padding: 11px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    padding-left 0.2s ease;
}
.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--red);
  background: #fbf1f1;
  padding-left: 16px;
}
@media (min-width: 981px) {
  .nav-dropdown > .nav-submenu {
    display: none;
  }
  .nav-dropdown:hover > .nav-submenu,
  .nav-dropdown:focus-within > .nav-submenu {
    display: block;
  }
  .nav-dropdown:hover > .nav-mega-menu,
  .nav-dropdown:focus-within > .nav-mega-menu {
    display: grid;
  }
  .nav-dropdown:has(.nav-dropdown-control:checked) > .nav-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-dropdown:has(.nav-dropdown-control:checked) > .nav-mega-menu {
    display: grid;
  }
  .nav-dropdown:hover > .nav-dropdown-label {
    color: var(--red);
    background: #fbf1f1;
  }
  .nav-dropdown:hover .dropdown-arrow {
    transform: translateY(4px) rotate(225deg);
  }
  .nav-dropdown .nav-submenu {
    pointer-events: none;
  }
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-dropdown:not(:hover):not(:focus-within) .nav-submenu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
  }
  .nav:has(.nav-dropdown:hover) .nav-dropdown:not(:hover) .nav-submenu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
  }
  .nav:not(:has(.nav-dropdown:hover))
    .nav-dropdown:has(.nav-dropdown-control:checked)
    > .nav-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav:not(:has(.nav-dropdown:hover))
    .nav-dropdown:has(.nav-dropdown-control:checked)
    > .nav-mega-menu {
    display: grid;
  }
}
.nav .btn {
  margin-left: 8px;
  color: #fff;
  padding: 0 18px;
  min-height: 44px;
}
.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero {
  height: clamp(620px, calc(100svh - 117px), 820px);
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, #fff 0 61%, #f0efec 61%);
}
.hero-slider {
  display: grid;
  width: 100%;
  min-width: 0;
}
.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  position: relative;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(5%);
  pointer-events: none;
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.8s;
}
.hero-slide.active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.hero-visual-skills .visual-panel:before {
  background:
    linear-gradient(
      180deg,
      rgba(12, 13, 16, 0.04) 30%,
      rgba(12, 13, 16, 0.84) 100%
    ),
    radial-gradient(circle at 68% 26%, rgba(185, 0, 0, 0.26), transparent 44%);
}
.hero-visual-progress .visual-panel:before {
  background:
    linear-gradient(
      180deg,
      rgba(12, 13, 16, 0.04) 30%,
      rgba(12, 13, 16, 0.84) 100%
    ),
    radial-gradient(circle at 38% 38%, rgba(185, 0, 0, 0.24), transparent 44%);
}
.slider-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #cfd1d6;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}
.slider-arrow:hover {
  border-color: var(--red);
  color: var(--red);
}
.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9bbc1;
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}
.slider-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--red);
}
.hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 80px solid rgba(185, 0, 0, 0.05);
  border-radius: 50%;
  right: -100px;
  top: -130px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
  height: 100%;
  padding: 55px 0 75px;
}
.hero h1 span,
.hero-title span {
  color: var(--red);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 36px;
}
.hero-content .trust-row {
  margin-bottom: 58px;
}
.trust-row strong {
  display: block;
  font-size: 0.84rem;
}
.trust-row span {
  font-size: 0.76rem;
  color: var(--muted);
}
.hero-visual {
  height: min(540px, calc(100% - 20px));
  min-height: 470px;
  position: relative;
}
.visual-panel {
  position: absolute;
  inset: 30px 0 10px 50px;
  background: var(--ink);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(12, 13, 16, 0.08) 30%,
      rgba(12, 13, 16, 0.82) 100%
    ),
    radial-gradient(circle at 70% 25%, rgba(185, 0, 0, 0.3), transparent 44%);
  z-index: 1;
  pointer-events: none;
}
.visual-copy {
  position: absolute;
  left: 40px;
  bottom: 42px;
  color: #fff;
  right: 35px;
  z-index: 2;
}
.visual-copy small {
  color: #ffb9b9;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.visual-copy strong {
  display: block;
  font-family: "Space Grotesk";
  font-size: 2.2rem;
  line-height: 1.08;
  margin-top: 10px;
}
.dashboard-card {
  position: absolute;
  background: #fff;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 2;
}
.dashboard-card.one {
  left: 0;
  top: 0;
  width: 205px;
}
.dashboard-card.two {
  right: -20px;
  top: 100px;
  width: 185px;
}
.dashboard-card.three {
  right: 20px;
  bottom: 0;
  width: 230px;
}
.metric {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--red);
}
.progress {
  height: 7px;
  background: #eee;
  margin-top: 10px;
}
.progress span {
  display: block;
  height: 100%;
  width: 78%;
  background: var(--red);
}
.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.logo-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 72px;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 700;
  color: #555;
}
.logo-strip span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.logo-strip span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 26px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.8;
}
.home-overview {
  border-bottom: 1px solid var(--line);
}
.overview-points {
  border-top: 1px solid var(--line);
}
.overview-points article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.overview-points article:last-child {
  border-bottom: 0;
}
.overview-points h3 {
  margin: 7px 0 8px;
}
.overview-points p {
  margin: 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  transition: 0.22s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(20, 22, 27, 0.08);
}
.benefits-grid {
  gap: 18px;
}
.benefit-card {
  min-height: 245px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 22, 27, 0.035);
}
.benefit-card:hover {
  border-top-color: var(--red);
  box-shadow: 0 20px 45px rgba(20, 22, 27, 0.1);
}
.benefit-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #fff1f1;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.3;
}
.benefit-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fbeaea;
  color: var(--red);
  font-size: 1.25rem;
  margin-bottom: 24px;
}
.card-index {
  color: #aaa;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.course-card {
  padding: 0;
  overflow: hidden;
}
.course-top {
  height: 155px;
  padding: 26px;
  display: flex;
  align-items: end;
  background: var(--ink);
  position: relative;
  color: #fff;
}
.course-top:before {
  content: "";
  position: absolute;
  right: -15px;
  top: -45px;
  width: 130px;
  height: 130px;
  border: 30px solid var(--red);
  transform: rotate(28deg);
}
.course-top span {
  position: relative;
  color: #ffb2b2;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.course-body {
  padding: 25px;
}
.course-body h3 {
  min-height: 48px;
}
.text-link {
  color: var(--red);
  font-weight: 800;
  font-size: 0.86rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: #fff;
  padding: 24px;
}
.feature strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}
.feature span {
  color: var(--muted);
  font-size: 0.85rem;
}
.method-feature-list {
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}
.method-feature {
  min-height: 178px;
  padding: 26px;
  border: 1px solid transparent;
  border-radius: 9px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.method-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 0, 0, 0.3);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}
.method-feature .feature-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff1f1;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.method-feature strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}
.method-feature span:not(.feature-number) {
  display: block;
  line-height: 1.65;
}
.teaching-feature-list {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.teaching-feature-list .feature {
  min-height: 142px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 3px solid transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.teaching-feature-list .feature:hover {
  border-top-color: var(--red);
  background: #fffafa;
}
.teaching-feature-list .feature strong {
  margin-bottom: 9px;
  font-size: 1rem;
  line-height: 1.35;
}
.teaching-feature-list .feature span {
  line-height: 1.6;
}
.dark {
  background: var(--ink);
  color: #fff;
}
.dark p {
  color: #bdc0c7;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #3a3d43;
}
.step {
  padding: 38px 28px;
  border-right: 1px solid #3a3d43;
}
.step:last-child {
  border: 0;
}
.step b {
  font-size: 3rem;
  color: var(--red);
}
.step p {
  font-size: 0.9rem;
}
.cta {
  padding: 70px 0;
  background: var(--red);
  color: #fff;
}
.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.cta p {
  color: #ffd7d7;
  margin: 0;
}
.cta .btn {
  background: #fff;
  color: var(--red);
}
.site-footer {
  background: #101115;
  color: #fff;
  padding: 70px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1.15fr;
  gap: clamp(35px, 5vw, 75px);
}
.footer-logo {
  filter: none;
  width: 260px;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 9px 12px;
  border-radius: 6px;
  background: #fff;
}
.footer-brand h3 {
  max-width: 330px;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand p {
  max-width: 400px;
}
.footer-action {
  display: inline-flex;
  margin-top: 6px;
  color: #fff !important;
  font-weight: 800;
}
.site-footer p,
.site-footer a {
  color: #aeb1b8;
  font-size: 0.86rem;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #2c2e34;
  margin-top: 55px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #8f929a;
}
.footer-bottom > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom a {
  font-size: inherit;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.sitemap-grid .card h2 {
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.sitemap-courses {
  grid-column: 1 / -1;
}
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
}
.sitemap-links a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.sitemap-links a:hover {
  color: var(--red);
}
.page-hero {
  padding: 85px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  right: -70px;
  top: -140px;
  width: 330px;
  height: 330px;
  border: 70px solid rgba(185, 0, 0, 0.45);
  border-radius: 50%;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 850px;
}
.page-hero p {
  color: #c3c5ca;
  max-width: 700px;
}
.breadcrumbs {
  font-size: 0.8rem;
  color: #e19a9a;
  margin-bottom: 24px;
}
.content-narrow {
  max-width: 820px;
  margin: auto;
}
.prose h2 {
  font-size: 2rem;
  margin-top: 48px;
}
.prose h3 {
  margin-top: 30px;
}
.prose li {
  margin-bottom: 8px;
  color: var(--muted);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--red);
  color: #fff;
}
.stat {
  padding: 35px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.stat strong {
  display: block;
  font-size: 1.6rem;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 15px;
  cursor: pointer;
  border-radius: 40px;
}
.filter.active {
  background: var(--ink);
  color: #fff;
}
.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 55px;
}
.sidebar {
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 110px;
  align-self: start;
}
.sidebar ul {
  padding-left: 18px;
}
.list-check {
  list-style: none;
  padding: 0;
}
.list-check li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.list-check li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}
.accordion {
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 42px 22px 0;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}
.accordion-button:after {
  content: "+";
  position: absolute;
  right: 6px;
  font-size: 1.4rem;
}
.accordion-button[aria-expanded="true"]:after {
  content: "−";
}
.accordion-panel {
  display: none;
  padding: 0 40px 20px 0;
}
.accordion-panel.open {
  display: block;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 55px;
}
.contact-panel {
  background: var(--ink);
  color: #fff;
  padding: 42px;
}
.contact-panel p {
  color: #bbb;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 0.82rem;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd1d6;
  padding: 13px 14px;
  background: #fff;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(185, 0, 0, 0.15);
  border-color: var(--red);
}
.form-status {
  display: none;
  padding: 12px;
  background: #e9f7ed;
  color: #19692d;
}
.form-status.show {
  display: block;
}
.notice {
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #5b4a25;
}
.hidden {
  display: none !important;
}
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.35rem;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  box-shadow: 0 14px 32px rgba(20, 22, 27, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--red2);
  transform: translateY(-2px);
}
:focus-visible {
  outline: 3px solid #edb6b6;
  outline-offset: 3px;
}
@media (max-width: 1200px) and (min-width: 981px) {
  .hero-grid {
    gap: 42px;
  }
  .hero h1,
  .hero-title {
    font-size: clamp(3.7rem, 6vw, 4.8rem);
  }
  .hero-visual {
    min-height: 450px;
  }
  .dashboard-card.two {
    right: -4px;
  }
}
@media (max-width: 980px) {
  .site-header::after {
    content: "☰";
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 121;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .site-header:has(.menu-toggle:checked)::after {
    content: "×";
  }
  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 122;
    width: 46px;
    height: 46px;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    appearance: none;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    background: #fff;
    padding: 25px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    overflow: auto;
    max-height: calc(100vh - 105px);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(20, 22, 27, 0.12);
  }
  .menu-toggle:checked ~ .nav {
    display: flex;
  }
  .nav > a {
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown {
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown > .nav-dropdown-label {
    width: 100%;
    justify-content: space-between;
    padding: 13px;
    border-radius: 0;
  }
  .nav-submenu {
    position: static;
    min-width: 0;
    display: none;
    padding: 4px 10px 12px 18px;
    border: 0;
    border-left: 3px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-mega-menu {
    width: auto;
    grid-template-columns: 1fr;
    padding: 8px 10px 14px 18px;
  }
  .nav-course-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-dropdown-control:checked ~ .nav-submenu {
    display: block;
    background: #fafafa;
  }
  .nav-dropdown:not(:has(.nav-dropdown-control:checked)):hover .nav-submenu {
    display: none;
  }
  .nav-dropdown:has(.nav-dropdown-control:checked):hover .nav-submenu {
    display: block;
  }
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: auto;
    min-height: auto;
    align-items: flex-start;
    background: #fff;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-courses {
    grid-column: auto;
  }
  .hero-slide {
    height: auto;
  }
  .hero-grid {
    height: auto;
    padding: 64px 0 88px;
    gap: 38px;
  }
  .hero-content .trust-row {
    margin-bottom: 0;
  }
  .hero-visual {
    height: 390px;
    min-height: 0;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .course-detail-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .section {
    padding: 80px 0;
  }
}
@media (max-width: 768px) {
  .logo-strip .container {
    width: 100%;
    max-width: none;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-strip span {
    min-height: 58px;
    padding: 12px 8px;
    justify-content: center;
    white-space: normal;
    line-height: 1.35;
  }
  .logo-strip span:not(:last-child)::after {
    display: none;
  }
  .logo-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .logo-strip span:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .hero-grid {
    padding: 50px 0 82px;
  }
  .hero-visual {
    display: none;
  }
  .trust-row {
    margin-top: 26px;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .topbar span {
    display: none;
  }
  .site-header {
    height: 70px;
  }
  .brand {
    width: 180px;
  }
  .nav {
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
  }
  .nav-course-links,
  .sitemap-links {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-slider {
    display: grid;
  }
  .slider-controls {
    bottom: 10px;
  }
  .hero-grid {
    padding: 44px 0 78px;
    gap: 0;
    min-width: 0;
  }
  .hero-grid > *,
  .split > * {
    min-width: 0;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero-visual {
    display: none;
  }
  .visual-panel {
    inset: 20px 5px 5px 20px;
  }
  .dashboard-card.one {
    width: 150px;
  }
  .dashboard-card.two {
    right: 0;
    width: 138px;
  }
  .dashboard-card.three {
    right: 8px;
    width: 174px;
  }
  .visual-copy {
    left: 25px;
  }
  .visual-copy strong {
    font-size: 1.7rem;
  }
  .grid-3,
  .value-grid,
  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section-head,
  .cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid #3a3d43;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .page-hero {
    padding: 60px 0;
  }
  .course-top {
    height: 125px;
  }
  .stat-band {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
