:root {
  --ink: #2a2622;
  --ink-soft: #5a534c;
  --paper: #f6f1e8;
  --paper-deep: #ebe3d6;
  --leaf: #4a6b5c;
  --leaf-deep: #355246;
  --leaf-soft: #d7e4dc;
  --honey: #c9923a;
  --honey-soft: #f3e2c0;
  --clay: #b56a52;
  --white: #fffdf9;
  --line: rgba(42, 38, 34, 0.12);
  --shadow: 0 18px 40px rgba(53, 82, 70, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 70rem;
  --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(201, 146, 58, 0.14), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(74, 107, 92, 0.12), transparent 28%),
    linear-gradient(180deg, var(--paper) 0%, #f3eee4 48%, var(--paper-deep) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

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

a {
  color: var(--leaf-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

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

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: 1rem;
  top: -3rem;
  background: var(--leaf);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 232, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  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.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, var(--honey) 0%, var(--honey) 38%, var(--leaf) 38%, var(--leaf) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 253, 249, 0.35);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--leaf-soft);
  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(--leaf-deep);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.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;
  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: 700;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--leaf);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--leaf-deep);
}

main {
  overflow: clip;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42, 38, 34, 0.15) 0%, rgba(42, 38, 34, 0.55) 48%, rgba(42, 38, 34, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 0.85rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 34ch;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-support {
  max-width: 42ch;
  color: rgba(255, 253, 249, 0.9);
  margin-bottom: 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

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

.btn-primary {
  background: var(--honey);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #d4a34b;
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 253, 249, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 253, 249, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 253, 249, 0.28);
  color: var(--white);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--leaf-deep);
  border: 1px solid var(--leaf);
}

.section {
  padding: 4.5rem 0;
}

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

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

.section-intro {
  max-width: 46ch;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.6rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.spotlight-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 22rem;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

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

.benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 253, 249, 0.72);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.proof-band {
  background: var(--leaf);
  color: var(--white);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.25rem;
}

.proof-item span {
  opacity: 0.9;
  font-size: 0.95rem;
}

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

.quote {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

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

.quote footer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.quote-tall {
  grid-row: span 2;
}

.course-grid,
.blog-grid,
.price-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.course-card,
.blog-card,
.price-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card img,
.blog-card img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card-body h3 {
  font-size: 1.2rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  min-height: 18rem;
  display: grid;
  align-items: end;
  color: var(--white);
  border-radius: 0 0 calc(var(--radius) + 0.5rem) calc(var(--radius) + 0.5rem);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 38, 34, 0.2), rgba(42, 38, 34, 0.78));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 2.2rem;
}

.prose {
  max-width: 48rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.prose th {
  background: var(--leaf-soft);
}

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

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

.module-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.price-card {
  padding: 1.4rem;
}

.price-card.featured {
  background: linear-gradient(180deg, var(--leaf-soft), var(--white));
  border-color: rgba(74, 107, 92, 0.35);
}

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

.price-card ul {
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.form {
  display: grid;
  gap: 1rem;
}

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

.form label {
  font-weight: 700;
}

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

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

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

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

.form-status.is-success {
  display: block;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
}

.form-status.is-error {
  display: block;
  background: #f7ddd4;
  color: #7a3a2a;
}

.contact-aside {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.site-footer {
  margin-top: 3rem;
  background: #31483e;
  color: rgba(255, 253, 249, 0.88);
  padding: 3rem 0 1.5rem;
}

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

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

.footer-heading {
  font-weight: 800;
  color: var(--honey-soft);
  margin-bottom: 0.6rem;
}

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

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

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--honey-soft);
}

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

.footer-address,
.footer-tag {
  color: rgba(255, 253, 249, 0.78);
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: none;
}

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

.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: #f7ddd4;
  color: #7a3a2a;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
}

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

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
}

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

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

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

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    left: 1rem;
    right: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
  }

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

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

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

  .spotlight,
  .quote-grid,
  .split,
  .course-grid,
  .blog-grid,
  .price-grid,
  .card-grid,
  .footer-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .quote-tall {
    grid-row: auto;
  }
}

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