:root {
  --ink: #15221f;
  --ink-soft: #3d4f49;
  --muted: #6a7a73;
  --line: #d7e0dc;
  --paper: #f7f9f8;
  --paper-2: #eef3f0;
  --white: #ffffff;
  --teal: #0b4f45;
  --teal-deep: #083a33;
  --teal-soft: #d8ebe5;
  --gold: #b8924a;
  --gold-soft: #f3ead7;
  --danger: #8b2e2e;
  --ok: #1f6b4f;
  --shadow: 0 18px 50px rgba(11, 79, 69, 0.08);
  --radius: 2px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*,
*::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%, rgba(184, 146, 74, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(11, 79, 69, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 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: 1px;
  text-underline-offset: 0.18em;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 248, 0.88);
  border-bottom: 1px solid rgba(215, 224, 220, 0.9);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  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);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 60%, var(--gold) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--teal);
  color: var(--teal) !important;
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

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

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(238, 243, 240, 0.95));
  padding: 3.5rem 0 1.5rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact p {
  font-size: 0.92rem;
}

.footer-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--white);
}

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

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-gold {
  background: var(--gold-soft);
  color: var(--ink);
  border-color: #e2d2b0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 650;
  margin-bottom: 0.85rem;
}

.section {
  padding: 4.5rem 0;
}

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

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  max-width: 18ch;
}

.section-lead {
  max-width: 52ch;
  font-size: 1.05rem;
}

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

.hero-home {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 28, 25, 0.82) 0%, rgba(7, 28, 25, 0.55) 42%, rgba(7, 28, 25, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 28, 25, 0.45), transparent 40%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
  color: var(--white);
  max-width: 36rem;
  justify-self: start;
  animation: rise 0.9s ease both;
}

.hero-home-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 0.35em;
}

.hero-home-content .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}

.hero-home-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  max-width: 34ch;
}

.hero-home-content .btn-primary {
  margin-top: 1.5rem;
}

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

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

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

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

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

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

.feature-copy {
  padding: 1rem 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.benefit-item::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
  transform-origin: left;
  animation: draw 1s ease both;
}

.quote-stack {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.quote {
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 2px solid var(--teal);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
}

.quote p {
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

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

.cta-band {
  margin: 2rem 0 0;
  padding: 3rem;
  background:
    linear-gradient(135deg, rgba(11, 79, 69, 0.95), rgba(8, 58, 51, 0.92)),
    url("https://images.unsplash.com/photo-1548337138-e87d889cc369?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  max-width: 16ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
}

.page-hero {
  padding: 4rem 0 2.5rem;
}

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

.page-hero p {
  max-width: 50ch;
  font-size: 1.08rem;
}

.media-bleed {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2.5rem;
}

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

.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: 1fr 1fr;
}

.tile {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

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

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

.tile-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.tile-body h2,
.tile-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.tile-meta {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}

.tier {
  padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.tier.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, #ffffff, var(--teal-soft));
  transform: translateY(-8px);
}

.tier h2 {
  font-size: 1.55rem;
}

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

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

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

.tier li {
  margin-bottom: 0.45rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.module-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list strong {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

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

.faq p {
  margin-top: 0.75rem;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(11, 79, 69, 0.25);
  border-color: var(--teal);
}

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

.form-status {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #e5f4ec;
  color: var(--ok);
  border: 1px solid #b7deca;
}

.form-status.is-error {
  display: block;
  background: #f8e8e8;
  color: var(--danger);
  border: 1px solid #e3bcbc;
}

.contact-aside {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.legal {
  max-width: 72ch;
}

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

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

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

.legal th {
  background: rgba(255, 255, 255, 0.8);
}

.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.case-study h3 {
  font-size: 1.5rem;
}

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.avatar-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.article-body {
  max-width: 68ch;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 520px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: rise 0.45s ease both;
}

.cookie-banner p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

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

.inline-error {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #f8e8e8;
  color: var(--danger);
  border: 1px solid #e3bcbc;
}

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

@keyframes draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .footer-grid,
  .split,
  .feature-course,
  .benefit-list,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .tier.featured {
    transform: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 249, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .header-inner {
    position: relative;
  }
}

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