:root {
  --bg: #f7f8f5;
  --ink: #17201d;
  --muted: #5b6863;
  --line: #d9ded6;
  --paper: #ffffff;
  --accent: #1d7f64;
  --accent-dark: #145a48;
  --gold: #d8a23a;
  --blue: #2d6cdf;
  --rose: #b44b62;
  --shadow: 0 16px 45px rgba(23, 32, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 222, 214, 0.85);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.button.secondary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.button.ghost:hover {
  color: var(--ink);
  background: #edf1ea;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef3ed;
}

.hero-inner,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
  min-height: 560px;
  padding: 62px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-visual {
  display: grid;
  gap: 16px;
}

.workflow-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.workflow-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.workflow-node {
  min-height: 98px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
}

.workflow-node:nth-child(2) {
  background: var(--blue);
}

.workflow-node:nth-child(3) {
  background: var(--gold);
}

.workflow-node:nth-child(4) {
  background: var(--rose);
}

.workflow-node strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.workflow-node span {
  display: block;
  font-size: 13px;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

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

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.card p,
.text-muted {
  color: var(--muted);
}

.card p {
  margin: 12px 0 0;
}

.card .button {
  align-self: flex-start;
  margin-top: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #e3f1ec;
  font-size: 13px;
  font-weight: 700;
}

.path-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.course-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-item {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.program {
  counter-reset: module;
}

.program-item {
  position: relative;
  padding-left: 68px;
}

.program-item::before {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  counter-increment: module;
  content: counter(module);
  font-weight: 800;
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.breadcrumbs {
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--accent-dark);
  text-decoration: none;
}

.site-footer {
  padding: 34px 0 90px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner,
  .split,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .sticky-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
