:root {
  --bg: #1b1f1f;
  --bg-alt: #202525;
  --card: #2a3130;
  --card-alt: #2f3736;
  --border: #3a4342;
  --text: #f2f5f3;
  --text-muted: #a9b3b0;
  --accent: #3ecf8e;
  --accent-dim: #2a8f63;
  --accent-soft: rgba(62, 207, 142, 0.12);
  --red: #ef4d4d;
  --amber: #e0a530;
  --radius: 14px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 60px 0; border-top: 1px solid var(--border); }
@media (max-width: 720px) {
  section { padding: 40px 0; }
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0; }

h2.section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 28px;
}

.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

a { color: inherit; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(62, 207, 142, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 31, 31, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1f16;
  font-weight: 800;
  font-size: 0.85rem;
}

.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 4px 6px;
  height: 30px;
}

.brand-mark {
  height: 22px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-block;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1rem;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-cta.desktop-only { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #0c1f16;
}
.btn-primary:hover { background: #4fe0a0; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(62,207,142,0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-text { text-align: left; }

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin: 14px 0 16px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 0 26px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual: At Risk -> Recovered diagram, stat badges in a row below */
.hero-visual {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-diagram-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
}

.hero-diagram { position: absolute; inset: 0; width: 100%; height: 100%; }

.node {
  position: absolute;
  top: 30%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.node-risk { left: 4%; border: 2px solid var(--red); background: rgba(239,77,77,0.1); }
.node-recovered { right: 4%; border: 2px solid var(--accent); background: var(--accent-soft); }
.node-dot { width: 14px; height: 14px; border-radius: 50%; }
.node-risk .node-dot { background: var(--red); }
.node-recovered .node-dot { background: var(--accent); }

.node-label {
  position: absolute;
  top: calc(30% + 84px);
  width: 74px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.node-risk-label { left: 4%; }
.node-recovered-label { right: 4%; }

.hero-stats-row {
  display: flex;
  gap: 12px;
}

.float-badge {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.float-badge .num { color: var(--accent); font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.float-badge .label { color: var(--text-muted); font-size: 0.7rem; margin-top: 4px; line-height: 1.3; }

@media (max-width: 900px) {
  .hero-visual { max-width: 420px; }
}
@media (max-width: 560px) {
  .hero-stats-row { flex-direction: column; }
}

/* Logo strip */
.logo-strip {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-strip .strip-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}
.logo-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .logo-row-grid { grid-template-columns: repeat(2, 1fr); }
}
.logo-chip {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 8px;
  padding: 10px 18px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  width: 156px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 0 auto;
}
.logo-chip.logo-img {
  background: #fff;
  border-color: #fff;
  padding: 10px;
}
.logo-chip img {
  max-height: 68px;
  max-width: 136px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Cards grid generic */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* Problem / Solution shift grid */
.shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}
@media (max-width: 760px) {
  .shift-grid { grid-template-columns: 1fr; gap: 32px; }
}

.shift-solution {
  border-left: 1px solid var(--border);
  padding-left: 48px;
}
@media (max-width: 760px) {
  .shift-solution { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 28px; }
}

.shift-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.shift-problem .shift-label { color: var(--red); }
.shift-solution .shift-label { color: var(--accent); }

.shift-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.shift-item:last-child { border-bottom: none; padding-bottom: 0; }
.shift-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.shift-item h4 { font-size: 0.95rem; margin: 0 0 2px; }
.shift-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Agent cards */
.agent-card { border-top: 3px solid var(--accent); text-align: center; }
.agent-card .agent-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.agent-card h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: 0.02em; }
.agent-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.agent-highlight {
  background: linear-gradient(160deg, var(--accent), var(--accent-dim));
  border-top-color: transparent;
}
.agent-highlight .agent-icon { background: rgba(255,255,255,0.25); color: #0c1f16; }
.agent-highlight h3,
.agent-highlight p { color: #0c1f16; }

/* Pricing cards */
.pricing-card { border-top: 3px solid var(--accent); }
.pricing-card .icon { font-size: 1.4rem; margin-bottom: 12px; }
.pricing-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pricing-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* Compliance cards */
.compliance-card { border-top: 3px solid var(--accent); }
.compliance-card .icon { font-size: 1.4rem; margin-bottom: 12px; }
.compliance-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.compliance-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* Results cards */
.results-card { border-top: 3px solid var(--accent); }
.results-card .icon { font-size: 1.4rem; margin-bottom: 12px; }
.results-card h3 { font-size: 1.6rem; color: var(--accent); margin-bottom: 6px; }
.results-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* Lead form */
.lead-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lead-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .lead-layout { grid-template-columns: 1fr; } }

.lead-points { list-style: none; margin: 18px 0 0; padding: 0; }
.lead-points li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-muted); margin-bottom: 10px; font-size: 0.95rem;
}
.lead-points li .chk { color: var(--accent); font-weight: 700; }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.form-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }

.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: 0.85rem; color: var(--text-muted); margin-bottom: 7px; font-weight: 500;
}
.field label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 90px; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-msg {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  display: none;
}
.form-msg.success { display: block; background: rgba(62,207,142,0.12); border: 1px solid rgba(62,207,142,0.4); color: var(--accent); }
.form-msg.error { display: block; background: rgba(239,77,77,0.12); border: 1px solid rgba(239,77,77,0.4); color: #ff9b9b; }

.privacy-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

/* Footer */
footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-inner .copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; font-size: 0.85rem; color: var(--text-muted); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
