:root {
  --ink: #1a2b2a;
  --ink-soft: #3d524f;
  --muted: #6b7f7b;
  --line: #d8e3df;
  --paper: #f7f9f8;
  --paper-deep: #eef3f1;
  --surface: #ffffff;
  --accent: #2f6b5e;
  --accent-deep: #1a3a3a;
  --accent-soft: #c8d9d3;
  --warn: #8a4a3a;
  --ok: #2d6a4f;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.25rem;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 40px rgba(26, 58, 58, 0.08);
  --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:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 217, 211, 0.55), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(47, 107, 94, 0.08), transparent 55%),
    var(--paper);
  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.15;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); 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(12px);
  background: rgba(247, 249, 248, 0.86);
  border-bottom: 1px solid rgba(216, 227, 223, 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;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  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.35rem;
}

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  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.4s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 58, 58, 0.25) 0%, rgba(26, 58, 58, 0.72) 70%, rgba(26, 58, 58, 0.88) 100%);
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: #fff;
  letter-spacing: -0.04em;
}

.hero-content p {
  color: rgba(247, 249, 248, 0.88);
  font-size: 1.12rem;
  max-width: 32rem;
}

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

.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(200, 217, 211, 0.35), transparent);
}

.page-hero .lede {
  max-width: 40rem;
  font-size: 1.15rem;
}

.section {
  padding: 5rem 0;
}

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

.section-muted {
  background: rgba(238, 243, 241, 0.7);
  border-block: 1px solid var(--line);
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  background: var(--accent-deep);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

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

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

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

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

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

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

.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-deep);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.course-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.course-row:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.course-row img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.course-row-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.quote {
  padding: 0;
  margin: 0;
  border: none;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--accent-deep);
  line-height: 1.4;
}

.quote footer {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  padding: 2.5rem 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-deep);
  font-weight: 500;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

.price-tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff, #f3f8f6);
}

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

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

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

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

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

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

.form label {
  font-size: 0.9rem;
  color: var(--accent-deep);
  font-weight: 600;
}

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

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

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

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

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-success {
  display: block;
  border-color: var(--ok);
  background: rgba(45, 106, 79, 0.08);
  color: var(--ok);
}

.form-status.is-error {
  display: block;
  border-color: var(--warn);
  background: rgba(138, 74, 58, 0.08);
  color: var(--warn);
}

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

.contact-aside h3 { margin-top: 0; }

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

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

.faq details p {
  margin-top: 0.75rem;
}

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
}

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

.blog-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

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

.blog-item h2 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
  color: var(--accent-deep);
}

.blog-item:hover h2 { color: var(--accent); }

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

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

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

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

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

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

.legal th {
  background: var(--paper-deep);
  color: var(--accent-deep);
}

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

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

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

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

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

.case-study {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(26, 58, 58, 0.95), rgba(47, 107, 94, 0.9)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 34rem; margin-inline: auto; }

.site-footer {
  background: var(--accent-deep);
  color: rgba(247, 249, 248, 0.8);
  padding: 4rem 0 0;
  margin-top: 2rem;
}

.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;
  padding-bottom: 3rem;
}

.site-footer .logo { color: #fff; }
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(247, 249, 248, 0.78);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

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

.site-footer p {
  color: rgba(247, 249, 248, 0.72);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 249, 248, 0.55);
}

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

.cookie-banner.is-visible { display: block; }

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

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

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

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--warn);
  background: rgba(138, 74, 58, 0.08);
  color: var(--warn);
}

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

.not-found .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

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

@media (max-width: 960px) {
  .grid-3,
  .price-grid,
  .split,
  .course-row,
  .blog-item,
  .footer-inner,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .course-row img { min-height: 220px; }
  .instructor { grid-template-columns: 100px 1fr; }
}

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

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

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

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none !important;
  }

  .header-inner { position: relative; }
  .trust-band { gap: 1.5rem; }
}
