:root {
  --bg: #fff6f2;
  --bg-soft: #fde8e1;
  --surface: #ffffff;
  --ink: #3a2f35;
  --muted: #7a6670;
  --blush: #e8a0a8;
  --peach: #f3c4b4;
  --sage: #8fbfb0;
  --sage-deep: #5f8f82;
  --rose: #c97b84;
  --lilac: #d4b8d0;
  --shadow: 0 12px 36px rgba(58, 47, 53, 0.08);
  --shadow-soft: 0 6px 20px rgba(58, 47, 53, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::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(232, 160, 168, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(143, 191, 176, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 184, 208, 0.22), transparent 45%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

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: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

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

.inline-error {
  background: #f8d4d8;
  color: #6b2f38;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 246, 242, 0.86);
  border-bottom: 1px solid rgba(201, 123, 132, 0.15);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blush), var(--sage));
  box-shadow: 0 4px 12px rgba(201, 123, 132, 0.35);
  animation: breathe 4.5s ease-in-out infinite;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

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

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

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

.nav-cta {
  background: var(--rose);
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  background: var(--sage-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
  }

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

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  border: 2px solid transparent;
  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: linear-gradient(135deg, var(--rose), #d4929a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(201, 123, 132, 0.35);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(143, 191, 176, 0.55);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(58, 47, 53, 0.18);
  color: var(--ink);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero home — editorial, brand-first, not default H1+subtitle+2CTA */
.hero-editorial {
  padding: 2.5rem 0 1rem;
}

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

.hero-brand-block {
  position: relative;
  padding: 2.5rem 2rem 2.75rem;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(253, 232, 225, 0.85)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  background-blend-mode: soft-light, normal;
  min-height: 420px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: softRise 0.9s ease both;
}

.hero-brand-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 246, 242, 0.15), rgba(58, 47, 53, 0.35));
  pointer-events: none;
}

.hero-brand-content {
  position: relative;
  z-index: 1;
  color: var(--ink);
  max-width: 28rem;
}

.hero-brand-content .eyebrow {
  color: var(--sage-deep);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.98;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(58, 47, 53, 0.35);
}

.hero-lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.aside-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-soft);
  animation: softRise 0.9s ease both;
}

.aside-card:nth-child(2) {
  animation-delay: 0.12s;
}

.aside-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.aside-card p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  margin: 0.25rem 0.25rem 0 0;
}

.stat-pill strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--rose);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

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

.section-head p {
  color: var(--muted);
}

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

.soft-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.soft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.soft-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

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

.soft-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.icon-blob {
  width: 3rem;
  height: 3rem;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, var(--peach), var(--lilac));
  margin-bottom: 1rem;
  animation: morph 7s ease-in-out infinite;
}

.icon-blob.sage {
  background: linear-gradient(135deg, var(--sage), var(--peach));
}

.icon-blob.rose {
  background: linear-gradient(135deg, var(--blush), var(--sage));
}

.quote-band {
  background: linear-gradient(120deg, rgba(232, 160, 168, 0.25), rgba(143, 191, 176, 0.22));
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.35;
}

.quote-band cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.course-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.course-preview img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.course-preview-body {
  padding: 1.75rem;
}

.cta-strip {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(201, 123, 132, 0.18), rgba(143, 191, 176, 0.25)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.cta-strip h2 {
  margin-bottom: 0.5rem;
}

.cta-strip p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Page heroes */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 16ch;
}

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

.page-hero-media {
  margin-top: 1.75rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-height: 360px;
}

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

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

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.price-card h2 {
  font-size: 1.45rem;
}

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

.price-amount span {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

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

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

.note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.5rem;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1.25rem;
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.review-card.wide {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.review-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

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

.attribution {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.case-study {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(143, 191, 176, 0.18), rgba(232, 160, 168, 0.16));
}

/* Blog */
.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.blog-item:hover {
  transform: translateY(-3px);
  color: inherit;
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.blog-item-body {
  padding: 1.25rem 1.25rem 1.25rem 0;
}

.blog-item-body h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.blog-item-body p {
  color: var(--muted);
  margin: 0;
}

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-hero {
  border-radius: 28px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

.article-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

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

.article ul,
.article ol {
  color: var(--muted);
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.form-card,
.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1.1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid rgba(58, 47, 53, 0.15);
  background: #fffaf8;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(143, 191, 176, 0.55);
  border-color: var(--sage);
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  background: rgba(143, 191, 176, 0.25);
  color: #2f5c52;
}

.form-status.is-error {
  background: rgba(232, 160, 168, 0.35);
  color: #6b2f38;
}

.info-card h2 {
  font-size: 1.25rem;
}

.info-card p {
  color: var(--muted);
}

/* Legal */
.legal {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid rgba(58, 47, 53, 0.12);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--bg-soft);
}

/* Course detail */
.modules {
  display: grid;
  gap: 0.85rem;
}

.module {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.module h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.instructor img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-soft);
}

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

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

/* 404 */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--rose);
  margin-bottom: 0.2rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(253, 232, 225, 0.65));
  border-top: 1px solid rgba(201, 123, 132, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.75rem;
}

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

.footer-tag,
.footer-contact {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--rose);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(58, 47, 53, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  animation: softRise 0.5s ease both;
}

.cookie-banner p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45%;
  }
  50% {
    border-radius: 55% 45% 40% 60%;
  }
}

@media (max-width: 900px) {
  .hero-editorial-grid,
  .course-preview,
  .price-grid,
  .card-grid,
  .contact-layout,
  .footer-grid,
  .blog-item,
  .review-card.wide,
  .instructor {
    grid-template-columns: 1fr;
  }

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

  .blog-item-body {
    padding: 0 1.25rem 1.25rem;
  }

  .hero-brand-block {
    min-height: 340px;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
