:root {
  --ink: #14222b;
  --ink-soft: #3d4a52;
  --muted: #6a757c;
  --line: #d8ddd9;
  --paper: #f7f5f1;
  --paper-2: #efebe3;
  --white: #ffffff;
  --accent: #1b3a4b;
  --accent-2: #2f6f6a;
  --accent-soft: #e4eeec;
  --danger: #8b3a3a;
  --ok: #2a6b4f;
  --shadow: 0 18px 50px rgba(20, 34, 43, 0.08);
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "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(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(47, 111, 106, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(27, 58, 75, 0.07), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #f3f1ec 48%, var(--paper) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent-2);
  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: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

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

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

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

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

.sr-only {
  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: -3rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 245, 241, 0.86);
  border-bottom: 1px solid rgba(216, 221, 217, 0.8);
}

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

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

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

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

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

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

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

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

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  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.4rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-primary:hover {
  background: #23495d;
  color: var(--white);
}

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

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

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

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 34, 43, 0.28) 0%, rgba(20, 34, 43, 0.72) 62%, rgba(20, 34, 43, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  max-width: 40rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 0 0 0.35rem;
  color: var(--white);
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

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

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

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

.media-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.7s ease;
}

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

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

.benefit-list li {
  padding-left: 1.4rem;
  border-left: 2px solid var(--accent-2);
}

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

.course-grid,
.price-grid,
.post-grid,
.review-grid {
  display: grid;
  gap: 1.4rem;
}

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

.price-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.course-item,
.post-item,
.price-tier,
.review-card,
.module,
.faq-item,
.case-study {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 221, 217, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
}

.course-item a,
.post-item a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.course-item img,
.post-item img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-body,
.post-body,
.price-body,
.review-body,
.module,
.faq-item,
.case-study {
  padding: 1.25rem 1.3rem 1.4rem;
}

.course-meta,
.post-meta,
.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-tier {
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-tier.featured {
  background: linear-gradient(180deg, #1b3a4b 0%, #23495d 100%);
  color: var(--white);
  border-color: transparent;
}

.price-tier.featured p,
.price-tier.featured li,
.price-tier.featured .muted {
  color: rgba(255, 255, 255, 0.82);
}

.price-tier.featured h3 {
  color: var(--white);
}

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

.price-tier.featured .price-amount {
  color: var(--white);
}

.price-tier ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  flex: 1;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.page-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(20, 34, 43, 0.2) 0%, rgba(20, 34, 43, 0.78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
  color: var(--white);
  max-width: 42rem;
  animation: rise 0.8s ease both;
}

.page-hero-content h1,
.page-hero-content p {
  color: var(--white);
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.82);
}

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

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

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1rem;
}

.quote-attr {
  color: var(--muted);
  font-size: 0.95rem;
}

.band {
  background:
    linear-gradient(135deg, rgba(228, 238, 236, 0.9), rgba(255, 255, 255, 0.65));
  border-block: 1px solid var(--line);
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

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

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

label {
  font-weight: 560;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 111, 106, 0.35);
  border-color: var(--accent-2);
}

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

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  display: none;
}

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

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

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.contact-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2rem;
}

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

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

.legal th {
  background: var(--accent-soft);
}

.module + .module,
.faq-item + .faq-item {
  margin-top: 0.9rem;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, #122029 0%, #0e1a21 100%);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  margin: 0 0 0.6rem;
}

.footer-tag,
.footer-contact p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-heading {
  color: var(--white);
  font-weight: 600;
  margin: 0 0 0.8rem;
}

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

.footer-col a,
.footer-legal a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-col a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(20, 34, 43, 0.96);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  animation: rise 0.45s ease both;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 48rem;
}

.cookie-inner a {
  color: #b7ddd8;
}

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

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

.inline-error {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #f8eaea;
  color: var(--danger);
}

.prose {
  max-width: 44rem;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
}

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

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 980px) {
  .course-grid,
  .post-grid,
  .price-grid,
  .review-grid,
  .footer-grid,
  .split,
  .contact-panel,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 245, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(216, 221, 217, 0.7);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .course-grid,
  .post-grid,
  .price-grid,
  .review-grid,
  .footer-grid,
  .split,
  .contact-panel,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions,
  .cta-panel {
    flex-direction: column;
    align-items: stretch;
  }

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