:root {
  --ink: #14221f;
  --muted: #3d524c;
  --paper: #f4fff8;
  --panel: #ffffff;
  --coral: #ff5a3d;
  --coral-deep: #e63d1f;
  --mint: #22d3a6;
  --mint-deep: #0f9f7c;
  --sun: #ffd23f;
  --navy: #0b2b2a;
  --line: rgba(11, 43, 42, 0.12);
  --shadow: 0 18px 40px rgba(11, 43, 42, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 72rem;
}

*,
*::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% 4%, rgba(34, 211, 166, 0.28), transparent 26%),
    radial-gradient(circle at 70% 70%, rgba(255, 90, 61, 0.12), transparent 35%),
    linear-gradient(160deg, #f7fff9 0%, #e8fff4 42%, #fff8ef 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 46px,
      rgba(11, 43, 42, 0.025) 46px,
      rgba(11, 43, 42, 0.025) 47px
    );
}

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

a {
  color: var(--mint-deep);
  text-decoration-thickness: 0.08em;
  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.75rem;
}

p {
  margin: 0 0 1rem;
}

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

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

.inline-error {
  background: #ffe3db;
  color: #7a1d0c;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--coral);
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 255, 248, 0.82);
  border-bottom: 2px 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;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.55rem;
  background:
    radial-gradient(circle at 30% 35%, var(--coral) 0 38%, transparent 39%),
    radial-gradient(circle at 72% 28%, var(--mint) 0 30%, transparent 31%),
    radial-gradient(circle at 58% 72%, var(--sun) 0 34%, transparent 35%),
    var(--navy);
  animation: bob 4.5s ease-in-out infinite;
}

.brand-text {
  letter-spacing: -0.03em;
}

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

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

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

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--sun);
}

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

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--navy);
  border-radius: 0.75rem;
  background: var(--panel);
  cursor: pointer;
  padding: 0.55rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--navy);
}

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

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 5px 5px 0 var(--navy);
}

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

.btn-secondary {
  background: var(--mint);
  color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
}

.btn-secondary:hover {
  background: #3fe0b6;
  color: var(--navy);
}

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

.btn-ghost:hover {
  background: rgba(255, 210, 63, 0.35);
  color: var(--navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

/* Hero home — brand-first asymmetric composition */
.hero-burst {
  position: relative;
  overflow: clip;
  padding: 3.5rem 0 2.5rem;
}

.hero-burst .shell {
  display: grid;
  gap: 2rem;
}

.hero-kicker {
  display: none;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--navy);
  margin: 0;
  max-width: 11ch;
  animation: rise-in 0.8s ease both;
}

.hero-brand span {
  color: var(--coral);
}

.hero-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 34rem;
  color: var(--muted);
  animation: rise-in 0.9s ease 0.08s both;
}

.hero-stage {
  position: relative;
  min-height: clamp(16rem, 42vw, 26rem);
  border-radius: 2rem 0.5rem 2rem 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise-in 1s ease 0.12s both;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 55%;
  height: 55%;
  background: var(--sun);
  border-radius: 40% 60% 55% 45%;
  opacity: 0.55;
  mix-blend-mode: multiply;
  animation: spin-slow 18s linear infinite;
}

.shape-blob {
  position: absolute;
  border-radius: 42% 58% 50% 50%;
  pointer-events: none;
  z-index: -1;
}

.shape-a {
  width: 12rem;
  height: 12rem;
  background: rgba(34, 211, 166, 0.35);
  top: 4rem;
  right: 6%;
  animation: floaty 7s ease-in-out infinite;
}

.shape-b {
  width: 8rem;
  height: 8rem;
  background: rgba(255, 90, 61, 0.28);
  left: 4%;
  bottom: 8%;
  animation: floaty 9s ease-in-out infinite reverse;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  position: relative;
}

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

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

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--coral-deep);
  background: rgba(255, 210, 63, 0.45);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.proof-band {
  background: var(--navy);
  color: #f7fff9;
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  box-shadow: 8px 8px 0 var(--coral);
}

.proof-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sun);
}

.proof-band span {
  color: rgba(247, 255, 249, 0.82);
  font-size: 0.95rem;
}

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

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

.feature-tile {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.feature-tile:hover {
  transform: rotate(-0.4deg) translateY(-3px);
}

.feature-tile::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  right: -1rem;
  top: -1rem;
  background: rgba(34, 211, 166, 0.22);
}

