:root {
  --cream: #FBF6F1;
  --blush: #F4C9B8;
  --coral: #E89A8A;
  --sage: #7BA89A;
  --sage-deep: #5A8A7A;
  --lilac: #C9B8E8;
  --ink: #3D322C;
  --muted: #7A6B63;
  --card: #FFFFFF;
  --shadow: 0 12px 32px rgba(61, 50, 44, 0.08);
  --shadow-sm: 0 4px 16px rgba(61, 50, 44, 0.06);
  --radius: 1.5rem;
  --radius-sm: 0.9rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "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(ellipse 80% 50% at 10% -10%, #F8D9CE 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #E8DDF5 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, #D5E8E0 0%, transparent 45%),
    var(--cream);
  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(--coral); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

p { margin: 0 0 1rem; color: var(--muted); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 154, 138, 0.25);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span { color: var(--coral); }

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid rgba(61, 50, 44, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--coral), #F0B4A0);
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover { filter: brightness(1.05); color: #fff !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #F0B4A0);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid rgba(61, 50, 44, 0.1);
  box-shadow: var(--shadow-sm);
}

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

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.card-media {
  border-radius: calc(var(--radius) - 0.4rem);
  overflow: hidden;
  margin: -0.35rem -0.35rem 1rem;
  aspect-ratio: 16 / 10;
}

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

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

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.6rem;
}

.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18ch; }

.section-lead { max-width: 52ch; font-size: 1.05rem; }

/* Hero home — editorial brand-forward */
.hero-home {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.hero-brand em {
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}

.hero-copy {
  font-size: 1.15rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-visual {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  animation: float-in 0.9s ease both;
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(61, 50, 44, 0.35));
}

.hero-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Soft animations */
@keyframes float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

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

.reveal { animation: rise 0.7s ease both; }
.reveal-delay { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }

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

.proof-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
}

.proof-item span { font-size: 0.88rem; color: var(--muted); }

/* Feature course band */
.feature-band {
  background: linear-gradient(135deg, rgba(201, 184, 232, 0.35), rgba(244, 201, 184, 0.4));
  border-radius: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.feature-band img {
  border-radius: 1.4rem;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.benefit-card:hover { transform: translateY(-4px); }

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--blush), var(--lilac));
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.testimonial-grid .card:nth-child(2) { background: linear-gradient(160deg, #FFF8F4, #F3EEEA); }
.testimonial-grid .card:nth-child(3) { grid-column: 1 / -1; }

.quote { font-size: 1.05rem; color: var(--ink); margin-bottom: 1rem; }
.attr { font-size: 0.9rem; font-weight: 700; color: var(--muted); }

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 1.5rem;
}

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

.page-hero p { max-width: 48ch; font-size: 1.08rem; }

.page-hero-media {
  margin-top: 1.75rem;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 9;
}

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

/* Course / blog grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

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

.meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
}

.card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.card h3 a:hover { color: var(--coral); }

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

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

.price-card.featured {
  background: linear-gradient(165deg, #FFF5F0, #F0E8FA);
  transform: scale(1.02);
  border: 2px solid rgba(232, 154, 138, 0.45);
}

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

.price small {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 600;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.price-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(61, 50, 44, 0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Forms */
.form-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.form-card { padding: 1.75rem; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 0.85rem;
  border: 1.5px solid rgba(61, 50, 44, 0.12);
  background: #FFFCFA;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(123, 168, 154, 0.25);
}

.field-error {
  color: #C45C4A;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #C45C4A; }

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

.form-status.success {
  display: block;
  background: rgba(123, 168, 154, 0.2);
  color: var(--sage-deep);
}

.form-status.error {
  display: block;
  background: rgba(196, 92, 74, 0.15);
  color: #A3483A;
}

.contact-aside .card { margin-bottom: 1rem; }
.contact-aside h3 { font-size: 1.1rem; }
.contact-aside p { margin-bottom: 0.4rem; }

/* Legal */
.legal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 760px;
}

.legal-content h2 { margin-top: 1.75rem; font-size: 1.35rem; }
.legal-content h3 { margin-top: 1.25rem; font-size: 1.1rem; }
.legal-content ul { color: var(--muted); }

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

.cookie-table th,
.cookie-table td {
  border: 1px solid rgba(61, 50, 44, 0.1);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: rgba(244, 201, 184, 0.35);
  color: var(--ink);
}

/* Modules / FAQ */
.module-list { list-style: none; padding: 0; margin: 1.5rem 0; }

.module-list li {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-sm);
}

.module-list strong { color: var(--ink); }

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-sm);
}

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

.faq details p { margin: 0.75rem 0 0; }

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

.instructor img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(123, 168, 154, 0.25), rgba(232, 154, 138, 0.28));
  box-shadow: var(--shadow);
}

.cta-band h2 { max-width: 18ch; margin-inline: auto; }

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(244, 201, 184, 0.28));
  border-top: 1px solid rgba(232, 154, 138, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

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

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(61, 50, 44, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 40px rgba(61, 50, 44, 0.18);
  border: 1px solid rgba(232, 154, 138, 0.35);
  display: none;
  animation: rise 0.4s ease both;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

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

.cookie-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

.inline-error {
  background: rgba(196, 92, 74, 0.12);
  color: #A3483A;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
  font-weight: 650;
}

/* 404 */
.not-found {
  text-align: center;
  padding: 5rem 0;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--coral);
}

/* Article */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.article-body h2 { margin-top: 1.75rem; }

.article-cover {
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16 / 8;
  box-shadow: var(--shadow);
}

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

/* Trace map custom page accents */
.trace-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.trace-step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
}

.trace-step .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-home,
  .feature-band,
  .form-wrap,
  .testimonial-grid,
  .instructor,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid .card:nth-child(3) { grid-column: auto; }

  .benefit-grid,
  .grid-3,
  .pricing-grid,
  .proof-strip,
  .trace-steps {
    grid-template-columns: 1fr;
  }

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

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

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(251, 246, 241, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(232, 154, 138, 0.25);
    box-shadow: var(--shadow);
  }

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

  .site-nav a { padding: 0.55rem 0; }

  .header-inner { position: relative; }

  .page-hero-media { aspect-ratio: 16 / 10; }
}
