/* ======================================================
   Capgrowth — shared stylesheet
   ====================================================== */

:root{
  --navy-950:#0a1526;
  --navy-900:#0e1e36;
  --navy-800:#132745;
  --navy-700:#1b3457;
  --navy-600:#28456f;
  --ink:#0e1e36;
  --paper:#f7f8fb;
  --paper-2:#eef1f6;
  --white:#ffffff;
  --emerald:#1f9d6f;
  --emerald-dark:#167a57;
  --emerald-tint:#e6f5ee;
  --gold:#c99a4a;
  --slate-600:#4a5568;
  --slate-500:#66707f;
  --slate-300:#c7ceda;
  --line:#e2e6ee;
  --shadow-sm: 0 1px 2px rgba(14,30,54,.06);
  --shadow-md: 0 8px 24px rgba(14,30,54,.08);
  --shadow-lg: 0 20px 48px rgba(14,30,54,.14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0 0 .5em; line-height:1.15; font-weight:700; letter-spacing:-0.01em; }
p{ margin:0 0 1em; color: var(--slate-600); }
.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section{ padding: 60px 0; }
@media (max-width: 768px){ section{ padding: 38px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--emerald-dark);
  background: var(--emerald-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy-900); }
.section-head p{ font-size: 1.05rem; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--emerald); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--emerald-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost{ background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--navy-700); background: rgba(14,30,54,.04); }
.btn-outline{ background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--navy-700); }
.btn-lg{ padding: 15px 32px; font-size: 1.02rem; }
.btn-block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}

/* Wordmark logo — "cap" in navy, "growth" in emerald, green underline */
.logo{ display:inline-flex; flex-direction:column; align-items:flex-start; gap:0; line-height:1; }
.logo-word{ display:inline-flex; position:relative; font-weight:800; font-size:1.34rem; letter-spacing:-0.01em; padding-bottom:7px; }
.logo-word::after{
  content:""; position:absolute; left:1px; bottom:0;
  width:38%; height:3px; border-radius:2px; background: var(--emerald);
}
.logo .cap{ color: var(--navy-900); }
.logo .growth{ color: var(--emerald); }
.logo .sub{ color: var(--slate-500); font-weight:600; font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; margin-top:4px; display:block; }

.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{ color: var(--slate-600); font-weight:500; font-size:.94rem; transition: color .15s ease; }
.nav-links a:hover{ color: var(--navy-900); }
.header-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background: var(--navy-900); margin:5px 0; border-radius:2px; }

@media (max-width: 480px){
  .site-header .container{ height:64px; }
  .logo-word{ font-size:1.1rem; }
  .logo .sub{ display:none; }
  .header-actions{ gap:8px; }
  .header-actions .btn-primary{ padding:10px 16px; font-size:.86rem; }
}

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:76px; left:0; right:0;
    background: var(--white);
    flex-direction:column; align-items:flex-start;
    padding: 8px 24px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width:100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display:block; }
  .header-actions .btn-outline{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  background: radial-gradient(1100px 520px at 12% -10%, rgba(31,157,111,.10) 0%, transparent 55%),
              radial-gradient(900px 480px at 100% 0%, rgba(27,52,87,.08) 0%, transparent 60%),
              var(--white);
  color: var(--ink);
  padding: 40px 0 64px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:auto -10% -30% auto;
  width:560px; height:560px; border-radius:50%;
  background: radial-gradient(circle, rgba(31,157,111,.14), transparent 70%);
}
.hero .container{ position:relative; z-index:1; display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--emerald-dark); background: var(--emerald-tint); border:1px solid #bfe4d1;
  padding:7px 14px; border-radius:999px; margin-bottom:22px;
}
.hero h1{ font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--navy-900); }
.hero h1 em{ font-style: normal; color: var(--emerald-dark); }
.hero p.lead{ color: var(--slate-600); font-size: 1.14rem; max-width: 560px; }
.hero-cta{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:34px; margin-top:52px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-size:1.3rem; color: var(--navy-900); }
.hero-stats div span{ font-size:.82rem; color: var(--slate-500); }

.hero-panel{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-panel h3{ color: var(--navy-900); font-size:1.05rem; margin-bottom:18px; }
.hero-panel .row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.hero-panel .row:last-child{ border-bottom:0; }
.hero-panel .row .label{ color: var(--slate-600); font-size:.92rem; }
.hero-panel .row .value{ color: var(--navy-900); font-weight:700; font-size:.92rem; }
.pill-tag{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.03em;
  padding:3px 9px; border-radius:999px; background: var(--emerald-tint); color: var(--emerald-dark);
}

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero{ padding: 28px 0 48px; }
}

