/* =========================================================
   Cleaner Network — Getting Started page
   Design tokens
   ========================================================= */
:root {
  --green-700: #146a43;
  --green-600: #16804f;
  --green-500: #168a55;
  --green-100: #e3f3ea;
  --green-bg: #f0f8f4;
  --navy: #0d2635;
  --gray-600: #5b6b73;
  --gray-400: #8a97a0;
  --border: #e4e9ec;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 38, 53, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 38, 53, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 38, 53, 0.12);
  --container: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-700); }
.btn-outline {
  background: transparent;
  border-color: var(--green-600);
  color: var(--green-600);
}
.btn-outline:hover { background: var(--green-600); color: var(--white); }
.btn-block { width: 100%; }

/* =========================================================
   Header / Navbar
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
}
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar__logo-text strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.navbar__logo-tag {
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  font-weight: 600;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navbar__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.navbar__links a:hover { color: var(--green-600); }
.navbar__links .has-caret svg { width: 12px; height: 12px; }

.navbar__actions { display: flex; align-items: center; gap: 16px; }

.navbar__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
}
.navbar__toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 18px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 12px; }
.site-header.is-open .mobile-menu { display: flex; }

/* =========================================================
   Breadcrumb
   ========================================================= */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb .sep { margin: 0 8px; color: var(--gray-400); }
.breadcrumb .current { color: var(--navy); font-weight: 500; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 12px 0 56px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--navy);
}
.hero__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0 0 16px;
  max-width: 46ch;
}
.hero__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 50ch;
  margin: 0;
}
.hero__media { position: relative; }
.hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.2;
}
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__note {
  position: absolute;
  right: -8px;
  top: -18px;
  background: var(--green-100);
  color: var(--green-700);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.35;
  max-width: 200px;
  transform: rotate(-2deg);
}
.hero__note .rule {
  width: 34px;
  border-top: 2px solid var(--green-600);
  margin-top: 8px;
}

/* =========================================================
   Journey / progress section
   ========================================================= */
.journey {
  background: var(--green-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.journey__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.journey__header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.journey__header p {
  color: var(--gray-600);
  margin: 0 0 28px;
  font-size: 0.98rem;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  flex-shrink: 0;
  position: relative;
}
.step__badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.step__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.step__arrow {
  align-self: center;
  color: var(--gray-400);
  flex-shrink: 0;
  width: 28px;
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.step__arrow svg { width: 16px; height: 16px; }

.progress-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 16px;
}
.progress-track {
  height: 8px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.progress-track__fill {
  height: 100%;
  background: var(--green-600);
  border-radius: 999px;
}
.progress-count {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0 0 20px;
}

/* =========================================================
   Resources
   ========================================================= */
.resources { padding: 64px 0 8px; }
.resources__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}
.resources__header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}
.resources__count {
  color: var(--gray-600);
  font-size: 0.95rem;
  white-space: nowrap;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}
.resource-card__media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--green-100);
}
.resource-card__media img { width: 100%; height: 100%; object-fit: cover; }
.resource-card__icon {
  position: absolute;
  left: 14px;
  bottom: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 0.95rem;
}
.resource-card__body {
  padding: 28px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.resource-card__desc {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 18px;
  flex: 1;
}
.resource-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}
.resource-card__meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  flex-wrap: wrap;
}
.resource-card__type {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-700);
  background: var(--green-100);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.66rem;
}
.resource-card__meta-right {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease;
}
.resource-card__meta-right svg { width: 13px; height: 13px; }
.resource-card:hover .resource-card__meta-right {
  background: var(--green-600);
  color: var(--white);
}

/* =========================================================
   Featured guide + quick links
   ========================================================= */
.featured { padding: 64px 0; }
.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.featured__main {
  background: var(--green-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.featured__content h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}
.featured__content .lede {
  font-weight: 600;
  margin: 0 0 10px;
  font-size: 1.02rem;
}
.featured__content p.desc {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 24px;
}
.featured__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }

.quick-links {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.quick-links h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.quick-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color .15s ease;
}
.quick-links li:last-child a { border-bottom: none; }
.quick-links li a:hover { color: var(--green-600); }
.quick-links__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* =========================================================
   Support CTA
   ========================================================= */
