@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&display=swap');

:root {
  --ink: #14262c;
  --ink-soft: #3a525b;
  --fog: #edf4f2;
  --mist: #d7e8e2;
  --foam: #f7fbf9;
  --teal: #0f6e63;
  --teal-deep: #0a4f48;
  --copper-safe: #b86a2f;
  --line: rgba(20, 38, 44, 0.14);
  --shadow: 0 18px 40px rgba(20, 38, 44, 0.08);
  --radius: 14px;
  --font-sans: 'Sora', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 110, 99, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 106, 47, 0.1), transparent 50%),
    linear-gradient(180deg, var(--foam) 0%, var(--fog) 48%, #e4efe9 100%);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2rem, 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;
}

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

.inline-error,
.form-status.is-error {
  color: #8a2b1f;
  background: #fdece8;
  border: 1px solid #f0c2b8;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.form-status.is-success {
  color: #0a4f48;
  background: #dff3ee;
  border: 1px solid #a9d8cf;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 251, 249, 0.86);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 55%, #1c8f82 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 35% 22% 22% 35%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-top: 0;
  border-left: 0;
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

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

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

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  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;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

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

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

.btn-ms {
  background: #0f6e63;
  color: #fff;
  border-color: #0a4f48;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.btn-ms:hover {
  background: #0a4f48;
  color: #fff;
}

.btn-ms-compact {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
}

.hero-home {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f5fbf9;
}

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

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 35, 40, 0.82) 0%, rgba(10, 35, 40, 0.45) 48%, rgba(10, 35, 40, 0.25) 100%),
    linear-gradient(180deg, rgba(10, 35, 40, 0.15) 0%, rgba(10, 35, 40, 0.72) 100%);
  z-index: 1;
}

.hero-home-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 3.5rem;
  max-width: 38rem;
}

.brand-hero {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
  animation: rise 700ms ease both;
}

.hero-home .lede {
  font-size: 1.12rem;
  color: rgba(245, 251, 249, 0.9);
  max-width: 30rem;
  animation: rise 900ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: rise 1100ms ease both;
}

.proof-band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 1.5rem 0;
}

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

.proof-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

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

.section {
  padding: 4.5rem 0;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

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

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

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

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

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

.feature-list li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.course-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.course-preview img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.course-preview-body {
  padding: 2rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 1rem 0 1.25rem;
}

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

.quote {
  margin: 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.5);
}

.quote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

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

.cta-panel {
  margin: 1rem 0 4rem;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(15, 110, 99, 0.12), rgba(255, 255, 255, 0.55)),
    var(--mist);
  border: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  align-items: center;
}

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

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

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

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

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

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

.tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.tile h3 {
  font-size: 1.25rem;
}

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

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

.price-tier.is-featured {
  background: linear-gradient(180deg, rgba(15, 110, 99, 0.12), rgba(255, 255, 255, 0.65));
  border-color: rgba(15, 110, 99, 0.35);
}

.price-tier .amount {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 1rem;
}

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

.price-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

.article {
  max-width: 720px;
}

.article .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.article h2 {
  margin-top: 2rem;
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
}

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

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

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

.form-field {
  margin-bottom: 1rem;
}

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

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

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

.field-error {
  min-height: 1.2em;
  color: #8a2b1f;
  font-size: 0.86rem;
  margin-top: 0.3rem;
}

.contact-aside {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

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

.legal-page {
  max-width: 760px;
}

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

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

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

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

th {
  background: rgba(15, 110, 99, 0.08);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(20, 38, 44, 0.95);
  color: #dce8e4;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: #d7efe8;
}

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

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

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

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

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

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

.footer-address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #a9c0b9;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #a9c0b9;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(20, 38, 44, 0.96);
  color: #e8f2ef;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.cookie-banner a {
  color: #9ee0d4;
}

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

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

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

.module-list {
  counter-reset: module;
  list-style: none;
  padding: 0;
}

.module-list li {
  counter-increment: module;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-serif);
  color: var(--teal);
  font-weight: 700;
}

.case-study {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  margin-bottom: 1.25rem;
}

.rating {
  letter-spacing: 0.08em;
  color: var(--copper-safe);
  font-weight: 700;
}

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

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

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

@media (max-width: 920px) {
  .proof-grid,
  .grid-3,
  .price-grid,
  .footer-grid,
  .split,
  .course-preview,
  .contact-layout,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 251, 249, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

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