:root {
  --sage: #5b7a5e;
  --sage-deep: #3f5742;
  --sage-soft: #d8e4d9;
  --clay: #b87a4b;
  --clay-soft: #f0e0d0;
  --sand: #ebe3d4;
  --ivory: #f7f2e9;
  --stone: #6e675c;
  --ink: #2a2f28;
  --mist: rgba(42, 47, 40, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 12px 40px rgba(42, 47, 40, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --max: 72rem;
  --header-h: 4.25rem;
}

*,
*::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%, #e4efe4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #f0e4d6 0%, transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, var(--sand) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
}

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

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: var(--sage);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

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

.nav a {
  text-decoration: none;
  color: var(--stone);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  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(-1px);
}

.btn-primary {
  background: var(--sage);
  color: var(--ivory);
  box-shadow: 0 8px 24px rgba(91, 122, 94, 0.28);
}

.btn-primary:hover {
  background: var(--sage-deep);
  color: var(--ivory);
}

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

.btn-secondary:hover {
  background: #e8d0b8;
  color: var(--ink);
}

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

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

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

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

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-meta {
  color: #c5d4c6;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav strong {
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: #b8c9ba;
}

.hero {
  position: relative;
  min-height: min(88vh, 40rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 47, 40, 0.15) 0%,
    rgba(42, 47, 40, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  color: var(--ivory);
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  color: #fff;
  line-height: 1.05;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(247, 242, 233, 0.92);
  max-width: 32rem;
}

.hero-content .btn-primary {
  margin-top: 0.5rem;
}

.section {
  padding: 4rem 0;
}

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

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

.lead {
  color: var(--stone);
  font-size: 1.05rem;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--mist);
  animation: fade-in 1s ease 0.2s both;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sage-deep);
}

.proof-item span {
  color: var(--stone);
  font-size: 0.95rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.benefit-grid {
  display: grid;
  gap: 1.5rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: stretch;
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.media-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(91, 122, 94, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-4px);
}

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

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

.media-card h3 {
  font-size: 1.2rem;
}

.media-card .meta {
  color: var(--stone);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.media-card .body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.benefit {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  border: 1px solid rgba(91, 122, 94, 0.1);
}

.benefit h3 {
  font-size: 1.15rem;
  color: var(--sage-deep);
}

.quote-block {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--clay);
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  color: var(--stone);
  font-size: 0.95rem;
}

.tier {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(91, 122, 94, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.tier.featured {
  background: linear-gradient(160deg, #e8f0e8, #f7f2e9);
  border-color: var(--sage);
}

.tier h3 {
  font-size: 1.35rem;
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--sage-deep);
  margin: 0.5rem 0 1rem;
}

.tier .price small {
  font-size: 1rem;
  color: var(--stone);
  font-family: var(--font-body);
}

.tier ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--stone);
  flex: 1;
}

.tier li {
  margin-bottom: 0.45rem;
}

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

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

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--stone);
}

.prose li {
  margin-bottom: 0.4rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mist);
  background: rgba(255, 255, 255, 0.55);
}

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

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

th {
  background: var(--sage-soft);
  font-weight: 700;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  background: rgba(255, 255, 255, 0.55);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 122, 94, 0.12);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}

.form .error {
  color: #9b3d2e;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.1em;
}

.form .form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

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

.form .form-status.error-state {
  background: #f8e4df;
  color: #9b3d2e;
}

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

.contact-details {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(91, 122, 94, 0.12);
  height: fit-content;
}

.contact-details dt {
  font-weight: 700;
  margin-top: 0.85rem;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  color: var(--stone);
}

.faq details {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(91, 122, 94, 0.1);
}

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

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

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

.module-list li {
  counter-increment: mod;
  padding: 1.15rem 1.15rem 1.15rem 3.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(91, 122, 94, 0.1);
}

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

.instructor {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 8rem 1fr;
  align-items: start;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(91, 122, 94, 0.12);
}

.instructor img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 1.5rem;
}

.rating {
  color: var(--clay);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.case-study {
  background: linear-gradient(145deg, rgba(216, 228, 217, 0.7), rgba(255, 255, 255, 0.55));
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(91, 122, 94, 0.12);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 34rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid rgba(91, 122, 94, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  display: none;
  animation: rise 0.45s ease both;
}

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

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

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

.inline-error {
  background: #f8e4df;
  color: #9b3d2e;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
  font-weight: 600;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--ivory);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(247, 242, 233, 0.9);
  max-width: 32rem;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: var(--ivory);
  color: var(--sage-deep);
  box-shadow: none;
}

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

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

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

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--sage);
}

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 242, 233, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--mist);
    gap: 0;
  }

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

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--mist);
  }

  .footer-grid,
  .contact-panel,
  .split-visual,
  .instructor {
    grid-template-columns: 1fr;
  }

  .instructor img {
    width: 6.5rem;
    height: 6.5rem;
  }
}
