:root {
  --bg: #f5f6f7;
  --bg-soft: #eceef0;
  --surface: #ffffff;
  --ink: #1b1d1f;
  --ink-muted: #5a5f66;
  --accent: #3d5a4c;
  --accent-deep: #2c4238;
  --accent-soft: #d7e3dc;
  --line: #d6dade;
  --shadow: 0 18px 40px rgba(27, 29, 31, 0.06);
  --radius: 4px;
  --radius-lg: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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: 520;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

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

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

p:last-child {
  margin-bottom: 0;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

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

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

.wrap-narrow {
  width: min(100% - 2.5rem, 760px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 247, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 246, 247, 0.96);
}

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

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

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

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.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-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .site-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    width: auto;
    margin-top: 0.75rem;
    border: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

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

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

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 22, 0.25) 0%, rgba(20, 24, 22, 0.72) 58%, rgba(20, 24, 22, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 24, 22, 0.55) 0%, rgba(20, 24, 22, 0.15) 70%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(247, 248, 248, 0.88);
  margin-bottom: 0;
}

.hero .btn-primary {
  background: #f5f6f7;
  color: var(--ink);
}

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

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-muted {
  background: var(--bg-soft);
}

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

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
}

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

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

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

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

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

/* Feature list — not cards */
.feature-list {
  display: grid;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

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

.feature-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
}

/* Course / blog grids */
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .item-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .item-grid {
    grid-template-columns: 1fr;
  }
}

.item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.item-link:hover .item-title {
  color: var(--accent);
}

.item-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-soft);
}

.item-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.item-meta {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.item-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
  transition: color 0.2s ease;
}

.item-excerpt {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Quotes */
.quote-stack {
  display: grid;
  gap: 1.75rem;
}

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

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

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 480;
}

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

.quote-rating {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.price-tier.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, #f2f6f4 100%);
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0;
  color: var(--ink);
}

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

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

.price-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-tier li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.price-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
}

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

.form-field label {
  font-size: 0.92rem;
  color: var(--ink);
}

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

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

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

.field-error {
  color: #8a2f2f;
  font-size: 0.85rem;
  min-height: 1.1em;
}

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

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

.form-status.is-error {
  display: block;
  background: #f6e4e4;
  color: #8a2f2f;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

@media (max-width: 860px) {
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.address-block,
.phone-block {
  font-style: normal;
  color: var(--ink);
}

/* Page heroes (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}

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

.page-hero p {
  max-width: 40rem;
  font-size: 1.1rem;
}

/* Legal */
.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content h3 {
  margin-top: 1.75rem;
}

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

.legal-content li {
  margin-bottom: 0.45rem;
}

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

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

.cookie-table th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 560;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 520;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding-bottom: 1rem;
}

/* Modules */
.module-list {
  counter-reset: module;
  display: grid;
  gap: 0;
}

.module-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

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

.module-item::before {
  counter-increment: module;
  content: counter(module, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
}

/* Instructor */
.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

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

@media (max-width: 560px) {
  .instructor {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 420px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: riseIn 0.45s var(--ease);
}

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

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

.cookie-actions .btn {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: #f6e4e4;
  color: #8a2f2f;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #1b1d1f;
  color: rgba(245, 246, 247, 0.78);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

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

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-heading {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-col a {
  color: rgba(245, 246, 247, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact p {
  color: rgba(245, 246, 247, 0.72);
  margin: 0;
  font-size: 0.95rem;
}

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(245, 246, 247, 0.5);
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Case study */
.case-study {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.case-study h3 {
  margin-bottom: 0.75rem;
}

/* Utility */
.muted {
  color: var(--ink-muted);
}

.text-ink {
  color: var(--ink);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.prose > * + * {
  margin-top: 1rem;
}

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

.article-meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 2rem;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 1rem;
}

.cta-band h2,
.cta-band p {
  color: #fff;
  max-width: 34rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
  justify-self: start;
}

.cta-band .btn-primary:hover {
  background: var(--bg);
}
