:root {
  --bg: #f6f5f2;
  --bg-elevated: #ffffff;
  --ink: #1f221e;
  --ink-muted: #5c6359;
  --line: #e2e0da;
  --accent: #4a5d4e;
  --accent-deep: #2f3b32;
  --accent-soft: #d8e0d6;
  --warn: #8a4b3a;
  --ok: #3d6b4f;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(31, 34, 30, 0.06);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "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);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e8ebe4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #ece8e2 0%, transparent 45%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.container {
  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(246, 245, 242, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--accent-deep);
}

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

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

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

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-grid a {
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

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

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

.btn--primary {
  background: var(--accent-deep);
  color: #f7f6f2;
}

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

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

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

.btn--text {
  background: transparent;
  color: var(--accent-deep);
  padding-inline: 0;
  border: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

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

.hero-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.hero-lede {
  font-size: 1.2rem;
  max-width: 28ch;
  margin-bottom: 1.75rem;
}

.hero-figure {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: rise-in 1.1s ease both;
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(246, 245, 242, 0.92);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 22ch;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: fade-up 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

.section {
  padding: 4rem 0;
}

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

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

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-block: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 500;
}

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

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

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

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

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

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

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-3px);
}

.media-tile__img {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  background: var(--accent-soft);
}

.media-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-tile:hover .media-tile__img img {
  transform: scale(1.04);
}

.media-tile h3 {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.media-tile p {
  margin: 0;
  font-size: 0.98rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.benefit-list h3 {
  margin-bottom: 0.4rem;
}

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

.quote-block blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.tier--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.tier__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}

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

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

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

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

.page-hero p {
  max-width: 42rem;
  font-size: 1.15rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose ul,
.prose ol {
  color: var(--ink-muted);
  padding-left: 1.2rem;
}

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

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

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

.prose th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 500;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
}

.contact-panel dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
}

.contact-panel dt:first-child {
  margin-top: 0;
}

.contact-panel dd {
  margin: 0.35rem 0 0;
  color: var(--ink);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  font: inherit;
  color: var(--ink);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--warn);
  font-size: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-status--success {
  color: var(--ok);
}

.form-status--error {
  color: var(--warn);
}

.inline-error {
  color: var(--warn);
  background: #f7ebe8;
  border: 1px solid #e8cfc7;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0.75rem 0;
}

.site-wide-error {
  margin: 0;
  border-radius: 0;
  text-align: center;
}

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

.modules li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.modules .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}

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

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

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

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

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

.case-study {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.star-row {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cookie-banner__inner {
  display: grid;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cta-band {
  margin: 3rem 0;
  padding: 2.75rem;
  background: var(--accent-deep);
  color: #f4f3ef;
  border-radius: var(--radius);
}

.cta-band h2 {
  color: #f4f3ef;
}

.cta-band p {
  color: #d5d8d2;
  max-width: 36rem;
}

.cta-band .btn--primary {
  background: #f4f3ef;
  color: var(--accent-deep);
}

.cta-band .btn--ghost {
  border-color: rgba(244, 243, 239, 0.35);
  color: #f4f3ef;
}

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

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

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

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }

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

  .site-header {
    position: relative;
  }

  .site-header__inner {
    position: relative;
  }

  .hero-figure,
  .hero-figure img {
    min-height: 280px;
  }

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