:root {
  --bg: #f9efe8;
  --bg-soft: #fff8f3;
  --surface: #ffffff;
  --ink: #2f2926;
  --ink-soft: #5c524c;
  --muted: #8a7d74;
  --line: #ead9cf;
  --accent: #c45c48;
  --accent-deep: #9e4333;
  --accent-soft: #f3d2c8;
  --sage: #7ba08a;
  --sage-soft: #d7ebe0;
  --lilac: #c9b6d4;
  --lilac-soft: #efe6f4;
  --shadow: 0 12px 32px rgba(84, 52, 40, 0.08);
  --shadow-sm: 0 4px 14px rgba(84, 52, 40, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::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%, #f6d9d0 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #dfeee6 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 40%, #f4ebe4 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.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: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(249, 239, 232, 0.88);
  border-bottom: 1px solid rgba(234, 217, 207, 0.7);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--accent-soft), var(--sage-soft));
  box-shadow: inset 0 0 0 2px rgba(196, 92, 72, 0.25);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

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

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  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; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

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

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 600;
  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(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

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

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

.btn-soft {
  background: var(--sage-soft);
  color: #2f4a3c;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 217, 207, 0.8);
  overflow: hidden;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--accent-soft);
}

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

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

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

/* Home hero — brand-forward, full-bleed, single CTA */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(47, 41, 38, 0.15) 0%, rgba(47, 41, 38, 0.55) 55%, rgba(47, 41, 38, 0.78) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 3.5rem;
  color: #fff;
  animation: rise 0.9s ease both;
}

.hero-home-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 650;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 12ch;
}

.hero-home-content .hero-line {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.5rem;
}

.hero-home-content .hero-support {
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
}

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

.hero-home .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

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

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

.trust-strip {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.feature-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.feature-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--lilac-soft);
  color: #6a4f7a;
}

.feature-icon.sage { background: var(--sage-soft); color: #355844; }
.feature-icon.coral { background: var(--accent-soft); color: var(--accent-deep); }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--lilac-soft);
  color: #5d4768;
}

.pill.sage { background: var(--sage-soft); color: #355844; }
.pill.coral { background: var(--accent-soft); color: var(--accent-deep); }

.quote-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, var(--lilac-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
}

.quote-meta {
  font-style: normal !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  margin: 0;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

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

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

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.55rem;
}

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

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

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

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

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

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

th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}

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

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

.price-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  background: linear-gradient(180deg, #fff 0%, #fff5f1 100%);
}

.price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.75rem 0;
  color: var(--ink);
}

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

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

.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

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

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

.form .error {
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.1em;
}

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

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

.form-status.show {
  display: block;
}

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

.form-status.error {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

.contact-panel h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0;
}

.site-footer {
  margin-top: 3rem;
  background: #2f2926;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tag {
  color: rgba(255, 255, 255, 0.65);
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

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

.footer-meta {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 420px;
  margin-left: auto;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

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

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.inline-error {
  margin: 1rem 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: none;
}

.inline-error.show {
  display: block;
}

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

.module-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: #2f4a3c;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.case-study {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.rating {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.blog-article {
  max-width: 44rem;
  margin: 0 auto;
}

.blog-article .cover {
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.meta-row {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(196, 92, 72, 0.12), rgba(123, 160, 138, 0.18)),
    var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.65rem;
}

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin: 0;
  color: var(--accent);
}

@media (max-width: 960px) {
  .grid-3, .pricing-grid, .footer-cols, .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero-split {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 248, 243, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
    animation: fade-in 0.2s ease;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .grid-2, .grid-3, .pricing-grid, .footer-cols, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: 78vh;
  }
}
