:root {
  --ink: #12251f;
  --ink-soft: #3d554c;
  --bg: #f3faf6;
  --bg-2: #e8f7ef;
  --surface: #ffffff;
  --coral: #ff3d6e;
  --coral-deep: #e01f55;
  --teal: #00d4aa;
  --teal-deep: #00a884;
  --sun: #ffe14a;
  --navy: #0f2e28;
  --line: rgba(18, 37, 31, 0.12);
  --shadow: 0 18px 40px rgba(15, 46, 40, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", 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% -10%, rgba(0, 212, 170, 0.28), transparent 42%),
    radial-gradient(circle at 90% 8%, rgba(255, 61, 110, 0.18), transparent 36%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 48%, var(--bg-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: 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.65rem;
}

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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 999px;
}

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

.inline-error {
  background: #ffe3ea;
  color: #8a1238;
  padding: 0.75rem 1rem;
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 250, 246, 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.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 30% 30%, var(--teal), transparent 55%),
    radial-gradient(circle at 70% 35%, var(--coral), transparent 50%),
    var(--navy);
  box-shadow: 0 0 0 3px rgba(255, 225, 74, 0.35);
  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-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

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

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

.nav-toggle-bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  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: linear-gradient(135deg, var(--coral), #ff7a59);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 61, 110, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

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

.btn-secondary:hover {
  color: #fff;
  background: #183f36;
}

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

.btn-ghost:hover {
  background: var(--sun);
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 46, 40, 0.88) 8%, rgba(15, 46, 40, 0.55) 48%, rgba(15, 46, 40, 0.25) 100%),
    radial-gradient(circle at 78% 30%, rgba(0, 212, 170, 0.35), transparent 35%);
}

.hero-shape {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  z-index: 1;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite;
}

.hero-shape.s1 {
  width: 220px;
  height: 220px;
  background: rgba(255, 225, 74, 0.35);
  top: 12%;
  right: 8%;
}

.hero-shape.s2 {
  width: 160px;
  height: 160px;
  background: rgba(255, 61, 110, 0.28);
  bottom: 18%;
  right: 28%;
  animation-delay: -3s;
}

.hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 38rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

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

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  max-width: 28ch;
  color: #f7fffb;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 42ch;
}

.page-hero {
  padding: 4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

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

.page-hero .lede {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.blob-bg {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 42% 58% 60% 40%;
  filter: blur(2px);
  opacity: 0.45;
  z-index: -1;
}

.blob-bg.a {
  background: var(--teal);
  top: -40px;
  right: 4%;
}

.blob-bg.b {
  background: var(--coral);
  width: 180px;
  height: 180px;
  bottom: -20px;
  left: 8%;
  opacity: 0.25;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 40rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--coral-deep);
}

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

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split-2 {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split-text-media {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.feature-grid,
.card-grid,
.tier-grid,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #f2fff9);
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.18);
  top: -28px;
  right: -18px;
}

.feature h3 {
  font-size: 1.2rem;
}

.course-card,
.post-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
}

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

.course-card .body,
.post-card .body {
  padding: 1.2rem 1.25rem 1.4rem;
}

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

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
  transform: rotate(-1.2deg);
}

.media-frame.tilt-right {
  transform: rotate(1.4deg);
}

.stat-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

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

@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

.quote-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  position: relative;
}

.quote-block::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.25;
  right: 1rem;
  bottom: 1rem;
}

.quote-block p {
  font-size: 1.15rem;
  font-family: var(--font-display);
  line-height: 1.35;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

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

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

.review.alt {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(255, 225, 74, 0.18));
}

.stars {
  color: #d97706;
  letter-spacing: 0.08em;
  font-weight: 700;
}

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

.tier.featured {
  background: linear-gradient(165deg, #12352d, #1a4a3e);
  color: #fff;
  transform: translateY(-8px);
  border: 0;
}

.tier.featured a {
  color: var(--sun);
}

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

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

.band {
  background: linear-gradient(120deg, rgba(255, 61, 110, 0.12), rgba(0, 212, 170, 0.16));
  border-block: 1px solid var(--line);
}

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

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

.prose {
  max-width: 68ch;
}

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

.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;
  vertical-align: top;
}

.prose th {
  background: var(--bg-2);
}

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

.module {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--coral);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

.field {
  margin-bottom: 1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fbfffd;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(0, 212, 170, 0.35);
  border-color: var(--teal-deep);
}

.field-error {
  min-height: 1.2rem;
  color: var(--coral-deep);
  font-size: 0.9rem;
  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);
}

.address-block {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
}

.address-block a {
  color: var(--sun);
}

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

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

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.4fr;
  }
}

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

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

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

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

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

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

.footer-contact p {
  font-size: 0.92rem;
}

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

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

.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

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

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

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-12px, 10px) rotate(8deg);
  }
}

.float-chip {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  animation: bob 3.8s ease-in-out infinite;
}

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

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  background: linear-gradient(90deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
