:root {
  --ink: #152028;
  --ink-soft: #3d4a55;
  --muted: #6b7884;
  --line: #d8e0e6;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --accent: #0d5c63;
  --accent-deep: #094449;
  --accent-soft: #e4f1f2;
  --warm: #c4a574;
  --error: #9b2c2c;
  --ok: #1f6b4a;
  --shadow: 0 18px 50px rgba(21, 32, 40, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", Georgia, 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);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 92, 99, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 165, 116, 0.12), transparent 50%),
    linear-gradient(180deg, #f9fbfa 0%, var(--paper) 40%, #eef3f2 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;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  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);
}

.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(246, 248, 247, 0.86);
  border-bottom: 1px solid rgba(216, 224, 230, 0.8);
}

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

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

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

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

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

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  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: 18px;
  height: 1.5px;
  background: var(--ink);
}

main {
  min-height: 60vh;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 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(--ink);
  color: var(--ink);
}

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

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

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section {
  padding: 5rem 0;
}

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

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

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

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .split-2 {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .split-copy-media {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

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

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

.hero-home {
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-home .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  color: var(--ink);
  max-width: 12ch;
  animation: rise 0.8s ease both;
}

.hero-home .hero-line {
  width: min(100%, 28rem);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 0 0 1.5rem;
  animation: stretch 1s ease 0.2s both;
}

.hero-home .hero-lead {
  font-size: 1.2rem;
  max-width: 34rem;
  margin-bottom: 2rem;
  animation: rise 0.8s ease 0.15s both;
}

.hero-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.8s ease 0.25s both;
}

.hero-home .hero-visual {
  margin-top: 3rem;
  position: relative;
  animation: fade 1s ease 0.35s both;
}

.hero-home .hero-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-home .hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(246, 248, 247, 0.92);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 18rem;
}

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 500;
}

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

.feature-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature-item h3 {
  font-size: 1.25rem;
}

.course-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

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

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

.course-card .card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.course-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
}

.course-card p {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}

.course-meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.spotlight {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .spotlight {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

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

@media (min-width: 900px) {
  .quote-stack {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.quote {
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

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

.cta-band {
  margin: 2rem 0 5rem;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(13, 92, 99, 0.92), rgba(9, 68, 73, 0.95)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1400&q=80") center/cover;
  color: #fff;
}

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

.cta-band p {
  max-width: 34rem;
  opacity: 0.9;
}

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

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

.page-hero {
  padding: 3.5rem 0 2rem;
}

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

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

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

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

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

.prose {
  max-width: 42rem;
}

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

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

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

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

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

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

.prose th {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-grid.tiers-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
  }
}

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

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

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

.price-tier .tier-price {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--ink);
}

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

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

.price-tier li {
  margin-bottom: 0.45rem;
}

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

.review-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.review-card .stars {
  color: var(--warm);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.case-study {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--accent-soft);
  border: 1px solid #c7dde0;
}

.case-study + .case-study {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.75);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-item {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 800px) {
  .blog-item {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

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

.blog-item h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

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

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

.modules {
  display: grid;
  gap: 1rem;
}

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

.module h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

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

@media (min-width: 700px) {
  .instructor {
    grid-template-columns: 160px 1fr;
  }
}

.instructor img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-inline: auto;
}

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

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

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

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 0.9fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.form {
  display: grid;
  gap: 1.1rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(13, 92, 99, 0.25);
  border-color: var(--accent);
}

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.form-field.has-error .field-error {
  display: block;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error);
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.form-status.success {
  display: block;
  background: #e8f5ef;
  color: var(--ok);
  border: 1px solid #b7dfc8;
}

.form-status.error {
  display: block;
  background: #fbeaea;
  color: var(--error);
  border: 1px solid #ecc8c8;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: #fbeaea;
  color: var(--error);
  border: 1px solid #ecc8c8;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.5rem;
}

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

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

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

.footer-tag,
.footer-contact p {
  font-size: 0.92rem;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a,
.footer-contact a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

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

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

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

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

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

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

.cookie-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.error-page {
  text-align: center;
  padding: 6rem 0;
}

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

.timeline {
  display: grid;
  gap: 1.25rem;
  border-left: 2px solid var(--line);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.chip {
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

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

@keyframes stretch {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

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

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

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

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

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