/* CERVR.ai — marketing site styles */

:root {
  --ink: #0d1b2a;
  --ink-soft: #3a4a5c;
  --muted: #6b7a8d;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --brand: #0f3b2b;      /* CERVR dark green */
  --brand-dark: #092c20;
  --accent: #9fce3f;     /* CERVR lime */
  --accent-soft: #e8f6cf;
  --eyebrow: #f06321;
  --radius: 16px;
  --shadow: 0 10px 40px -18px rgba(13, 27, 42, 0.35);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--eyebrow);
  margin: 0 0 .8rem;
}
.center { text-align: center; }
.accent { color: var(--brand); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand-mark { border-radius: 8px; display: block; }
.brand-lockup { display: block; width: auto; }
.brand-name { font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--brand-dark); }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, #eef6ff, transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { max-width: 820px; }
.hero h1 { margin-bottom: .4em; }
.hero .accent {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 44px; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: transform .12s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stat-label { font-size: .9rem; color: var(--muted); max-width: 190px; }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 680px; }
.center.section-lede { margin-left: auto; margin-right: auto; }
.narrow { max-width: 760px; }

/* Cards / services */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-services { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px -20px rgba(13,27,42,.4); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card p { color: var(--ink-soft); margin: 0; }
.card-accent { background: linear-gradient(160deg, var(--brand), var(--brand-dark)); border: none; color: #fff; }
.card-accent h3, .card-accent p { color: #fff; }
.card-accent p { color: rgba(255,255,255,.9); }

/* Two column (AI) */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.feature-list li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.feature-list li:before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  color: var(--brand); font-weight: 800;
  background: var(--accent-soft); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
}
.feature-list strong { color: var(--ink); }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-title { font-weight: 700; }
.panel-live { color: var(--brand); font-size: .8rem; font-weight: 600; }
.meter { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: 12px; margin: 12px 0; font-size: .9rem; }
.meter-label { color: var(--ink-soft); }
.meter-bar { height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; }
.meter-val { text-align: right; font-weight: 700; color: var(--ink); }
.panel-note { font-size: .78rem; color: var(--muted); margin: 16px 0 0; }

/* Method */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mini { }
.mini-num { display: inline-block; font-weight: 800; color: var(--accent); font-size: 1.4rem; margin-bottom: 6px; }
.mini h4 { margin-bottom: .3em; }
.mini p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.pledge {
  margin-top: 48px; padding: 32px 36px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line); text-align: center;
}
.pledge p { margin: 0; font-size: 1.15rem; color: var(--ink-soft); max-width: 760px; margin: 0 auto; }
.pledge strong { color: var(--ink); }

/* Regions */
.grid-regions { grid-template-columns: repeat(3, 1fr); }
.region { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.region h4 { color: var(--brand); margin-bottom: .4em; }
.region p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.region-more { background: var(--bg-alt); }

/* About */
.about-text { font-size: 1.1rem; color: var(--ink-soft); text-align: center; }

/* Contact */
.section-contact { background: linear-gradient(160deg, #0d1b2a, #0b3d3a); color: #fff; }
.section-contact h2 { color: #fff; }
.section-contact .section-lede { color: rgba(255,255,255,.82); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.contact-card h4 { color: var(--accent); margin-bottom: .6em; }
.contact-line { display: block; color: #fff; font-size: 1.25rem; font-weight: 700; }
.contact-line:hover { color: var(--accent); }
.contact-sub { display: block; color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 4px; }

/* Footer */
.site-footer { background: #0d1b2a; color: #cdd7e2; padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; }
.footer-tag { color: #8ba0b5; margin: 12px 0 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: #cdd7e2; font-size: .92rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px;
  color: #7f93a8; font-size: .85rem;
}
.footer-legal p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .grid-services, .grid-regions { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .grid-services, .grid-regions, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .footer-legal { flex-direction: column; }
}
