:root {
  --bg: #f6f1e8;
  --bg-elevated: #fffaf3;
  --bg-soft: #ebe4d6;
  --ink: #2b2924;
  --ink-muted: #5f5a50;
  --line: #d7cdb8;
  --primary: #4f6f52;
  --primary-deep: #3a5440;
  --accent: #c17b4a;
  --accent-soft: #e8c4a4;
  --success: #3f6b4f;
  --danger: #9b4a3c;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow: 0 18px 40px rgba(63, 52, 36, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 72rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(193, 123, 74, 0.12), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(79, 111, 82, 0.14), transparent 40%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 42%, #f3eee4 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--primary-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 232, 0.88);
  border-bottom: 1px solid rgba(215, 205, 184, 0.7);
}

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

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(145deg, var(--primary) 0%, #6d8f6d 55%, var(--accent) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 250, 243, 0.35);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 650;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}

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

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(79, 111, 82, 0.22);
}

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

.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - var(--header-h) - 2rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  color: var(--primary-deep);
  margin-bottom: 1.25rem;
  animation: rise 0.9s ease both;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34rem;
  animation: rise 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 1.05s ease 0.2s both;
}

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

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

.hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 250, 243, 0.92);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 750;
  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(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 111, 82, 0.24);
}

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

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--primary-deep);
  border: 1px solid var(--line);
}

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

.section {
  padding: 4rem 0;
}

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

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

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

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.proof-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-deep);
  margin-bottom: 0.25rem;
}

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

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

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 250, 243, 0.9), rgba(235, 228, 214, 0.55));
  border: 1px solid var(--line);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.course-grid,
.card-grid,
.blog-grid,
.price-grid {
  display: grid;
  gap: 1.25rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

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

.media-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

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

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

.media-card-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

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

.media-card a.stretched {
  text-decoration: none;
  color: inherit;
}

.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-deep);
  background: rgba(79, 111, 82, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

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

.quote {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
}

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

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

.quote-wide {
  grid-column: 1 / -1;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(79, 111, 82, 0.95), rgba(58, 84, 64, 0.96)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
  border-radius: calc(var(--radius) + 0.5rem);
  padding: 2.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

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

.cta-band .btn-secondary {
  width: fit-content;
}

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

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.08rem;
}

.prose {
  max-width: 46rem;
}

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

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

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

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-0.4rem);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--primary-deep);
}

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

.form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.form-field label {
  display: block;
  font-weight: 750;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.35rem;
  display: none;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--danger);
}

.form-field.invalid .field-error {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(63, 107, 79, 0.12);
  color: var(--success);
}

.form-status.error {
  display: block;
  background: rgba(155, 74, 60, 0.12);
  color: var(--danger);
}

.contact-layout,
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.info-panel {
  background: linear-gradient(160deg, rgba(79, 111, 82, 0.1), rgba(193, 123, 74, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.module-list {
  display: grid;
  gap: 0.85rem;
}

.module {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
}

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

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

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

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

th {
  background: rgba(79, 111, 82, 0.08);
  font-family: var(--font-display);
}

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-tag,
.footer-contact,
.site-footer p {
  color: #cfc7b8;
}

.footer-heading {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

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

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

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(230, 223, 209, 0.15);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.45s ease both;
}

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2rem, var(--max));
  background: rgba(155, 74, 60, 0.12);
  color: var(--danger);
  border: 1px solid rgba(155, 74, 60, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.avatar-row img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-soft);
}

.case-study {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.not-found {
  text-align: center;
  padding: 6rem 0;
}

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

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

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .hero-home,
  .course-grid,
  .blog-grid,
  .price-grid,
  .card-grid,
  .contact-layout,
  .split-layout,
  .footer-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    left: 1rem;
    right: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem;
    display: none;
    box-shadow: var(--shadow);
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.8rem;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 18rem;
  }
}
