:root {
  --bg: #fef6f0;
  --bg-soft: #f3ebe3;
  --surface: #ffffff;
  --ink: #3a3535;
  --muted: #6f6764;
  --line: #eadfd6;
  --sage: #7eb8a2;
  --sage-deep: #4f8f7a;
  --blush: #e8a0b0;
  --blush-soft: #f6d5dc;
  --sky: #a8c5d4;
  --sky-soft: #d9e8f0;
  --peach: #f0c9b0;
  --shadow: 0 12px 30px rgba(58, 53, 53, 0.08);
  --shadow-soft: 0 6px 18px rgba(58, 53, 53, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Quicksand", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 160, 176, 0.28), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(126, 184, 162, 0.25), transparent 38%),
    radial-gradient(circle at 70% 90%, rgba(168, 197, 212, 0.22), transparent 40%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: path(inset(50%));
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--surface);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

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

.inline-error {
  background: #fde2e2;
  color: #7a2e2e;
  padding: 0.85rem 1.2rem;
  text-align: center;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(254, 246, 240, 0.88);
  border-bottom: 1px solid rgba(234, 223, 214, 0.8);
}

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(135deg, var(--sage) 0 50%, transparent 50%),
    linear-gradient(315deg, var(--blush) 0 50%, var(--sky) 50%);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  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(--sage-deep);
}

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(4px);
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(243, 235, 227, 0.9));
  border-top: 1px solid var(--line);
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  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.8rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--sage-deep);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  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(--sage);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
  background: var(--blush);
  color: #fff;
}

.btn-secondary:hover {
  background: #d8889b;
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.section {
  padding: 4rem 0;
}

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

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--sage-deep);
  background: rgba(126, 184, 162, 0.18);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 223, 214, 0.7);
  overflow: hidden;
}

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

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

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

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

.soft-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

/* Home hero — brand-forward, single composition */
.hero-home {
  position: relative;
  min-height: calc(100vh - 4.4rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(1.02);
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(254, 246, 240, 0.25) 0%, rgba(254, 246, 240, 0.55) 42%, rgba(254, 246, 240, 0.94) 100%),
    radial-gradient(circle at 20% 30%, rgba(232, 160, 176, 0.25), transparent 45%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  animation: rise-in 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  max-width: 12ch;
}

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink);
  max-width: 28rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: -1rem;
}

.proof-item {
  background: var(--surface);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  min-width: 9.5rem;
  animation: float-soft 5s ease-in-out infinite;
}

.proof-item:nth-child(2) {
  animation-delay: 0.6s;
}

.proof-item:nth-child(3) {
  animation-delay: 1.2s;
}

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

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

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--sky-soft);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

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

.quote-card p {
  font-size: 1.05rem;
}

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

.rating {
  color: var(--blush);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(126, 184, 162, 0.25), rgba(232, 160, 176, 0.22)),
    var(--surface);
  border-radius: calc(var(--radius) + 8px);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

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

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

.page-hero .lead {
  max-width: 40rem;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 0;
}

.chip {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

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

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

.price-card.featured {
  background: linear-gradient(180deg, #fff, #f7ece6);
  border-color: var(--sage);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

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

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

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

.price-card li {
  padding: 0.4rem 0 0.4rem 1.3rem;
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.price-card li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blush);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

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

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

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

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

th {
  background: var(--bg-soft);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(126, 184, 162, 0.45);
  border-color: var(--sage);
}

.field-error {
  color: #9b3b3b;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
}

.form-status.is-success {
  background: rgba(126, 184, 162, 0.2);
  color: var(--sage-deep);
}

.form-status.is-error {
  background: #fde2e2;
  color: #7a2e2e;
}

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

.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.blog-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.2rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

.blog-list img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  margin: 1rem 0 1.5rem;
}

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

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

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

.module-list li {
  counter-increment: mods;
  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;
  box-shadow: var(--shadow-soft);
}

.module-list li::before {
  content: counter(mods);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blush-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.case-study {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff, var(--sky-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: rise-in 0.45s ease both;
}

.cookie-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  color: var(--muted);
  font-weight: 600;
}

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

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

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

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

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 920px) {
  .footer-grid,
  .grid-3,
  .price-grid,
  .contact-layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .blog-list article {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 246, 240, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.4rem;
  }

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

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

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