:root {
  --bg: #f3f5f7;
  --bg-elevated: #ffffff;
  --ink: #1c2422;
  --muted: #5a6561;
  --line: #d5ddd9;
  --accent: #2f6b5a;
  --accent-deep: #1f4a3e;
  --accent-soft: #d9ebe4;
  --sand: #e8ebe6;
  --warm: #f0ebe3;
  --danger: #8a3a32;
  --shadow: 0 18px 40px rgba(28, 36, 34, 0.08);
  --radius: 18px;
  --font-display: "Syne", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::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%, rgba(47, 107, 90, 0.12), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(240, 235, 227, 0.9), transparent 50%),
    linear-gradient(180deg, #f7f8f6 0%, var(--bg) 40%, #eef2f0 100%);
  min-height: 100vh;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

p {
  margin: 0 0 1em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 247, 0.82);
  border-bottom: 1px solid rgba(213, 221, 217, 0.7);
}

.header-inner {
  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.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

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

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

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

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  content: "";
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

main {
  display: block;
}

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

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 28, 26, 0.25) 0%, rgba(18, 28, 26, 0.72) 55%, rgba(18, 28, 26, 0.9) 100%),
    linear-gradient(90deg, rgba(18, 28, 26, 0.55), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  max-width: 38rem;
}

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

.hero-line {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  max-width: 28ch;
  margin-bottom: 0.75rem;
  animation: rise 1s ease 0.12s both;
}

.hero-support {
  color: rgba(244, 247, 245, 0.82);
  max-width: 36ch;
  margin-bottom: 1.6rem;
  animation: rise 1s ease 0.22s both;
}

.hero-actions {
  animation: rise 1s ease 0.32s both;
}

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

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

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

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

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

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

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

.section-lead {
  color: var(--muted);
  max-width: 54ch;
  font-size: 1.08rem;
}

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

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

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

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

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

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

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.panel-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}

.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.panel:hover .panel-media img {
  transform: scale(1.04);
}

.panel-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.panel-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.panel-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

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

.tier {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tier.featured {
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 140%);
  border-color: rgba(47, 107, 90, 0.35);
}

.tier h3 {
  font-size: 1.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.4rem 0 0.8rem;
}

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

.tier ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.quote {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.quote p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

.case-study {
  margin-top: 1.5rem;
  padding: 1.6rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}

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

.page-hero p {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.1rem;
}

.prose {
  max-width: 68ch;
}

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

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}

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

.prose th {
  background: rgba(255, 255, 255, 0.7);
}

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

.module-list li {
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.module-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.instructor {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

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

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

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

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

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

.form .error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-status.success {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.form-status.error {
  background: #f3e2e0;
  color: var(--danger);
}

.contact-card {
  padding: 1.4rem;
  background: linear-gradient(160deg, #ffffff, var(--warm));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 3rem 0 1.5rem;
}

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

.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-tag,
.footer-contact {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-label {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

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

.footer-links a:hover {
  color: var(--ink);
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(28, 36, 34, 0.96);
  color: #f4f7f5;
  padding: 1rem 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner a {
  color: #b7d7cb;
}

.cookie-banner .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.2rem;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  background: #f3e2e0;
  color: var(--danger);
  border-radius: 12px;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(47, 107, 90, 0.12), rgba(240, 235, 227, 0.7)),
    #fff;
  border-block: 1px solid var(--line);
}

.cta-band .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 960px) {
  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .footer-grid,
  .contact-layout,
  .split,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 248, 246, 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.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .footer-grid,
  .contact-layout,
  .split,
  .review-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
