:root {
  --ink: #10221f;
  --ink-soft: #3a524d;
  --muted: #6b7f79;
  --line: #d7e3df;
  --paper: #f7faf8;
  --paper-deep: #eef5f2;
  --surface: #ffffff;
  --accent: #0b3d3a;
  --accent-hover: #0f524d;
  --accent-soft: #d8ebe6;
  --focus: #1a7a6d;
  --danger: #8a2f2f;
  --success: #1f5c45;
  --shadow: 0 18px 50px rgba(16, 34, 31, 0.08);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "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(1200px 500px at 10% -10%, rgba(216, 235, 230, 0.7), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(238, 245, 242, 0.9), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #ffffff 42%, var(--paper-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

.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: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 248, 0.86);
  border-bottom: 1px solid rgba(215, 227, 223, 0.8);
}

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

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

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 2.6rem;
  height: 2.6rem;
  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: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

main {
  overflow-x: clip;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-tight {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
}

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

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

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

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

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

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

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

/* Hero — brand-led, full-bleed plane */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #f5fffb;
  isolation: isolate;
}

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

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

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 28, 26, 0.35) 0%, rgba(8, 28, 26, 0.72) 55%, rgba(8, 28, 26, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 28, 26, 0.55), transparent 55%);
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  width: 100%;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: #f7fffc;
  max-width: 12ch;
}

.hero-rule {
  width: 4.5rem;
  height: 2px;
  background: rgba(232, 242, 240, 0.75);
  margin-bottom: 1.35rem;
  transform-origin: left;
  animation: draw 1s ease 0.25s both;
}

.hero-statement {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 28rem;
  color: rgba(245, 255, 251, 0.9);
  margin: 0;
  font-weight: 400;
}

.hero-cta {
  margin-top: 2rem;
}

.page-hero {
  padding: 4.5rem 1.25rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

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

.page-hero .lead {
  margin-top: 0.5rem;
}

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

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.benefit-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.benefit-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.benefit-item p {
  margin: 0;
  max-width: 36rem;
}

.course-grid,
.blog-grid,
.pricing-grid,
.review-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

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

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

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  border-color: #b7cbc4;
  transform: translateY(-2px);
}

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

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

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

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

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

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

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

.proof-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.proof-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

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

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

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

.quote:last-child {
  border-bottom: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f1f8f5 100%);
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

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

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

.pricing-card li + li {
  margin-top: 0.4rem;
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
}

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

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

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

.faq details p {
  margin: 0.75rem 0 0;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.6rem;
  font-size: 1.2rem;
}

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

.prose li + li {
  margin-top: 0.35rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

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

th {
  background: var(--paper-deep);
  color: var(--ink);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.field {
  margin-bottom: 1.1rem;
}

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

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

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

.field-error {
  min-height: 1.2em;
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.85rem;
}

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

.form-status.is-success {
  background: #e5f4ec;
  color: var(--success);
}

.form-status.is-error {
  background: #f8e8e8;
  color: var(--danger);
}

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

.contact-panel p {
  margin-bottom: 0.85rem;
}

.modules {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.module {
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
}

.module h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.module p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

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

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

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

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

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #0c2421;
  color: rgba(232, 242, 240, 0.82);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.4fr;
  gap: 1.75rem;
}

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

.footer-tag,
.footer-contact p,
.footer-links a {
  color: rgba(232, 242, 240, 0.75);
}

.footer-heading {
  color: #f4fffc;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

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

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

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact a {
  color: rgba(232, 242, 240, 0.9);
}

.footer-copy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: rgba(232, 242, 240, 0.5);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 520px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.15rem 1.2rem 1.25rem;
}

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

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

.inline-error {
  background: #f8e8e8;
  color: var(--danger);
  padding: 0.75rem 1rem;
  margin: 0.5rem 1.25rem;
  border-radius: var(--radius);
}

.reveal {
  animation: rise 0.8s ease both;
}

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

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

@media (max-width: 960px) {
  .course-grid,
  .blog-grid,
  .pricing-grid,
  .split,
  .split-reverse,
  .contact-layout,
  .proof-row,
  .footer-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .header-inner {
    position: relative;
  }

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

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