:root {
  --bg: #fbf4ef;
  --bg-alt: #f3ebe3;
  --surface: #fffaf7;
  --surface-soft: #f7e8e1;
  --ink: #3a342f;
  --ink-soft: #6a5f57;
  --coral: #e29a8c;
  --coral-deep: #c97868;
  --sage: #8fb3a2;
  --sage-deep: #5f8574;
  --blush: #f0c9c0;
  --mist: #d9e6df;
  --gold: #e6c9a0;
  --shadow: 0 12px 32px rgba(90, 62, 52, 0.08);
  --shadow-soft: 0 6px 18px rgba(90, 62, 52, 0.06);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::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%, #f7d9d1 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #dceee5 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #f8efe8 45%, var(--bg-alt) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--coral-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.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: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  background: #f6d2cb;
  color: #6b2f28;
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(251, 244, 239, 0.86);
  border-bottom: 1px solid rgba(226, 154, 140, 0.22);
}

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, var(--coral) 0%, var(--sage) 100%);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--coral-deep);
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 600;
  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) 0%, var(--coral-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

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

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

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(95, 133, 116, 0.45);
  color: var(--sage-deep);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 154, 140, 0.18);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(90, 62, 52, 0.1);
}

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

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

.card-meta {
  font-size: 0.82rem;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.card p {
  margin-bottom: 0.75rem;
}

.card-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--coral-deep);
}

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

.section-alt {
  background: rgba(255, 250, 247, 0.55);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

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

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

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

.soft-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(143, 179, 162, 0.25);
}

/* Home hero — split narrative, not H1+subtitle+2 CTA default shape */
.home-hero {
  padding: 3.5rem 0 2rem;
}

.home-hero-frame {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  min-height: min(78vh, 640px);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 0 1rem;
  animation: rise-in 0.8s ease both;
}

.home-hero-copy .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  color: var(--ink);
}

.home-hero-copy .lede {
  font-size: 1.15rem;
  max-width: 28rem;
  margin-bottom: 0;
}

.home-hero-copy .quiet-line {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 26rem;
}

.home-hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: float-in 1s ease 0.15s both;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.home-hero-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 250, 247, 0.92);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.trust-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0 0.5rem;
  justify-content: space-between;
}

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

.trust-item span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

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

.benefit-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 1rem;
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  font-weight: 700;
}

.quote-stack {
  display: grid;
  gap: 1.25rem;
}

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

.quote-card blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

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

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(226, 154, 140, 0.28), rgba(143, 179, 162, 0.32)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
}

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

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

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

.hero-illustration {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.75rem;
}

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

/* Pricing */
.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);
  border: 1px solid rgba(226, 154, 140, 0.2);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff6f1 0%, #ffffff 60%);
  border-color: var(--coral);
  transform: scale(1.02);
}

.price-card h3 {
  margin: 0 0 0.35rem;
}

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

.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-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

/* Forms */
.form-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid rgba(106, 95, 87, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

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

.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
  border-color: var(--coral-deep);
}

.field-error {
  display: block;
  min-height: 1.2em;
  color: var(--coral-deep);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

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

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  background: var(--mist);
  color: var(--sage-deep);
}

.form-status.is-error {
  background: #f6d2cb;
  color: #6b2f28;
}

.contact-aside {
  background: linear-gradient(160deg, var(--surface-soft), var(--mist));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.contact-aside h2 {
  margin-top: 0;
}

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

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

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

/* Blog */
.article-prose {
  max-width: 42rem;
}

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

.article-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

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

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

/* Legal */
.legal-content {
  max-width: 46rem;
}

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

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

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(106, 95, 87, 0.12);
  vertical-align: top;
}

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

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

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0;
  color: var(--coral);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #3f3732;
  color: #f4ebe4;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #f0c9c0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
  color: #fff;
}

.footer-tag,
.footer-address,
.footer-contact {
  color: rgba(244, 235, 228, 0.82);
  font-size: 0.92rem;
}

.footer-heading {
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: #fff;
}

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

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(244, 235, 228, 0.7);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 640px;
  margin-inline: auto;
  animation: rise-in 0.45s ease both;
}

.cookie-banner-inner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(58, 52, 47, 0.18);
  border: 1px solid rgba(226, 154, 140, 0.35);
  padding: 1.25rem 1.35rem;
}

.cookie-banner-inner p {
  margin: 0 0 1rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Modules / lists */
.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.15rem 3.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  font-family: var(--font-display);
  color: var(--coral);
  font-weight: 600;
}

.outcome-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.outcome-list li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
}

.case-study {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.rating {
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

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

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 960px) {
  .home-hero-frame,
  .grid-3,
  .price-grid,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(251, 244, 239, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(226, 154, 140, 0.22);
    box-shadow: var(--shadow);
  }

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

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

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

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