/* ---------- Problem / split section ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 36px; } }
.compare-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.compare-card + .compare-card{ margin-top:16px; }
.compare-card h4{ font-size:1rem; color: var(--navy-900); display:flex; align-items:center; gap:10px; }
.compare-card p{ margin:0; font-size:.94rem; }
.dot{ width:9px; height:9px; border-radius:50%; display:inline-block; }
.dot.bad{ background:#d9534f; }
.dot.good{ background: var(--emerald); }

/* ---------- Pillars ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
@media (max-width: 960px){ .grid-3{ grid-template-columns: 1fr 1fr; } .grid-4{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid-3{ grid-template-columns: 1fr; } .grid-4{ grid-template-columns: 1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
  height:100%;
}
.card:hover{ box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon{
  width:46px; height:46px; border-radius:12px;
  background: var(--emerald-tint); color: var(--emerald-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; font-size:1.3rem;
}
.card h3{ font-size:1.08rem; color: var(--navy-900); }
.card p{ font-size:.94rem; margin-bottom: 0; }
.card .learn{ margin-top:14px; display:inline-flex; align-items:center; gap:6px; color: var(--emerald-dark); font-weight:600; font-size:.88rem; }

/* ---------- Segments ---------- */
.segment-card{
  background:#fff; border:1px solid var(--line); border-top:3px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 28px; position:relative; overflow:hidden; box-shadow: var(--shadow-sm);
}
.segment-card h3{ color: var(--navy-900); font-size:1.05rem; }
.segment-card p{ color: var(--slate-600); font-size:.92rem; margin-bottom:14px; }
.segment-card .fit{ font-size:.78rem; color: var(--emerald-dark); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: step; }
@media (max-width: 960px){ .steps{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .steps{ grid-template-columns: 1fr; } }
.step{ position:relative; padding-top: 8px; }
.step .num{
  width:38px; height:38px; border-radius:50%;
  background: var(--navy-900); color:#fff; font-weight:700;
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.step h4{ font-size:1rem; color: var(--navy-900); }
.step p{ font-size:.92rem; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--emerald-tint), #eaf3fb);
  border: 1px solid #d7ecdf;
  color: var(--navy-900); border-radius: var(--radius-lg); padding: 56px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color: var(--navy-900); font-size:1.6rem; margin-bottom:8px; }
.cta-band p{ color: var(--slate-600); margin:0; }

/* ---------- Contact / form ---------- */
.contact-wrap{ display:grid; grid-template-columns: .85fr 1.15fr; gap: 56px; }
@media (max-width: 860px){ .contact-wrap{ grid-template-columns: 1fr; } }
.contact-info .item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-info .item .ico{
  width:40px; height:40px; border-radius:10px; background: var(--emerald-tint); color: var(--emerald-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info .item h4{ font-size:.96rem; margin-bottom:2px; color: var(--navy-900); }
.contact-info .item p{ font-size:.9rem; margin:0; }

.form-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.84rem; font-weight:600; color: var(--navy-900); margin-bottom:6px; }
.field input, .field select, .field textarea{
  width:100%; padding: 12px 14px; border-radius: 10px; border:1px solid var(--line);
  font-family: var(--font); font-size:.95rem; background: var(--paper); color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--emerald); background:#fff; }
.field textarea{ resize: vertical; min-height: 100px; }
.form-note{ font-size:.78rem; color: var(--slate-500); margin-top:10px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--white); color: var(--slate-600); padding: 56px 0 28px; border-top:1px solid var(--line); }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h5{ color: var(--navy-900); font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color: var(--slate-600); font-size:.92rem; }
.footer-grid a:hover{ color: var(--emerald-dark); }
.footer-bottom{
  margin-top: 46px; padding-top: 24px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-size:.82rem; color: var(--slate-500);
}
.footer-disclaimer{ font-size:.78rem; color: var(--slate-500); max-width: 760px; margin-top:14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: linear-gradient(180deg, var(--paper-2), var(--white));
  color: var(--ink); padding: 40px 0 32px; border-bottom:1px solid var(--line);
}
.page-hero h1{ color: var(--navy-900); font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 760px; }
.page-hero p{ color: var(--slate-600); font-size:1.05rem; max-width: 640px; }
.breadcrumb{ font-size:.82rem; color: var(--slate-500); margin-bottom:16px; }
.breadcrumb a{ color: var(--slate-600); }
.breadcrumb a:hover{ color: var(--emerald-dark); }

/* ---------- Product jump nav ---------- */
.jumpnav{ position: sticky; top: 76px; background: rgba(247,248,251,.94); backdrop-filter: blur(6px); border-bottom:1px solid var(--line); z-index:40; }
.jumpnav .container{ display:flex; gap: 22px; overflow-x:auto; padding-top:14px; padding-bottom:14px; }
.jumpnav a{ font-size:.86rem; font-weight:600; color: var(--slate-600); white-space:nowrap; padding: 6px 4px; border-bottom: 2px solid transparent; }
.jumpnav a:hover{ color: var(--navy-900); }

/* ---------- Product detail blocks ---------- */
.product-block{ padding: 44px 0; border-bottom: 1px solid var(--line); }
.product-block:last-of-type{ border-bottom:0; }
.product-head{ display:flex; align-items:flex-start; gap:20px; margin-bottom: 28px; flex-wrap:wrap; }
.product-head .icon-lg{
  width:56px; height:56px; border-radius:14px; background: var(--navy-950); color:#7fe0b4;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex-shrink:0;
}
.product-head h2{ font-size:1.5rem; color: var(--navy-900); margin-bottom:4px; }
.product-tagline{ color: var(--slate-500); font-size:.98rem; margin:0; }
.product-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 860px){ .product-grid{ grid-template-columns: 1fr; } }
.product-grid h4{ font-size:.98rem; color: var(--navy-900); margin-bottom:10px; }
.checklist li{ display:flex; gap:10px; margin-bottom:10px; font-size:.95rem; color: var(--slate-600); }
.checklist li svg{ flex-shrink:0; margin-top:3px; color: var(--emerald); }
.side-box{ background: var(--paper-2); border-radius: var(--radius-md); padding:22px; }
.side-box h4{ margin-bottom:12px; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 6px; }
.tag{ font-size:.78rem; font-weight:600; background:#fff; border:1px solid var(--line); color: var(--slate-600); padding:5px 11px; border-radius:999px; }

.callout{
  background: var(--emerald-tint); border:1px solid #bfe4d1; border-radius: var(--radius-md);
  padding: 20px 24px; font-size:.92rem; color: var(--emerald-dark); margin-top: 40px;
}
