:root {
  --ink: #1e2430;
  --ink-soft: #3f4756;
  --muted: #6a7280;
  --line: #e4e7ec;
  --paper: #fbfbfc;
  --paper-deep: #f1f3f6;
  --surface: #ffffff;
  --accent: #2c4a6e;
  --accent-deep: #1a2a40;
  --accent-soft: #d5dde8;
  --warn: #8b4d3b;
  --ok: #2f5d4a;
  --radius: 0;
  --max: 1100px;
  --header-h: 4.5rem;
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --shadow-soft: 0 20px 48px rgba(30, 36, 48, 0.07);
  --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.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 28%, var(--paper-deep) 100%);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.6rem; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(251, 251, 252, 0.9);
  border-bottom: 1px solid var(--line);
}

.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: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-deep);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

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

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

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

.nav-cta {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep) !important;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--accent-deep);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--accent-deep);
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroRise 1.5s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 42, 64, 0.88) 0%, rgba(26, 42, 64, 0.55) 48%, rgba(26, 42, 64, 0.35) 100%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-content p {
  color: rgba(251, 251, 252, 0.88);
  font-size: 1.12rem;
  max-width: 28rem;
}

.hero-content .btn {
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.btn-outline {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

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

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

.btn-light:hover {
  background: var(--paper-deep);
  color: var(--accent-deep);
  border-color: var(--paper-deep);
}

.section {
  padding: 5rem 0;
}

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

.section-muted {
  background: var(--paper-deep);
}

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

.quote-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

.quote-block {
  padding: 0;
  border: none;
  background: transparent;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1rem;
}

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

.course-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

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

.benefit-list {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.benefit-list article h3 {
  margin-top: 0;
}

.benefit-list article p:last-child {
  margin-bottom: 0;
}

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

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

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

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--accent-deep);
  font-weight: 500;
  line-height: 1.1;
}

.stat-row span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.card-list article {
  background: transparent;
  border: none;
  padding: 0;
}

.card-list img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.card-list h3 {
  font-size: 1.25rem;
}

.card-list h3 a {
  color: var(--accent-deep);
  text-decoration: none;
}

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

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-hero p.lead {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--ink-soft);
}

.prose {
  max-width: 42rem;
}

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

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

.prose li {
  margin-bottom: 0.45rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.price-tier {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.price-tier.featured {
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-soft);
}

.price-tier .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-deep);
  margin: 0.75rem 0 0.25rem;
}

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

.price-tier ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}

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

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

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

.review-item:first-child {
  border-top: 1px solid var(--line);
}

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

.case-study {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--paper-deep);
}

.case-study + .case-study {
  margin-top: 1.5rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.module-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

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

.module-list .num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
}

.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: 500;
  color: var(--accent-deep);
}

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

.instructor {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 2rem 0;
}

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

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

.form-grid label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 0.35rem;
}

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

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

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

.field-error {
  display: block;
  min-height: 1.2em;
  color: var(--warn);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
}

.form-status.is-success { color: var(--ok); }
.form-status.is-error { color: var(--warn); }

.contact-aside {
  padding: 1.5rem 0;
}

.contact-aside h2 {
  font-size: 1.4rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

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

th {
  color: var(--accent-deep);
  font-weight: 550;
  background: var(--paper-deep);
}

.site-footer {
  margin-top: 3rem;
  background: var(--accent-deep);
  color: rgba(251, 251, 252, 0.82);
  padding: 3.5rem 0 0;
}

.site-footer a {
  color: rgba(251, 251, 252, 0.88);
  text-decoration: none;
}

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

.site-footer .logo {
  color: #fff;
}

.site-footer p {
  color: rgba(251, 251, 252, 0.72);
}

.site-footer h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2rem;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  max-width: 520px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.35rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

.inline-error {
  background: #f8e9e4;
  color: var(--warn);
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  border-bottom: 1px solid #e8cfc6;
}

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

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

.cta-band {
  padding: 4rem 0;
  background: var(--accent-deep);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(251, 251, 252, 0.8);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

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

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes heroRise {
  from { transform: scale(1.06); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 960px) {
  .quote-grid,
  .benefit-list,
  .card-list,
  .pricing-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .course-row,
  .split,
  .split-wide,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .site-nav a {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    margin: 0.75rem 1.25rem 1rem;
    text-align: center;
  }

  .quote-grid,
  .benefit-list,
  .card-list,
  .pricing-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 3.5rem 0 4rem;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
