/* ============================================================
   VKCD — Vertex Knowledge & Consumer Data
   Palette: 60% cloud/white · 25% navy/slate · 10% insight blue
            · 5% teal + amber (scarce, meaningful)
   ============================================================ */

:root {
  --navy:   #102A43;
  --blue:   #2563EB;
  --blue-d: #1D4ED8;
  --teal:   #0F9D8A;
  --amber:  #F4B740;
  --bg:     #F7FAFC;
  --surface:#FFFFFF;
  --text:   #334E68;
  --muted:  #D9E2EC;
  --red:    #C0564F;            /* only for risk markers, scarce */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 67, .08);
  --shadow-lg: 0 24px 60px rgba(16, 42, 67, .14);
  --container: 1140px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }

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

section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--muted); border-bottom: 1px solid var(--muted); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0 0 24px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; }
.section-head p { margin-top: 12px; color: var(--text); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
  border-radius: 10px; padding: 13px 26px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-outline { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: rgba(37, 99, 235, .06); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 9px 18px; border-radius: 8px; font-size: 14.5px; }

/* ---------- header ---------- */
#site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--muted);
  transition: box-shadow .2s;
}
#site-header.scrolled { box-shadow: 0 4px 18px rgba(16, 42, 67, .07); }
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { color: var(--navy); font-size: 17px; letter-spacing: .01em; }
.logo-text em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text em { color: rgba(255, 255, 255, .65); }

#site-nav { display: flex; gap: 26px; margin-left: auto; }
#site-nav a {
  color: var(--navy); font-size: 15px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
#site-nav a:hover { color: var(--blue); }
#site-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-select {
  font: inherit; font-size: 13.5px; color: var(--navy);
  background: var(--surface); border: 1px solid var(--muted);
  border-radius: 8px; padding: 7px 8px; cursor: pointer;
}
.lang-select:focus { outline: 2px solid rgba(37, 99, 235, .35); }
.lang-select-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.lang-select-dark option { color: var(--navy); }

#nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; cursor: pointer; }
#nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--surface); padding: calc(var(--nav-h) + 76px) 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: rgba(37, 99, 235, .08);
  border: 1px solid rgba(37, 99, 235, .22);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-amber { background: var(--amber); }

.hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.03em; }
.hero .lead { margin-top: 20px; font-size: 18.5px; max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-proof li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy); font-weight: 500; }

.hero-dataline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; }

/* report mock */
.hero-visual { display: flex; justify-content: center; }
.report-card {
  position: relative; width: 100%; max-width: 400px;
  background: var(--surface); border: 1px solid var(--muted);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px;
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; }
.report-kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.report-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-top: 3px; }
.delta-chip {
  font-size: 12.5px; font-weight: 700; color: var(--teal);
  background: rgba(15, 157, 138, .1); border: 1px solid rgba(15, 157, 138, .3);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.mini-bars {
  margin-top: 22px; height: 96px;
  display: flex; align-items: flex-end; gap: 10px;
  border-bottom: 1.5px solid var(--muted); padding-bottom: 2px;
}
.mini-bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue); opacity: .9; }
.mini-bar.bar-teal { background: var(--teal); }
.mini-bar.bar-amber { background: var(--amber); }
.report-rows { margin-top: 18px; display: flex; flex-direction: column; }
.report-row {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px dashed var(--muted);
  font-size: 14px; color: var(--text);
}
.report-row:last-child { border-bottom: 0; }
.report-row b { color: var(--navy); }
.report-row b.warn { color: var(--amber); }
.chip {
  position: absolute; top: -14px; right: 0; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; color: #8a6410;
  background: var(--amber); border-radius: 8px; padding: 5px 12px;
  box-shadow: 0 6px 16px rgba(244, 183, 64, .45);
}

