:root {
  --ink: #142428;
  --ink-soft: #3a4d52;
  --paper: #fff8f1;
  --paper-2: #ffe8d6;
  --mint: #d8f6ef;
  --teal: #1f9e8f;
  --teal-deep: #0f6e66;
  --coral: #ff5a36;
  --coral-deep: #d63d1d;
  --sun: #ffc857;
  --violet-pop: #6c5ce7;
  --line: rgba(20, 36, 40, 0.12);
  --shadow: 0 18px 40px rgba(20, 36, 40, 0.08);
  --radius: 1.25rem;
  --radius-sm: 0.7rem;
  --font-display: "Syne", "Trebuchet MS", sans-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(circle at 12% 8%, rgba(255, 200, 87, 0.35), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(31, 158, 143, 0.22), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(255, 90, 54, 0.14), transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, #fff 45%, var(--mint) 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: 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.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.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: var(--radius-sm);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 241, 0.86);
  border-bottom: 2px 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: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(135deg, var(--coral), var(--sun) 55%, var(--teal));
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-6deg);
}

.nav-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: var(--sun);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  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; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

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

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

.btn-sun {
  background: var(--sun);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 4px 4px 0 var(--ink);
}

.header-cta {
  white-space: nowrap;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

main {
  overflow-x: clip;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 11ch;
}

.hero-brand span {
  display: inline-block;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kicker {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  background: var(--mint);
  border: 2px solid var(--ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 36ch;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 2rem 0.6rem 2rem 0.6rem;
  box-shadow: 12px 12px 0 var(--teal);
  transform: rotate(2deg);
}

.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45%;
  z-index: -1;
  animation: drift 8s ease-in-out infinite alternate;
}

.blob-a {
  width: 180px;
  height: 180px;
  background: var(--sun);
  top: -20px;
  left: -30px;
}

.blob-b {
  width: 140px;
  height: 140px;
  background: var(--coral);
  opacity: 0.75;
  bottom: 10px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(12px, -16px) rotate(8deg); }
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  margin-right: 0.4rem;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 16ch;
}

.section-head p {
  max-width: 38ch;
  color: var(--ink-soft);
  margin: 0;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 6px 6px 0 rgba(20, 36, 40, 0.08);
}

.proof-band {
  padding: 1.5rem 0 0.5rem;
}

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

.proof-item {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  transform: rotate(-0.5deg);
}

.proof-item:nth-child(2) {
  background: var(--mint);
  transform: rotate(0.8deg);
}

.proof-item:nth-child(3) {
  background: var(--paper-2);
  transform: rotate(-1deg);
}

.proof-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.course-grid,
.card-grid,
.blog-grid,
.tier-grid {
  display: grid;
  gap: 1.25rem;
}

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

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.media-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

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

.media-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.media-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

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

.media-card p {
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sun);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  width: fit-content;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.benefit-stack {
  display: grid;
  gap: 0.9rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.benefit-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  border: 2px solid var(--ink);
}

.benefit-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 1.5rem 2.5rem 1rem 2rem;
  box-shadow: -10px 10px 0 var(--sun);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.quote {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.quote.featured {
  background: var(--ink);
  color: #fff;
}

.quote.featured a {
  color: var(--sun);
}

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

.quote footer {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: inherit;
  opacity: 0.85;
}

.cta-band {
  margin: 2rem 0 4rem;
  background:
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 50%, #0b4f4a 100%);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 2rem;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--sun);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 200, 87, 0.25);
  right: -40px;
  top: -60px;
}

.cta-band h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-band p {
  max-width: 42ch;
  opacity: 0.92;
}

.page-hero {
  padding: 3.2rem 0 1.5rem;
}

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

.page-hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.page-hero.full-bleed {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  color: #fff;
  margin-bottom: 2rem;
}

.page-hero.full-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 36, 40, 0.15), rgba(20, 36, 40, 0.78)),
    var(--hero-image) center/cover no-repeat;
  z-index: -1;
  border-bottom: 3px solid var(--ink);
}

.page-hero.full-bleed .wrap {
  padding-bottom: 2.5rem;
}

.page-hero.full-bleed .lead {
  color: rgba(255, 255, 255, 0.88);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.prose {
  max-width: 68ch;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

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

.prose th {
  background: var(--mint);
  font-family: var(--font-display);
}

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

.module {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: #fff;
}

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

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50% 40% 50% 45%;
  border: 3px solid var(--ink);
}

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

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

.tier {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tier.featured {
  background: var(--ink);
  color: #fff;
  transform: translateY(-8px);
}

.tier.featured .btn {
  background: var(--sun);
  color: var(--ink);
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

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

.tier ul {
  padding-left: 1.1rem;
  flex: 1;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

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

.form label {
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--mint);
  border-color: var(--teal);
}

.form-status.error {
  background: #ffe3db;
  border-color: var(--coral);
}

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

.address-block {
  white-space: pre-wrap;
  word-break: break-word;
}

.site-footer {
  margin-top: 3rem;
  background: var(--ink);
  color: #e8f0f1;
  padding: 3rem 0 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.7rem;
  color: var(--sun);
}

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

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

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

.footer-address,
.footer-tag {
  color: #b9ccc9;
  font-size: 0.92rem;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 8px 8px 0 var(--coral);
  display: none;
}

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

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

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2rem, var(--max));
  background: #ffe3db;
  border: 2px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.case-study {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

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

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

.not-found h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  margin: 0;
}

@media (max-width: 960px) {
  .hero-layout,
  .benefit-list,
  .quote-grid,
  .split,
  .contact-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .proof-row,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 248, 241, 0.98);
    border-bottom: 2px solid var(--line);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 0.65rem;
  }

  .header-cta {
    width: 100%;
  }

  .hero-visual img,
  .benefit-visual img {
    height: 260px;
  }
}
