:root {
  --bg: #fff6ee;
  --bg-deep: #ffe8d4;
  --ink: #1c2430;
  --muted: #5a6678;
  --line: rgba(28, 36, 48, 0.12);
  --coral: #ff4d3a;
  --coral-deep: #e03624;
  --teal: #00b4a6;
  --teal-deep: #008f84;
  --sun: #ffc107;
  --cream: #fffaf5;
  --shadow: 0 18px 40px rgba(28, 36, 48, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::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, 77, 58, 0.16), transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(0, 180, 166, 0.14), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(255, 193, 7, 0.12), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, #fff 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-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

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

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

p {
  margin: 0 0 1em;
}

.visually-hidden {
  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;
  z-index: 1000;
  border-radius: 8px;
}

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

.inline-error {
  margin: 0;
  padding: 0.85rem 1.2rem;
  background: #ffe1dc;
  color: #7a1f14;
  border-bottom: 2px solid var(--coral);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 238, 0.88);
  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);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  background:
    radial-gradient(circle at 70% 30%, var(--teal) 0 28%, transparent 29%),
    radial-gradient(circle at 30% 75%, var(--sun) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--coral), #ff7a45);
  box-shadow: 0 0 0 3px rgba(255, 77, 58, 0.18);
  animation: markPulse 4.5s ease-in-out infinite;
}

@keyframes markPulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.06);
  }
}

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

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

.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 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

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

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

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(28, 36, 48, 0.82) 18%, rgba(28, 36, 48, 0.35) 58%, rgba(255, 77, 58, 0.35) 100%),
    linear-gradient(0deg, rgba(28, 36, 48, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
}

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

.hero-line {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.7rem;
  max-width: 18ch;
}

.hero-copy {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

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

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

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

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

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

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: blobFloat 10s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(12px, -18px, 0) rotate(12deg);
  }
}

.section {
  position: relative;
  padding: 4.5rem 0;
}

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

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

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

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

.proof-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.proof-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--coral);
  letter-spacing: -0.03em;
}

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

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

.split-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: auto -8% -12% auto;
  width: 45%;
  height: 45%;
  background: var(--sun);
  border-radius: 40% 60% 50% 50%;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

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

.feature-list li {
  padding-left: 1.15rem;
  border-left: 4px solid var(--teal);
}

.feature-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.35rem;
}

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

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.review-grid {
  grid-template-columns: 1.2fr 1fr;
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.media-tile-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.media-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.media-tile p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.meta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.45rem;
}

.quote-panel {
  background: linear-gradient(145deg, #1c2430, #2c3a4f);
  color: #fff;
  border-radius: 28px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.quote-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  background: var(--coral);
  border-radius: 45% 55% 60% 40%;
  opacity: 0.35;
}

.quote-panel p {
  position: relative;
  font-size: 1.2rem;
  font-family: var(--font-display);
  line-height: 1.35;
}

.quote-panel cite {
  position: relative;
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

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

.testimonial {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.testimonial p {
  margin-bottom: 0.7rem;
}

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

.cta-band {
  margin: 1rem 0 4rem;
  border-radius: 32px;
  padding: 2.4rem;
  background:
    linear-gradient(120deg, rgba(255, 77, 58, 0.95), rgba(255, 122, 69, 0.9) 45%, rgba(0, 180, 166, 0.88)),
    var(--coral);
  color: #fff;
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr auto;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

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

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

.page-hero .lede {
  max-width: 42ch;
}

.page-hero-wide {
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.page-hero-wide .hero-media,
.page-hero-wide .hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-wide .wrap {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.tier {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tier.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #fff, #ffe9de);
  box-shadow: 0 0 0 3px var(--coral);
}

.tier h3 {
  margin: 0;
  font-size: 1.45rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}

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

.tier ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
}

.tier .btn {
  margin-top: 0.5rem;
}

.legal,
.prose {
  max-width: 46rem;
}

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

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

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

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: rgba(0, 180, 166, 0.1);
  font-family: var(--font-display);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.form-panel,
.info-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

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

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.field-error {
  min-height: 1.2em;
  color: var(--coral-deep);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.85rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--teal-deep);
}

.form-status.is-error {
  color: var(--coral-deep);
}

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

.module-list li {
  background: var(--cream);
  border-left: 5px solid var(--sun);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.1rem;
}

.faq details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

.brand-footer {
  color: #fff;
}

.footer-tag,
.footer-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-base {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
}

.cookie-banner-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.95rem;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.case-study {
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.stars {
  color: var(--coral);
  letter-spacing: 0.08em;
  font-weight: 700;
}

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

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

@media (max-width: 960px) {
  .proof-rail,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .split,
  .contact-layout,
  .review-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    left: 0;
    right: 0;
    background: rgba(255, 246, 238, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1.1rem;
  }

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

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

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