:root {
  --ink: #14201f;
  --ink-soft: #3a4a48;
  --muted: #6b7a78;
  --line: #d7e2df;
  --paper: #f7faf9;
  --paper-deep: #eef4f2;
  --accent: #2f6f64;
  --accent-deep: #1f524a;
  --accent-soft: #d9ebe6;
  --warn: #8a4b2f;
  --ok: #2d6a4f;
  --err: #9b2c2c;
  --shadow: 0 18px 50px rgba(20, 32, 31, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Sora", "Helvetica Neue", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

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

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: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  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, 250, 249, 0.86);
  border-bottom: 1px solid rgba(215, 226, 223, 0.9);
}

.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: 1rem;
}

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 45%, var(--accent-soft) 45% 55%, transparent 55%),
    linear-gradient(45deg, transparent 45%, var(--accent) 45% 55%, transparent 55%);
}

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

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

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

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-main {
  overflow: clip;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

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

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

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

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

.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(20, 32, 31, 0.25) 0%, rgba(20, 32, 31, 0.72) 58%, rgba(20, 32, 31, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 32, 31, 0.55) 0%, rgba(20, 32, 31, 0.15) 60%, transparent 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin: 0 0 0.35em;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.75em;
  color: #e4efeb;
}

.hero p {
  color: #c9d8d3;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

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

.section {
  padding: 5rem 0;
}

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

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

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

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

.proof-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.proof-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

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

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

.feature-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.feature-row:nth-child(2) { animation-delay: 0.1s; }
.feature-row:nth-child(3) { animation-delay: 0.2s; }
.feature-row:nth-child(4) { animation-delay: 0.3s; }

.feature-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.feature-row h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

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

.course-preview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.course-preview img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.9);
}

.course-preview .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

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

.quote:last-child {
  border-bottom: 1px solid var(--line);
}

.quote p {
  font-size: 1.1rem;
  max-width: 42rem;
}

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

.cta-band {
  background: linear-gradient(135deg, #1c2b2a 0%, #2f4f48 100%);
  color: #edf5f2;
  padding: 4rem 0;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 20ch;
}

.cta-band p {
  color: #c5d7d1;
  max-width: 36rem;
}

.cta-band .btn-primary {
  background: #e8f2ef;
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: #fff;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

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

.page-hero p {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

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

.listing-item {
  display: grid;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

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

.listing-item h2,
.listing-item h3 {
  font-size: 1.45rem;
  margin: 0;
}

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

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

.price-tier {
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.price-tier h2 {
  font-size: 1.5rem;
}

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

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

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

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

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

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}

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

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

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

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

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

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

.form-status.is-error {
  display: block;
  border-color: #e3bcbc;
  background: #fbf1f1;
  color: var(--err);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.contact-meta {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-meta h2 {
  font-size: 1.25rem;
}

.legal {
  max-width: 48rem;
  padding-bottom: 4rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.site-footer {
  margin-top: 2rem;
  background: #12201e;
  color: #d5e2de;
  padding: 3.5rem 0 2rem;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #f2f7f5;
  margin-bottom: 0.5rem;
}

.footer-tag {
  color: #9fb3ad;
  max-width: 28rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 2rem;
  margin-top: 2rem;
}

.footer-brand {
  grid-column: 1;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea59e;
  margin-bottom: 0.9rem;
}

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

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: #dce8e4;
  text-decoration: none;
}

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

.footer-address,
.footer-phone,
.footer-email {
  color: #b7c8c2;
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8ea59e;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  max-width: 420px;
  margin-right: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: none;
}

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

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

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

.inline-error {
  margin: 1rem auto;
  width: min(100% - 2.5rem, var(--max));
  padding: 0.85rem 1rem;
  background: #fbf1f1;
  border: 1px solid #e3bcbc;
  color: var(--err);
}

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

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

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

.case-study h3 {
  font-size: 1.5rem;
}

.article-body {
  max-width: 42rem;
  padding-bottom: 4rem;
}

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

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

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

@media (max-width: 900px) {
  .proof-grid,
  .course-preview,
  .grid-2,
  .grid-3,
  .price-tiers,
  .contact-panel,
  .footer-cols {
    grid-template-columns: 1fr;
  }

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

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

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

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

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