/* ============================================================
   Closegrove — Brand CSS
   Batch: web0519 | Prefix: cg-
   ============================================================ */

/* --- Horizontal overflow guard (HARD RULE mandatory at TOP) --- */
html, body { overflow-x: hidden; }

/* ============================================================
   CSS Variables / Tokens
   ============================================================ */
:root {
  --accent:        #0d7a6b;
  --accent-rgb:    13, 122, 107;
  --secondary:     #c4986a;
  --bg-page:       #f7f6f2;
  --bg-dark:       #1a1a1a;
  --bg-surface:    #ffffff;
  --text-primary:  #1a1a1a;
  --text-muted:    #5a5a5a;
  --border-light:  rgba(15,23,42,0.08);
  --font-sans:     'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display:  'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

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

p { margin-top: 0; }

ul, ol { padding: 0; margin: 0; list-style: none; }

/* Shared container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section headers */
.cg-section-header { text-align: center; margin-bottom: 56px; }
.cg-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cg-section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.cg-section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Page-hero (sub-pages) */
.cg-page-hero {
  background: #ffffff;
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border-light);
}
.cg-page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-page-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cg-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.cg-page-hero__lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.6;
  margin: 0;
}

/* Buttons */
.cg-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
}
.cg-btn--primary {
  background: var(--accent);
  color: #ffffff;
}
.cg-btn--primary:hover { filter: brightness(1.1); color: #ffffff; opacity: 1; }
.cg-btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(15,23,42,0.2);
}
.cg-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}
.cg-btn--sm { padding: 8px 16px; font-size: 14px; }
.cg-btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cg-btn--ghost:hover { background: var(--accent); color: #ffffff; opacity: 1; }

/* ============================================================
   Nav (cg-nav — A-simple, light theme, sticky)
   ============================================================ */
.cg-nav,
.cg-nav--sticky {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.cg-nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.cg-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}
.cg-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.cg-nav__logo-img {
  height: 32px;
  width: auto;
}
.cg-nav__logo-img--light { display: inline; }
.cg-nav__logo-img--dark  { display: none; }

.cg-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cg-nav__links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  color: #334155;
  transition: color 0.2s, background 0.2s;
}
.cg-nav__links a:hover {
  color: var(--text-primary);
  background: rgba(13,122,107,0.06);
  opacity: 1;
}
.cg-nav__cta {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 600;
}
.cg-nav__cta:hover {
  filter: brightness(1.1);
  background: var(--accent) !important;
  color: #ffffff !important;
  opacity: 1 !important;
}
.cg-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.cg-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .cg-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px;
    gap: 2px;
  }
  .cg-nav__links.open { display: flex; }
  .cg-nav__links a { padding: 10px 12px; color: var(--text-primary); }
  .cg-nav__toggle { display: flex; }
}

/* ============================================================
   Hero (cg-hero — E-editorial-light)
   ============================================================ */
.cg-hero {
  position: relative;
  overflow: hidden;
}
.cg-hero--editorial-light {
  background: #ffffff;
  color: var(--text-primary);
  padding: clamp(96px, 14vw, 160px) 0 clamp(64px, 10vw, 96px);
}
.cg-hero--editorial-light .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.cg-hero__split {
  display: flex;
  align-items: center;
  gap: 48px;
}
.cg-hero__editorial {
  flex: 1 1 0;
  min-width: 0;
  max-width: 580px;
}
.cg-hero__visual {
  flex: 0 0 auto;
  width: 45%;
  max-width: 560px;
}
.cg-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.cg-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.cg-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 12em;
}
.cg-hero__subheadline {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 36px;
}
.cg-hero__cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cg-hero--editorial-light { padding: 80px 0 48px; }
  .cg-hero__cta-group { flex-direction: column; align-items: flex-start; }
  .cg-hero__split { flex-direction: column; }
  .cg-hero__visual { width: 100%; max-width: 100%; }
  .cg-hero__editorial { max-width: 100%; }
}

/* ============================================================
   Stats (cg-stats — B-cards)
   ============================================================ */
