:root {
  --bg: #fff6f1;
  --bg-deep: #ffe8dc;
  --surface: #ffffff;
  --ink: #2c2420;
  --muted: #6b5e56;
  --coral: #e85d4c;
  --coral-deep: #c94839;
  --coral-soft: #ffb4a8;
  --teal: #2f6f6a;
  --teal-soft: #d7ece9;
  --sand: #f3d5c0;
  --line: rgba(44, 36, 32, 0.12);
  --shadow: 0 18px 40px rgba(44, 36, 32, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --shell: min(1120px, calc(100% - 2.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(circle at 12% 8%, rgba(255, 180, 168, 0.45), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(215, 236, 233, 0.7), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, #fffaf7 48%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  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(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, var(--coral), var(--coral-deep));
  box-shadow: inset 0 -6px 0 rgba(47, 111, 106, 0.35);
}

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

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

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

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

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

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

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

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

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(232, 93, 76, 0.28);
}

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

.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(44, 36, 32, 0.15) 0%, rgba(44, 36, 32, 0.55) 55%, rgba(44, 36, 32, 0.78) 100%);
}

.hero-copy {
  color: #fff;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  max-width: 28ch;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 36ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 28px rgba(232, 93, 76, 0.35);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

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

.btn-teal:hover {
  background: #245853;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

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

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

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

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

.proof-band {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--teal);
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.95rem;
}

.course-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.feature-panel {
  background: var(--surface);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.benefit-item:nth-child(2) {
  animation-delay: 0.08s;
}

.benefit-item:nth-child(3) {
  animation-delay: 0.16s;
}

.icon-bubble {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  font-family: var(--font-display);
}

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

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

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

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

.soft-cta {
  background: linear-gradient(135deg, var(--teal), #3d8a83);
  color: #fff;
  border-radius: calc(var(--radius) + 0.5rem);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
}

.soft-cta h2,
.soft-cta p {
  color: #fff;
  margin: 0;
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 1.5rem;
}

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

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

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

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h3 {
  font-size: 1.2rem;
}

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

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

.price-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff, #fff1eb);
  border-color: var(--coral-soft);
  transform: translateY(-0.4rem);
}

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

.price-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--coral);
}

.price-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.4rem 0 1rem;
}

.price-card li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}

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

.form-panel {
  background: var(--surface);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-family: var(--font-display);
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fffaf8;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(232, 93, 76, 0.25);
  border-color: var(--coral);
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.1em;
}

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

.form-status.is-success {
  display: block;
  background: var(--teal-soft);
  color: var(--teal);
}

.form-status.is-error {
  display: block;
  background: #ffe1dc;
  color: var(--coral-deep);
}

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

.contact-card {
  background: var(--teal);
  color: #fff;
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.6rem;
}

.contact-card a {
  color: #fff;
}

.contact-card h2 {
  color: #fff;
}

.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 {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.4rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  background: var(--bg-deep);
  font-family: var(--font-display);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

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

.modules {
  display: grid;
  gap: 0.75rem;
}

.module {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--line);
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 999px;
}

.site-footer {
  margin-top: 3rem;
  background: #2c2420;
  color: rgba(255, 255, 255, 0.86);
  padding: 3rem 0 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.7rem;
}

.footer-col ul,
.footer-brand,
.footer-contact {
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(44, 36, 32, 0.22);
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem;
  display: none;
  animation: rise 0.45s ease both;
}

.cookie-banner.is-visible {
  display: block;
}

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

.inline-error {
  background: #ffe1dc;
  color: var(--coral-deep);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
}

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

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

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

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 960px) {
  .course-preview,
  .contact-layout,
  .price-grid,
  .grid-3,
  .grid-2,
  .soft-cta,
  .footer-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1.25rem;
    left: 1.25rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.85rem;
    display: none;
  }

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

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

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