:root {
  --bg: #fbfcf9;
  --bg-soft: #f3f6f4;
  --surface: #ffffff;
  --ink: #1a2a27;
  --ink-soft: #4a5c58;
  --muted: #6d7f7a;
  --line: #d9e3df;
  --accent: #1f4b45;
  --accent-soft: #c8e0d8;
  --accent-warm: #c47a4a;
  --accent-warm-soft: #f3e2d4;
  --focus: #2a6b62;
  --error: #9b3b2e;
  --success: #1f5c45;
  --shadow: 0 18px 40px rgba(26, 42, 39, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 224, 216, 0.55), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(243, 226, 212, 0.45), transparent 50%),
    linear-gradient(180deg, #fbfcf9 0%, #f5f8f6 40%, #fbfcf9 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 var(--space-2);
  color: var(--ink-soft);
}

ul,
ol {
  color: var(--ink-soft);
}

.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: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(251, 252, 249, 0.86);
  border-bottom: 1px solid rgba(217, 227, 223, 0.8);
}

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

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

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

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, var(--accent-soft), transparent 55%),
    linear-gradient(320deg, var(--accent-warm), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

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

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

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

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

.nav-cta:hover {
  background: var(--focus);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease;
}

.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-main {
  display: block;
}

.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-editorial {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--ink-soft);
}

.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  transform: scale(1.02);
  animation: rise-in 1.1s ease both;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  animation: fade-up 0.9s 0.2s ease both;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

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

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

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

.section {
  padding: var(--space-5) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(243, 246, 244, 0.85), rgba(251, 252, 249, 0.2));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

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

.eyebrow {
  color: var(--accent-warm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

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

.feature-grid,
.card-grid,
.tier-grid,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

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

.feature {
  padding: 1.4rem 1.35rem;
  border-top: 2px solid var(--accent-soft);
}

.feature h3 {
  font-size: 1.25rem;
}

.media-card,
.course-card,
.post-card,
.tier,
.review-card,
.case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.course-card,
.post-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-course {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-course img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.course-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card img,
.post-card img,
.page-hero img,
.instructor-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body,
.tier,
.review-card,
.case-card {
  padding: 1.35rem 1.4rem 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
}

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

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

.tier {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
}

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

.tier ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  flex: 1;
}

.tier-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(200, 224, 216, 0.28), transparent 35%),
    var(--surface);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

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

.quote {
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-left: 3px solid var(--accent-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 8px 24px rgba(26, 42, 39, 0.04);
}

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

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

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

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

.page-hero-media {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.content-narrow {
  max-width: 42rem;
}

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

.module,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1rem 1.15rem;
}

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

.faq-item p {
  margin-top: 0.75rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.instructor-photo {
  aspect-ratio: 1;
  border-radius: 14px;
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 650;
  color: var(--ink);
}

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

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

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

.field-error {
  color: var(--error);
  font-size: 0.88rem;
  min-height: 1.2em;
}

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

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e7f4ec;
  color: var(--success);
  border: 1px solid #b9dcc8;
}

.form-status.is-error {
  background: #f8ebe8;
  color: var(--error);
  border: 1px solid #e2c2bb;
}

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

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

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.legal th {
  background: var(--bg-soft);
}

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-5) 0 var(--space-3);
  background: #183832;
  color: #d7e5e0;
}

.site-footer .brand-name,
.site-footer .footer-heading,
.site-footer p,
.site-footer address {
  color: #e8f1ed;
}

.site-footer .footer-tagline,
.site-footer .footer-address,
.site-footer .footer-bottom p {
  color: #b7c9c2;
}

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

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

.footer-inner {
  display: grid;
  gap: 2rem;
}

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

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-address {
  font-style: normal;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.25rem;
  display: none;
  animation: fade-up 0.35s ease both;
}

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

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8ebe8;
  color: var(--error);
  border: 1px solid #e2c2bb;
}

.rating {
  color: var(--accent-warm);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-band {
  margin: var(--space-5) 0;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(31, 75, 69, 0.95), rgba(42, 107, 98, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(232, 168, 124, 0.35), transparent 45%);
  color: #fff;
}

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

.cta-band p {
  max-width: 36rem;
  opacity: 0.92;
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

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

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0.4;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

.reveal {
  animation: fade-up 0.7s ease both;
}

@media (max-width: 960px) {
  .feature-grid,
  .card-grid,
  .tier-grid,
  .post-grid,
  .proof-strip,
  .footer-cols,
  .split,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

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

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

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

  .feature-grid,
  .card-grid,
  .tier-grid,
  .post-grid,
  .proof-strip,
  .footer-cols,
  .split,
  .contact-panel,
  .instructor,
  .feature-course {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}
