:root {
  --bg: #f5f5f4;
  --bg-soft: #ececeb;
  --surface: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5f5a;
  --line: #d8d8d4;
  --accent: #1e4d4a;
  --accent-hover: #163a38;
  --accent-soft: #dce8e6;
  --danger: #8a2f2f;
  --success: #1e4d4a;
  --shadow: 0 18px 40px rgba(28, 28, 26, 0.06);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", 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(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #e7eeec 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ebe8e2 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-hover);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(245, 245, 244, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

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

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

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

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

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

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

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--text);
  color: var(--text) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--text);
  color: var(--bg) !important;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  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: #f7f7f5;
}

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

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

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

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-stage {
  min-height: min(78vh, 720px);
  display: grid;
  align-content: end;
  padding: 3rem;
  color: #f5f5f4;
  background:
    linear-gradient(180deg, rgba(18, 28, 27, 0.18) 0%, rgba(18, 28, 27, 0.72) 68%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.hero-lead {
  max-width: 34rem;
  color: rgba(245, 245, 244, 0.88);
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
}

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

.section {
  padding: 4.5rem 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--line);
  padding: 1.75rem 0;
}

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

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

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

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
}

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

.course-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.course-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.course-row h3 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

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

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

.benefit-list article h3 {
  font-size: 1.35rem;
}

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

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

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--text);
  line-height: 1.35;
}

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

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

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 14ch;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.08rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius);
}

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

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

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

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

.price-tier ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-tier li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.blog-card {
  display: grid;
  gap: 1rem;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-card h2 {
  font-size: 1.5rem;
  margin: 0;
}

.blog-card h2 a {
  color: var(--text);
  text-decoration: none;
}

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

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

.prose {
  max-width: 42rem;
}

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

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

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

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

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

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.field {
  margin-bottom: 1.1rem;
}

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

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

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

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

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

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

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

.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.contact-panel h2 {
  font-size: 1.4rem;
}

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

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

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

th {
  color: var(--text);
  font-weight: 600;
}

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

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

.footer-grid h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

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

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
}

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

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  animation: slide-up 0.45s ease both;
}

.cookie-banner-inner {
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.inline-error {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #f6e8e8;
  color: var(--danger);
  text-align: center;
}

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

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

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

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

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

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

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

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem;
  background: var(--accent);
  color: #f5f5f4;
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.cta-band h2,
.cta-band p {
  color: #f5f5f4;
  margin: 0;
}

.cta-band p {
  opacity: 0.88;
  max-width: 36rem;
}

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

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

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

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

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

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

.reveal {
  animation: rise 0.8s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

@media (max-width: 900px) {
  .trust-row,
  .pricing-grid,
  .blog-grid,
  .split,
  .split-reverse,
  .contact-layout,
  .footer-grid,
  .cta-band,
  .course-row {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 70vh;
    padding: 2rem;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    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;
  }

  .header-inner {
    position: relative;
  }
}