.cg-stats {
  padding: 64px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.cg-stats__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cg-stats__card {
  background: var(--bg-page);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  height: 100%;
}
.cg-stats__number {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cg-stats__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.4;
}
.cg-stats__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .cg-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cg-stats__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Features (cg-features — C-alternating)
   ============================================================ */
.cg-features {
  padding: 96px 0;
  background: var(--bg-page);
}
.cg-features--alternating .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-features__list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 16px;
}
.cg-features__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cg-features__item:nth-child(even) .cg-features__text-col { order: 2; }
.cg-features__item:nth-child(even) .cg-features__img-col  { order: 1; }
.cg-features__icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,122,107,0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.cg-features__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cg-features__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}
.cg-features__img-col img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.cg-features__img-col img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .cg-features__item { grid-template-columns: 1fr; gap: 24px; }
  .cg-features__item:nth-child(even) .cg-features__text-col,
  .cg-features__item:nth-child(even) .cg-features__img-col { order: unset; }
  .cg-features { padding: 60px 0; }
}

/* ============================================================
   Process (cg-process — A-numbered)
   ============================================================ */
.cg-process {
  padding: 80px 0;
  background: #ffffff;
}
.cg-process .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cg-process__step {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-page);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.cg-process__number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}
.cg-process__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cg-process__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .cg-process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cg-process__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Team (cg-team — A-grid)
   ============================================================ */
.cg-team {
  padding: 80px 0;
  background: var(--bg-page);
}
.cg-team .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.cg-team__card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cg-team__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  border: 3px solid rgba(13,122,107,0.15);
}
.cg-team__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cg-team__title {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .cg-team__grid { grid-template-columns: 1fr; max-width: 360px; gap: 32px; }
}

/* ============================================================
   CTA Banner (cg-cta — A-banner)
   ============================================================ */
.cg-cta {
  background: var(--accent);
  padding: 72px 0;
  text-align: center;
}
.cg-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-cta__headline {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cg-cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cg-cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cg-cta .cg-btn--primary {
  background: #ffffff;
  color: var(--accent);
}
.cg-cta .cg-btn--primary:hover { opacity: 0.9; filter: none; }
.cg-cta .cg-btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}
.cg-cta .cg-btn--outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   Pricing (cg-pricing)
   ============================================================ */
.cg-pricing {
  padding: 96px 0;
  background: #ffffff;
}
.cg-pricing .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.cg-pricing__tier {
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.cg-pricing__tier--featured {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(13,122,107,0.12);
}
.cg-pricing__badge {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.cg-pricing__tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.cg-pricing__tier-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.cg-pricing__price {
  margin-bottom: 28px;
}
.cg-pricing__amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.cg-pricing__period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}
.cg-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.cg-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}
.cg-pricing__features li:last-child { border-bottom: none; }
.cg-pricing__features li i {
  color: var(--accent);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}
