/* Kenvia website styles */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #123169;
  --navy-hover: #0d2552;
  --navy-900: #0a1a3d;
  --navy-800: #11264f;
  --ink: #0f1b33;
  --body: #46536b;
  --muted: #6b7689;
  --line: #e2e7f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --accent: #2d5be3;
  --accent-soft: #e9effd;
  --on-dark: #eef2fa;
  --on-dark-muted: #a9b6cf;
  --accent-on-dark: #8ea9ff;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 27, 51, 0.04), 0 8px 24px rgba(15, 27, 51, 0.06);
  --shadow-lg: 0 2px 4px rgba(15, 27, 51, 0.05), 0 24px 60px rgba(18, 49, 105, 0.16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
section[id], main [id] { scroll-margin-top: 92px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font); padding: 15px 22px; border-radius: 12px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c9d3e6; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9effd; }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 27, 51, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand .brand-mark { height: 40px; width: 40px; }
.brand .brand-word { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--accent); text-decoration: none; }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Type helpers */
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); }
.accent { color: var(--accent); }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Hero */
.hero {
  position: relative; padding: 72px 0 88px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(45, 91, 227, 0.12), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(18, 49, 105, 0.07), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 750; line-height: 1.06; letter-spacing: -0.03em; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--ink); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--accent); width: 18px; height: 18px; stroke-width: 2.2; }

