:root {
  --bg: #faf6f2;
  --bg-soft: #fff8f4;
  --surface: #ffffff;
  --ink: #3a3532;
  --ink-muted: #6e6560;
  --blush: #e8a090;
  --blush-deep: #d48472;
  --peach: #f3d5c8;
  --mint: #a8c5b8;
  --mint-soft: #d9ebe3;
  --lilac: #c9b8d4;
  --sand: #f0e4d8;
  --gold: #e8c48a;
  --shadow: 0 10px 28px rgba(90, 70, 60, 0.08);
  --shadow-sm: 0 4px 14px rgba(90, 70, 60, 0.06);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --font-display: "Quicksand", sans-serif;
  --font-body: "Nunito", 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%, #fce8e0 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e5f2eb 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

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

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

.inline-error {
  background: #fde8e4;
  color: #8a3b2e;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 160, 144, 0.2);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--blush), var(--mint));
  box-shadow: var(--shadow-sm);
}

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

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  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(--blush), var(--blush-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 132, 114, 0.28);
}

.btn--primary:hover {
  color: #fff;
}

.btn--soft {
  background: var(--mint-soft);
  color: #2f5a4a;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(58, 53, 50, 0.15);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(90, 70, 60, 0.12);
}

.card__media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--blush-deep);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

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

.section__head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a8f7f;
  background: var(--mint-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.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.5rem;
}

.soft-panel {
  background: var(--bg-soft);
  border-radius: calc(var(--radius) + 0.4rem);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Home: split story hero (not H1+subtitle+2CTA default) */
.story-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  padding: 2.5rem 0 1rem;
}

.story-hero__visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.6rem);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  animation: riseIn 0.8s ease both;
}

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

.story-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(58, 53, 50, 0.35));
}

.story-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 1rem 0.5rem;
  animation: riseIn 0.8s ease 0.12s both;
}

.story-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.story-hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.story-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.float-chip {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  max-width: 14rem;
  animation: floaty 4.5s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
}

.float-chip span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Proof strip after hero — different section order */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
}

.proof-strip article {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.proof-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--blush-deep);
}

.proof-strip span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Benefit mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.mosaic .card:first-child {
  grid-row: span 2;
  background: linear-gradient(160deg, #fff 0%, var(--peach) 140%);
}

.mosaic .card {
  padding: 1.5rem;
}

.mosaic h3 {
  font-size: 1.15rem;
}

.icon-blob {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.icon-blob--a { background: var(--peach); }
.icon-blob--b { background: var(--mint-soft); }
.icon-blob--c { background: #ece3f3; }
.icon-blob--d { background: #f7e9c8; }

/* Testimonials */
.quote-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-card p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote-card footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.stars {
  color: #c9953a;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* 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);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  background: linear-gradient(180deg, #fff 0%, #fdeee8 100%);
  outline: 2px solid rgba(232, 160, 144, 0.45);
  transform: scale(1.02);
}

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

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

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

/* Forms */
.form-field {
  margin-bottom: 1.1rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid rgba(58, 53, 50, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blush);
  box-shadow: 0 0 0 4px rgba(232, 160, 144, 0.2);
}

.field-error {
  display: block;
  color: #a13d2f;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 700;
}

.form-status--ok {
  color: #2f6b54;
}

.form-status--err {
  color: #a13d2f;
}

/* FAQ */
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1.2rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-item__a {
  display: none;
  padding: 0 1.2rem 1.1rem;
  color: var(--ink-muted);
}

.faq-item.is-open .faq-item__a {
  display: block;
}

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

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

.page-hero--media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero--media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, transparent, #f3e8e1 30%);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(232, 160, 144, 0.18);
}

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

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

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

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

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
}

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

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

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  animation: riseIn 0.45s ease both;
}

.cookie-banner__inner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(58, 53, 50, 0.18);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(232, 160, 144, 0.25);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
}

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

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(58, 53, 50, 0.08);
}

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

/* Legal */
.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content ul {
  color: var(--ink-muted);
}

/* Course modules */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.module-list strong {
  font-family: var(--font-display);
}

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

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

/* Blog article */
.article-body {
  max-width: 720px;
}

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

.prose-lead {
  font-size: 1.15rem;
  color: var(--ink);
}

.tag {
  display: inline-block;
  background: var(--mint-soft);
  color: #2f5a4a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.instructor {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  padding: 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

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

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .story-hero,
  .page-hero--media,
  .grid-3,
  .grid-2,
  .price-grid,
  .footer-grid,
  .proof-strip,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic .card:first-child {
    grid-row: auto;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(232, 160, 144, 0.2);
  }

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }

  .story-hero__visual {
    min-height: 280px;
  }
}