.cg-pricing__btn {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #ffffff;
  transition: filter 0.2s;
  margin-top: auto;
}
.cg-pricing__btn:hover { filter: brightness(1.1); color: #ffffff; opacity: 1; }
.cg-pricing__tier--featured .cg-pricing__btn {
  background: var(--accent);
}
.cg-pricing__note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.cg-pricing__note a { color: var(--accent); }
@media (max-width: 900px) {
  .cg-pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   About Page Sections
   ============================================================ */
.cg-about { padding: 80px 0; }
.cg-about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Founding Story */
.cg-about__story {
  padding: 80px 0;
  background: #ffffff;
}
.cg-about__story .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-about__story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.cg-about__story-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.cg-about__story-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cg-about__story-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.cg-about__story-highlight {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 28px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Mission */
.cg-about__mission {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #ffffff;
}
.cg-about__mission .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-about__mission-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cg-about__mission-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.cg-about__mission-statement {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.cg-about__mission-context {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Values */
.cg-about__values {
  padding: 80px 0;
  background: var(--bg-page);
}
.cg-about__values .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-about__values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.cg-about__values-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
}
.cg-about__values-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,122,107,0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--accent);
}
.cg-about__values-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cg-about__values-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Stage Focus */
.cg-about__stage {
  padding: 64px 0;
  background: #ffffff;
}
.cg-about__stage .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-about__stage-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.cg-about__stage-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.cg-about__stage-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.cg-about__stage-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .cg-about__story-layout { grid-template-columns: 1fr; gap: 32px; }
  .cg-about__values-grid { grid-template-columns: 1fr; }
  .cg-about__stage-inner { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   Footer (cg-footer — A-4col)
   ============================================================ */
.cg-footer {
  background: var(--bg-dark);
  padding: 64px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #94a3b8;
}
.cg-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.cg-footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
}
.cg-footer__logo img {
  height: 28px;
  width: auto;
}
.cg-footer__tagline {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}
.cg-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cg-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cg-footer__nav li { margin-bottom: 10px; }
.cg-footer__nav a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.cg-footer__nav a:hover { color: var(--accent); opacity: 1; }
.cg-footer__contact p {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #64748b;
}
.cg-footer__contact i {
  color: var(--accent);
  width: 18px;
  font-size: 13px;
  margin-right: 8px;
}
.cg-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.cg-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #64748b;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.cg-footer__social a:hover { background: var(--accent); color: #ffffff; opacity: 1; }
.cg-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
}
.cg-footer__legal-links {
  display: flex;
  gap: 20px;
}
.cg-footer__legal-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.cg-footer__legal-links a:hover { color: #94a3b8; opacity: 1; }

@media (max-width: 900px) {
  .cg-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .cg-footer__grid { grid-template-columns: 1fr; }
  .cg-footer__legal { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   Cookie Banner (cg-cookie — B-sensitive)
   ============================================================ */
.cg-cookie--sensitive {
  /* B-sensitive: no-sell, no-adtech messaging, bottom-right fixed */
}
.cg-cookie {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 720px;
  margin-left: auto;
  z-index: 1080;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid rgba(15,23,42,0.1);
  box-shadow: 0 20px 50px rgba(15,23,42,0.14);
  border-radius: 12px;
  padding: 20px 24px;
}
.cg-cookie[hidden] { display: none !important; }
.cg-cookie__inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.cg-cookie__copy { flex: 1 1 320px; }
.cg-cookie__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.cg-cookie__text {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: #374151;
}
.cg-cookie__text a { color: var(--accent); }
.cg-cookie__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .cg-cookie { inset: auto 8px 8px 8px; }
  .cg-cookie__actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   Integrations Strip
   ============================================================ */
.cg-integrations {
  padding: 64px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}
.cg-integrations .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-integrations__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.cg-integrations__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.cg-integrations__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.cg-integrations__pill i {
  color: var(--accent);
  font-size: 13px;
}

/* ============================================================
   Target Customer Section
   ============================================================ */
.cg-target {
  padding: 80px 0;
  background: var(--bg-page);
}
.cg-target .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-target__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}
.cg-target__card {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
}
.cg-target__card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cg-target__card-title i { color: var(--accent); font-size: 16px; }
.cg-target__card-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}
.cg-target__not-for {
  background: #fff9f5;
  border-left: 3px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: #7a5a3a;
  line-height: 1.6;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .cg-target__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Problem Section
   ============================================================ */
.cg-problem {
  padding: 80px 0;
  background: #ffffff;
}
.cg-problem .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 16px;
}
.cg-problem__body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.cg-problem__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.cg-problem__stat {
  background: var(--bg-page);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-light);
  text-align: center;
}
.cg-problem__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.cg-problem__stat-lbl {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .cg-problem__grid { grid-template-columns: 1fr; gap: 28px; }
  .cg-problem__stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   How It Works Section
   ============================================================ */
.cg-how-it-works {
  padding: 80px 0;
  background: var(--bg-page);
}
.cg-how-it-works .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.cg-how-it-works__step {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  position: relative;
}
.cg-how-it-works__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.cg-how-it-works__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cg-how-it-works__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .cg-how-it-works__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Blog Grid — minimal list (cg-blog-grid — D)
   ============================================================ */
.cg-blog-grid {
  padding: 64px 0;
  background: var(--bg-page);
}
.cg-blog-grid .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-blog-grid__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cg-blog-grid__list > li { list-style: none; }
.cg-blog-grid__card {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}
.cg-blog-grid__card:hover .cg-blog-grid__card-title { color: var(--accent); }
.cg-blog-grid__card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 120px;
  justify-content: flex-end;
}
.cg-blog-grid__card-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 100px;
}
.cg-blog-grid__card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.cg-blog-grid__card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.cg-blog-grid__card-cta {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}
.cg-blog-grid__load-more {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 640px) {
  .cg-blog-grid__card {
    flex-direction: column;
    gap: 8px;
  }
  .cg-blog-grid__card-meta { justify-content: flex-start; }
}

