:root {
  --ink: #142028;
  --ink-soft: #3a4a55;
  --muted: #5f717d;
  --paper: #f3f6f7;
  --paper-deep: #e4ecee;
  --teal: #0e3d3a;
  --teal-mid: #1f6b63;
  --teal-light: #7eb8b2;
  --sand: #c9b59a;
  --line: rgba(20, 32, 40, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 61, 58, 0.12);
  --radius: 4px;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "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(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(126, 184, 178, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 181, 154, 0.22), transparent 50%),
    linear-gradient(180deg, #f7fafb 0%, var(--paper) 40%, #eef4f5 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.inline-error {
  background: #fde8e4;
  color: #7a2e22;
  padding: 0.75rem 1rem;
  margin: 0;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 247, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

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

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

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

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal);
}

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 2px;
  background: var(--ink);
}

.nav-toggle-bar {
  top: 50%;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

/* Layout */
main {
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

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

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

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

h3 {
  font-size: 1.35rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  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(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-mid);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(14, 61, 58, 0.28);
  color: var(--teal);
}

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

.btn-light {
  background: var(--white);
  color: var(--teal);
}

/* Hero */
.hero-immersive {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-immersive .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 28, 30, 0.25) 0%, rgba(10, 28, 30, 0.55) 45%, rgba(10, 28, 30, 0.88) 100%),
    linear-gradient(90deg, rgba(14, 61, 58, 0.55), transparent 60%);
  z-index: 1;
}

.hero-immersive .hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 3.5rem;
}

.hero-immersive .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  animation: riseIn 0.9s ease both;
}

.hero-immersive .hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  max-width: 28rem;
  margin: 0 0 0.75rem;
  font-weight: 500;
  animation: riseIn 1s ease 0.12s both;
}

.hero-immersive .hero-support {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.86);
  animation: riseIn 1s ease 0.22s both;
}

.hero-immersive .hero-actions {
  animation: riseIn 1s ease 0.32s both;
}

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

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Proof strip */
.proof-strip {
  background: var(--teal);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.4rem 0;
}

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

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

.proof-strip span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Content blocks */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.panel + .panel {
  margin-top: 1rem;
}

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

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal-mid);
}

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

.course-card,
.content-card,
.blog-card,
.tier {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.course-card img,
.blog-card img,
.page-hero img,
.media-frame img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.course-card .body,
.blog-card .body,
.content-card .body,
.tier {
  padding: 1.25rem 1.3rem 1.45rem;
}

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

.quote-block {
  border-left: 3px solid var(--teal-mid);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 0;
}

.quote-block p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

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

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

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

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

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

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

.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 61, 58, 0.25), rgba(14, 61, 58, 0.85));
}

.page-hero .copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 2.5rem;
  width: 100%;
}

.page-hero h1 {
  max-width: 16ch;
}

.tier {
  display: flex;
  flex-direction: column;
}

.tier.featured {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff, #eef7f6);
}

.tier .price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 1rem;
}

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

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

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

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

.module-list {
  counter-reset: module;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-family: var(--font-display);
  color: var(--teal-mid);
  font-weight: 700;
}

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

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

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

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

th {
  background: rgba(14, 61, 58, 0.06);
  font-family: var(--font-display);
}

.legal h2 {
  margin-top: 2.5rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.form-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(20, 32, 40, 0.18);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

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

.field-error {
  color: #9b3b2e;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin: 0.3rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.form-status.is-success {
  background: #e5f5ef;
  color: #14543f;
}

.form-status.is-error {
  background: #fde8e4;
  color: #7a2e22;
}

.contact-aside address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(14, 61, 58, 0.94), rgba(31, 107, 99, 0.9)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  padding: 4rem 0;
}

.cta-band h2 {
  max-width: 16ch;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn-light:hover {
  background: var(--paper);
}

/* Footer */
.site-footer {
  background: #0f2427;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 4rem;
  padding: 3.5rem 0 0;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.footer-tagline,
.footer-address,
.footer-contact {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.6rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.8rem;
}

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

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--teal-light);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(15, 36, 39, 0.96);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(126, 184, 178, 0.35);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.cookie-banner a {
  color: var(--teal-light);
}

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

.cookie-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.cookie-banner .btn-primary {
  background: var(--teal-light);
  color: var(--teal);
}

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

.article-body {
  max-width: 720px;
}

.article-body p {
  color: var(--ink-soft);
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 1.5rem 0 2rem;
}

@media (max-width: 960px) {
  .proof-strip .wrap,
  .course-grid,
  .card-grid,
  .blog-grid,
  .tier-grid,
  .footer-grid,
  .split,
  .testimonial-wide,
  .instructor {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: rgba(243, 246, 247, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.25rem;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

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