:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --bg-deep: #0f2a24;
  --ink: #1a2421;
  --muted: #5a6661;
  --line: #d9e0dc;
  --accent: #1b6b5a;
  --accent-hover: #145447;
  --accent-soft: #e6f2ee;
  --warn: #8a3b2d;
  --ok: #1b6b5a;
  --shadow: 0 18px 40px rgba(15, 42, 36, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --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: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(27, 107, 90, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(15, 42, 36, 0.04), transparent 50%),
    var(--bg);
  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);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
address { font-style: normal; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  text-decoration: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--on-dark {
  background: #fff;
  color: var(--bg-deep);
  text-decoration: none;
}
.btn--on-dark:hover { background: var(--accent-soft); color: var(--bg-deep); }
.btn--ghost-on-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
}
.btn--ghost-on-dark:hover { border-color: #fff; color: #fff; }

.inline-error {
  background: #f8ebe8;
  color: var(--warn);
  padding: 0.75rem 1rem;
  margin: 0.5rem;
  border: 1px solid #e8c5bd;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { position: relative; }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand:hover { color: var(--accent); }
.brand--footer { font-size: 1.5rem; margin-bottom: 0.75rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}
.site-nav__cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__cta { text-align: center; margin-top: 0.5rem; }
}

.hero-band {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s var(--ease) infinite alternate;
}
.hero-band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,42,36,0.35) 0%, rgba(15,42,36,0.82) 70%);
  z-index: 1;
}
.hero-band__content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
  max-width: 38rem;
  animation: rise 0.9s var(--ease) both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}
.hero-band__content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 28rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section { padding: 4.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--deep {
  background: linear-gradient(145deg, #0f2a24, #1b463c);
  color: #fff;
}
.section--deep .muted { color: rgba(255,255,255,0.72); }
.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
  animation: fade-in 0.8s var(--ease) both;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}
.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-row span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.75rem;
}
.course-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.tier-grid { grid-template-columns: repeat(3, 1fr); }
.review-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .course-grid,
  .blog-grid,
  .tier-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

.course-tile,
.blog-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}
.course-tile:hover,
.blog-tile:hover { transform: translateY(-4px); color: inherit; }
.course-tile__media,
.blog-tile__media {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.course-tile__media img,
.blog-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.course-tile:hover img,
.blog-tile:hover img { transform: scale(1.04); }
.course-tile h3,
.blog-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.quote-stack { display: grid; gap: 1.5rem; }
.quote {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.quote p { font-size: 1.05rem; }
.quote footer {
  color: var(--muted);
  font-size: 0.88rem;
}

.tier {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.tier h3 { font-size: 1.5rem; }
.tier .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.4rem 0 1rem;
  letter-spacing: -0.03em;
}
.tier .price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}
.tier ul { color: var(--muted); }

.page-hero {
  padding: 4rem 0 2.5rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}
.page-hero p {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.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 table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  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(--bg-soft); }

.modules { list-style: none; padding: 0; }
.modules li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.modules strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.25rem; }

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
}
.instructor img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 560px) {
  .instructor { grid-template-columns: 1fr; }
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(27, 107, 90, 0.35);
  border-color: var(--accent);
}
.field__error {
  color: var(--warn);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}
.form-status { margin-top: 1rem; }
.form-status--ok { color: var(--ok); }
.form-status--err { color: var(--warn); }

.site-footer {
  margin-top: 3rem;
  background: var(--bg-deep);
  color: rgba(255,255,255,0.86);
  padding: 3.5rem 0 1.5rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #b8ddd3; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-address { color: rgba(255,255,255,0.72); margin-bottom: 0.75rem; font-size: 0.92rem; }
.site-footer__base {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  animation: rise 0.45s var(--ease) both;
}
.cookie-banner__inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}
.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
}

.case-study {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.case-study h3 { font-size: 1.4rem; }

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.cta-panel {
  padding: 3rem 0;
  text-align: left;
}
.cta-panel h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 18ch; }
