:root {
  --bg: #f3eee6;
  --bg-elevated: #fffaf3;
  --bg-soft: #e7efe6;
  --ink: #243028;
  --ink-soft: #4d5b52;
  --muted: #6d7a71;
  --line: #d7cdc0;
  --forest: #3d5a45;
  --forest-deep: #2c4233;
  --sage: #7f9a82;
  --clay: #c97b63;
  --clay-soft: #e8c4b6;
  --sand: #e8dcc8;
  --white: #fffcf7;
  --shadow: 0 18px 40px rgba(36, 48, 40, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Sora", "Nunito", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(127, 154, 130, 0.18), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(201, 123, 99, 0.12), transparent 32%),
    linear-gradient(180deg, #f7f2ea 0%, var(--bg) 45%, #efe8dc 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: var(--forest);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.15;
  color: var(--forest-deep);
  font-weight: 600;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  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;
}

.inline-error {
  background: #f8e2db;
  color: #7a3a2c;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 243, 0.88);
  border-bottom: 1px solid rgba(215, 205, 192, 0.8);
}

.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(--forest-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, var(--forest), #5f7f66),
    radial-gradient(circle at 70% 30%, var(--clay), transparent 45%);
  box-shadow: inset 0 0 0 2px rgba(232, 220, 200, 0.35);
}

.brand-text {
  font-size: 1.05rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--forest);
  background: rgba(127, 154, 130, 0.12);
}

.site-nav .nav-cta {
  background: var(--forest);
  color: var(--white);
  padding: 0.55rem 1rem;
}

.site-nav .nav-cta:hover {
  background: var(--forest-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--bg-soft);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(61, 90, 69, 0.22);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--white);
}

.btn-secondary {
  background: var(--clay);
  color: var(--white);
}

.btn-secondary:hover {
  color: var(--white);
  background: #b86851;
}

.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--forest-deep);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-soft {
  background: rgba(255, 250, 243, 0.72);
  border-block: 1px solid rgba(215, 205, 192, 0.55);
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.08rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid rgba(215, 205, 192, 0.9);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

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

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

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

.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rise 0.8s ease both;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  max-width: 11ch;
  margin-bottom: 0.4rem;
}

.brand-hero {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--forest);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.home-hero-visual {
  position: relative;
  min-height: 28rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: drift 1s ease both;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 250, 243, 0.92);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(215, 205, 192, 0.8);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: rgba(231, 239, 230, 0.8);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--forest-deep);
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 1rem;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--forest);
  font-weight: 800;
}

.course-card,
.blog-card,
.price-card,
.review-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease;
}

.course-card:hover,
.blog-card:hover,
.price-card:hover {
  transform: translateY(-4px);
}

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

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

.card-body h3 {
  font-size: 1.25rem;
  margin: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

.quote {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  line-height: 1.4;
}

.quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.price-card {
  padding: 1.5rem;
}

.price-card.featured {
  border-color: var(--forest);
  background: linear-gradient(180deg, #fffaf3 0%, #eaf1ea 100%);
}

.price {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--forest-deep);
  margin: 0.4rem 0 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.site-footer {
  margin-top: 3rem;
  background: var(--forest-deep);
  color: #dfe8e1;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #e8dcc8;
  text-decoration: none;
}

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

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

.footer-name {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-address {
  color: #c7d3cb;
}

.footer-heading {
  font-weight: 800;
  color: var(--sand);
  margin-bottom: 0.75rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 220, 200, 0.18);
  color: #aebbb3;
  font-size: 0.92rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 800;
  color: var(--forest-deep);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(61, 90, 69, 0.35);
  border-color: var(--forest);
}

.field-error {
  min-height: 1.1rem;
  color: #9b4030;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--forest);
}

.form-status.is-error {
  color: #9b4030;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  animation: rise 0.45s ease both;
}

.cookie-banner-inner {
  width: min(100%, 820px);
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 18rem;
}

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

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--forest-deep);
}

.module {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}

.module:last-child {
  border-bottom: 0;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: var(--bg-soft);
  color: var(--forest-deep);
}

.legal h2 {
  margin-top: 2rem;
}

.legal ul {
  color: var(--ink-soft);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
}

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

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

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

.timeline-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--forest-deep);
}

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

@keyframes drift {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 960px) {
  .home-hero,
  .page-hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 20rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.85rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

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

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
