:root {
  --ink: #10231f;
  --ink-soft: #3a524c;
  --paper: #fff8f1;
  --paper-2: #ffe8d6;
  --mint: #d8f3e8;
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --coral: #fb7185;
  --orange: #f97316;
  --sun: #fde68a;
  --sky: #38bdf8;
  --line: rgba(16, 35, 31, 0.12);
  --shadow: 0 18px 40px rgba(15, 118, 110, 0.14);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --max: 1120px;
}

*,
*::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% -10%, rgba(251, 113, 133, 0.28), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(56, 189, 248, 0.22), transparent 36%),
    radial-gradient(circle at 70% 90%, rgba(253, 230, 138, 0.35), transparent 40%),
    linear-gradient(180deg, var(--paper) 0%, #fffdf9 48%, 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(--orange);
}

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,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

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

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

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

.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: #ffe4e6;
  color: #9f1239;
  border: 1px solid #fecdd3;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.75rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 241, 0.86);
  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;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 70% 30%, var(--coral), transparent 42%),
    conic-gradient(from 210deg, var(--teal), var(--sky), var(--orange), var(--teal));
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  animation: spin-slow 14s linear infinite;
}

.brand-text {
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--mint);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  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;
  content: "";
}

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

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

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

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

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

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}

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

.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.8rem 1.25rem;
  border-radius: 999px;
  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(--orange), var(--coral));
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

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

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

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

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.page-hero,
.section {
  padding: 4.5rem 0;
  position: relative;
}

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

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.1);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.home-hero {
  padding: 3.5rem 0 2rem;
  overflow: hidden;
}

.home-hero-stage {
  position: relative;
  min-height: min(78vh, 720px);
  border-radius: 2rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 35, 31, 0.55), rgba(15, 118, 110, 0.35)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  align-items: end;
}

.home-hero-stage::before,
.home-hero-stage::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(2px);
  animation: floaty 7s ease-in-out infinite;
}

.home-hero-stage::before {
  width: 18rem;
  height: 18rem;
  background: rgba(251, 113, 133, 0.45);
  top: -4rem;
  right: -3rem;
}

.home-hero-stage::after {
  width: 12rem;
  height: 12rem;
  background: rgba(253, 230, 138, 0.4);
  bottom: 18%;
  left: -2rem;
  animation-delay: -2.5s;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}

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

.home-hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 28rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
}

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

.proof-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.proof-item:nth-child(2) {
  transform: rotate(1.2deg);
}

.proof-item:nth-child(3) {
  transform: rotate(-0.6deg);
}

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

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

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

.feature-tile {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.feature-tile::after {
  content: "";
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 40%;
  right: -1rem;
  bottom: -1rem;
  background: rgba(56, 189, 248, 0.18);
}

.feature-tile h3 {
  font-size: 1.25rem;
}

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

.media-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(16, 35, 31, 0.06);
  transition: transform 0.25s ease;
}

.media-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

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

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

.media-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.media-card h3 a {
  text-decoration: none;
  color: inherit;
}

.chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--mint);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

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

.split img {
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

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

.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  position: relative;
}

.quote::before {
  content: "";
  position: absolute;
  inset: auto auto -0.5rem 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--sun);
  border-radius: 40% 60% 55% 45%;
  z-index: -1;
}

.quote-meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0.75rem 0 0;
}

.cta-band {
  margin: 2rem 0 4rem;
  border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(249, 115, 22, 0.88)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 18ch;
}

.cta-band p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.page-hero-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.page-hero-panel::after {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -2rem;
  top: -2rem;
  background: rgba(251, 113, 133, 0.22);
  border-radius: 42% 58% 60% 40%;
  animation: floaty 8s ease-in-out infinite;
}

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

.tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.tier-featured {
  background: linear-gradient(180deg, #fff 0%, #e7f8f2 100%);
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

.tier ul {
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

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

.article-body {
  max-width: 44rem;
}

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

.article-cover {
  border-radius: 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

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

.module {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px dashed rgba(15, 118, 110, 0.35);
}

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

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 1.2rem;
}

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

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

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

.form-panel,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.field {
  margin-bottom: 1rem;
}

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

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(56, 189, 248, 0.35);
  border-color: var(--sky);
}

.field-error {
  color: #be123c;
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.3rem;
}

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

.form-status--success {
  background: #dcfce7;
  color: #166534;
}

.form-status--error {
  background: #ffe4e6;
  color: #9f1239;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

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(15, 118, 110, 0.08);
  font-family: var(--font-display);
}

.legal-body {
  max-width: 48rem;
}

.legal-body h2 {
  margin-top: 2rem;
}

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

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

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}

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

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

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

.footer-address {
  font-size: 0.92rem;
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 920px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-copy {
  flex: 1 1 18rem;
}

.cookie-banner-copy p {
  margin: 0 0 0.35rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.55rem;
}

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

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.9;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.case-study {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
  margin-bottom: 1.25rem;
}

.rating {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.05em;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .proof-ribbon,
  .feature-grid,
  .card-grid,
  .tier-grid,
  .blog-grid,
  .module-grid,
  .split,
  .contact-layout,
  .footer-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

  .tier-featured {
    transform: none;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 248, 241, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

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

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

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