:root {
  --ink: #1c2b2a;
  --ink-soft: #3d4f4c;
  --muted: #6b7c78;
  --line: #d7e0dd;
  --paper: #f7f9f8;
  --white: #ffffff;
  --accent: #2f6f63;
  --accent-deep: #1f5249;
  --accent-soft: #e4efeb;
  --sand: #eef3f0;
  --danger: #9b3a2f;
  --ok: #1f6b4a;
  --shadow: 0 18px 50px rgba(28, 43, 42, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::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%, #e7f1ee 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #eef2ef 0%, transparent 50%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

p {
  margin: 0 0 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 248, 0.86);
  border-bottom: 1px solid rgba(215, 224, 221, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  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:
    radial-gradient(circle at 35% 35%, #8fcebe 0 28%, transparent 29%),
    linear-gradient(145deg, #1c2b2a, #2f6f63);
}

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

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

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

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

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

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

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

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

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

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

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.section {
  padding: 5rem 0;
}

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

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

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

.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 43, 42, 0.18) 0%, rgba(28, 43, 42, 0.72) 72%, rgba(28, 43, 42, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 4.5rem 0 4rem;
  animation: rise 700ms ease both;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 11ch;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

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

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

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

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

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

.benefit h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.benefit p {
  color: var(--ink-soft);
  margin: 0;
}

.course-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.course-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.course-card img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}

.course-card .body {
  padding: 1.25rem 1.3rem 1.45rem;
}

.course-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.course-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.proof-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.quote {
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 1.3rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
}

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

.cta-band {
  background:
    linear-gradient(135deg, rgba(47, 111, 99, 0.12), transparent 45%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

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

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

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, #f3f8f6, var(--white) 38%);
}

.price-card h3 {
  font-size: 1.5rem;
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  margin: 0.4rem 0 1rem;
}

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

.price-card li + li {
  margin-top: 0.45rem;
}

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

.blog-item {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-item img {
  width: 100%;
  height: 100%;
  min-height: 9rem;
  object-fit: cover;
}

.blog-item .body {
  padding: 1.2rem 1.2rem 1.2rem 0;
}

.article {
  max-width: 44rem;
  margin: 0 auto;
}

.article img.cover {
  width: 100%;
  height: clamp(14rem, 40vw, 24rem);
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.article h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
}

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

.faq p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

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

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 620;
  font-size: 0.94rem;
}

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

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(47, 111, 99, 0.28);
  border-color: var(--accent);
}

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

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  font-weight: 600;
}

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

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

.contact-aside {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.contact-aside a {
  color: #d7ebe4;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.82);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

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

th {
  background: var(--sand);
  font-weight: 700;
}

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

.legal p,
.legal li {
  color: var(--ink-soft);
}

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

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

.module strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
}

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

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

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background: #152220;
  color: rgba(255, 255, 255, 0.78);
}

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

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

.footer-label {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

.footer-links li + li,
.footer-contact + .footer-contact {
  margin-top: 0.45rem;
}

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

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  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.95rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

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

.inline-error {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background: #f8ebe8;
  color: var(--danger);
  font-weight: 600;
}

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

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 0.3rem;
}

.case-study {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.rating {
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

@media (max-width: 900px) {
  .grid-3,
  .price-grid,
  .proof-strip,
  .footer-grid,
  .split,
  .blog-item {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.7rem 0.8rem;
    border-radius: 0.6rem;
  }

  .nav-cta {
    text-align: center;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-item .body {
    padding: 0 1.1rem 1.2rem;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

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