:root {
  --ink: #14231f;
  --ink-soft: #3a524c;
  --paper: #f7faf4;
  --paper-2: #eef6ea;
  --coral: #ff6b3d;
  --coral-deep: #e04f22;
  --teal: #1ec8b0;
  --teal-deep: #0b3d3a;
  --lime: #c8f542;
  --sun: #ffc857;
  --line: rgba(20, 35, 31, 0.12);
  --shadow: 0 18px 40px rgba(11, 61, 58, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1120px;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(255, 107, 61, 0.18), transparent 60%),
    radial-gradient(700px 380px at 92% 8%, rgba(30, 200, 176, 0.16), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 45%, var(--paper-2) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

.visually-hidden {
  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-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #ffe5dc;
  color: #8a2a0d;
  border-bottom: 2px solid var(--coral);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 244, 0.88);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 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(--teal-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 70% 28%, var(--lime) 0 28%, transparent 29%),
    linear-gradient(135deg, var(--coral), var(--teal));
  box-shadow: 0 0 0 3px rgba(200, 245, 66, 0.35);
  transform: rotate(-8deg);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--teal-deep);
  border-radius: 10px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--teal-deep);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

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

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

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

.nav-list a:hover {
  color: var(--coral-deep);
}

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

.section {
  padding: 4.5rem 0;
  position: relative;
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
  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.75rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.55rem); }
h3 { font-size: 1.35rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral-deep);
}

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

.btn-secondary {
  background: var(--lime);
  color: var(--teal-deep);
  border-color: #9fc91f;
}

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

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

/* Shapes / atmosphere */
.shape-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(12px, -18px) rotate(8deg); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  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);
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 61, 58, 0.88) 0%, rgba(11, 61, 58, 0.55) 48%, rgba(255, 107, 61, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 61, 58, 0.7), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem 3.5rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.hero-brand span {
  display: inline-block;
  background: linear-gradient(90deg, var(--lime), var(--sun));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  max-width: 28rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
}

.hero .btn-primary {
  box-shadow: 0 10px 28px rgba(255, 107, 61, 0.35);
}

/* Proof strip */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.proof-item {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

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

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

/* Feature / content grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.feature-block {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 1.6rem;
  border-left: 5px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
}

.feature-block:nth-child(2) { border-left-color: var(--teal); }
.feature-block:nth-child(3) { border-left-color: #9fc91f; }

.feature-block h3 {
  margin-bottom: 0.4rem;
}

.feature-block p {
  margin: 0;
  color: var(--ink-soft);
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--teal-deep);
  transform: rotate(1.5deg);
}

.media-frame::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--lime);
  top: -1rem;
  right: -1rem;
  border-radius: 40%;
  z-index: 1;
  mix-blend-mode: multiply;
}

.course-tile {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

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

.course-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
}

.course-tile h3 {
  margin: 0;
  color: var(--teal-deep);
}

.course-tile p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.meta-chip {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.quote {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  position: relative;
}

.quote::before {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(180deg, var(--coral), var(--teal));
  border-radius: var(--radius) 0 0 var(--radius);
}

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

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

.quote.short {
  max-width: 28rem;
}

.quote.wide {
  grid-column: 1 / -1;
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, var(--teal-deep), #14645d 55%, var(--coral-deep));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  bottom: -60px;
  background: var(--lime);
  border-radius: 45% 55% 50% 50%;
  opacity: 0.35;
  animation: drift 9s ease-in-out infinite alternate;
}

.cta-band h2,
.cta-band p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.9);
}

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

.price-tier {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-tier.featured {
  border-color: var(--coral);
  background:
    linear-gradient(180deg, rgba(255, 107, 61, 0.08), #fff 40%);
  transform: translateY(-8px);
}

.price-tier h3 {
  margin: 0;
}

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

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

.price-tier li {
  margin-bottom: 0.4rem;
}

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

/* Forms */
.form-panel {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(30, 200, 176, 0.35);
  border-color: var(--teal);
}

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

.form-status {
  margin-top: 1rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #0b6b4f;
}

.form-status.is-error {
  color: #a83312;
}

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

.address-block {
  background: rgba(255, 255, 255, 0.8);
  border-left: 5px solid var(--lime);
  padding: 1.25rem 1.4rem;
}

.address-block p {
  margin: 0 0 0.75rem;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 1.75rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--line);
}

.blog-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

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

.article-body p {
  margin: 0 0 1.15rem;
}

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

.article-hero {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--line);
}

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

/* Legal */
.legal-page h2 {
  margin-top: 2.25rem;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

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

.legal-page th {
  background: var(--paper-2);
  font-family: var(--font-display);
}

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

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
  color: var(--ink-soft);
  margin: 0.65rem 0 0;
}

/* 404 */
.page-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--coral);
  line-height: 1;
  margin: 0;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: #fff;
}

.footer-tag {
  margin: 0 0 2rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.75);
}

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

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

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

.footer-col li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-contact p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin: 0 auto;
}

.cookie-banner-inner {
  background: #fff;
  border: 3px solid var(--teal-deep);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* Modules list */
.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mod;
}

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

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral);
}

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

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--lime);
}

.case-study {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 1.5rem 0;
}

.case-study h3 {
  color: var(--teal-deep);
}

.rating {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral-deep);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-hero .shape-blob {
  width: 280px;
  height: 280px;
  background: rgba(255, 107, 61, 0.15);
  top: -60px;
  right: 5%;
}

.page-hero .shape-blob.alt {
  width: 180px;
  height: 180px;
  background: rgba(30, 200, 176, 0.18);
  top: 40%;
  left: -40px;
  animation-delay: -4s;
}

@media (max-width: 900px) {
  .grid-2,
  .contact-grid,
  .blog-row,
  .instructor {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .price-grid,
  .proof-strip,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .price-tier.featured {
    transform: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(247, 250, 244, 0.98);
    border-bottom: 2px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .nav-list {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.65rem;
  }

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