/* Product mock */
.mock { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7dde8; display: block; }
.mock-title { font-weight: 600; color: var(--ink); }
.mock-user { margin-left: auto; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-q { display: flex; gap: 12px; align-items: flex-start; background: var(--navy); color: #fff; padding: 14px 16px; border-radius: 14px 14px 14px 4px; }
.mock-q .ico { color: var(--accent-on-dark); margin-top: 2px; }
.mock-q p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.mock-a { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-summary { font-size: 15px; color: var(--ink); line-height: 1.5; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13.5px; color: var(--ink); }
.mock-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table .num { text-align: right; padding-left: 10px; }
.bar { display: inline-block; width: calc(var(--w) * 0.5); max-width: 50px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #6f8ff0); margin-right: 8px; vertical-align: middle; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.chip .ico { width: 14px; height: 14px; stroke-width: 2; }
.mock-sources { font-size: 12.5px; color: var(--muted); }
.mock figcaption { font-size: 12px; color: var(--muted); padding: 0 20px 14px; }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; white-space: nowrap; font-weight: 600; color: var(--ink); }
.strip .ico { color: var(--accent); }

/* Overview diagram */
.overview { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.overview-figure { margin: 0; }
.overview-link { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; transition: transform .2s, box-shadow .2s; }
.overview-link:hover { transform: translateY(-2px); }
.overview-link img { width: 100%; height: auto; }
.overview-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* Product screens (tabbed tour; without JavaScript every screen is shown in turn) */
.product { background: var(--bg-soft); }
.tour-tabs { display: none; }
.tour-panel + .tour-panel { margin-top: 72px; }
.tour.js .tour-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.tour.js .tour-panel + .tour-panel { margin-top: 0; }
.tour.js .tour-panel[hidden] { display: none; }
.tour.js .tour-h { display: none; }
.tour-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s;
}
.tour-tab:hover { border-color: #b9c6e0; }
.tour-tab[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); }
.tour-tab-t { font-weight: 680; font-size: 16px; line-height: 1.3; }
.shot-n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tour-h { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin-bottom: 14px; }
.tour-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 48px; align-items: start; margin-bottom: 28px; }
.tour-copy p { font-size: 17px; color: var(--body); }
.ticks.ticks-sm { margin: 0; gap: 10px; }
.ticks.ticks-sm li { font-size: 15.5px; color: var(--ink); font-weight: 550; }
.shot {
  display: block; position: relative; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: 860px;
  transition: transform .2s;
}
.shot:hover { transform: translateY(-2px); }
.shot img { width: 100%; height: auto; }
.shot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
  background: linear-gradient(180deg, rgba(244, 247, 252, 0), rgba(244, 247, 252, .97));
}
.shot::before {
  content: "Open full size"; position: absolute; right: 16px; bottom: 16px; z-index: 1;
  font-size: 13px; font-weight: 600; color: #fff; background: var(--navy); padding: 7px 14px; border-radius: 999px;
}
.shots-note { margin-top: 28px; text-align: center; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.plan h3 { font-size: 20px; }
.plan-price { margin: 14px 0 18px; }
.plan-price .amt { display: block; font-size: 38px; font-weight: 750; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.plan-price .per { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.plan-facts { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink); }
.plan-facts b { font-weight: 700; }
.plan-rate { font-size: 14px; color: var(--accent); font-weight: 600; margin: 14px 0 22px; flex: 1; }
.plan-dark { background: var(--navy); border-color: var(--navy); }
.plan-dark h3, .plan-dark .plan-price .amt, .plan-dark .plan-facts { color: #fff; }
.plan-dark .plan-price .per { color: var(--on-dark-muted); }
.plan-dark .plan-facts { border-top-color: var(--line-dark); }
.plan-dark .plan-rate { color: var(--accent-on-dark); }
.included { margin-top: 20px; background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.included h3 { font-size: 19px; }
.ticks.included-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; margin: 18px 0 0; }
.included-list li { font-size: 15.5px; color: var(--ink); }
.included .fine { margin-top: 20px; font-size: 14px; }

/* Sections */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 720; }
.section-head .lead { margin-top: 16px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section-soft .card { box-shadow: none; }
.card h3 { font-size: 19px; font-weight: 680; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.card p { font-size: 15.5px; line-height: 1.55; }
.card-tight { padding: 22px 24px; }
.card-tight h3 { font-size: 17px; }
.card-tight h3 .ico { color: var(--accent); }
.card-key { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.card-key p { color: var(--ink); }
.card-dark { background: var(--navy); border-color: var(--navy); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-muted); }
.icon-tile { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.icon-tile .ico { width: 22px; height: 22px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px;
  border-top: 2px solid #a8b4c8; border-right: 2px solid #a8b4c8; transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.step-n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step h3 { font-size: 18px; margin: 10px 0 6px; }
.step p { font-size: 15px; line-height: 1.5; }
.step-key { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.step-key p { color: var(--ink); }
.band { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 20px 24px; border: 2px dashed #b6c1d4; border-radius: var(--radius); color: var(--ink); background: rgba(255,255,255,.6); }
.band .ico { color: var(--accent); width: 24px; height: 24px; }
.band p { font-size: 16px; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col h2 { margin-bottom: 16px; }
.translate { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.tr-row { display: grid; grid-template-columns: 170px 24px 1fr; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.tr-row code { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.tr-row .ico { color: var(--accent); }
.tr-row span { font-weight: 650; color: var(--ink); }
.vsteps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.vsteps li { display: flex; gap: 16px; align-items: flex-start; }
.vs-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.vs-key { background: var(--accent-soft); border-color: var(--accent); }
.vsteps h3 { font-size: 17px; margin-bottom: 2px; }
.vsteps p { font-size: 15.5px; }

/* Dark sections */
.section-dark { background: radial-gradient(900px 500px at 90% 0%, #1d3474 0%, transparent 60%), var(--navy-900); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-on-dark); }
.section-dark .lead { color: var(--on-dark-muted); }
.section-dark a { color: var(--accent-on-dark); }
.card-onDark { background: rgba(255,255,255,.04); border-color: var(--line-dark); box-shadow: none; }
.card-onDark p { color: var(--on-dark-muted); }
.persona-wrap { margin-top: 56px; }
.persona-title { font-size: 22px; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.persona { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; color: var(--on-dark); }
.persona th { text-align: left; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); padding: 16px 22px; border-bottom: 1px solid var(--line-dark); }
.persona td { padding: 16px 22px; border-bottom: 1px solid var(--line-dark); vertical-align: middle; }
.persona tr:last-child td { border-bottom: 0; }
.persona td b { display: block; color: #fff; }
.persona td span { font-size: 13px; color: var(--on-dark-muted); }
.persona .num { text-align: right; }
.persona .hl { color: var(--accent-on-dark); font-weight: 600; }
.section-dark .fine { color: var(--on-dark-muted); }

/* Audit / models */
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks .ico { color: var(--accent); margin-top: 3px; stroke-width: 2.2; }
.ticks b { color: var(--ink); }
.models { font-size: 16px; color: var(--ink); font-weight: 550; margin-top: 4px; }
.seen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.seen-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.seen-card h3 { font-size: 16px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.seen-card h3 .ico { color: var(--accent); }
.seen-card p { font-size: 15px; line-height: 1.55; }
.seen-yes { background: var(--accent-soft); border-color: var(--accent); }
.seen-yes p { color: var(--ink); }

/* Deployment */
.targets { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.target { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--ink); }
.target .ico { color: var(--accent); }
.target-key { background: var(--navy); border-color: var(--navy); color: #fff; }
.target-key .ico { color: var(--accent-on-dark); }

/* Use cases */
.usecase h3 { color: var(--accent); margin-bottom: 14px; }
.usecase p { color: var(--ink); font-size: 15.5px; }
.usecase p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Pilot */
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.phase-when { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.phase h3 { font-size: 21px; margin: 10px 0 8px; }
.phase p { font-size: 15.5px; }
.criteria { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.criteria h3 { font-size: 19px; grid-column: 1 / -1; }
.ticks-row { flex-direction: row; flex-wrap: wrap; gap: 14px 28px; margin: 0; }
.ticks-row li { color: var(--ink); font-weight: 550; font-size: 15.5px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 650; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; font-size: 16px; }

/* Demo form */
.demo-grid { align-items: center; }
.ticks-dark .ico { color: var(--accent-on-dark); }
.ticks-dark li { color: var(--on-dark); }
.contact-line { margin-top: 28px; font-size: 16px; }
.form { background: #fff; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form .req { color: var(--accent); margin-left: 3px; }
.form input[type=text], .form input[type=email], .form textarea {
  font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #d3dbe8; border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(45, 91, 227, .15); }
.form input.invalid { border-color: #c2412d; }
.form textarea { resize: vertical; min-height: 96px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .check { flex-direction: row; font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-block; padding: 8px 14px; border: 1.5px solid #d3dbe8; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .15s; user-select: none; }
.check input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form .btn-light { background: var(--navy); color: #fff; margin-top: 4px; }
.form .btn-light:hover { background: var(--navy-hover); }
.form .btn[disabled] { opacity: .65; cursor: wait; }
.form-status { font-size: 15px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: #1f7a4a; font-weight: 600; }
.form-status.err { color: #b3361f; font-weight: 600; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { background: #071331; color: var(--on-dark-muted); padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; }
.footer-brand p { max-width: 320px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13px; }

/* Simple pages (privacy, thanks, 404) */
.page { padding: 72px 0 104px; }
.page h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 740; margin-bottom: 12px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { font-size: 16.5px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page .meta { color: var(--muted); font-size: 15px; }
.center-page { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.center-page .container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.center-page .lead { max-width: 560px; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .grid-4, .plans { grid-template-columns: repeat(2, 1fr); }
  .ticks.included-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,27,51,.08);
    padding: 8px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin: 16px 0 0; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .phases { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .tour-copy { grid-template-columns: 1fr; }
  .tour.js .tour-tabs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .nav { top: 68px !important; }
  .brand .brand-mark { height: 34px; width: 34px; }
  .brand .brand-word { height: 32px; }
  .container { padding: 0 16px; }
  .nav { padding: 8px 16px 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 17px; }
  .grid-4, .steps, .seen, .form-row, .plans, .ticks.included-list { grid-template-columns: 1fr; }
  .shot { max-height: 520px; border-radius: 12px; }
  .tour.js .tour-tabs { gap: 8px; margin-bottom: 22px; }
  .tour-tab { padding: 12px 14px; }
  .tour-tab-t { font-size: 14.5px; }
  .tour-copy { margin-bottom: 20px; }
  .shot::before { font-size: 12px; right: 10px; bottom: 10px; }
  .included { padding: 22px; }
  .step::after { display: none; }
  .strip-inner { justify-content: flex-start; }
  .tr-row { grid-template-columns: 1fr 20px 1fr; padding: 14px 16px; gap: 10px; }
  .tr-row code { font-size: 13px; }
  .mock-body { padding: 14px; }
  .mock-user { display: none; }
  .mock-table { font-size: 12.5px; }
  .bar { display: none; }
  .form { padding: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .faq summary { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .table-scroll { overflow: visible; border: 0; background: none; }
  .persona { min-width: 0; }
  .persona thead { display: none; }
  .persona, .persona tbody, .persona tr, .persona td { display: block; width: 100%; }
  .persona tr { border: 1px solid var(--line-dark); border-radius: 14px; padding: 6px 18px; margin-bottom: 12px; background: rgba(255,255,255,.03); }
  .persona td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; text-align: right; }
  .persona td::before { content: attr(data-label); color: var(--on-dark-muted); font-size: 13px; font-weight: 400; text-align: left; }
  .persona td:first-child { display: block; text-align: left; border-bottom: 1px solid var(--line-dark); }
  .persona td:first-child::before { content: none; }
  .persona tr td:last-child { border-bottom: 0; }
}

/* ---- 0.6.3.5 site update: live demo, Dashboards, Watch, pricing ---- */
.tour-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 88px 0 24px; }

.live-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 24px; }
.live-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer;
  transition: border-color .15s, background .15s; position: relative; overflow: hidden;
}
.live-tab:hover { border-color: #b9c6e0; }
.live-tab .ico { width: 24px; height: 24px; color: var(--accent); }
.live-tab b { display: block; font-size: 16px; font-weight: 700; }
.live-tab small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.live-tab[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); }
.live-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent); }
.live.js .live-tab[aria-selected="true"].playing::after { animation: live-progress var(--dur, 9s) linear forwards; }
@keyframes live-progress { to { width: 100%; } }

.live-panel { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; }
.live-panel + .live-panel { margin-top: 40px; }
.live.js .live-panel + .live-panel { margin-top: 0; }
.live.js .live-panel[hidden] { display: none; }
.live-mock { min-height: 520px; }
.live-notes { margin-top: 8px; }
.live-foot { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.live-foot .fine { margin: 0; }
.live-replay { display: none; align-items: center; gap: 8px; font: 600 14px/1 var(--font); color: var(--navy); background: #fff; border: 1.5px solid #c9d3e6; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.live-replay:hover { border-color: var(--navy); }
.live-replay .ico { width: 16px; height: 16px; }
.live.js .live-replay { display: inline-flex; }

.live-input { display: flex; gap: 12px; align-items: flex-start; background: var(--navy); color: #fff; padding: 14px 16px; border-radius: 14px 14px 14px 4px; min-height: 52px; }
.live-input .ico { color: var(--accent-on-dark); margin-top: 2px; }
.live-input p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.caret { display: none; width: 2px; height: 18px; background: #fff; margin-left: -8px; margin-top: 2px; }
.live.js .typing + .caret { display: block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.live-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.live-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--body); }
.live-steps .ico { width: 16px; height: 16px; color: var(--accent); }

.live-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 150px; align-items: end; padding-top: 6px; }
.lb { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.lb-pair { display: flex; gap: 5px; align-items: flex-end; height: 120px; width: 100%; justify-content: center; }
.lb-pair i { display: block; width: 38%; max-width: 30px; height: var(--h); border-radius: 5px 5px 0 0; transform-origin: bottom; }
.lb-last { background: #c9d3e6; }
.lb-now { background: linear-gradient(180deg, #5d7ff0, var(--accent)); }
.lb-l { font-size: 12.5px; color: var(--muted); }
.lb-key { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.lb-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.lb-key i + i, .lb-key i:nth-of-type(2) { margin-left: 10px; }

.live-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6b; }
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.tile-wide { grid-column: span 2; }
.tile-h { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.tile-n { font-size: 30px; font-weight: 750; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.tile-d { font-size: 13px; font-weight: 600; margin-top: 4px; }
.tile-d.up { color: #2f7d58; }
.tile-d.down { color: #2f7d58; }
.spark { width: 100%; height: 70px; }
.spark-l { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flash { animation: flash .9s ease-out; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }

.clause { margin: 0; border-left: 3px solid var(--accent); background: var(--bg-soft); padding: 14px 16px; border-radius: 0 12px 12px 0; }
.clause p { font-size: 15px; color: var(--ink); line-height: 1.5; }
.clause cite { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; color: var(--muted); }
.watch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.watch-name b { display: block; font-size: 15px; color: var(--ink); }
.watch-name small { font-size: 12.5px; color: var(--muted); }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.pill-ok { background: #e3f4ea; color: #1f6b46; }
.pill-risk { background: #fff1d6; color: #8a5a00; }
.pill-bad { background: #fde3e1; color: #a1261b; }
.wbars { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; height: 140px; align-items: end; padding: 0 4px; }
.wb { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.wb i { display: block; width: 60%; max-width: 40px; height: calc(110px * var(--hn)); border-radius: 5px 5px 0 0; background: #8fb8a3; transform-origin: bottom; }
.wb i.w-risk { background: #e3b04b; }
.wb i.w-bad { background: #d65a4f; }
.wb span { font-size: 12.5px; line-height: 18px; color: var(--muted); }
.wlimit { position: absolute; left: 0; right: 0; bottom: calc(24px + 110px * 0.5 - 1px); border-top: 2px dashed #7d8aa3; }
.wlimit em { position: absolute; right: 0; top: -20px; font-size: 11.5px; font-style: normal; color: var(--muted); background: #fff; padding: 0 4px; }
.alert { display: flex; gap: 12px; align-items: flex-start; background: #fdf0ef; border: 1px solid #f3c7c2; border-radius: 12px; padding: 12px 16px; }
.alert .ico { color: #a1261b; margin-top: 2px; }
.alert p { font-size: 14px; color: var(--ink); line-height: 1.5; }

/* the animation: hidden until its moment, then in; without JavaScript or with reduced motion everything shows */
.live.js.armed [data-at] { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.live.js.armed [data-at].is-in { opacity: 1; transform: none; }
.live.js.armed .lb-pair i[data-at], .live.js.armed .wb i[data-at] { transform: scaleY(0); opacity: 1; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.live.js.armed .lb-pair i[data-at].is-in, .live.js.armed .wb i[data-at].is-in { transform: scaleY(1); }
.live.js.armed .spark-l { stroke-dasharray: 600; stroke-dashoffset: 600; }
.live.js.armed .is-in .spark-l { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease; }

/* Dashboards and Watch sections */
.feature { align-items: center; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-cards .card { padding: 24px; }
.feature-cards h3 { font-size: 18px; margin-bottom: 8px; }
.feature-cards p { font-size: 15px; }
.watch-states { display: flex; flex-direction: column; gap: 14px; }
.state { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.state p { font-size: 15.5px; color: var(--body); }
.state p b { color: var(--ink); }
.state-ok { border-left: 4px solid #2f9e6b; }
.state-risk { border-left: 4px solid #e3a21a; }
.state-bad { border-left: 4px solid #d65a4f; }

/* Pricing additions */
.plan-price .amt-word { font-size: 34px; }

@media (max-width: 960px) {
  .live-panel { grid-template-columns: 1fr; gap: 20px; }
  .live-mock { min-height: 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .live-tabs { gap: 8px; }
  .live-tab { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .live-tab small { display: none; }
  .live-tab b { font-size: 15px; }
  .grid-2 { grid-template-columns: 1fr; }
  .live-bars { height: 128px; gap: 8px; }
  .lb-pair { height: 96px; }
  .tile-n { font-size: 24px; }
  .dash .mock-table td.num:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .live.js .typing + .caret { animation: none; display: none; }
  .live.js .live-tab.playing::after { animation: none; }
}
.nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1200px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14.5px; }
  .nav a[href="#connectors"], .nav a[href="#how"] { display: none; }
  .brand .brand-word { height: 34px; }
}

/* one section: animated demos with their real screens, then real screens on their own */
.live-side { display: flex; flex-direction: column; gap: 22px; }
.live-side .live-notes { margin-top: 4px; }
.real { position: relative; display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none !important; transition: transform .2s; }
.real:hover { transform: translateY(-2px); }
.real img { width: 100%; height: 260px; object-fit: cover; object-position: top left; }
.real-cap { display: block; padding: 12px 14px; font-size: 13.5px; color: var(--body); border-top: 1px solid var(--line); line-height: 1.4; }
.real-cap b { color: var(--accent); margin-right: 6px; }
.live-static { display: block; }
.live.js .live-static .tour-h { display: none; }
.live.is-static .live-replay { visibility: hidden; }
@media (max-width: 1080px) {
  .live-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .live-tabs { grid-template-columns: repeat(3, 1fr); }
  .live-tab small { display: none; }
  .real img { height: 200px; }
}

/* Kenvia in action: recordings */
.reel-panel + .reel-panel { margin-top: 72px; }
.reel.js .reel-panel + .reel-panel { margin-top: 0; }
.reel.js .reel-panel[hidden] { display: none; }
.reel.js .tour-h { display: none; }
.reel-frame { position: relative; border-radius: 16px; overflow: hidden; background: #0f172a; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.reel-video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: #f3f5f9; cursor: pointer; }
.reel-play { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font); color: #fff; background: var(--navy); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(15,27,51,.25); }
.reel-play[hidden] { display: none; }
.reel-play .ico { width: 16px; height: 16px; }
