/* ========================================= */
/* GLOBAL BASE */
/* ========================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--cs-body-size);
  line-height: var(--cs-line);
  color: var(--cs-text);
  background: var(--cs-bg);
  background-attachment: fixed;
}

body,
html {
  overflow-x: hidden;
}

/* ========================================= */
/* CONTAINER */
/* ========================================= */

.cs-container {
  max-width: var(--cs-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================= */
/* SECTIONS */
/* ========================================= */

.cs-section {
  padding: var(--cs-section-pad-y) 0;
}

.cs-section--alt {
  background: var(--cs-bg-alt);
  backdrop-filter: blur(6px);
  border-radius: var(--cs-radius-md);
  padding: 60px;
  border: 1px solid var(--cs-border);
  box-shadow: 0 10px 28px rgba(0,0,0,0.04);
}

/* ========================================= */
/* TYPOGRAPHY */
/* ========================================= */

h1 {
  font-size: var(--cs-h1-size);
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
  color: var(--cs-teal);
}

h2 {
  font-size: var(--cs-h2-size);
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 18px;
  color: var(--cs-teal);
}

h3 {
  font-size: var(--cs-h3-size);
  font-weight: 600;
  margin-top: 30px;
  color: var(--cs-teal);
}

p {
  color: var(--cs-text-muted);
  max-width: 70ch;
  margin-bottom: 18px;
}

.cs-lede {
  font-size: var(--cs-lede-size);
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 65ch;
}

/* ========================================= */
/* LISTS */
/* ========================================= */

ul {
  margin: 18px 0 28px 22px;
  padding: 0;
}

li {
  margin-bottom: 10px;
}

/* ========================================= */
/* LINKS */
/* ========================================= */

a {
  color: var(--cs-teal);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: var(--cs-green);
}

/* ========================================= */
/* NAVIGATION */
/* ========================================= */

.cs-nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cs-border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.cs-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.cs-logo {
  height: 90px;
  width: auto;
}

.cs-nav__links {
  display: flex;
  align-items: center;
}

.cs-nav__links a {
  margin-left: 28px;
  font-weight: 500;
  position: relative;
  color: var(--cs-teal);
}

.cs-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--cs-green);
  transition: width 0.25s ease;
}

.cs-nav__links a:hover::after,
.cs-nav__links a.is-active::after {
  width: 100%;
}

/* ========================================= */
/* BUTTONS */
/* ========================================= */

.cs-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--cs-radius-sm);
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
}

.cs-btn--primary {
  background: var(--cs-btn-primary-bg);
  color: var(--cs-btn-text);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.cs-btn--primary:hover {
  background: var(--cs-btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.cs-btn--primary:active {
  transform: translateY(0);
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.cs-footer {
  margin-top: 100px;
  padding: 60px 0;
  border-top: 1px solid var(--cs-divider);
  background: rgba(255,255,255,0.9);
}

.cs-footer__links a {
  margin: 0 6px;
  color: var(--cs-teal);
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 768px) {

  .cs-nav__inner {
    height: 90px;
  }

  .cs-logo {
    height: 70px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .cs-section {
    padding: 80px 0;
  }

  .cs-section--alt {
    padding: 30px 22px;
  }
}