:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --bg-tint: #eaf3f0;
  --text: #1c2430;
  --muted: #5a6573;
  --line: #dce3df;
  --accent: #2e7d6f;
  --accent-deep: #1f5a50;
  --accent-soft: #d7ebe5;
  --warn: #9a4a3a;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(46, 125, 111, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(46, 125, 111, 0.05), transparent 45%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, 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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 227, 223, 0.85);
}

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

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

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

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

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

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

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav .nav-cta:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 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(--accent-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — split brand plane */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  background:
    linear-gradient(160deg, #ffffff 0%, #f3f8f6 55%, #eaf3f0 100%);
}

.hero-brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.4rem;
  color: var(--text);
  animation: rise 0.8s ease both;
}

.hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 28ch;
  color: var(--text);
  margin-bottom: 0.75rem;
  animation: rise 0.8s ease 0.12s both;
}

.hero-support {
  max-width: 38ch;
  color: var(--muted);
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.22s both;
}

.hero-actions {
  animation: rise 0.8s ease 0.32s both;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade-zoom 1.2s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 248, 246, 0.45), transparent 35%);
  pointer-events: none;
}

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

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

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

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

.section-tint {
  background: var(--bg-tint);
}

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

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

.section-head p {
  color: var(--muted);
  margin: 0;
}

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

/* Quote strip (social proof early) */
.quote-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.quote-strip-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
}

.quote-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  font-weight: 500;
}

.quote-strip cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-panel {
  display: grid;
  gap: 1rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-deep);
}

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

/* Course / content grids */
.course-grid,
.blog-grid,
.tier-grid,
.outcome-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.media-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

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

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.media-tile p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

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

/* Benefit list — not cards */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  counter-reset: benefit;
}

.benefit-list article {
  position: relative;
  padding-top: 0.5rem;
}

.benefit-list article::before {
  counter-increment: benefit;
  content: "0" counter(benefit);
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.benefit-list h3 {
  font-size: 1.3rem;
}

.benefit-list p {
  color: var(--muted);
  margin: 0;
}

/* Pricing */
.tier {
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--accent);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tier.featured {
  border-top-color: var(--accent-deep);
  background: linear-gradient(180deg, #f3faf7, #fff 40%);
}

.tier h3 {
  font-size: 1.4rem;
  margin: 0;
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

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

.tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

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

/* Reviews */
.review-stack {
  display: grid;
  gap: 1.75rem;
}

.review {
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--line);
}

.review:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.review p {
  font-size: 1.05rem;
}

.review.short p {
  font-size: 0.98rem;
  color: var(--muted);
}

.review footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.stars {
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.case-study {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
}

.case-study h3 {
  font-size: 1.55rem;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

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

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

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

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

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

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

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.55rem;
  font-size: 0.94rem;
}

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

.form-status.error {
  display: block;
  background: #f8e8e4;
  color: var(--warn);
}

.address-block p {
  color: var(--muted);
}

.address-block strong {
  color: var(--text);
}

/* Page heroes (inner) */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

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

.page-hero p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 0;
}

.page-hero.with-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Article */
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.article-body {
  max-width: 42rem;
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: 2rem;
}

.prose-wide {
  max-width: 48rem;
}

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

.module-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
}

.instructor img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

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

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

/* Legal */
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

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

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

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: none;
}

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

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-banner a {
  color: var(--accent-deep);
}

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

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #f8e8e4;
  color: var(--warn);
  border-radius: 0.55rem;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #15201c;
  color: #d7e0dc;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-tagline {
  color: #9fb0a8;
  font-size: 0.94rem;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.footer-contact p {
  margin: 0 0 0.55rem;
  color: #9fb0a8;
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8a9a93;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  background:
    linear-gradient(135deg, rgba(46, 125, 111, 0.12), rgba(46, 125, 111, 0.04)),
    var(--bg-soft);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-band p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-home,
  .quote-strip-inner,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .benefit-list,
  .contact-layout,
  .page-hero.with-image,
  .footer-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 280px;
  }

  .instructor {
    grid-template-columns: 90px 1fr;
  }
}

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