:root {
  --cream: #fff7f2;
  --blush: #fde8e0;
  --peach: #f6c9b8;
  --rose: #e8a598;
  --coral: #d97868;
  --lavender: #d4c4eb;
  --lilac: #b9a3d9;
  --mint: #c8e6d9;
  --sage: #8fbfa8;
  --ink: #4a3f3f;
  --ink-soft: #6e5f5f;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(120, 80, 70, 0.1);
  --shadow-soft: 0 6px 18px rgba(120, 80, 70, 0.08);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 70rem;
  --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%, #f8d9e8 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, #dce8ff 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, #fff9f5 40%, #f3ebe8 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

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

p {
  margin: 0 0 1rem;
  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;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 242, 0.85);
  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.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 30% 40%, var(--rose), transparent 55%),
    radial-gradient(circle at 70% 30%, var(--lilac), transparent 50%),
    radial-gradient(circle at 60% 75%, var(--mint), transparent 50%),
    var(--peach);
  box-shadow: var(--shadow-soft);
}

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

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--peach);
  border-radius: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  cursor: pointer;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

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

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

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

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

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

.nav-cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: none;
  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(--rose) 0%, var(--coral) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 120, 104, 0.28);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border: 1.5px solid var(--peach);
}

.btn-ghost:hover {
  color: var(--ink);
  background: #fff;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(246, 201, 184, 0.45);
  overflow: hidden;
}

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

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

/* Hero variants */
.hero-story {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-story .brand-kicker {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, var(--ink) 20%, var(--coral) 55%, var(--lilac) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-story .lede {
  font-size: 1.15rem;
  max-width: 36rem;
}

.hero-visual {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 247, 242, 0.15), transparent 40%);
  pointer-events: none;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}

.pill {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--peach);
  color: var(--ink-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 0.5rem;
}

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

.proof-item {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(201, 182, 228, 0.35);
}

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

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

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

.benefit {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 230, 217, 0.55);
  transition: transform 0.25s ease;
}

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

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--mint), var(--lavender));
}

.quote-card {
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(246, 201, 184, 0.5);
}

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

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

.stars {
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2.25rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(232, 165, 152, 0.35), rgba(185, 163, 217, 0.35)),
    var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-band p {
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

/* Course / blog lists */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.tag {
  background: var(--blush);
  color: var(--ink);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

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

.price-card {
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(246, 201, 184, 0.5);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff 0%, #fff0eb 100%);
  border-color: var(--rose);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

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

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

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

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

/* Forms */
.form-panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(246, 201, 184, 0.45);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

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

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--lilac);
  outline-offset: 1px;
  border-color: var(--lilac);
}

.field-error {
  color: #b54a3c;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  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: #b54a3c;
}

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

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

.form-status.error {
  display: block;
  background: #fde0dc;
  color: #8a3a30;
}

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

.info-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  border: 1px solid rgba(185, 163, 217, 0.4);
}

/* Legal */
.legal-content {
  max-width: 48rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(246, 201, 184, 0.4);
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--peach);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--blush);
}

/* Article */
.article-hero img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1.25rem 0 1.75rem;
}

.prose {
  max-width: 42rem;
}

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

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

.modules li {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(246, 201, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.modules strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(200, 230, 217, 0.55);
}

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

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.avatar-row img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--peach);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(246, 201, 184, 0.28));
  border-top: 1px solid rgba(232, 165, 152, 0.3);
}

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

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

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

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

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

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

.footer-address {
  white-space: pre-line;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 165, 152, 0.25);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 36rem;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--peach);
  padding: 1.25rem 1.35rem;
  display: none;
}

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

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

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

.page-hero {
  padding: 2.75rem 0 1rem;
}

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

.case-study {
  padding: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(185, 163, 217, 0.4);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}

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

.atlas-node {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(246, 201, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.atlas-node:nth-child(1) { background: linear-gradient(160deg, #fff, #ffe8e0); }
.atlas-node:nth-child(2) { background: linear-gradient(160deg, #fff, #efe8ff); }
.atlas-node:nth-child(3) { background: linear-gradient(160deg, #fff, #e5f6ee); }
.atlas-node:nth-child(4) { background: linear-gradient(160deg, #fff, #fff0d9); }

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

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

.floaty {
  animation: floaty 5s ease-in-out infinite;
}

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

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

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 247, 242, 0.97);
    border-bottom: 1px solid rgba(232, 165, 152, 0.3);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

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

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

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

  .hero-visual img {
    aspect-ratio: 16 / 10;
  }
}
