:root {
  --bg: #f3f4f6;
  --bg-deep: #e8eaef;
  --surface: #ffffff;
  --text: #1a1d24;
  --muted: #5a6170;
  --line: #d5d9e2;
  --accent: #1a4d5c;
  --accent-hover: #143d49;
  --accent-soft: #d9e8ec;
  --warn: #8a4b2a;
  --error: #8b2e2e;
  --success: #1f5c45;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(26, 29, 36, 0.08);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Figtree", "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);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dce7eb 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e7e9f0 0%, transparent 50%),
    var(--bg);
  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);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 560;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(243, 244, 246, 0.88);
  border-bottom: 1px solid rgba(213, 217, 226, 0.85);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 5px;
  background:
    linear-gradient(145deg, #2a6d80 0%, var(--accent) 55%, #0f3340 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}

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

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

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

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

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

.btn-ms {
  background: #0f1115;
  color: #fff;
  border-color: #0f1115;
  font-size: 0.92rem;
  white-space: nowrap;
}

.btn-ms:hover {
  background: #22262e;
  color: #fff;
}

.btn-ms::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background:
    linear-gradient(90deg, #f25022 50%, #7fba00 50%),
    linear-gradient(90deg, #00a4ef 50%, #ffb900 50%);
  background-size: 100% 50%;
  background-position: top, bottom;
  background-repeat: no-repeat;
}

.btn-ms-footer {
  margin-top: 0.75rem;
}

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

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

.hero-brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  max-width: 9ch;
  animation: rise 700ms ease both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.85rem;
  animation: rise 700ms 80ms ease both;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34ch;
  animation: rise 700ms 140ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: rise 700ms 200ms ease both;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 0;
  animation: fade-in 900ms 120ms ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(0.92) contrast(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(26, 29, 36, 0.35));
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(232, 234, 239, 0.65), transparent);
}

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

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p {
  color: var(--muted);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 0.5rem;
}

.stat {
  border-top: 2px solid var(--accent);
  padding-top: 0.9rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0;
}

.feature-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.feature-list p {
  color: var(--muted);
  margin: 0;
}

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

.course-grid,
.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;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.media-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.media-tile p {
  color: var(--muted);
  margin: 0;
}

.media-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 200ms ease, transform 200ms ease;
}

.tier:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tier-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.tier ul {
  color: var(--muted);
  flex: 1;
}

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

.quote {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.quote p {
  margin-bottom: 0.85rem;
}

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

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

.case-study {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

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

.prose {
  max-width: 42rem;
}

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

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

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

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

.prose th {
  background: var(--bg-deep);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.08rem;
}

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

.form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

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

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

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

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

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

.address-block {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
}

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

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

.faq details p {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

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

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

.module-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
}

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

.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.25rem;
  background:
    linear-gradient(135deg, rgba(26, 77, 92, 0.92), rgba(20, 61, 73, 0.95)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #f5f7f8;
}

.cta-band h2 {
  color: #fff;
  max-width: 18ch;
}

.cta-band p {
  color: rgba(245, 247, 248, 0.88);
  max-width: 42ch;
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta-band .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: #16191f;
  color: #d5d8df;
}

.site-footer a {
  color: #d5d8df;
  text-decoration: none;
}

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

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

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

.footer-tagline {
  color: #a7adb8;
  max-width: 32ch;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-address {
  font-size: 0.92rem;
  color: #a7adb8;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #949aa6;
}

.disclaimer-line a {
  text-decoration: underline;
}

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

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

.cookie-banner p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

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

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

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

@media (max-width: 960px) {
  .hero-asymmetric,
  .case-study,
  .split,
  .footer-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .feature-list,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(243, 244, 246, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

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

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