:root {
  --ink: #14201f;
  --ink-soft: #3d4f4c;
  --muted: #6b7c78;
  --paper: #f7f8f6;
  --paper-deep: #eef2f0;
  --line: rgba(20, 32, 31, 0.12);
  --teal: #163a3a;
  --teal-mid: #1f5252;
  --amber: #e8a54b;
  --amber-soft: #f3d4a4;
  --white: #ffffff;
  --danger: #9b2c2c;
  --ok: #1f6b4a;
  --shadow: 0 18px 40px rgba(20, 32, 31, 0.08);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Outfit", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::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%, rgba(232, 165, 75, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(22, 58, 58, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  min-height: 100vh;
}

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

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

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

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

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  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: -4rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-family: var(--font-ui);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 248, 246, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--teal-mid);
}

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

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

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

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--teal-mid);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--space) 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
    animation: fade-down 0.28s ease;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes soft-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--space) 4rem;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: soft-in 1.1s ease;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 32, 31, 0.35) 0%, rgba(20, 32, 31, 0.72) 70%, rgba(20, 32, 31, 0.88) 100%),
    linear-gradient(90deg, rgba(22, 58, 58, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem var(--space) 3.5rem;
  animation: rise 0.8s ease 0.15s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  color: var(--white);
}

.hero-line {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(247, 248, 246, 0.92);
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  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(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-soft);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

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

.btn-ghost {
  background: rgba(247, 248, 246, 0.12);
  color: var(--white);
  border-color: rgba(247, 248, 246, 0.35);
}

.btn-ghost:hover {
  background: rgba(247, 248, 246, 0.22);
  color: var(--white);
}

.section {
  padding: 4rem 0 0;
}

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

.section-kicker {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

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

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal);
  letter-spacing: -0.03em;
}

.proof-item span {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .proof-strip {
    grid-template-columns: 1fr;
  }
}

.quote-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .quote-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.quote {
  margin: 0;
  padding: 0;
  border: none;
}

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

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

.course-list {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .course-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.course-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92);
}

.course-item h3 {
  margin-bottom: 0.25rem;
}

.course-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.course-item h3 a:hover {
  color: var(--teal-mid);
}

.meta {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
}

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

@media (min-width: 800px) {
  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.cta-band {
  margin-top: 4rem;
  padding: 2.5rem;
  background:
    linear-gradient(135deg, rgba(22, 58, 58, 0.95), rgba(31, 82, 82, 0.9)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(247, 248, 246, 0.88);
  max-width: 34rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
  animation: rise 0.6s ease both;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lead {
  max-width: 40rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.prose {
  max-width: 42rem;
}

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

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  margin: 1.25rem 0 1.75rem;
}

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

.prose th {
  background: rgba(22, 58, 58, 0.06);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-tier {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.price-tier.featured {
  border-color: var(--teal);
  background: rgba(22, 58, 58, 0.05);
}

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

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

.note {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: 2rem;
}

.review {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.review .stars {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.case-study {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--amber);
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-family: var(--font-body);
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(22, 58, 58, 0.35);
  outline-offset: 1px;
}

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

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

.form-status.is-success {
  display: block;
  background: rgba(31, 107, 74, 0.12);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
}

.contact-aside address {
  font-style: normal;
  margin-bottom: 1rem;
}

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

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

.modules strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}

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

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

.faq details[open] summary {
  color: var(--teal);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .blog-item {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.blog-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 1.5rem 0 2rem;
}

.instructor {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .instructor {
    grid-template-columns: 120px 1fr;
  }
}

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

.site-footer {
  margin-top: 3rem;
  background: var(--teal);
  color: rgba(247, 248, 246, 0.88);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

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

.footer-tag {
  max-width: 28rem;
  color: rgba(247, 248, 246, 0.75);
}

.footer-cols {
  display: grid;
  gap: 1.75rem;
  margin: 2rem 0;
}

@media (min-width: 800px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 0.65rem;
}

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

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

.site-footer a {
  color: rgba(247, 248, 246, 0.88);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

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

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(247, 248, 246, 0.55);
  border-top: 1px solid rgba(247, 248, 246, 0.15);
  padding-top: 1.25rem;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 420px;
  margin-left: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem;
  display: none;
}

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

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

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

.error-inline {
  font-family: var(--font-ui);
  color: var(--danger);
  background: rgba(155, 44, 44, 0.08);
  padding: 0.6rem 0.8rem;
  margin: 0.5rem 0;
  border-radius: var(--radius);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem var(--space);
}

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.split-audit {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split-audit {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
