:root {
  --bg: #fff4ec;
  --bg-deep: #ffe3d1;
  --surface: #fffaf6;
  --ink: #3a2a26;
  --muted: #6f5650;
  --coral: #e85d4c;
  --coral-deep: #c94738;
  --peach: #ffb38a;
  --amber: #f0a45a;
  --mint: #7eb89a;
  --line: rgba(58, 42, 38, 0.12);
  --shadow: 0 18px 40px rgba(200, 110, 80, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Outfit", "Nunito", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 179, 138, 0.45), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(126, 184, 154, 0.28), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #fff8f2 48%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  background: #ffe1dc;
  color: #7a2b22;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 244, 236, 0.88);
  border-bottom: 1px solid var(--line);
}

.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;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0 28%, transparent 29%),
    linear-gradient(145deg, var(--coral), var(--amber));
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.18);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0.22rem;
  height: 0.55rem;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
}

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

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

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

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(232, 93, 76, 0.28);
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 800;
  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 12px 24px rgba(232, 93, 76, 0.28);
}

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

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(58, 42, 38, 0.15) 0%, rgba(58, 42, 38, 0.55) 55%, rgba(58, 42, 38, 0.78) 100%);
}

.hero-copy {
  color: #fffaf6;
  padding: 5.5rem 0 3.5rem;
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  opacity: 0.92;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 0.55rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 32rem;
  opacity: 0.95;
}

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

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

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

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.soft-grid {
  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));
}

.benefit {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 246, 0.86);
  border: 1px solid var(--line);
  animation: fade-up 0.7s ease both;
}

.benefit:nth-child(2) {
  animation-delay: 0.08s;
}

.benefit:nth-child(3) {
  animation-delay: 0.16s;
}

.icon-blob {
  width: 3rem;
  height: 3rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffe0cc, #ffd0b8);
  color: var(--coral-deep);
  font-weight: 900;
  margin-bottom: 0.9rem;
}

.course-card,
.post-card,
.price-card,
.review-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.post-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(200, 110, 80, 0.18);
}

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

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffe8dc;
  color: var(--coral-deep);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.stat {
  text-align: center;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 246, 0.9);
  border: 1px dashed rgba(232, 93, 76, 0.35);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--coral-deep);
}

.quote {
  font-size: 1.08rem;
  margin: 0;
}

.quote-author {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.price-card {
  padding: 1.6rem;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff7f1, #ffe8da);
  border-color: rgba(232, 93, 76, 0.35);
}

.price {
  font-family: var(--display);
  font-size: 2.4rem;
  margin: 0.4rem 0 0.8rem;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--mint);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

input,
textarea,
select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(232, 93, 76, 0.35);
  border-color: var(--coral);
}

.field-error {
  color: #a5362a;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.1em;
}

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

.form-status.is-success {
  color: #256b4a;
}

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

.legal {
  max-width: 48rem;
}

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

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  background: #ffe9dc;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #3a2a26;
  color: #f8ebe4;
}

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}

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

.footer-heading {
  font-weight: 800;
  margin-bottom: 0.7rem;
}

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

.footer-links li,
.footer-legal li {
  margin-bottom: 0.45rem;
}

.footer-meta {
  color: #e8d0c5;
  margin-bottom: 0.45rem;
}

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

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.1rem 1.2rem;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

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

.module-list li {
  counter-increment: module;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 3.2rem;
  margin-bottom: 0.7rem;
  position: relative;
}

.module-list li::before {
  content: counter(module);
  position: absolute;
  left: 0.9rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.rating {
  color: var(--amber);
  letter-spacing: 0.08em;
  font-weight: 800;
}

.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);
}

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .grid-3,
  .grid-2,
  .split,
  .footer-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.4rem;
    background: #fffaf6;
    border: 1px solid var(--line);
    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;
  }
}

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