:root {
  --bg: #fff3ec;
  --bg-soft: #ffe8dc;
  --surface: #fffaf7;
  --card: #ffffff;
  --ink: #3a3330;
  --muted: #6f6560;
  --line: #f0d8cc;
  --coral: #e89584;
  --coral-deep: #c96f5e;
  --mint: #9ec9b8;
  --mint-deep: #5f9a86;
  --blush: #f7d6cc;
  --sky: #c9dbe8;
  --lavender: #e4d4e8;
  --shadow: 0 10px 28px rgba(90, 55, 40, 0.08);
  --shadow-soft: 0 4px 16px rgba(90, 55, 40, 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%, #ffd9c8 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%, #d8eee4 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, #eadcf0 0%, transparent 45%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

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

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.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: 2rem;
  height: 2rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--blush), var(--coral)),
    var(--mint);
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px 8px 9px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-top: none;
  border-right: none;
  transform: rotate(-20deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.2rem;
}

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

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

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

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-cta {
    text-align: center;
  }
}

/* Footer */
.site-footer {
  margin-top: 4.5rem;
  background: linear-gradient(180deg, transparent, rgba(247, 214, 204, 0.45));
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.5rem;
}

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

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

.footer-tagline,
.footer-address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

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

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

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

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

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: none;
  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(--coral), #e27b68);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-mint {
  background: var(--mint);
  color: #21483c;
}

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

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 216, 204, 0.7);
  overflow: hidden;
}

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

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--blush);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.pill-mint { background: #d7efe6; }
.pill-coral { background: var(--blush); }
.pill-sky { background: var(--sky); }

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

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

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

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

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--mint-deep);
  margin-bottom: 0.75rem;
}

/* Home hero — asymmetric composition */
.home-hero {
  padding: 3rem 0 1rem;
}

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

.hero-brand-block {
  background: linear-gradient(160deg, #fff 0%, #ffe9df 100%);
  border-radius: 32px;
  padding: 2.4rem 2.2rem 2.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 216, 204, 0.8);
  position: relative;
  overflow: hidden;
  animation: rise-in 0.8s ease both;
}

.hero-brand-block::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(158, 201, 184, 0.35);
  top: -60px;
  right: -40px;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--ink);
  position: relative;
}

.hero-kicker {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 28rem;
  position: relative;
}

.hero-note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  position: relative;
}

.hero-visual {
  position: relative;
  animation: rise-in 0.9s 0.12s ease both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 36px 36px 80px 36px;
  box-shadow: var(--shadow);
}

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

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

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

@media (max-width: 860px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-visual img { aspect-ratio: 16 / 11; border-radius: 28px; }
  .hero-float { left: 1rem; }
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.trust-item {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
  border: 1px solid var(--line);
}

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

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

@media (max-width: 700px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
}

/* Feature mosaic */
.feature-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.1rem;
}

.feature-mosaic .card:first-child {
  grid-row: span 2;
  background: linear-gradient(165deg, #fff, #dff0e8);
}

.feature-mosaic h3 {
  font-size: 1.25rem;
}

@media (max-width: 800px) {
  .feature-mosaic { grid-template-columns: 1fr; }
  .feature-mosaic .card:first-child { grid-row: auto; }
}

/* Course grid */
.course-grid,
.blog-grid,
.pricing-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

.course-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 900px) {
  .course-grid,
  .blog-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .course-grid,
  .blog-grid,
  .pricing-grid,
  .review-grid { grid-template-columns: 1fr; }
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

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

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

.pricing-card.featured {
  background: linear-gradient(180deg, #fff, #ffe8dc);
  transform: translateY(-6px);
  border-color: var(--coral);
}

.list-check {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.list-check li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--mint);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

/* Testimonials */
.quote-card {
  padding: 1.5rem;
}

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

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

.stars {
  color: #d4847a;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

/* Forms */
.form-card {
  padding: 1.75rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(232, 149, 132, 0.45);
  border-color: var(--coral);
}

.field-error {
  color: #b24a3c;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: #dff0e8;
  color: #21483c;
}

.form-status.is-error {
  display: block;
  background: #fde4df;
  color: #8a3a2f;
}

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

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.info-panel {
  padding: 1.6rem;
  background: linear-gradient(165deg, #fff, #e8f4ef);
}

/* Page hero compact */
.page-hero {
  padding: 2.75rem 0 1rem;
}

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

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

.prose {
  max-width: 46rem;
}

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

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.15rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.prose th {
  background: var(--bg-soft);
  color: var(--ink);
}

.module-list {
  display: grid;
  gap: 0.85rem;
}

.module-item {
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.module-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-soft);
}

.instructor {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
}

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}

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

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

.case-study {
  padding: 1.75rem;
  background: linear-gradient(160deg, #fff, #efe6f3);
}

.banner-error,
.inline-error {
  background: #fde4df;
  color: #8a3a2f;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem 1.3rem;
  display: none;
}

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

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

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

.cta-band {
  margin: 2rem 0 0;
  padding: 2.2rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(232, 149, 132, 0.2), rgba(158, 201, 184, 0.35)),
    #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 { margin-bottom: 0.5rem; }

.illu-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.blob {
  width: 3rem;
  height: 3rem;
  border-radius: 40% 60% 55% 45%;
  animation: floaty 5s ease-in-out infinite;
}

.blob:nth-child(2) { animation-delay: 0.4s; background: var(--mint); }
.blob:nth-child(3) { animation-delay: 0.8s; background: var(--sky); }
.blob:nth-child(1) { background: var(--blush); }

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

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

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

.muted { color: var(--muted); }

.stack-sm > * + * { margin-top: 0.75rem; }

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin-bottom: 0.2rem;
}
