:root {
  --ink: #17141f;
  --ink-soft: #3d3648;
  --paper: #fff7ef;
  --paper-2: #ffe8d6;
  --coral: #ff4d6d;
  --coral-deep: #e03155;
  --teal: #00c2a8;
  --teal-deep: #089f8a;
  --sun: #ffb800;
  --violet-pop: #6c5ce7;
  --line: rgba(23, 20, 31, 0.12);
  --shadow: 0 18px 40px rgba(23, 20, 31, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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, 184, 0, 0.28), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(0, 194, 168, 0.22), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(255, 77, 109, 0.16), transparent 40%),
    linear-gradient(160deg, #fff7ef 0%, #ffe9dc 48%, #e8fff9 100%);
  background-attachment: fixed;
  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(--teal-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;
}

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

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

.shell-error,
.inline-error {
  background: #ffe0e6;
  color: #8a1030;
  border: 2px solid var(--coral);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
}

.shell-error {
  margin: 0;
  border-radius: 0;
  text-align: center;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 239, 0.86);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.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: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 30% 30%, var(--sun) 0 35%, transparent 36%),
    linear-gradient(135deg, var(--coral), var(--teal));
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.2);
  transform: rotate(-8deg);
}

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

.nav-toggle-bar {
  display: block;
  height: 3px;
  margin: 0.28rem 0;
  background: var(--ink);
  border-radius: 99px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
}

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

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

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

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

.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: 1rem;
  cursor: pointer;
  text-decoration: none;
  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, 77, 109, 0.35);
}

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

.btn-secondary {
  background: var(--teal);
  color: #08352f;
  box-shadow: 0 10px 24px rgba(0, 194, 168, 0.28);
}

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

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

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

.hero-burst {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-burst::before,
.hero-burst::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  z-index: 0;
  animation: floaty 9s ease-in-out infinite;
}

.hero-burst::before {
  width: 22rem;
  height: 22rem;
  background: rgba(255, 77, 109, 0.18);
  top: -4rem;
  right: -3rem;
}

.hero-burst::after {
  width: 16rem;
  height: 16rem;
  background: rgba(0, 194, 168, 0.2);
  bottom: -3rem;
  left: 8%;
  animation-delay: -3s;
}

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

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}

.brand-hero span {
  display: inline-block;
  background: linear-gradient(120deg, var(--coral), var(--sun) 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
  background-size: 200% auto;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-kicker {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--teal-deep);
  transform: rotate(-1.5deg);
}

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

.hero-visual {
  position: relative;
  border-radius: 2rem 0.75rem 2rem 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--ink);
  transform: rotate(1.5deg);
  animation: settle 1s ease both;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(24px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: rotate(1.5deg);
  }
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.blob-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem 0.4rem 1rem 0.4rem;
  border: 2px solid var(--ink);
  transform: rotate(-4deg);
}

.section {
  padding: 3.75rem 0;
}

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

.section-intro {
  max-width: 38rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 6px 6px 0 rgba(23, 20, 31, 0.08);
}

.panel-sun {
  background: linear-gradient(145deg, #fff3c4, #ffe8a3);
}

.panel-teal {
  background: linear-gradient(145deg, #d8fff7, #b7f5e8);
}

.panel-coral {
  background: linear-gradient(145deg, #ffd6de, #ffc2cd);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.proof-item {
  text-align: center;
  padding: 1.1rem 0.75rem;
}

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

.feature-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.feature-mosaic .tall {
  grid-row: span 2;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.media-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.media-card .body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

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

.chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ink);
  color: #fff;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

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

.quote {
  position: relative;
  padding: 1.35rem 1.35rem 1.2rem 1.6rem;
}

.quote::before {
  content: "“";
  position: absolute;
  top: -0.15rem;
  left: 0.55rem;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--coral);
  line-height: 1;
}

.quote footer {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.4rem 1.5rem;
  border-radius: 1.75rem;
  border: 3px solid var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 77, 109, 0.9), rgba(255, 184, 0, 0.85) 55%, rgba(0, 194, 168, 0.9));
  color: var(--ink);
  text-align: center;
  box-shadow: 10px 10px 0 rgba(23, 20, 31, 0.12);
  animation: pulseSoft 4.5s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

.cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.2rem;
}

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

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

.prose {
  max-width: 46rem;
}

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

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

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

.tier-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.tier.featured {
  transform: rotate(-1deg) scale(1.02);
  border-width: 3px;
}

.review-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.case-study {
  margin-top: 1.5rem;
}

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

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

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

.module-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
}

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

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 1.4rem 0.5rem 1.4rem 0.5rem;
  border: 2px solid var(--ink);
}

.faq details {
  border-bottom: 2px solid var(--line);
  padding: 0.85rem 0;
}

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

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

.field {
  margin-bottom: 1rem;
}

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

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

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

.field-error {
  color: #8a1030;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
}

.form-status.is-success {
  background: #d8fff7;
  border-color: var(--teal);
}

.form-status.is-error {
  background: #ffe0e6;
  border-color: var(--coral);
}

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

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

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

th {
  background: #fff0e4;
  font-family: var(--font-display);
}

.site-footer {
  margin-top: 3rem;
  background: #17141f;
  color: #f7f2ea;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #ffe08a;
  text-decoration: none;
}

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

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-tag,
.footer-contact p {
  color: rgba(247, 242, 234, 0.78);
  font-size: 0.95rem;
}

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

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

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

.footer-bottom {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 242, 234, 0.6);
  font-size: 0.9rem;
}

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

.cookie-banner-inner {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 1.25rem;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

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

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

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 0.9;
  background: linear-gradient(120deg, var(--coral), var(--sun), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.stack-gap > * + * {
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (max-width: 900px) {
  .footer-grid,
  .contact-layout,
  .feature-mosaic,
  .split-visual,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .feature-mosaic .tall {
    grid-row: auto;
  }

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

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

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 247, 239, 0.98);
    border-bottom: 2px solid var(--line);
    display: none;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.35rem;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0.4rem;
  }

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

  .tier.featured {
    transform: none;
  }
}
