:root {
  --bg: #ffffff;
  --bg-soft: #f3f6f5;
  --bg-mist: #e8efed;
  --ink: #1c2423;
  --ink-muted: #5a6764;
  --accent: #1b4d4a;
  --accent-soft: #2f6f6a;
  --accent-wash: #d9ebe8;
  --line: #d5dfdc;
  --danger: #9b3b32;
  --success: #1f6b4a;
  --shadow: 0 18px 40px rgba(28, 36, 35, 0.08);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --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%, #e7f2ef 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #eef3f1 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  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-soft);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand:hover {
  color: var(--accent);
}

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

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

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

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.site-nav .nav-cta:hover {
  background: var(--accent-soft);
  color: #fff;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  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-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

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

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  animation: rise 0.8s ease both;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink);
  max-width: 34rem;
  margin-bottom: 0.75rem;
  animation: rise 0.8s ease 0.1s both;
}

.hero-support {
  color: var(--ink-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.18s both;
}

.hero-actions {
  animation: rise 0.8s ease 0.26s both;
}

.hero-visual {
  position: relative;
  min-height: clamp(280px, 42vw, 460px);
  animation: fade 1s ease 0.2s both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.02);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(27, 77, 74, 0.35));
  pointer-events: none;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: linear-gradient(180deg, var(--bg-soft), #fff 70%);
}

.section-accent {
  background: var(--accent);
  color: #f4f7f6;
}

.section-accent a {
  color: #fff;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent-soft);
  margin-bottom: 0.6rem;
}

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

.section-intro {
  color: var(--ink-muted);
  max-width: 42rem;
  margin-bottom: 2rem;
}

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

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

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

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

.feature-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-wash);
  line-height: 1;
}

.course-grid,
.card-grid,
.blog-grid,
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

.media-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border-radius: 2px;
}

.media-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.media-tile p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.95rem;
}

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

.quote {
  border-left: 3px solid var(--accent-wash);
  padding-left: 1.25rem;
}

.quote p {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

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

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

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

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

.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
}

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

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

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

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

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

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

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 0.75rem;
  font-weight: 600;
}

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

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

.inline-error {
  background: #fceceb;
  border: 1px solid #f0c2bc;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: var(--radius);
}

.contact-block address {
  font-style: normal;
  margin-bottom: 1rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

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

.prose {
  max-width: 46rem;
}

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

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

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

.prose li + li {
  margin-top: 0.35rem;
}

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

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

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

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

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

.module {
  padding: 1.15rem 1.25rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
}

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

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

.avatar-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
}

.avatar-row img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

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

.site-footer {
  margin-top: 3rem;
  background: #122826;
  color: #d7e3e0;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #d7e3e0;
  text-decoration: none;
}

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

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

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

.footer-heading {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

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

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-address,
.footer-tag,
.footer-phone {
  color: #b7c7c3;
  font-style: normal;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb0ac;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(18, 40, 38, 0.97);
  color: #e8f0ee;
  padding: 1.1rem 0;
  box-shadow: var(--shadow);
  animation: slideUp 0.35s ease both;
}

.cookie-banner-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

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

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

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

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

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}

.review-list {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

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

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

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

@media (max-width: 900px) {
  .hero-split,
  .form-panel,
  .course-grid,
  .blog-grid,
  .pricing-grid,
  .footer-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

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

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

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

  .site-nav .nav-cta {
    text-align: center;
  }
}
