:root {
  --ink: #0e1f1c;
  --ink-soft: #34504a;
  --paper: #f4fbf7;
  --paper-2: #e8f7ef;
  --coral: #ff4d3a;
  --coral-deep: #e03624;
  --teal: #00c2a8;
  --teal-deep: #009980;
  --sun: #ffd23f;
  --line: rgba(14, 31, 28, 0.12);
  --shadow: 0 18px 40px rgba(14, 31, 28, 0.1);
  --radius: 1.25rem;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "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(circle at 12% 8%, rgba(255, 210, 63, 0.35), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(0, 194, 168, 0.28), transparent 32%),
    radial-gradient(circle at 70% 70%, rgba(255, 77, 58, 0.12), transparent 40%),
    linear-gradient(160deg, #f7fff9 0%, #eef8f3 45%, #fff8f1 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #ffe4e0;
  color: #7a1c12;
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 251, 247, 0.82);
  border-bottom: 1px solid var(--line);
}

.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;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, var(--coral), transparent 55%),
    linear-gradient(225deg, var(--teal), transparent 50%),
    var(--sun);
  box-shadow: 0 0 0 3px rgba(14, 31, 28, 0.08);
  animation: spin-soft 12s linear infinite;
}

@keyframes spin-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

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

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  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; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 77, 58, 0.28);
}

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

.btn-secondary {
  background: var(--ink);
  color: #fff;
}

.btn-secondary:hover {
  color: #fff;
  background: #1a3832;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 4rem 0 3rem;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(14, 31, 28, 0.78) 12%, rgba(14, 31, 28, 0.35) 55%, rgba(0, 194, 168, 0.25) 100%),
    linear-gradient(to top, rgba(14, 31, 28, 0.55), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 38rem;
  animation: rise-in 0.9s ease both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.75rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.shape-blob,
.shape-slash {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.shape-blob {
  width: 180px;
  height: 180px;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: rgba(255, 210, 63, 0.55);
  mix-blend-mode: screen;
  animation: drift 8s ease-in-out infinite alternate;
}

.shape-slash {
  width: 120px;
  height: 18px;
  background: var(--teal);
  transform: rotate(-18deg);
  border-radius: 999px;
  opacity: 0.75;
}

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

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

.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

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

.proof-item {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: 6px 6px 0 var(--sun);
  transform: rotate(-1deg);
}

.proof-item:nth-child(2) {
  transform: rotate(1.2deg);
  box-shadow: 6px 6px 0 var(--teal);
}

.proof-item:nth-child(3) {
  transform: rotate(-0.6deg);
  box-shadow: 6px 6px 0 var(--coral);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.mosaic-panel {
  border-radius: calc(var(--radius) + 0.4rem);
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.mosaic-panel::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -20px;
  top: -20px;
  background: var(--teal);
  border-radius: 40% 60% 55% 45%;
  opacity: 0.18;
}

.mosaic-panel h3 {
  font-size: 1.35rem;
}

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

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
}

.feature-index {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral);
  font-size: 1.2rem;
}

.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-tile {
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  color: inherit;
}

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

.media-tile-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

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

.meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.quote-block {
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 0.5rem);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.quote-block::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -40px;
  bottom: -50px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.35;
}

.quote-block p {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--sun);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

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

.tier.featured {
  background: linear-gradient(165deg, #fff 40%, #dffaf2);
  box-shadow: 10px 10px 0 var(--teal);
  transform: translateY(-8px);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
}

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

.tier .btn {
  margin-top: auto;
}

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

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

.page-hero p {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.frame {
  border-radius: calc(var(--radius) + 0.5rem);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--sun);
}

.frame.teal {
  box-shadow: 12px 12px 0 var(--teal);
}

.frame.coral {
  box-shadow: 12px 12px 0 var(--coral);
}

.prose {
  max-width: 46rem;
}

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

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

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.7);
}

.prose th {
  background: var(--ink);
  color: #fff;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

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

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

.module {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.module-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--teal-deep);
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--line);
}

.review-card.wide {
  grid-column: 1 / -1;
}

.stars {
  color: var(--coral);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.form-panel,
.info-panel {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem;
}

.info-panel {
  box-shadow: 10px 10px 0 var(--sun);
}

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

.field {
  margin-bottom: 1rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 2px solid var(--line);
  background: #f9fffc;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.2);
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

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

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

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

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-heading {
  color: var(--sun);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(14, 31, 28, 0.96);
  color: #fff;
  border-top: 4px solid var(--sun);
  padding: 1rem 0;
}

.cookie-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner a {
  color: var(--sun);
}

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

.cookie-banner .btn-ghost {
  border-color: #fff;
  color: #fff;
}

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--coral);
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 0.6rem);
  background:
    linear-gradient(120deg, rgba(255, 77, 58, 0.95), rgba(0, 194, 168, 0.9)),
    var(--ink);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

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

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

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

.case-study {
  background: #fff;
  border-left: 6px solid var(--coral);
  padding: 1.4rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.2rem;
}

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

  .tier.featured {
    transform: none;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.35rem;
  }

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

  .site-nav a {
    padding: 0.7rem 0.5rem;
  }

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

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