/* Module Bundle Digital — warm pastel theme */
:root {
  --cream: #fdf6f0;
  --blush: #f8e8e1;
  --peach: #f5d5ce;
  --coral: #e8a598;
  --coral-deep: #d48476;
  --mint: #c8e6d4;
  --mint-deep: #7fb89a;
  --lilac: #e4d8f0;
  --ink: #3d3530;
  --ink-soft: #6b5f57;
  --paper: #ffffff;
  --shadow: 0 12px 32px rgba(61, 53, 48, 0.08);
  --shadow-soft: 0 6px 18px rgba(61, 53, 48, 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%, #f5d5ce66, transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, #c8e6d466, transparent),
    var(--cream);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--coral-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: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 246, 240, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 165, 152, 0.25);
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--peach) 0%, var(--mint) 55%, var(--lilac) 100%);
  box-shadow: var(--shadow-soft);
}

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

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

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

.nav-cta {
  background: var(--coral);
  color: var(--ink) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

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

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

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--coral), #f0b8ad);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--peach);
}

.btn-mint {
  background: var(--mint);
  color: var(--ink);
}

/* Cards */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.section {
  padding: 4.5rem 0;
}

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

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

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

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

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

.soft-panel {
  background: linear-gradient(160deg, var(--blush), var(--paper));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.mint-panel {
  background: linear-gradient(160deg, #e8f6ef, var(--paper));
  border-radius: var(--radius);
  padding: 2rem;
}

/* Home hero — statement composition */
.hero-home {
  padding: 3.5rem 0 2rem;
}

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

.hero-kicker {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--mint-deep);
  margin-bottom: 0.8rem;
}

.hero-home h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 12ch;
  margin-bottom: 0.5rem;
}

.hero-home .brand-echo {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--coral-deep);
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 38ch;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

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

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-float {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  background: var(--paper);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  max-width: 220px;
  animation: floaty 4.5s ease-in-out infinite;
}

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

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

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

.reveal {
  animation: rise-in 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

/* Quote-first band */
.quote-band {
  background: var(--peach);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  margin: 1rem 0 0;
}

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

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

/* Feature tiles */
.feature-tile {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.icon-peach { background: var(--peach); }
.icon-mint { background: var(--mint); }
.icon-lilac { background: var(--lilac); }

/* Course cards */
.course-card img,
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-meta,
.blog-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.course-card h3,
.blog-card h3 {
  font-size: 1.25rem;
}

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

/* Stats */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

/* Pricing */
.price-card {
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff7f3, #fff);
  border: 2px solid var(--coral);
  transform: translateY(-8px);
}

.price-card h3 {
  font-size: 1.5rem;
}

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

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

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

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--blush);
  color: var(--ink-soft);
}

/* Forms */
.form-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--peach);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fffaf7;
  color: var(--ink);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--mint-deep);
  border-color: transparent;
}

.field-error {
  color: #b44a3c;
  font-size: 0.88rem;
  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: #b44a3c;
}

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

.form-status.success {
  display: block;
  background: var(--mint);
  color: var(--ink);
}

.form-status.error {
  display: block;
  background: #f7d4ce;
  color: #7a2f26;
}

.inline-error {
  background: #f7d4ce;
  color: #7a2f26;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
}

/* Reviews */
.review-card {
  padding: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.review-card.tall {
  grid-row: span 2;
}

.stars {
  color: var(--coral-deep);
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

.review-attr {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
}

.case-study {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--lilac), var(--blush));
  margin-top: 1.5rem;
}

/* Blog article */
.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.prose {
  max-width: 68ch;
}

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

.prose ul, .prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Legal */
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

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

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

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

.cookie-table th {
  background: var(--blush);
  font-family: var(--font-display);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: linear-gradient(180deg, transparent, var(--blush));
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(232, 165, 152, 0.3);
}

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

.footer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-weight: 800;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

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

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

.footer-contact {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(61, 53, 48, 0.08);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(61, 53, 48, 0.16);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--peach);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise-in 0.35s ease;
}

.cookie-banner p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

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

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 16ch;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  text-decoration: none;
}

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

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

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

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

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

.module-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}

.module-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-weight: 800;
}

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

.not-found h1 {
  font-size: 4rem;
  color: var(--coral);
}

.contact-aside {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline-step {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--coral-deep);
}

@media (max-width: 900px) {
  .hero-stage,
  .grid-2,
  .grid-3,
  .footer-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--peach);
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    text-align: center;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-visual img {
    height: 280px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
