:root {
  --bg-top: #fff4ef;
  --bg-mid: #f7ece8;
  --bg-bottom: #eef5f1;
  --surface: #fffaf8;
  --surface-soft: #fceee8;
  --ink: #3d3532;
  --ink-soft: #6b5f59;
  --line: rgba(61, 53, 50, 0.1);
  --accent: #c97b6f;
  --accent-deep: #a85f55;
  --mint: #8fb5a5;
  --mint-soft: #d8ebe3;
  --blush: #f0c9c0;
  --lavender: #e5d4e0;
  --shadow: 0 12px 32px rgba(92, 64, 55, 0.08);
  --shadow-soft: 0 6px 18px rgba(92, 64, 55, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Nunito", "Apple SD Gothic Neo", sans-serif;
  --font-body: "Mulish", "Apple SD Gothic Neo", sans-serif;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #f8dcd4 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, #d9ebe3 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 42%, var(--bg-bottom));
  line-height: 1.65;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 248, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--blush), var(--mint));
  box-shadow: var(--shadow-soft);
}

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

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

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

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf8 !important;
  box-shadow: var(--shadow-soft);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
  cursor: pointer;
  padding: 10px;
}

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

main {
  min-height: 55vh;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 244, 239, 0.2) 0%, rgba(61, 53, 50, 0.45) 70%, rgba(61, 53, 50, 0.72) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 3.5rem;
  color: #fffaf8;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.35em;
  line-height: 1.05;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-copy h1 {
  color: #fffaf8;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 650;
  margin-bottom: 0.5em;
}

.hero-copy p {
  color: rgba(255, 250, 248, 0.9);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  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, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fffaf8;
  box-shadow: var(--shadow);
}

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

.btn-ghost {
  background: rgba(255, 250, 248, 0.92);
  color: var(--ink);
}

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

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.8s ease both;
}

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

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

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

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.quote-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 0.8fr;
}

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

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.45;
}

.quote cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: linear-gradient(160deg, var(--surface), var(--mint-soft));
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

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

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--blush), var(--lavender));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
}

.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 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(165deg, #fff7f4, var(--blush));
  transform: translateY(-8px);
}

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

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

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

.form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 560px;
}

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

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

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

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

.form-field .error {
  display: none;
  color: #b04444;
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.form-field.invalid .error {
  display: block;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: #d98888;
  background: #fff6f6;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--mint-soft);
  color: #2f5d4c;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #8a3030;
}

.contact-block {
  background: linear-gradient(150deg, var(--surface), var(--mint-soft));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.legal {
  max-width: 720px;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface-soft);
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.module-list li {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

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

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

.instructor {
  display: grid;
  grid-template-columns: 120px 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: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-list {
  display: grid;
  gap: 1.25rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  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;
}

.article {
  max-width: 720px;
}

.article img.cover {
  width: 100%;
  height: min(380px, 50vw);
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: rgba(255, 250, 248, 0.75);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.footer-tag {
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

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

.footer-contact p {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-copy {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
  display: none;
}

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

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

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2rem, var(--max));
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fde8e8;
  color: #8a3030;
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(201, 123, 111, 0.18), rgba(143, 181, 165, 0.28)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.4em;
}

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

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

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

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

@media (max-width: 960px) {
  .card-grid,
  .price-grid,
  .stats,
  .footer-inner,
  .quote-grid,
  .benefit-list,
  .split {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 250, 248, 0.98);
    padding: 1rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

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

  .site-nav a {
    padding: 0.65rem 0.4rem;
  }

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

  .hero {
    min-height: 70vh;
  }
}
