:root {
  --ink: #12221f;
  --ink-soft: #3a4f4a;
  --muted: #6b7c76;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --line: #d7e2de;
  --accent: #0b3d3a;
  --accent-mid: #1a6b64;
  --accent-soft: #e4f1ee;
  --highlight: #c4a35a;
  --danger: #8b3a3a;
  --success: #1f6b4a;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(18, 34, 31, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::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%, #dceee9 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #f0ebe0 0%, transparent 45%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-mid);
  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: 520;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 248, 0.86);
  border-bottom: 1px solid rgba(215, 226, 222, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand em {
  font-style: italic;
  color: var(--highlight);
}

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, #eef5f2 30%, #e8f0ed);
  padding: 3.5rem 0 2rem;
}

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

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

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

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

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

.btn--gold {
  background: var(--highlight);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(11, 61, 58, 0.88) 0%, rgba(11, 61, 58, 0.55) 42%, rgba(18, 34, 31, 0.28) 100%),
    linear-gradient(to top, rgba(18, 34, 31, 0.55), transparent 45%);
}

.hero__content {
  padding: 7rem 0 4.5rem;
  color: #f4faf8;
  max-width: 38rem;
  animation: riseIn 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  color: #f7fbfa;
  letter-spacing: -0.04em;
}

.hero__brand em {
  font-style: italic;
  color: #d9c27a;
}

.hero__lede {
  font-size: 1.12rem;
  color: rgba(244, 250, 248, 0.9);
  margin-bottom: 1.75rem;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section__head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.benefit-list {
  display: grid;
  gap: 1.35rem;
}

.benefit-list article {
  padding-left: 1.1rem;
  border-left: 2px solid var(--accent-mid);
  animation: fadeUp 0.7s ease both;
}

.benefit-list article:nth-child(2) {
  animation-delay: 0.1s;
}

.benefit-list article:nth-child(3) {
  animation-delay: 0.2s;
}

.benefit-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.course-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.course-preview__body {
  padding: 2rem 2rem 2rem 0.5rem;
}

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

.quote {
  background: var(--surface);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}

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

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

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

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

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

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

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

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

.media-tile p {
  font-size: 0.95rem;
}

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

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.tier--focus {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.tier h3 {
  font-size: 1.35rem;
}

.tier .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  margin: 0.4rem 0 1rem;
}

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

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

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

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

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

.prose {
  max-width: 46rem;
}

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

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

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

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

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

.modules {
  display: grid;
  gap: 1rem;
}

.module {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.2rem 1.35rem;
}

.module h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

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

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

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

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

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

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

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(26, 107, 100, 0.35);
  border-color: var(--accent-mid);
}

.field__error {
  min-height: 1.2em;
  margin-top: 0.3rem;
  color: var(--danger);
  font-size: 0.85rem;
}

.form-status {
  margin-top: 0.85rem;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-card {
  background: var(--accent);
  color: #eef7f5;
  padding: 1.75rem;
}

.contact-card h2 {
  color: #fff;
}

.contact-card p,
.contact-card a {
  color: rgba(238, 247, 245, 0.92);
}

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

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

.rating {
  color: var(--highlight);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  animation: riseIn 0.45s ease both;
}

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
}

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

.inline-error {
  background: #f8e8e8;
  color: var(--danger);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-left: 3px solid var(--danger);
}

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

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

.cta-band {
  background:
    linear-gradient(120deg, rgba(11, 61, 58, 0.94), rgba(26, 107, 100, 0.88)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #f4faf8;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: #fff;
  max-width: 18ch;
}

.cta-band p {
  color: rgba(244, 250, 248, 0.9);
  max-width: 36rem;
}

.list-clean {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.list-clean li {
  margin-bottom: 0.45rem;
}

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

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

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 920px) {
  .proof-grid,
  .grid-3,
  .price-tiers,
  .footer-grid,
  .split,
  .course-preview,
  .contact-layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .tier--focus {
    transform: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .nav a {
    padding: 0.7rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-header__inner {
    position: relative;
  }

  .course-preview__body {
    padding: 1.25rem;
  }

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

  .instructor img {
    width: 120px;
    height: 120px;
  }
}

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