:root {
  --ink: #1a1f36;
  --ink-soft: #3d4460;
  --paper: #f7f4ef;
  --paper-2: #fff9f2;
  --coral: #ff5a36;
  --coral-deep: #e8431f;
  --teal: #00c2a8;
  --teal-deep: #009e8a;
  --sun: #ffd166;
  --lilac: #7b6cff;
  --line: rgba(26, 31, 54, 0.12);
  --shadow: 0 18px 40px rgba(26, 31, 54, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::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, 209, 102, 0.35), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(0, 194, 168, 0.22), transparent 26%),
    radial-gradient(circle at 70% 70%, rgba(255, 90, 54, 0.12), transparent 35%),
    linear-gradient(165deg, var(--paper) 0%, var(--paper-2) 55%, #efe8ff 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.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(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0.5rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.82);
  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.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 30% 35%, var(--coral) 0 38%, transparent 39%),
    radial-gradient(circle at 70% 28%, var(--teal) 0 32%, transparent 33%),
    radial-gradient(circle at 60% 72%, var(--sun) 0 34%, transparent 35%),
    var(--ink);
  box-shadow: 0 6px 0 rgba(26, 31, 54, 0.15);
  animation: bob 4s 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 {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.15rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--coral-deep);
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  position: relative;
}

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

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

main {
  overflow-x: clip;
}

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

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(26, 31, 54, 0.12);
  padding: 1.5rem;
}

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

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

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

.btn-primary:hover {
  background: var(--coral-deep);
  color: #fff;
  box-shadow: 7px 7px 0 var(--ink);
}

.btn-secondary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--teal);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(26, 31, 54, 0.15);
}

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

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

.hero-home {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 1rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - var(--header-h) - 2rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  max-width: 11ch;
}

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

.hero-kicker {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-family: var(--font-display);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 1rem;
}

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

.hero-visual {
  position: relative;
  min-height: 28rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem 2rem 2rem 0;
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--teal);
  position: absolute;
  inset: 0;
  animation: floaty 7s ease-in-out infinite;
}

.blob {
  position: absolute;
  border: 3px solid var(--ink);
  z-index: 0;
  pointer-events: none;
}

.blob-a {
  width: 9rem;
  height: 9rem;
  border-radius: 40% 60% 55% 45%;
  background: var(--sun);
  top: 8%;
  left: -6%;
  animation: spinslow 18s linear infinite;
}

.blob-b {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--coral);
  bottom: 12%;
  right: -4%;
  animation: bob 5s ease-in-out infinite;
}

.blob-c {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 30% 70% 70% 30%;
  background: var(--lilac);
  top: 18%;
  right: 12%;
  opacity: 0.85;
}

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

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

.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 {
  position: relative;
  padding: 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 6px 6px 0 var(--sun);
  overflow: hidden;
}

.feature-tile::after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.2);
  right: -1rem;
  bottom: -1rem;
}

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

.stat-band {
  margin: 1rem auto 0;
  max-width: var(--max);
  padding: 0 1.25rem 3rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.stat {
  padding: 1.4rem 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--sun);
  margin-bottom: 0.35rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 1.4rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(123, 108, 255, 0.35);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

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

.course-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.course-card h3 {
  font-size: 1.2rem;
}

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

.quote-block {
  border: 2px solid var(--ink);
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, #fff, #fff1e4);
  box-shadow: 7px 7px 0 var(--coral);
}

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

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

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

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

.zigzag img {
  border-radius: 1.5rem;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--sun);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
}

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

.page-hero.with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero.with-media img {
  border-radius: 1.75rem 0.5rem 1.75rem 1.75rem;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--teal);
}

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

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

.price-card.featured {
  background: linear-gradient(160deg, #fff7df, #ffe8df);
  box-shadow: 10px 10px 0 var(--ink);
  transform: translateY(-0.5rem);
}

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

.price span {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

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

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

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.blog-item:hover {
  color: inherit;
  box-shadow: 6px 6px 0 var(--teal);
}

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

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

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.article img.cover {
  width: 100%;
  border-radius: 1.25rem;
  border: 2px solid var(--ink);
  margin: 1.25rem 0 1.75rem;
  box-shadow: 8px 8px 0 var(--sun);
}

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

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: 0.85rem;
  background: #fff;
}

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

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 2px solid transparent;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(0, 194, 168, 0.15);
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}

.form-status.error {
  background: rgba(255, 90, 54, 0.12);
  border-color: var(--coral);
  color: var(--coral-deep);
}

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

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

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

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

th {
  background: rgba(255, 209, 102, 0.35);
  font-family: var(--font-display);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.address-block {
  white-space: pre-wrap;
}

.site-footer {
  background: var(--ink);
  color: #f5f2ec;
  margin-top: 2rem;
}

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

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.5fr;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.footer-col h2,
.footer-contact h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--teal);
}

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

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

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  box-shadow: 10px 10px 0 var(--coral);
  padding: 1.15rem 1.25rem;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: rise 0.35s ease;
}

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

.inline-error {
  margin: 1rem 1.25rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--coral);
  border-radius: 0.85rem;
  background: rgba(255, 90, 54, 0.1);
  color: var(--coral-deep);
  font-weight: 600;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-row img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}

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

.module-list li {
  counter-increment: mod;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 0.75rem;
  background: #fff;
  position: relative;
}

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

.stars {
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.not-found {
  text-align: center;
  padding: 6rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.5rem;
}

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

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

@keyframes spinslow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@media (max-width: 960px) {
  .hero-home,
  .page-hero.with-media,
  .zigzag,
  .zigzag.reverse,
  .pricing-grid,
  .grid-3,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

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

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

  .hero-visual {
    min-height: 18rem;
    order: -1;
  }

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

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

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

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

  .hero-home {
    min-height: auto;
  }
}
