:root {
  --bg: #f3f4f2;
  --bg-deep: #e6e9e4;
  --surface: #ffffff;
  --ink: #1e2420;
  --muted: #5a635c;
  --line: #d5dbd4;
  --accent: #2f4f4f;
  --accent-soft: #3d6b6b;
  --highlight: #8fbc8f;
  --danger: #9b3b3b;
  --ok: #2f6b4f;
  --shadow: 0 18px 40px rgba(30, 36, 32, 0.06);
  --radius: 10px;
  --max: 1120px;
  --font-sans: "Sora", "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dfe7df 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #d7e0e0 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 244, 242, 0.88);
  border-bottom: 1px solid rgba(213, 219, 212, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent);
  color: #eef4ef;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-family: var(--font-display);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--highlight);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #f4f8f5;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ms {
  background: #111827;
  color: #f8fafc;
  border-color: #111827;
}

.btn-ms:hover {
  background: #1f2937;
  color: #fff;
}

.hero {
  padding: 4.5rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 11ch;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise 0.8s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.page-hero {
  padding: 3.4rem 0 1.8rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.course-card,
.blog-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.course-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: #e7efea;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  width: fit-content;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-strip div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.proof-strip div span {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote {
  position: relative;
}

.quote p {
  font-size: 1.05rem;
  color: var(--ink);
}

.quote footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(61, 107, 107, 0.35);
  border-color: var(--accent-soft);
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e7f3ec;
  color: var(--ok);
  border: 1px solid #b9d8c5;
}

.form-status.error {
  display: block;
  background: #f8eaea;
  color: var(--danger);
  border: 1px solid #e2bcbc;
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #f8eaea;
  color: var(--danger);
  border: 1px solid #e2bcbc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.legal-content {
  max-width: 76ch;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: #eef2ee;
  color: var(--ink);
}

.site-footer {
  margin-top: 3rem;
  background: #1e2420;
  color: #d7ddd8;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #c9d6cb;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #f3f7f3;
  margin: 0 0 0.75rem;
}

.footer-grid h3 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9eaea1;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  border-top: 1px solid rgba(201, 214, 203, 0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #9eaea1;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: none;
  animation: rise 0.35s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.module-list,
.outcome-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.module-list li,
.outcome-list li {
  margin-bottom: 0.55rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

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

.faq details p {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.stars {
  color: #8a6d2f;
  letter-spacing: 0.08em;
}

.case-study {
  display: grid;
  gap: 0.8rem;
}

.case-study h3 {
  margin: 0;
  font-family: var(--font-display);
}

.muted {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: rise 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-grid,
  .split,
  .footer-grid,
  .price-grid,
  .grid-3,
  .proof-strip {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0 0.8rem;
  }

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

  .header-inner {
    flex-wrap: wrap;
  }

  .hero h1 {
    max-width: none;
  }

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