.feature-tile h3 {
  font-size: 1.25rem;
}

.course-tile {
  background: var(--panel);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(255, 90, 61, 0.35);
  display: flex;
  flex-direction: column;
}

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

.course-tile-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.course-tile h3 {
  font-size: 1.2rem;
  margin: 0;
}

.course-tile p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.meta-chip {
  display: inline-flex;
  width: fit-content;
  background: rgba(34, 211, 166, 0.2);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

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

.quote {
  background: rgba(255, 255, 255, 0.78);
  border-left: 6px solid var(--mint);
  padding: 1.15rem 1.25rem;
  border-radius: 0 1rem 1rem 0;
}

.quote.alt {
  border-left-color: var(--coral);
  transform: rotate(0.3deg);
}

.quote footer {
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-ribbon {
  background: linear-gradient(120deg, var(--coral), #ff8a4c 45%, var(--sun));
  color: var(--navy);
  border-radius: 1.75rem;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 10px 10px 0 var(--navy);
}

.cta-ribbon h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  max-width: 18ch;
}

/* Page heroes for inner pages */
.page-hero {
  padding: 3rem 0 1.5rem;
}

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

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.media-frame {
  border-radius: 1.5rem 0.4rem 1.5rem 0.4rem;
  overflow: hidden;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--mint);
}

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

.prose {
  max-width: 44rem;
}

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

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

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

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

.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.65rem 0.75rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
}

.prose th {
  background: rgba(34, 211, 166, 0.18);
  font-family: var(--font-display);
}

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

.price-card {
  background: var(--panel);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 5px 5px 0 rgba(255, 210, 63, 0.7);
}

.price-card.featured {
  background: var(--navy);
  color: #f7fff9;
  box-shadow: 5px 5px 0 var(--coral);
  transform: translateY(-0.4rem);
}

.price-card.featured .meta-chip {
  background: rgba(255, 210, 63, 0.25);
  color: var(--sun);
}

.price-card h3 {
  font-size: 1.35rem;
}

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

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
  flex: 1;
}

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

.price-card.featured .price-note {
  color: rgba(247, 255, 249, 0.75);
}

.faq details {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

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

.faq p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

.case-study {
  background: var(--panel);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 7px 7px 0 rgba(34, 211, 166, 0.45);
}

.case-study + .case-study {
  margin-top: 1.25rem;
}

.rating {
  color: var(--coral-deep);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.blog-list {
  display: grid;
  gap: 1.25rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
}

.blog-item-body {
  padding: 1rem 1rem 1rem 0;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 3px solid var(--navy);
}

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

.form-card,
.info-card {
  background: var(--panel);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.form-card {
  box-shadow: 7px 7px 0 var(--sun);
}

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

.field {
  margin-bottom: 1rem;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(34, 211, 166, 0.45);
  border-color: var(--mint-deep);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--coral);
}

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

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

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

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

.info-card h2 {
  font-size: 1.25rem;
}

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

.module {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  border: 2px solid var(--line);
}

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

.instructor {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1rem;
  border: 2px solid var(--navy);
}

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

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--navy);
  color: #e8fff4;
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
  color: var(--sun);
}

.footer-tag,
.footer-address {
  color: rgba(232, 255, 244, 0.82);
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.7rem;
}

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

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

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

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 40rem;
  margin-inline: auto;
}

.cookie-banner-inner {
  background: var(--panel);
  border: 3px solid var(--navy);
  border-radius: 1.25rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 8px 8px 0 var(--coral);
}

.cookie-banner-inner p {
  margin: 0 0 0.85rem;
}

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

.not-found {
  text-align: center;
  padding: 5rem 0;
}

.not-found h1 {
  font-size: clamp(3rem, 12vw, 7rem);
  color: var(--coral);
  margin: 0;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tag {
  background: rgba(255, 90, 61, 0.12);
  border: 1px solid rgba(255, 90, 61, 0.35);
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

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

@media (max-width: 980px) {
  .grid-3,
  .price-grid,
  .proof-band,
  .footer-grid,
  .split-visual,
  .contact-layout,
  .blog-item {
    grid-template-columns: 1fr;
  }

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

  .blog-item-body {
    padding: 0 1rem 1rem;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: rgba(247, 255, 249, 0.98);
    border-bottom: 2px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-cta {
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}

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

  .proof-band {
    grid-template-columns: 1fr;
  }

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