/* ---------- services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--muted); border-radius: var(--radius); }
.svc-card {
  padding: 30px 28px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  border-top: 3px solid transparent;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); border-top-color: var(--blue); }
.svc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
}
.svc-ic svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-blue { background: rgba(37, 99, 235, .09); } .ic-blue svg { stroke: var(--blue); }
.ic-teal { background: rgba(15, 157, 138, .1); } .ic-teal svg { stroke: var(--teal); }
.ic-amber { background: rgba(244, 183, 64, .16); } .ic-amber svg { stroke: #C98F1B; }
.svc-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.svc-card p { font-size: 15px; }

/* ---------- method ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before {
  content: ""; position: absolute; top: 39px; left: calc(100% + 14px); right: -14px;
  height: 2px; background: var(--muted);
}
.step:last-child::before { display: none; }
.step-num { font-size: 15px; font-weight: 800; color: var(--blue); letter-spacing: .08em; }
.step-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.step-mark.mark-amber { background: var(--amber); box-shadow: 0 0 0 5px rgba(244, 183, 64, .22); }
.step h3 { font-size: 18px; margin: 16px 0 6px; }
.step p { font-size: 14.5px; }

/* ---------- results ---------- */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-size: 16px; color: var(--navy); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(15, 157, 138, .14);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 10px; height: 5px;
  border-left: 2.2px solid var(--teal); border-bottom: 2.2px solid var(--teal);
  transform: rotate(-45deg);
}

.dash-card {
  background: var(--surface); border: 1px solid var(--muted);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-title { font-weight: 700; color: var(--navy); font-size: 16.5px; }
.legend { display: flex; gap: 12px; font-size: 12px; color: var(--text); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.sw { width: 9px; height: 9px; border-radius: 2.5px; display: inline-block; }
.sw-blue { background: var(--blue); } .sw-teal { background: var(--teal); }
.sw-amber { background: var(--amber); } .sw-red { background: var(--red); }
.dash-chart {
  margin-top: 22px; height: 210px; display: flex; align-items: flex-end; gap: 14px;
  border-bottom: 1.5px solid var(--muted);
  background: repeating-linear-gradient(to top, transparent 0 51px, var(--muted) 51px 52px);
}
.dash-bar { position: relative; flex: 1; border-radius: 6px 6px 0 0; background: var(--blue); }
.dash-bar em {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--navy);
}
.dash-bar.bar-teal { background: var(--teal); }
.dash-bar.bar-amber { background: var(--amber); }
.dash-bar.bar-red { background: var(--red); }
.dash-labels { display: flex; gap: 14px; margin-top: 8px; }
.dash-labels span { flex: 1; text-align: center; font-size: 12px; color: var(--text); font-weight: 600; }
.dash-note { margin-top: 14px; font-size: 12px; color: var(--text); opacity: .75; }

/* ---------- industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip-outline {
  font-size: 15px; font-weight: 500; color: var(--navy);
  background: var(--bg); border: 1px solid var(--muted);
  border-radius: 999px; padding: 10px 22px;
  transition: border-color .18s, color .18s;
}
.chip-outline:hover { border-color: var(--blue); color: var(--blue); }
.chip-em { border-style: dashed; color: var(--teal); font-weight: 600; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.about-p { margin-top: 16px; font-size: 16.5px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.values li {
  background: var(--surface); border: 1px solid var(--muted);
  border-left: 3px solid var(--blue); border-radius: 10px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow);
}
.values li:nth-child(2) { border-left-color: var(--teal); }
.values li:nth-child(3) { border-left-color: var(--amber); }
.values b { color: var(--navy); font-size: 15.5px; }
.values span { font-size: 14.5px; }

/* ---------- contact ---------- */
.contact-band { position: relative; background: var(--navy); overflow: hidden; }
.contact-dataline { position: absolute; inset: 24px 0 auto 0; width: 100%; height: 40px; opacity: .5; }
.contact-inner { position: relative; text-align: center; max-width: 640px; }
.contact-inner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.02em; }
.contact-inner p { color: rgba(255, 255, 255, .78); margin-top: 14px; font-size: 17px; }
.contact-btns { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.contact-mail { margin-top: 26px; font-size: 14.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .55); }

/* ---------- footer ---------- */
#site-footer { position: relative; background: #0B1F33; color: rgba(255, 255, 255, .72); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 48px; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rights { font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-dataline { display: block; width: 100%; height: 26px; margin-top: 48px; opacity: .8; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .step::before { display: none; }
  .results-grid, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  #nav-toggle { display: flex; }
  #site-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--muted);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 15px 24px; border-bottom: 1px solid var(--muted); }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
