:root {
  --bg: #f3f4f2;
  --bg-deep: #e8ebe6;
  --ink: #1a211c;
  --muted: #5a635c;
  --line: #d5dbd4;
  --surface: #ffffff;
  --accent: #2f4a3e;
  --accent-soft: #dfe8e2;
  --accent-hover: #243b31;
  --warn: #8a4b2f;
  --ok: #2f6b4f;
  --err: #8b2e2e;
  --shadow: 0 18px 40px rgba(26, 33, 28, 0.06);
  --radius: 14px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.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(1200px 500px at 10% -10%, rgba(47, 74, 62, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(138, 75, 47, 0.05), transparent 50%),
    linear-gradient(180deg, #f7f8f6 0%, var(--bg) 40%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

.shell {
  width: var(--shell);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 244, 242, 0.86);
  border-bottom: 1px solid rgba(213, 219, 212, 0.8);
}

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

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

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, #3d6353 0%, var(--accent) 55%, #1d3229 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

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

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

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

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

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

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

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

.nav-toggle-bar::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 5px;
}

main {
  display: block;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #f4f6f5;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 28, 23, 0.25) 0%, rgba(18, 28, 23, 0.72) 70%, rgba(18, 28, 23, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.1rem;
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  max-width: 28ch;
}

.hero-support {
  margin: 0 0 1.6rem;
  color: rgba(244, 246, 245, 0.86);
  max-width: 36ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  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: #f4f6f5;
  color: var(--accent);
}

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

.btn-secondary {
  background: transparent;
  color: #f4f6f5;
  border-color: rgba(244, 246, 245, 0.45);
}

.btn-secondary:hover {
  border-color: #f4f6f5;
  color: #ffffff;
}

.btn-solid {
  background: var(--accent);
  color: #f4f6f5;
}

.btn-solid:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

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

.section-head h2,
.page-title,
.content-block h2,
.legal h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

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

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

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

.proof-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

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

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

.split-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.feature-list {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: 1.2rem;
  border-left: 2px solid var(--accent-soft);
}

.feature-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

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

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.media-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

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

.media-link .body,
.tier,
.quote-block,
.case-study,
.faq-item,
.form-panel,
.info-panel {
  padding: 1.2rem 1.25rem 1.4rem;
}

.media-link h3,
.tier h3,
.quote-block h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.media-link p,
.tier p,
.quote-block p {
  margin: 0;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tier,
.quote-block,
.case-study,
.faq-item,
.form-panel,
.info-panel,
.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.tier.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

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

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

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

.quote-block {
  padding: 1.4rem;
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

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

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

.band {
  background: var(--accent);
  color: #f4f6f5;
}

.band .section-head p,
.band a {
  color: rgba(244, 246, 245, 0.86);
}

.band .btn-primary {
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.2rem;
  border-top: 2px solid var(--accent);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

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

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

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fbfcfb;
  color: var(--ink);
}

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

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

.form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  display: none;
}

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

.form-status.ok {
  background: #e7f3ec;
  color: var(--ok);
}

.form-status.err {
  background: #f8e8e8;
  color: var(--err);
}

.inline-error {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: #f8e8e8;
  color: var(--err);
  display: none;
}

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

.legal,
.article,
.content-block {
  max-width: 720px;
}

.legal h2,
.content-block h2,
.article h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal p,
.article p,
.content-block p,
.legal li,
.article li {
  color: var(--muted);
}

.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.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--surface);
}

.legal th {
  background: var(--accent-soft);
  color: var(--ink);
}

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

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

.module h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

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

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

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

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 1rem 1.15rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 3rem 0 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.footer-tag,
.footer-address {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.footer-label {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

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

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin: 0;
  letter-spacing: -0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

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

@keyframes drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .tier-grid,
  .proof-grid,
  .steps,
  .footer-grid,
  .split,
  .contact-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 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.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .course-grid,
  .blog-grid,
  .tier-grid,
  .proof-grid,
  .steps,
  .footer-grid,
  .split,
  .contact-grid,
  .review-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

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