.support { padding: 8px 0 72px; }
.support__inner {
  background: var(--green-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.support__left { display: flex; gap: 18px; align-items: flex-start; }
.support__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.support__left h2 { font-size: 1.35rem; font-weight: 800; margin: 0 0 2px; }
.support__left h3 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; color: var(--navy); }
.support__left p { color: var(--gray-600); margin: 0; line-height: 1.6; max-width: 48ch; }
.support__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}
.support__right small { color: var(--gray-600); font-size: 0.85rem; }

/* =========================================================
   Footer (minimal)
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* =========================================================
   Responsive breakpoints
   Desktop: 1200px+ | Laptop: 992-1199 | Tablet: 768-991
   Mobile: 576-767 | Small mobile: <576
   ========================================================= */

/* Laptop and up: hero + journey + featured become 2-column */
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1fr 0.95fr; gap: 56px; }
  .journey__inner { grid-template-columns: 2.1fr 1fr; gap: 48px; }
  .resource-grid { grid-template-columns: repeat(3, 1fr); }
  .featured__grid { grid-template-columns: 2.1fr 1fr; }
  .featured__main { grid-template-columns: 1fr 1fr; }
  .support__inner { grid-template-columns: 1.6fr 1fr; }
}

/* Tablet and below: show hamburger, hide desktop nav */
@media (max-width: 991px) {
  .navbar__links,
  .navbar__actions .btn { display: none; }
  .navbar__toggle { display: inline-flex; }
}

@media (min-width: 992px) {
  .navbar__toggle { display: none; }
}

/* Desktop: full resource grid at 5 columns */
@media (min-width: 1200px) {
  .resource-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Tablet: resource cards 2-3 per row (handled by base 2-col + override) */
@media (min-width: 768px) and (max-width: 991px) {
  .resource-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__note { max-width: 180px; padding: 18px 20px; font-size: 1rem; }
}

/* Mobile */
@media (max-width: 767px) {

  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 18px;
    box-sizing: border-box;
  }

  .navbar {
    padding: 12px 0;
  }

  .hero {
    padding: 8px 0 40px;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__media {
    order: 2;
    margin-top: 8px;
  }

  .hero__content {
    order: 1;
  }

  .hero__note {
    position: static;
    margin-top: -36px;
    margin-left: auto;
    transform: none;
    width: fit-content;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }


  /* =====================================================
     YOUR CLEANER NETWORK JOURNEY
     ===================================================== */

  .journey {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 18px;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .journey__inner {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .journey__header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .journey__header h2 {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .journey__header p {
    margin-bottom: 20px;
    max-width: 100%;
  }


  /* Steps must not create horizontal overflow */
  .steps {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .step {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }


  /* Progress / CTA area */
  .journey__actions,
  .journey__footer,
  .journey__cta,
  .progress-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .journey .btn,
  .journey a.btn,
  .journey button {
    max-width: 100%;
    box-sizing: border-box;
  }


  /* If this is your CTA button */
  .btn-block-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* =====================================================
     RESOURCES
     ===================================================== */

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


  /* =====================================================
     FEATURED
     ===================================================== */

  .featured__main {
    padding: 28px 22px;
  }

  .featured__media {
    order: -1;
  }


  /* =====================================================
     SUPPORT
     ===================================================== */

  .support__inner {
    padding: 28px 22px;
  }

  .support__left {
    flex-direction: column;
  }

  .support__right {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .support__right .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }


  /* =====================================================
     RESOURCES HEADER
     ===================================================== */

  .resources {
    padding: 48px 0 8px;
  }

  .resources__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Small mobile */
@media (max-width: 575px) {
  .hero__title { font-size: 2rem; }
  .journey { padding: 22px 16px; }
  .journey__header h2 { font-size: 1.3rem; }
  .step { width: 96px; }
  .step__icon { width: 48px; height: 48px; }
  .hero__note {
    padding: 16px 18px;
    font-size: 0.95rem;
    max-width: 160px;
  }
  .featured__content h3 { font-size: 1.4rem; }
  .support__left h2 { font-size: 1.15rem; }
}