/* ============================================================
   Blog Detail (cg-post)
   ============================================================ */
.cg-post {
  padding: 64px 0 96px;
  background: var(--bg-page);
}
.cg-post__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-post__header {
  margin-bottom: 36px;
}
.cg-post__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cg-post__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cg-post__meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cg-post__cover {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 48px;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.cg-post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-post__body,
.c-post__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 68ch;
}
.cg-post__body h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.cg-post__body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.cg-post__body p { margin-bottom: 20px; }
.cg-post__body ul, .cg-post__body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.cg-post__body li { margin-bottom: 8px; list-style: disc; }
.cg-post__body ol li { list-style: decimal; }
.cg-post__body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 28px 0;
  background: rgba(13,122,107,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-primary);
}
.cg-post__related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.cg-post__related h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Related articles */
.cg-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cg-related__item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s;
}
.cg-related__item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); opacity: 1; }
.cg-related__item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-height: 180px;
}
.cg-related__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-related__body {
  padding: 16px;
  flex: 1;
}
.cg-related__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0;
  transition: color 0.2s;
}
.cg-related__item:hover .cg-related__title { color: var(--accent); }
@media (max-width: 640px) {
  .cg-related { grid-template-columns: 1fr; }
}

/* ============================================================
   Contact Page
   ============================================================ */
.cg-contact {
  padding: 80px 0;
  background: #ffffff;
}
.cg-contact .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.cg-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.cg-contact__info { }

.cg-contact__info-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cg-contact__info-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.cg-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.cg-contact__detail i {
  color: var(--accent);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
}
.cg-contact__detail-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cg-contact__detail-text strong {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.cg-contact__form {
  background: var(--bg-page);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-light);
}
.cg-contact__field {
  margin-bottom: 20px;
}
.cg-contact__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.cg-contact__field input,
.cg-contact__field select,
.cg-contact__field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-primary);
  background: #ffffff;
  border: 1.5px solid rgba(15,23,42,0.12);
  border-radius: 8px;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.cg-contact__field input:focus,
.cg-contact__field select:focus,
.cg-contact__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.cg-contact__field textarea { min-height: 120px; resize: vertical; }
.cg-contact__form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cg-contact__submit {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: filter 0.2s;
  margin-top: 4px;
}
.cg-contact__submit:hover { filter: brightness(1.1); }
.cg-contact__success {
  display: none;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid rgba(21,128,61,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
}
.cg-contact__success.visible { display: flex; }
@media (max-width: 768px) {
  .cg-contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .cg-contact__form { padding: 24px; }
  .cg-contact__form-pair { grid-template-columns: 1fr; }
}

/* ============================================================
   404 Page
   ============================================================ */
.cg-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-page);
}
.cg-404__inner { max-width: 520px; }
.cg-404__code {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.cg-404__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cg-404__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cg-404__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Responsive helpers
   ============================================================ */
@media (max-width: 768px) {
  .cg-section-title { font-size: 26px; }
  .cg-cta { padding: 48px 0; }
  .cg-cta__headline { font-size: 24px; }
  .cg-process__steps { grid-template-columns: 1fr; }
}

/* Responsive nav hamburger (HARD RULE) */
@media (max-width: 768px) {
  .cg-nav__links { display: none; }
  .cg-nav__toggle { display: flex; }
}

/* ============================================================
   Legal pages (cg-legal-content)
   ============================================================ */
.cg-legal-content {
  padding: 64px 0 96px;
  background: #ffffff;
}
.cg-legal-content__inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}
.cg-legal-content__inner h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cg-legal-content__inner h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 10px;
}
.cg-legal-content__inner p { margin-bottom: 16px; color: var(--text-muted); }
.cg-legal-content__inner ul,
.cg-legal-content__inner ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.cg-legal-content__inner li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 15px;
}
.cg-legal-content__inner ol li { list-style: decimal; }
.cg-legal-content__inner a { color: var(--accent); }
.cg-legal-content__inner strong { color: var(--text-primary); font-weight: 600; }
