:root {
  --bg: #f6f7f4;
  --bg-elevated: #ffffff;
  --ink: #141814;
  --muted: #5a625c;
  --line: #d5dbd4;
  --accent: #1a3a32;
  --accent-soft: #e3ece8;
  --accent-hover: #0f2923;
  --sand: #ebe6df;
  --success: #1f6b4a;
  --error: #8a2e2e;
  --shadow: 0 18px 40px rgba(20, 24, 20, 0.06);
  --radius: 2px;
  --max: 1120px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.85rem;
  --space-md: 1.5rem;
  --space-lg: 2.75rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e8efe9 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ece7df 0%, transparent 45%),
    var(--bg);
  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(--accent-hover);
}

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

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

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

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

.inline-error {
  background: #f7e4e4;
  color: var(--error);
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(246, 247, 244, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

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

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #3d6b5c);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

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

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  border-radius: var(--radius);
}

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  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: #f7faf8;
}

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

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

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

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

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

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

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 18, 0.28) 0%,
    rgba(10, 22, 18, 0.72) 68%,
    rgba(10, 22, 18, 0.88) 100%
  );
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero-home .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 12ch;
  animation: riseIn 0.9s ease both;
}

.hero-home .lede {
  max-width: 34rem;
  color: rgba(244, 247, 245, 0.86);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-home .btn {
  animation: riseIn 0.9s ease 0.22s both;
}

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

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

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

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

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

.section-head p {
  margin-bottom: 0;
}

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

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

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 400;
}

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

.feature-rail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

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

.feature-item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature-item h3 {
  margin-bottom: 0.35rem;
}

.feature-item p {
  margin: 0;
}

.media-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  background: var(--sand);
}

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

.course-preview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.course-preview-copy {
  padding: 0.5rem 0;
}

.course-preview-copy .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.course-preview-visual {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 320px;
}

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

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

.quote-block {
  max-width: 46rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
}

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

.cta-band {
  margin: var(--space-xl) auto;
  width: min(100% - 2.5rem, var(--max));
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--accent) 0%, #2a5649 100%);
  color: #f4f7f5;
  border-radius: var(--radius);
}

.cta-band h2 {
  color: inherit;
  max-width: 14ch;
}

.cta-band p {
  color: rgba(244, 247, 245, 0.82);
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: #f4f7f5;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: #fff;
}

.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 40rem;
}

.page-hero-visual {
  margin-top: var(--space-lg);
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 420px;
}

.page-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

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

.course-card,
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.course-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-card-body,
.blog-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.course-card h3,
.blog-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.course-card p,
.blog-card p {
  margin: 0;
  flex: 1;
}

.meta-row {
  font-size: 0.85rem;
  color: var(--muted);
}

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

.price-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
}

.price-tier h3 {
  margin: 0;
}

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

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

.price-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.price-tier li {
  padding-left: 1rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-tier li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}

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

.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.prose {
  max-width: 44rem;
}

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

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

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

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

.module-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.module-item:last-child {
  border-bottom: 1px solid var(--line);
}

.module-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

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

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

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item button span {
  color: var(--muted);
  font-weight: 400;
}

.faq-panel {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.review-grid {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.review-item .stars {
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.review-item p {
  color: var(--ink);
}

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

.case-study {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.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%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font: inherit;
  color: var(--ink);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(26, 58, 50, 0.25);
  border-color: var(--accent);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

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

.form-status.is-error {
  background: #f7e4e4;
  color: var(--error);
}

.contact-aside {
  padding: 1.5rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.contact-aside h2 {
  font-size: 1.6rem;
}

.contact-aside p {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

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

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

.site-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-lg);
  background: #101612;
  color: rgba(244, 247, 245, 0.78);
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.2fr;
  gap: 1.75rem;
}

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

.footer-tag,
.footer-contact p {
  color: rgba(244, 247, 245, 0.72);
  font-size: 0.92rem;
}

.footer-heading {
  color: #f4f7f5;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
}

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

.footer-col a,
.footer-contact a {
  color: rgba(244, 247, 245, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-base {
  width: min(100% - 2.5rem, var(--max));
  margin: var(--space-lg) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  animation: riseIn 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

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

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

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--space-xl) 1.25rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  margin-bottom: 0.2em;
}

.outcome-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.outcome-list li:last-child {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 960px) {
  .proof-grid,
  .card-grid,
  .price-grid,
  .footer-grid,
  .feature-rail,
  .course-preview,
  .split-two,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

@media (max-width: 640px) {
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .module-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
