:root {
  --bg: #f0ebe1;
  --bg-deep: #e4ddd0;
  --surface: #fffcf6;
  --ink: #2a3226;
  --muted: #5c6556;
  --line: #d5cec0;
  --sage: #5f7d63;
  --sage-deep: #3d5a42;
  --honey: #d4a574;
  --clay: #b87a52;
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --shadow: 0 18px 40px rgba(61, 90, 66, 0.08);
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(95, 125, 99, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 122, 82, 0.14), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #ebe4d7 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--sage-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(240, 235, 225, 0.88);
  border-bottom: 1px solid rgba(213, 206, 192, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 30% 30%, var(--honey), transparent 45%),
    linear-gradient(145deg, var(--sage), var(--sage-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 252, 246, 0.35);
}

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

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

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

.nav-cta {
  background: var(--sage-deep);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(61, 90, 66, 0.2);
}

.nav-cta:hover {
  background: var(--sage);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--sage-deep);
  color: #fff;
  box-shadow: 0 12px 24px rgba(61, 90, 66, 0.22);
}

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

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

.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.btn-clay {
  background: var(--clay);
  color: #fff;
}

.btn-clay:hover {
  background: #a56a45;
  color: #fff;
}

/* Layout blocks */
.page-main {
  padding-block: 2.5rem 4rem;
}

.hero-home {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem 0 1rem;
  animation: rise 0.7s ease both;
}

.hero-kicker {
  display: inline-block;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 0.8rem;
  color: var(--sage-deep);
}

.hero-line {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 28ch;
  margin-bottom: 0.8rem;
}

.hero-copy {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-visual {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  position: relative;
  animation: fade-in 1s ease 0.15s both;
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 50, 38, 0.35));
  pointer-events: none;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  color: var(--muted);
}

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

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

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

.benefit {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(213, 206, 192, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.benefit h3 {
  font-size: 1.15rem;
}

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

.course-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.course-card p {
  color: var(--muted);
  flex: 1;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage-deep), #4a6b50);
  color: #f7f3eb;
}

.proof-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.2rem;
}

.quote {
  position: relative;
  padding: 1.5rem;
}

.quote p {
  font-size: 1.05rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.soft-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soft-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.soft-list li:last-child {
  border-bottom: 0;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sage-deep);
}

.price-card .amount span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

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

.price-card.featured {
  border-color: var(--sage);
  background: linear-gradient(180deg, #fffef9, #eef3eb);
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(95, 125, 99, 0.35);
  border-color: var(--sage);
}

.field-error {
  color: #9b3d2e;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  font-weight: 600;
}

.form-status.success {
  background: #e5f0e4;
  color: var(--sage-deep);
}

.form-status.error {
  background: #f7e6e1;
  color: #8a3428;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #f7e6e1;
  color: #8a3428;
  font-weight: 600;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.8rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(95, 125, 99, 0.1);
  font-family: var(--font-display);
}

tr:last-child td {
  border-bottom: 0;
}

.blog-card img {
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
}

.page-hero {
  padding: 1.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 18ch;
}

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

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 0.7rem;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--clay);
}

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

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

.stars {
  color: var(--clay);
  letter-spacing: 0.08em;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: #2f382c;
  color: #e7e2d6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact {
  color: #c8c2b4;
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-contact a {
  color: #e7e2d6;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--honey);
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 226, 214, 0.15);
  color: #a8a294;
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  animation: rise 0.4s ease both;
}

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

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

.cookie-actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .grid-3,
  .proof-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-home {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4.4rem;
    left: 0;
    right: 0;
    background: rgba(255, 252, 246, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-cta {
    text-align: center;
  }

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

@media (min-width: 901px) {
  .hero-home {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
