:root {
  --bg: #fbfcfa;
  --bg-soft: #f0f5f3;
  --ink: #1c2422;
  --muted: #5a6763;
  --line: #d7e0dc;
  --accent: #1a4d4a;
  --accent-soft: #2f6f6a;
  --warm: #b8893d;
  --warm-soft: #f6efe3;
  --success: #1f6b4a;
  --error: #9b2c2c;
  --shadow: 0 18px 40px rgba(28, 36, 34, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::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%, #f7efe2 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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;
  color: var(--muted);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 252, 250, 0.88);
  border-bottom: 1px solid rgba(215, 224, 220, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

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

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background:
    linear-gradient(145deg, var(--accent) 0%, #2a6a64 70%),
    var(--accent);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 35% 42% auto 42%;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--warm);
}

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

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
}

.hero-panel {
  padding: 4.5rem 0 3.5rem;
  animation: rise 0.8s ease both;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.2rem;
  animation: rise 0.9s 0.05s ease both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.8rem;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34rem;
  color: var(--ink);
}

.hero-visual {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  box-shadow: var(--shadow);
  animation: fade-in 1.1s ease both;
}

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

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

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

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

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.section {
  padding: 4.2rem 0;
}

.section-soft {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 18%, var(--bg-soft) 82%, transparent);
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 18ch;
}

.section-intro {
  max-width: 38rem;
  font-size: 1.05rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ink);
}

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-list article h3 {
  font-size: 1.3rem;
}

.course-grid,
.blog-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
}

.media-tile:hover {
  transform: translateY(-3px);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.media-tile h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.media-tile p {
  margin: 0;
}

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

.quote {
  border-left: 3px solid var(--warm);
  padding: 0.2rem 0 0.2rem 1.2rem;
}

.quote p {
  color: var(--ink);
  font-size: 1.08rem;
}

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

.cta-band {
  margin: 1rem 0 4rem;
  padding: 2.5rem;
  background:
    linear-gradient(120deg, rgba(26, 77, 74, 0.94), rgba(47, 111, 106, 0.9)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?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: 36rem;
  opacity: 0.92;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

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

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

.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

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

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: var(--muted);
}

.footer-contact {
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.prose {
  max-width: 42rem;
}

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

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

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



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

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

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

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

.price-tile h3 {
  font-size: 1.4rem;
}

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

.price-tile ul {
  padding-left: 1.1rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.4rem;
}

.modules {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

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

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

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

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

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

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

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

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(26, 77, 74, 0.25);
  border-color: var(--accent);
}

.field-error {
  color: var(--error);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 0.5rem;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.inline-error {
  background: #fdecec;
  color: var(--error);
  padding: 0.75rem 1rem;
  border: 1px solid #f2c4c4;
  margin: 0.5rem 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  animation: rise 0.45s ease both;
}

.cookie-banner-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--ink);
  font-size: 0.95rem;
}

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

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
}

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

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

th {
  background: var(--bg-soft);
  color: var(--ink);
}

.case-study {
  background: var(--warm-soft);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.not-found {
  min-height: 55vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

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

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

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

@media (max-width: 900px) {
  .hero-split,
  .feature-list,
  .course-grid,
  .blog-grid,
  .price-grid,
  .footer-grid,
  .trust-strip,
  .split,
  .instructor {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 4.4rem;
    left: 0;
    right: 0;
    background: #fff;
    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;
  }

  .hero-visual {
    min-height: 260px;
  }
}
