:root {
  --ink: #13212b;
  --ink-soft: #3b4f5c;
  --paper: #f3f8ff;
  --paper-2: #fff6ea;
  --coral: #ff5c4d;
  --teal: #19d3c5;
  --sun: #ffc857;
  --navy: #0e2a36;
  --line: rgba(14, 42, 54, 0.12);
  --shadow: 0 18px 40px rgba(14, 42, 54, 0.12);
  --radius: 1.25rem;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "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, 92, 77, 0.18), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(25, 211, 197, 0.2), transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(255, 200, 87, 0.18), transparent 35%),
    linear-gradient(160deg, var(--paper), var(--paper-2));
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

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

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.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: #7a1d14;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 248, 255, 0.82);
  border-bottom: 2px solid rgba(14, 42, 54, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--coral) 0 42%, transparent 43%),
    radial-gradient(circle at 70% 35%, var(--teal) 0 36%, transparent 37%),
    radial-gradient(circle at 50% 75%, var(--sun) 0 38%, transparent 39%),
    var(--navy);
  box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.35);
  animation: bob 4s ease-in-out infinite;
}

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

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

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

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

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--sun);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
}

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

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

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

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

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

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

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

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

.btn-secondary:hover {
  color: var(--navy);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(14, 42, 54, 0.15);
}

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

.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
}

.hero-kicker {
  display: inline-block;
  font-weight: 800;
  color: var(--navy);
  background: var(--sun);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.hero-brand {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  margin: 0;
  color: var(--navy);
  max-width: 11ch;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 1.1rem 0 1.6rem;
}

.hero-panel {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  min-height: 24rem;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  animation: floaty 7s ease-in-out infinite;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 24rem;
}

.hero-blob,
.section-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0);
  z-index: -1;
  pointer-events: none;
}

.hero-blob {
  width: 18rem;
  height: 18rem;
  background: rgba(25, 211, 197, 0.35);
  top: -3rem;
  right: 8%;
  animation: spinblob 18s linear infinite;
}

.pulse-strip {
  padding: 0.5rem 0 2.5rem;
}

.pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pulse-chip {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  min-width: 9rem;
  box-shadow: 0 8px 18px rgba(14, 42, 54, 0.06);
}

.pulse-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--coral);
}

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

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

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

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

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(14, 42, 54, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  right: -1rem;
  top: -1rem;
  border-radius: 40%;
  background: rgba(255, 200, 87, 0.35);
}

.feature h3 {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
}

.feature p {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.course-card,
.blog-card,
.price-card,
.review-card,
.case-card {
  background: #fff;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 2px solid rgba(14, 42, 54, 0.08);
  box-shadow: 0 12px 28px rgba(14, 42, 54, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.card-body p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

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

.quote-block {
  background: var(--navy);
  color: #f4fbff;
  border-radius: 1.6rem;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 92, 77, 0.45);
  border-radius: 40%;
}

.quote-block p {
  position: relative;
  font-size: 1.08rem;
}

.quote-block cite {
  position: relative;
  font-style: normal;
  font-weight: 800;
  color: var(--sun);
}

.band {
  background: linear-gradient(120deg, rgba(255, 92, 77, 0.12), rgba(25, 211, 197, 0.16));
  border-block: 2px solid rgba(14, 42, 54, 0.06);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border-radius: 1.8rem;
  padding: 1.8rem;
  border: 3px solid var(--navy);
  box-shadow: 10px 10px 0 var(--sun);
}

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

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

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

.prose {
  max-width: 46rem;
}

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

.prose table,
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.prose th,
.cookies-table th {
  background: var(--navy);
  color: #fff;
}

.media-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
}

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

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

.instructor img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 1.2rem;
}

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

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

.price-card {
  padding: 1.4rem;
}

.price-card.featured {
  border-color: var(--coral);
  box-shadow: 0 16px 36px rgba(255, 92, 77, 0.2);
  transform: translateY(-0.4rem);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

.price-card ul {
  margin-bottom: 1.2rem;
}

.review-card,
.case-card {
  padding: 1.35rem;
}

.stars {
  color: #d98900;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1rem;
}

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

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 2px solid rgba(14, 42, 54, 0.14);
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fbfdff;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 3px solid rgba(25, 211, 197, 0.45);
  border-color: var(--teal);
}

.field-error {
  color: #b42318;
  font-size: 0.9rem;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.8rem;
  font-weight: 800;
}

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

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

.contact-panel {
  background: var(--navy);
  color: #f4fbff;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.contact-panel a {
  color: var(--sun);
}

.contact-panel address {
  font-style: normal;
  margin-bottom: 1rem;
}

.site-footer {
  margin-top: 3rem;
  background: var(--navy);
  color: #d7e7ef;
  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.4rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

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

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

.footer-links a,
.footer-legal a,
.footer-email a {
  color: #d7e7ef;
  text-decoration: none;
}

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

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(14, 42, 54, 0.96);
  color: #f4fbff;
  padding: 1rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

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

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

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

.module-list {
  list-style: none;
  padding: 0;
}

.module-list li {
  background: #fff;
  border-left: 6px solid var(--teal);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 18px rgba(14, 42, 54, 0.06);
}

.tag {
  display: inline-block;
  background: rgba(25, 211, 197, 0.2);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.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);
  margin-bottom: 0.2rem;
}

.zigzag {
  background:
    linear-gradient(135deg, transparent 25%, rgba(255, 200, 87, 0.35) 25% 50%, transparent 50% 75%, rgba(25, 211, 197, 0.28) 75%) top left / 28px 28px;
}

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

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

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

@media (max-width: 900px) {
  .hero-stage,
  .grid-2,
  .grid-3,
  .grid-4,
  .cta-panel,
  .footer-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    position: fixed;
    inset: 4.4rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

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

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

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

  .hero-panel {
    transform: none;
  }
}

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