:root {
  --ink: #14213d;
  --ink-soft: #3d4a66;
  --paper: #fff8f0;
  --paper-2: #ffe8d6;
  --coral: #ff5c35;
  --coral-deep: #e03e18;
  --teal: #2ec4b6;
  --teal-deep: #1a9e92;
  --sun: #ffd166;
  --violet-pop: #7b5cff;
  --white: #ffffff;
  --line: rgba(20, 33, 61, 0.12);
  --shadow: 0 18px 40px rgba(20, 33, 61, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, 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(ellipse 80% 50% at 10% -10%, rgba(46, 196, 182, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(255, 92, 53, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 209, 102, 0.25), transparent 55%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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: -100px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 240, 0.86);
  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.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(135deg, var(--coral), var(--sun));
  box-shadow: 4px 4px 0 var(--teal);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px 6px 8px 6px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  transform: skewX(-12deg);
}

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

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

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--coral);
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--coral);
}

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

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

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

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

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

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

.btn-secondary:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}

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

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

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

.section-kicker {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--teal-deep);
  background: rgba(46, 196, 182, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  max-width: 18ch;
}

.section-lead {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  background: linear-gradient(120deg, var(--ink) 35%, var(--coral) 70%, var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise-in 0.8s ease both;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  max-width: 22ch;
  margin-bottom: 1rem;
  animation: rise-in 0.8s ease 0.1s both;
}

.hero-copy {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
  animation: rise-in 0.8s ease 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  animation: rise-in 0.8s ease 0.26s both;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  animation: float-soft 6s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2rem 0.75rem 2rem 0.75rem;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--teal);
}

.blob {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  z-index: -1;
  animation: morph 10s ease-in-out infinite;
}

.blob-a {
  width: 180px;
  height: 180px;
  background: var(--sun);
  top: -30px;
  left: -40px;
}

.blob-b {
  width: 140px;
  height: 140px;
  background: rgba(123, 92, 255, 0.45);
  bottom: 20px;
  right: -20px;
  animation-delay: -3s;
}

.chip-float {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 3px 3px 0 var(--coral);
  animation: bob 3.5s ease-in-out infinite;
}

.chip-float.one { top: 18px; right: 12px; }
.chip-float.two { bottom: 42px; left: 8px; animation-delay: -1.4s; }

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

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45%; transform: rotate(0deg); }
  50% { border-radius: 60% 40% 35% 65%; transform: rotate(8deg); }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
}

.proof-item {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 5px 5px 0 var(--sun);
}

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

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

.panel {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem;
  box-shadow: 8px 8px 0 rgba(20, 33, 61, 0.12);
}

.panel-tint-coral { background: linear-gradient(160deg, #fff, #ffe0d6); }
.panel-tint-teal { background: linear-gradient(160deg, #fff, #d8f7f3); }
.panel-tint-sun { background: linear-gradient(160deg, #fff, #fff1c9); }

.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.5rem;
}

.benefit {
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 92, 53, 0.12);
  top: -18px;
  right: -18px;
}

.benefit h3 {
  font-size: 1.25rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

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

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
  margin-bottom: 1rem;
}

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

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

.quote-block {
  position: relative;
  padding: 1.5rem 1.5rem 1.35rem;
}

.quote-block::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--coral);
  position: absolute;
  top: 0.2rem;
  left: 0.85rem;
  opacity: 0.5;
}

.quote-block p {
  margin-top: 1.2rem;
}

.quote-attr {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

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

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

.cta-band {
  margin: 2rem 0 4rem;
  background:
    linear-gradient(125deg, var(--ink) 0%, #243156 45%, #1f6f68 100%);
  color: var(--white);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--sun);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 40% 60% 70% 30%;
  background: rgba(255, 209, 102, 0.2);
  right: -30px;
  top: -40px;
}

.cta-band h2 {
  color: var(--white);
  max-width: 16ch;
}

.cta-band p {
  color: rgba(255, 248, 240, 0.85);
  max-width: 48ch;
}

.cta-band .btn-primary {
  background: var(--sun);
  color: var(--ink);
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: rgba(255, 248, 240, 0.88);
  position: relative;
}

.footer-wave {
  height: 28px;
  background:
    radial-gradient(circle at 10px 28px, transparent 10px, var(--ink) 11px) repeat-x;
  background-size: 28px 28px;
  transform: translateY(-27px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.75rem;
}

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

.footer-tag {
  color: rgba(255, 248, 240, 0.72);
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sun);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 248, 240, 0.85);
  text-decoration: none;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.15);
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.6);
}

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

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

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

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

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

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  transform: translateY(-8px);
  box-shadow: 10px 10px 0 var(--coral);
  background: linear-gradient(165deg, #fff, #ffe8d6);
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

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

.price-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

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

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  width: 100%;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(46, 196, 182, 0.45);
  outline-offset: 1px;
}

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

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

.form-status.is-success {
  display: block;
  background: #d8f7f3;
  border-color: var(--teal-deep);
  color: var(--ink);
}

.form-status.is-error {
  display: block;
  background: #ffe0d6;
  border-color: var(--coral);
  color: var(--ink);
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #ffe0d6;
  border: 2px solid var(--coral);
  border-radius: var(--radius-sm);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: 8px 8px 0 var(--teal);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.95rem;
}

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

.prose {
  max-width: 72ch;
}

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

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

.prose ul, .prose ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

th {
  background: rgba(46, 196, 182, 0.18);
  font-family: var(--font-display);
}

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

.module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.module-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--coral);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  border: 2px solid var(--ink);
}

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

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

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

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

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.blog-item:hover {
  color: inherit;
}

.blog-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink);
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
}

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

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

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

.media-hero {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--teal);
  margin: 1.5rem 0 2rem;
}

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

.tag {
  background: rgba(255, 209, 102, 0.45);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .price-grid,
  .footer-inner,
  .blog-item,
  .instructor {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 0.25rem);
    left: 1rem;
    right: 1rem;
    background: var(--white);
    border: 2px solid var(--ink);
    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;
  }

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

  .hero-visual img {
    height: 280px;
  }
}
