@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --ink: #0E1210;
  --ink-soft: #171C19;
  --green: #6FCF3C;
  --green-dark: #4FA326;
  --paper: #FFFFFF;
  --paper-dim: #F4F6F3;
  --slate: #5A6660;
  --slate-light: #8B968F;
  --line: #E4E8E4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'Inter', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 16.5px; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: 'Roboto Mono', monospace; }
a { color: inherit; text-decoration: none; }

/* Top bar */
.top-bar { background: var(--ink); color: #C7D0CB; font-size: 0.76rem; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 5px 32px; }
.top-bar a { color: var(--green); font-weight: 600; }

/* Header */
header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 30px; height: 30px; background: var(--ink); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 0.85rem; font-weight: 800; }
.logo-img { height: 46px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(59,130,246,0.5)); }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 0.9rem; color: var(--slate); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-phone { font-weight: 700; }
.nav-cta { background: var(--green); color: var(--ink) !important; padding: 8px 16px; border-radius: 4px; font-weight: 700; }
.nav-cta:hover { background: var(--green-dark); color: white !important; }

/* Hero */
.hero { background: var(--ink); color: white; padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; padding-bottom: 56px; }
.eyebrow { font-family: 'Roboto Mono', monospace; font-size: 0.8rem; color: var(--green); margin-bottom: 16px; display: block; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); color: white; max-width: 15ch; }
.hero h1 .accent { color: var(--green); }
.hero p { margin-top: 20px; max-width: 46ch; color: #C7D0CB; font-size: 1.05rem; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; font-size: 0.85rem; color: #A9B4AE; }
.hero-tags span { background: rgba(255,255,255,0.06); padding: 6px 12px; border-radius: 20px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 8px; }
.btn { display: inline-block; background: var(--green); color: var(--ink); padding: 13px 24px; border-radius: 4px; font-weight: 700; font-size: 0.95rem; }
.btn:hover { background: var(--green-dark); color: white; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: white; padding: 13px 24px; border-radius: 4px; font-weight: 700; font-size: 0.95rem; }
.btn-outline:hover { border-color: white; }

/* Hero form card */
.hero-card { background: white; color: var(--ink); border-radius: 8px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.hero-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.hero-card .sub { color: var(--slate); font-size: 0.88rem; margin-bottom: 20px; }
.hero-card label { font-family: 'Roboto Mono', monospace; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin-bottom: 5px; display: block; }
.hero-card .field { margin-bottom: 14px; }
.hero-card input, .hero-card select, .hero-card textarea {
  width: 100%; border: 1px solid var(--line); padding: 10px 12px; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.92rem;
}
.hero-card textarea { min-height: 70px; resize: vertical; }
.hero-card button { width: 100%; background: var(--green); color: var(--ink); border: none; padding: 13px; border-radius: 4px; font-weight: 700; font-size: 0.95rem; cursor: pointer; margin-top: 4px; }
.hero-card button:hover { background: var(--green-dark); color: white; }
.hero-card .fine { font-size: 0.78rem; color: var(--slate-light); text-align: center; margin-top: 10px; }

/* Stat bar */
.stat-bar { background: var(--ink-soft); border-top: 1px solid rgba(255,255,255,0.08); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-row div { text-align: center; padding: 26px 12px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-row div:last-child { border-right: none; }
.stat-row .num { font-weight: 800; font-size: 1.7rem; color: var(--green); }
.stat-row .lbl { font-size: 0.8rem; color: #A9B4AE; margin-top: 4px; }

/* Problem section */
.problem { padding: 84px 0; background: var(--paper); }
.problem-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 52px; }
.problem h2 { font-size: 2rem; max-width: 14ch; margin-bottom: 18px; }
.problem > .wrap > .problem-grid > div:first-child > p.lead { color: var(--slate); max-width: 48ch; margin-bottom: 24px; }
.pain-item { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.pain-item:first-of-type { border-top: none; }
.pain-item .n { font-family: 'Roboto Mono', monospace; color: var(--slate-light); font-size: 0.85rem; padding-top: 2px; }
.pain-item h4 { font-size: 1rem; margin-bottom: 4px; }
.pain-item p { color: var(--slate); font-size: 0.92rem; }
.problem-card { background: var(--ink); color: white; border-radius: 8px; padding: 30px; align-self: start; }
.problem-card h4 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 20px; font-family: 'Roboto Mono', monospace; font-weight: 500; }
.stat-line { margin-bottom: 18px; }
.stat-line .top { display: flex; justify-content: space-between; font-size: 0.88rem; color: #C7D0CB; margin-bottom: 6px; }
.stat-line .bar-bg { background: rgba(255,255,255,0.12); height: 6px; border-radius: 3px; overflow: hidden; }
.stat-line .bar-fill { background: var(--green); height: 100%; }

/* Services */
.services { padding: 84px 0; background: var(--paper-dim); }
.services-head { text-align: left; margin-bottom: 40px; max-width: 60ch; }
.services-head h2 { font-size: 1.9rem; }
.services-head p { color: var(--slate); margin-top: 12px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid > div { background: white; padding: 30px 28px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,46,82,0.04); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.svc-grid > div:hover { box-shadow: 0 12px 28px rgba(15,46,82,0.10); transform: translateY(-3px); border-color: transparent; }
.svc-icon { width: 44px; height: 44px; background: var(--paper-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.2rem; }
.svc-grid h3 { font-size: 1.02rem; margin-bottom: 8px; }
.svc-grid p { color: var(--slate); font-size: 0.9rem; }

/* Why us */
.why { padding: 84px 0; }
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: start; }
.why h2 { font-size: 1.9rem; max-width: 16ch; margin-bottom: 12px; }
.why > .wrap > .why-grid > div:first-child > p.lead { color: var(--slate); margin-bottom: 26px; max-width: 46ch; }
.check-item { display: flex; gap: 14px; padding: 14px 0; }
.check-item .mark { color: var(--green); font-weight: 800; font-size: 1.1rem; }
.check-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.check-item p { color: var(--slate); font-size: 0.9rem; }
.why-panel { background: var(--ink); color: white; border-radius: 8px; padding: 32px; }
.why-panel .big { font-size: 2.4rem; font-weight: 800; color: var(--green); }
.why-panel .biglbl { font-size: 0.85rem; color: #A9B4AE; margin-bottom: 22px; }
.why-panel .row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.why-panel .row:first-of-type { border-top: none; }
.why-panel .row span:last-child { color: var(--green); font-weight: 700; }

/* Process */
.process { background: var(--ink); color: white; padding: 84px 0; text-align: center; }
.process .eyebrow { text-align: center; }
.process h2 { color: white; font-size: 1.9rem; max-width: 20ch; margin: 0 auto 10px; }
.process p.lead { color: #A9B4AE; max-width: 50ch; margin: 0 auto 48px; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { position: relative; }
.step .circle { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 18px; background: var(--ink); position: relative; z-index: 2; }
.step h4 { color: white; font-size: 1.02rem; margin-bottom: 10px; }
.step p { color: #A9B4AE; font-size: 0.9rem; max-width: 30ch; margin: 0 auto; }

/* Clients / proof */
.proof { padding: 84px 0; }
.proof-head { max-width: 60ch; margin-bottom: 36px; }
.proof-head h2 { font-size: 1.9rem; }
.proof-head p { color: var(--slate); margin-top: 10px; }
.client-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-tiles > div { background: white; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 10px; padding: 24px 20px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); text-align: center; font-size: 0.96rem; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.client-tiles > div:hover { box-shadow: 0 10px 24px rgba(15,46,82,0.08); transform: translateY(-3px); }

/* FAQ */
.faq { padding: 84px 0; background: var(--paper-dim); }
.faq-head { max-width: 60ch; margin-bottom: 32px; }
.faq-head h2 { font-size: 1.9rem; }
details.faq-item { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; margin-bottom: 10px; }
details.faq-item summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--slate-light); }
details.faq-item[open] summary::after { content: '–'; }
details.faq-item p { color: var(--slate); font-size: 0.92rem; margin-top: 12px; }

/* CTA banner */
.cta-banner { background: var(--ink); color: white; padding: 68px 0; text-align: center; }
.cta-banner h2 { color: white; font-size: 1.9rem; margin-bottom: 12px; }
.cta-banner p { color: #A9B4AE; margin-bottom: 26px; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-ctas { display: flex; gap: 14px; justify-content: center; }

/* Footer */
footer { background: var(--ink); color: #A9B4AE; padding: 48px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 18px; }
.footer-grid h4 { color: white; font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.03em; }
.footer-grid p, .footer-grid a { display: block; color: #A9B4AE; font-size: 0.88rem; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.8rem; color: #6E7A73; }

/* Page head */
.page-head { padding: 60px 0 44px; background: var(--ink); color: white; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head h1 { color: white; font-size: 2.1rem; max-width: 20ch; }
.page-head p { margin-top: 16px; max-width: 54ch; color: #C7D0CB; }

@media (max-width: 900px) {
  .hero-grid, .problem-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-row, .svc-grid, .step-row, .client-tiles { grid-template-columns: repeat(2, 1fr); }
  .stat-row div:nth-child(2) { border-right: none; }
}

.client-logo { display: block; max-height: 40px; max-width: 78%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s ease, opacity 0.2s ease; }
.client-tiles > div:hover .client-logo { filter: none; opacity: 1; }
.client-tiles > div { min-height: 84px; }

.client-logo.tall { max-height: 60px; }

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-style: italic; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.logo-sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green-dark); margin-top: 5px; }
