:root {
  --ink: #1c1033;
  --ink-soft: #3a2a58;
  --paper: #fff6e9;
  --paper-2: #ffe4c4;
  --hot: #ff3d7f;
  --mint: #14d4a5;
  --sun: #ffcd3c;
  --violet: #6a4cff;
  --sky: #4ecbff;
  --white: #fffdf8;
  --line: rgba(28, 16, 51, 0.14);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 1.5rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::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 8% 12%, rgba(255, 61, 127, 0.18), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(106, 76, 255, 0.16), transparent 26%),
    radial-gradient(circle at 86% 88%, rgba(20, 212, 165, 0.16), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(255, 205, 60, 0.22), transparent 24%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--violet);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--sun);
  padding: 0.6rem 1rem;
  z-index: 80;
  border-radius: 999px;
}

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

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.inline-error {
  background: #ffe0ea;
  border: 3px solid var(--hot);
  color: var(--ink);
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  margin: 0.8rem;
}

#site-header,
#site-footer {
  min-height: 1px;
}

.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 40;
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0.7rem auto 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  background: rgba(255, 253, 248, 0.88);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--violet);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.logo-mark span:nth-child(1) { background: var(--sun); border-radius: 5px 2px 2px 2px; }
.logo-mark span:nth-child(2) { background: var(--mint); border-radius: 2px 5px 2px 2px; }
.logo-mark span:nth-child(3) { background: var(--hot); border-radius: 2px 2px 2px 5px; }
.logo-mark span:nth-child(4) { background: var(--violet); border-radius: 2px 2px 5px 2px; }

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

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

.site-nav a[aria-current="page"] {
  background: var(--sun);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  padding: 0.45rem 0.9rem !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--sun);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  font-family: inherit;
  cursor: pointer;
}

.nav-toggle-bars {
  width: 1rem;
  height: 0.7rem;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
}

.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: var(--ink);
  transform: translateY(-50%);
}

.page {
  padding-bottom: 4rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 0.7rem;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.kicker.hot { background: var(--hot); color: white; }
.kicker.sun { background: var(--sun); }
.kicker.violet { background: var(--violet); color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  text-decoration: none;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-hot { background: var(--hot); color: white; }
.btn-hot:hover { color: white; }
.btn-mint { background: var(--mint); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: var(--paper); }
.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 9rem;
  height: 9rem;
  background: var(--hot);
  border-radius: 40% 60% 70% 30% / 40% 30% 70% 60%;
  top: 0.5rem;
  right: 38%;
  opacity: 0.35;
  animation: blob 9s ease-in-out infinite;
  z-index: -1;
}

@keyframes blob {
  50% { border-radius: 70% 30% 40% 60% / 30% 70% 30% 70%; transform: translate(12px, 18px) rotate(12deg); }
}

.hero-title span {
  display: block;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(transparent 55%, var(--sun) 55%);
}

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

.polaroid {
  position: absolute;
  background: white;
  border: 3px solid var(--ink);
  padding: 0.6rem 0.6rem 1.8rem;
  box-shadow: var(--shadow);
  width: min(78%, 20rem);
}

.polaroid img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-radius: 0.4rem;
}

.polaroid figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.polaroid.one { top: 0; left: 0; transform: rotate(-6deg); }
.polaroid.two { right: 0; bottom: 1rem; transform: rotate(7deg); width: min(70%, 16rem); background: var(--sky); }

.sticker {
  position: absolute;
  background: var(--hot);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  border: 3px solid var(--ink);
  border-radius: 1.2rem;
  padding: 0.55rem 0.8rem;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.sticker.mint { background: var(--mint); color: var(--ink); right: 8%; top: 18%; transform: rotate(9deg); }
.sticker.sun { background: var(--sun); color: var(--ink); left: 12%; bottom: 8%; }

.hero-note {
  margin-top: 1.4rem;
  font-weight: 600;
  max-width: 28rem;
}

.marquee {
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--sun);
  margin: 1.5rem 0 3rem;
  transform: rotate(-1.2deg);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: slide 28s linear infinite;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

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

.card,
.panel {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 5px 5px 0 var(--ink);
}

.panel.sun { background: var(--sun); }
.panel.mint { background: var(--mint); }
.panel.hot { background: var(--hot); color: white; }
.panel.violet { background: var(--violet); color: white; }
.panel.sky { background: var(--sky); }

.bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-2 { grid-column: span 2; }
.span-6 { grid-column: span 6; }

.course-grid,
.blog-grid,
.review-grid,
.price-grid,
.card-grid {
  display: grid;
  gap: 1.15rem;
}

.course-grid { grid-template-columns: repeat(2, 1fr); }
.blog-grid { grid-template-columns: repeat(2, 1fr); }
.review-grid { grid-template-columns: repeat(2, 1fr); }
.price-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }

.thumb {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: 1rem;
  border: 3px solid var(--ink);
  margin-bottom: 0.9rem;
}

.thumb.tall { height: 16rem; }

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

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.8rem 0;
}

.chip {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.quote {
  font-size: 1.15rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
}

.person {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--hot);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  border: 3px solid var(--ink);
  margin-bottom: 0.7rem;
}

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

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

.legal,
.prose {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 1.6rem;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  box-shadow: 6px 6px 0 var(--mint);
}

.prose p,
.legal p,
.legal li {
  max-width: 68ch;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

th, td {
  border: 2px solid var(--ink);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label { font-weight: 700; }

input, textarea, select {
  font: inherit;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
}

.field-error {
  color: #b10d45;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  border: 3px solid var(--ink);
  font-weight: 700;
}

.form-status.is-success { background: var(--mint); }
.form-status.is-error { background: #ffd0de; }
.form-status.is-pending { background: var(--sky); }

.site-footer {
  background: var(--ink);
  color: #f7efe3;
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-radius: 2.5rem 2.5rem 0 0;
}

.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.footer-kicker {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
  color: var(--sun);
}

.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mint);
}

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

.footer-links a,
.site-footer a {
  color: #f7efe3;
}

.footer-end {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  opacity: 0.8;
  font-size: 0.92rem;
}

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

.cookie-banner-inner {
  width: min(820px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 1.4rem;
  box-shadow: 6px 6px 0 var(--hot);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.8rem;
}

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

.page-hero {
  padding: 2.6rem 0 1rem;
}

.page-hero h1 {
  max-width: 16ch;
}

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

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

.stars {
  letter-spacing: 0.15em;
  color: #d97706;
  font-weight: 800;
}

.band {
  background: var(--violet);
  color: white;
  border: 3px solid var(--ink);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 7px 7px 0 var(--sun);
}

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

.tiny-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.tiny-grid div {
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 1.1rem;
  padding: 0.9rem;
}

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

.not-found {
  text-align: center;
  padding: 5rem 1rem;
}

.not-found h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  background: var(--hot);
  display: inline-block;
  padding: 0.2rem 1rem;
  border: 4px solid var(--ink);
  transform: rotate(-3deg);
  color: white;
}

@media (max-width: 980px) {
  .hero, .split, .bento, .price-grid, .card-grid, .steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .course-grid, .blog-grid, .review-grid, .tiny-grid, .bento-grid {
    grid-template-columns: 1fr;
  }
  .span-2, .span-3, .span-4, .span-6 { grid-column: auto; }
  .hero-aside { min-height: 22rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 1.4rem;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .header-inner { position: relative; border-radius: 1.4rem; }
  .polaroid.two { width: 58%; }
}
