/* Vocative — site styles. Brand: the logo's ribbon "V" (navy → royal blue → periwinkle). */
:root {
  --navy-950: #060a33;
  --navy-900: #0b1156;
  --navy-800: #141d7a;
  --blue-700: #1d3fd6;
  --blue-600: #1f5bff;
  --blue-500: #3d73ff;
  --blue-300: #9fb4ff;
  --peri-200: #c7d0ff;
  --peri-100: #e8ebff;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #16171d;
  --ink-2: #4a4c57;
  --ink-3: #7c7e88;
  --line: #e6e3dc;
  --ok: #10a36f;
  --ok-soft: #e6f7f0;
  --bad: #e5484d;
  --bad-soft: #fdecec;
  --warn: #d9861a;
  --warn-soft: #fdf3e2;

  /* Page accent (overridden per industry page) */
  --accent: var(--blue-600);
  --accent-2: var(--blue-300);
  --accent-soft: var(--peri-100);
  --accent-ink: var(--blue-700);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 17, 48, .05), 0 2px 6px rgba(13, 17, 48, .04);
  --shadow: 0 10px 30px -12px rgba(13, 17, 48, .18), 0 4px 10px -6px rgba(13, 17, 48, .08);
  --shadow-lg: 0 40px 80px -30px rgba(6, 10, 51, .45), 0 16px 32px -16px rgba(6, 10, 51, .25);
  --brand-gradient: linear-gradient(120deg, #1532c9 0%, #1f5bff 45%, #8fa6ff 100%);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
}

/* Industry themes */
.theme-food {
  --accent: #0aa5a8;
  --accent-2: #7fe0d9;
  --accent-soft: #e3f7f6;
  --accent-ink: #077a7d;
}
.theme-logistics {
  --accent: #f08c1a;
  --accent-2: #ffcf8a;
  --accent-soft: #fff2e0;
  --accent-ink: #b8640a;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.025em; line-height: 1.12; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 91, 255, .8); }
.btn-primary:hover { background: #1650ef; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(31, 91, 255, .9); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-light { background: #fff; color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--line); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--blue-300), var(--shadow-sm); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.theme-food .btn-primary, .theme-logistics .btn-primary { background: var(--accent); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.theme-food .btn-primary:hover, .theme-logistics .btn-primary:hover { background: var(--accent-ink); }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s;
}
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.site-header .logo img { height: 30px; width: auto; }
.site-header .logo .on-light { display: none; }
.site-header.scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .logo .on-dark, .site-header.menu-open .logo .on-dark { display: none; }
.site-header.scrolled .logo .on-light, .site-header.menu-open .logo .on-light { display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a, .nav button {
  font: 500 15px/1 var(--font-body); color: rgba(255, 255, 255, .82); text-decoration: none; padding: 10px 14px; border-radius: 999px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.scrolled .nav a, .scrolled .nav button, .menu-open .nav a { color: var(--ink-2); }
.scrolled .nav a:hover, .scrolled .nav button:hover, .scrolled .nav a[aria-current="page"] { color: var(--ink); background: var(--peri-100); }
.nav .has-menu { position: relative; }
.nav .has-menu svg { width: 14px; height: 14px; transition: transform .2s; }
.nav .has-menu:hover svg, .nav .has-menu:focus-within svg { transform: rotate(180deg); }
.nav .menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 330px; padding: 10px; border-radius: 18px; background: #fff;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.nav .has-menu:hover .menu, .nav .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav .menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); white-space: normal; line-height: 1.35; }
.nav .menu a:hover { background: var(--bg); }
.nav .menu b { display: block; font: 600 15px/1.3 var(--font-body); }
.nav .menu small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.nav .menu .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.nav .menu .ico svg { width: 20px; height: 20px; transform: none !important; }
.ico-food { background: #e3f7f6; color: #0aa5a8; }
.ico-log { background: #fff2e0; color: #f08c1a; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .link { font: 500 15px/1 var(--font-body); color: rgba(255, 255, 255, .82); text-decoration: none; padding: 10px 6px; }
.scrolled .header-cta .link, .menu-open .header-cta .link { color: var(--ink-2); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.scrolled .menu-toggle, .menu-open .menu-toggle { background: var(--peri-100); color: var(--navy-900); }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }
.mobile-nav { display: none; }
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .menu-open .mobile-nav {
    display: flex; flex-direction: column; gap: 4px; padding: 8px 0 22px; border-top: 1px solid var(--line);
  }
  .mobile-nav a { padding: 13px 4px; font: 600 17px/1.2 var(--font-body); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* ---------------- dark hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 156px 0 110px;
  --glow: var(--blue-500);
  background: linear-gradient(180deg, #050826 0%, var(--navy-950) 55%, #080d45 100%);
  isolation: isolate;
}
.theme-food .hero, .theme-logistics .hero { --glow: var(--accent); }
/* one soft light from above, no shapes */
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -300px; width: 1200px; height: 780px; transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 42%, transparent), color-mix(in srgb, var(--glow) 10%, transparent) 55%, transparent);
  filter: blur(20px);
}
/* faint engineering grid fading out from the top */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 1040px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-300); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-2) 22%, transparent); }
.theme-food .hero .eyebrow, .theme-logistics .hero .eyebrow { color: var(--accent-2); }
.hero h1 { font-size: clamp(40px, 4.7vw, 60px); font-weight: 600; letter-spacing: -0.035em; }
.hero-grid h1 { font-size: clamp(38px, 3.9vw, 52px); text-wrap: balance; }
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 0%, var(--peri-200) 35%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.theme-food .hero h1 .grad, .theme-logistics .hero h1 .grad { background: linear-gradient(100deg, #fff 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, .74); margin-top: 26px; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero .note { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .55); display: flex; align-items: center; gap: 8px; }
.hero .note svg { width: 16px; height: 16px; color: var(--accent-2); }
.hero.compact { padding: 150px 0 96px; }

/* ---------------- sections ---------------- */
section { position: relative; }
.section { padding: 120px 0; }
.section.tight { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; display: block; }
.section h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; }
.section .sub { font-size: 19px; color: var(--ink-2); margin-top: 18px; }
.dark { color: #fff; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); overflow: hidden; }
.dark .sub { color: rgba(255, 255, 255, .7); }
.dark .kicker { color: var(--accent-2); }
.white { background: #fff; }
@media (max-width: 760px) { .section { padding: 84px 0; } .section-head { margin-bottom: 44px; } }

/* ---------------- proof strip ---------------- */
.proof { margin-top: -52px; position: relative; z-index: 2; }
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.proof-item { padding: 28px 30px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item b { display: block; font: 600 34px/1 var(--font-head); letter-spacing: -0.03em; color: var(--navy-900); }
.proof-item b span { color: var(--accent); }
.proof-item small { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------------- steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.step::before {
  counter-increment: step; content: "0" counter(step); font: 600 14px/1 var(--font-head); color: var(--accent);
  background: var(--accent-soft); padding: 8px 10px; border-radius: 8px; align-self: flex-start;
}
.step h3 { font-size: 22px; font-weight: 600; }
.step p { color: var(--ink-2); font-size: 16px; }
.step .mini { margin-top: auto; padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--bg); color: var(--ink-2); border: 1px solid var(--line);
}
.chip svg { width: 14px; height: 14px; }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* ---------------- industries ---------------- */
.industries { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .industries { grid-template-columns: 1fr; } }
.ind-card {
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff;
  min-height: 420px; padding: 36px; isolation: isolate; transition: transform .3s ease, box-shadow .3s ease; box-shadow: var(--shadow);
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind-card::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.ind-card.food::before { background: radial-gradient(600px 300px at 100% 0%, rgba(127, 224, 217, .35), transparent 60%), linear-gradient(150deg, #06343a, #0b1156 75%); }
.ind-card.log::before { background: radial-gradient(600px 300px at 100% 0%, rgba(255, 190, 110, .35), transparent 60%), linear-gradient(150deg, #3a2208, #0b1156 75%); }
.ind-card .tag { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.ind-card.food .tag { color: #7fe0d9; }
.ind-card.log .tag { color: #ffcf8a; }
.ind-card h3 { font-size: 32px; margin-top: 14px; font-weight: 600; max-width: 420px; }
.ind-card p { color: rgba(255, 255, 255, .72); margin-top: 14px; max-width: 440px; font-size: 16px; }
.ind-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ind-card li { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); }
.ind-card .more { margin-top: auto; padding-top: 30px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ind-card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.ind-card:hover .more svg { transform: translateX(4px); }
.ind-card .art { position: absolute; right: -80px; top: -80px; width: 260px; z-index: -1; opacity: .28; }
.other-industries {
  margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.other-industries p { color: var(--ink-2); }
.other-industries b { color: var(--ink); }

/* ---------------- feature grid ---------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.dark .features { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.dark .feature { background: rgba(9, 14, 70, .7); }
.dark .feature p { color: rgba(255, 255, 255, .66); }
.dark .feature .fi { background: rgba(255, 255, 255, .08); color: var(--accent-2); }

/* ---------------- split (text + visual) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split.reverse .split-text { order: 2; }
@media (max-width: 980px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; } .split.reverse .split-text { order: 0; } }
.split-text h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; }
.split-text .sub { margin-top: 18px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); font-size: 16.5px; }
.checklist li svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.checklist li b { color: var(--ink); font-weight: 600; }
.dark .checklist li { color: rgba(255, 255, 255, .72); }
.dark .checklist li b { color: #fff; }
.dark .checklist li svg { color: var(--accent-2); }

/* ---------------- case cards ---------------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px; box-shadow: var(--shadow-sm); }
.case + .case { margin-top: 32px; }
@media (max-width: 760px) { .case { padding: 28px; border-radius: 22px; } }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.case h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.case .sub { font-size: 17px; margin-top: 16px; color: var(--ink-2); }
.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 600px) { .case-facts { grid-template-columns: 1fr; } }
.fact { padding: 18px 20px; border-radius: 14px; background: var(--bg); }
.fact b { display: block; font: 600 26px/1.1 var(--font-head); letter-spacing: -0.02em; color: var(--accent-ink); }
.fact small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.case .before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
@media (max-width: 600px) { .case .before-after { grid-template-columns: 1fr; } }
.ba { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.ba b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-3); }
.ba.after { border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); color: var(--ink); }
.ba.after b { color: var(--accent-ink); }

/* ---------------- product frames ---------------- */
.frame {
  position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6);
  overflow: hidden; color: var(--ink);
}
.frame-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfbfe; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e4ef; }
.frame-bar span { margin-left: 10px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.frame-body { padding: 22px; }
.glow { position: absolute; inset: -20%; z-index: -1; filter: blur(60px); opacity: .55; background: radial-gradient(closest-side, var(--accent), transparent); }

/* hero demo: voice → structure → document */
.demo { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 620px) { .demo { grid-template-columns: 1fr; } }
.phone {
  background: linear-gradient(180deg, #121a6e, #0a1052); border-radius: 30px; padding: 18px; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg); color: #fff; min-height: 388px; display: flex; flex-direction: column; gap: 14px;
}
.phone .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.phone .rec { display: inline-flex; align-items: center; gap: 6px; color: #ff8a8e; font-weight: 600; }
.phone .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff5a60; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.wave { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wave .rec-meta { display: inline-flex; align-items: center; gap: 7px; flex: none; font: 500 12px/1 var(--font-body); color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.wave .rec-meta i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a60; box-shadow: 0 0 0 3px rgba(255, 90, 96, .18); animation: pulse 1.2s infinite; }
.wave .wave-bars { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 1px; overflow: hidden; }
.wave .wave-bars span { width: 2px; flex: none; height: calc(var(--h) * 100%); border-radius: 2px; background: rgba(255, 255, 255, .85);
  transform-origin: center; animation: wave 1s ease-in-out infinite alternate; }
.wave.idle .rec-meta i { animation: none; background: rgba(255, 255, 255, .35); box-shadow: none; }
.wave.idle .wave-bars span { animation: none; background: rgba(255, 255, 255, .4); }
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.transcript { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); min-height: 120px; }
.transcript .caret { display: inline-block; width: 2px; height: 1em; background: var(--blue-300); vertical-align: -2px; margin-left: 2px; animation: pulse 1s infinite; }
.phone .hint { margin-top: auto; font-size: 12px; color: rgba(255, 255, 255, .5); }
.doc { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 34px; position: relative; z-index: 2; }
@media (max-width: 620px) { .doc { margin-left: 0; padding-top: 0; } }
.doc-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.doc-head b { font: 600 14px/1.3 var(--font-head); }
.doc-head small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.doc-table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 11px; padding: 9px 10px; background: #fafbff; border-bottom: 1px solid var(--line); white-space: nowrap; }
.doc-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-table tr.new td { animation: rowIn .7s ease both; background: color-mix(in srgb, var(--blue-600) 7%, transparent); }
.doc-table td.hot { color: var(--bad); font-weight: 700; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px 18px; }
.field { padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 12px; }
.field small { display: block; color: var(--ink-3); font-size: 11px; }
.field b { font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.field.fill { animation: fieldIn .5s ease both; background: color-mix(in srgb, var(--blue-600) 8%, #fff); }
@keyframes fieldIn { from { opacity: .2; } to { opacity: 1; } }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 12.5px; color: #fff; }
.pill svg { width: 14px; height: 14px; color: var(--accent-2); }

/* control plan mini view */
.cp { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; }
@media (max-width: 560px) { .cp { grid-template-columns: 1fr; } }
.cp-score { position: relative; width: 150px; height: 150px; margin: auto; }
.cp-score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.cp-score .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.cp-score .val b { font: 600 32px/1 var(--font-head); display: block; }
.cp-score .val small { font-size: 12px; color: var(--ink-3); }
.cp-bars { display: flex; flex-direction: column; gap: 10px; }
.cp-bar { display: grid; grid-template-columns: 140px 1fr 46px; gap: 10px; align-items: center; font-size: 13px; }
.cp-bar .track { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.cp-bar .track span { display: block; height: 100%; border-radius: inherit; background: var(--ok); width: 0; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.cp-bar.has-nok .track span { background: linear-gradient(90deg, var(--ok) 70%, var(--bad)); }
.cp-bar small { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.matrix { display: grid; grid-template-columns: 120px repeat(8, 1fr); gap: 5px; font-size: 11px; margin-top: 18px; }
.matrix .h { color: var(--ink-3); text-align: center; font-weight: 600; font-size: 10px; line-height: 1.2; align-self: end; padding-bottom: 4px; }
.matrix .n { font-weight: 600; font-size: 12px; align-self: center; }
.matrix .c { height: 26px; border-radius: 6px; background: var(--ok-soft); display: grid; place-items: center; color: var(--ok); }
.matrix .c.x { background: var(--bad); color: #fff; }
.matrix .c svg { width: 13px; height: 13px; }
@media (max-width: 560px) { .matrix { grid-template-columns: 90px repeat(8, 1fr); } .matrix .h { font-size: 0; } }
.issues { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.issue { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); font-size: 12.5px; }
.issue i { width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--bad); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; }
.issue b { display: block; font-size: 13px; }
.issue span { color: var(--ink-2); }

/* warehouse map */
.wh { display: grid; grid-template-columns: 1fr 240px; gap: 18px; }
@media (max-width: 760px) { .wh { grid-template-columns: 1fr; } }
.wh-map { display: flex; flex-direction: column; gap: 6px; }
.wh-row { display: grid; grid-template-columns: 36px repeat(10, 1fr); gap: 6px; align-items: center; }
.wh-row .lbl { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.slot { aspect-ratio: 1.25; border-radius: 6px; background: var(--bg); border: 1px dashed #d8dbea; transition: all .4s ease; position: relative; }
.slot.full { background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000)); border: 0; }
.slot.full.light { background: color-mix(in srgb, var(--accent) 35%, #fff); }
.slot.flash { animation: flash 1.6s ease; }
.slot.out { background: var(--bg); border: 1px dashed #d8dbea; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); transform: scale(1.18); } 100% { box-shadow: 0 0 0 12px transparent; transform: none; } }
.wh-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.wh-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.wh-side { display: flex; flex-direction: column; gap: 10px; }
.wh-stat { padding: 14px; border-radius: 12px; background: var(--bg); }
.wh-stat b { display: block; font: 600 26px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.wh-stat small { font-size: 12px; color: var(--ink-3); }
.wh-log { display: flex; flex-direction: column; gap: 6px; font-size: 12px; height: 190px; overflow: hidden; }
.wh-log div { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); animation: rowIn .5s ease both; }
.wh-log div b { display: block; font-size: 12.5px; }
.wh-log div span { color: var(--ink-3); }
.voice-bubble {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--navy-900); color: #fff;
  font-size: 14px; line-height: 1.45; margin-bottom: 16px; min-height: calc(2 * 1.45em + 24px); /* room for 2 lines, no jump */
}
.voice-bubble .mic { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.voice-bubble .mic svg { width: 16px; height: 16px; }

/* freezing card */
.fc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.fc-head .badge { font-size: 11px; font-weight: 700; padding: 6px 9px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); }
.fc-head b { font: 600 14px/1.3 var(--font-head); }
.fc-head small { display: block; font-size: 11.5px; color: var(--ink-3); }
.fc-wrap { overflow-x: auto; min-height: calc(40px + 4 * 41px); } /* header + 4 rows reserved */

/* ---------------- deployment timeline ---------------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-2)); opacity: .5; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }
.tl { position: relative; text-align: center; padding: 0 12px; }
.tl .n {
  width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font: 600 18px/1 var(--font-head);
  background: var(--navy-900); color: #fff; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px color-mix(in srgb, var(--accent) 40%, transparent);
}
.dark .tl .n { background: #fff; color: var(--navy-900); box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 9px rgba(255, 255, 255, .25); }
.tl h3 { font-size: 21px; font-weight: 600; }
.tl p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.dark .tl p { color: rgba(255, 255, 255, .68); }
.tl .when { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.dark .tl .when { background: rgba(255, 255, 255, .1); color: var(--accent-2); }

/* ---------------- use-case list ---------------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.use { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.use:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); }
.use .ui { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.use .ui svg { width: 19px; height: 19px; }
.use b { display: block; font-size: 15.5px; font-weight: 600; }
.use span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 3px; line-height: 1.45; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px; color: #fff;
  background: radial-gradient(700px 400px at 90% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
              linear-gradient(140deg, var(--navy-800), var(--navy-950));
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 24px; } }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; }
.cta p { color: rgba(255, 255, 255, .72); margin-top: 16px; font-size: 18px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.contact-card a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.contact-card .ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 20px; height: 20px; color: var(--accent-2); }
.contact-card small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.contact-card b { font-weight: 600; font-size: 16.5px; }

/* ---------------- footer ---------------- */
.site-footer { padding: 64px 0 40px; background: #fff; border-top: 1px solid var(--line); margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid img { height: 28px; width: auto; }
.footer-grid p { color: var(--ink-3); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-grid h4 { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 5px 0; }
.footer-grid a:hover { color: var(--blue-600); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }

/* ---------------- reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave .wave-bars span, .wave .rec-meta i, .phone .rec::before, .transcript .caret { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------- hero: sources panel ---------------- */
.inputs {
  background: linear-gradient(180deg, #121a6e, #0a1052); border-radius: 26px; padding: 16px; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg); color: #fff; min-height: 388px; display: flex; flex-direction: column; gap: 14px;
}
.src-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.src {
  display: flex; align-items: center; gap: 6px; justify-content: center; height: 32px; border-radius: 10px; font-size: 12.5px; font-weight: 500;
  color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: all .3s ease;
}
.src svg { width: 14px; height: 14px; }
.src.active { color: #fff; background: rgba(61, 115, 255, .35); border-color: rgba(159, 180, 255, .55); box-shadow: 0 0 0 4px rgba(61, 115, 255, .15); }
.src-view { flex: 1; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.src-view .found { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.src-view .found span { font-size: 11.5px; padding: 5px 9px; border-radius: 8px; background: rgba(127, 224, 217, .14); color: #a9efe9; animation: fieldIn .5s ease both; }
.inputs .hint { font-size: 12px; color: rgba(255, 255, 255, .5); }
.photo-card { position: relative; border-radius: 14px; overflow: hidden; height: 132px; background: linear-gradient(135deg, #e9edf8, #c9d2ea); }
.photo-card .label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); width: 74%; background: #fff; border-radius: 6px;
  padding: 10px 12px; color: #1b1f3a; font-size: 11px; line-height: 1.45; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.photo-card .label b { display: block; font-size: 12.5px; }
.photo-card .scan { position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(61, 115, 255, .35), transparent); animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 0% { top: -40%; } 100% { top: 100%; } }
.doc-thumb { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.doc-thumb .pg { height: 68px; border-radius: 6px; background: #fff; padding: 8px 7px; display: flex; flex-direction: column; gap: 4px; }
.doc-thumb .pg i { height: 4px; border-radius: 2px; background: #d9ddef; }
.doc-thumb .pg i:nth-child(1) { width: 60%; background: #9fb4ff; }
.doc-thumb b { display: block; font-size: 13px; }
.doc-thumb small { color: rgba(255, 255, 255, .55); font-size: 12px; }
.note-card { padding: 14px; border-radius: 14px; background: #fffbea; color: #3b3418; font-size: 14px; line-height: 1.5; min-height: 92px; }
.doc-table td.srcico { width: 30px; color: var(--ink-3); }
.doc-table td.srcico svg { width: 15px; height: 15px; }
.doc-table tr.new td.srcico { color: var(--blue-600); }
.doc-table td.upd { animation: fieldIn .6s ease both; background: color-mix(in srgb, var(--bad) 10%, transparent); }

/* ---------------- analytics ---------------- */
.ask { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-height: 52px; }
.ask-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--navy-900); color: #fff; display: grid; place-items: center; }
.ask-ico svg { width: 15px; height: 15px; }
.ask-q { font-size: 14px; color: var(--ink); font-weight: 500; }
.answer { margin-top: 16px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.answer.show { opacity: 1; transform: none; }
.answer-text { font-size: 14px; color: var(--ink-2); }
.answer-text b { color: var(--ink); }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; height: 150px; margin-top: 18px; padding: 0 6px; border-bottom: 1px solid var(--line); }
.vbar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.vbar span { width: 100%; max-width: 54px; height: 0; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); transition: height 1.1s cubic-bezier(.2, .7, .2, 1); }
.answer.show .vbar span { height: var(--h); }
.vbar.hot span { background: linear-gradient(180deg, #ff7a7f, var(--bad)); }
.vbar small { position: absolute; bottom: -24px; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.vbar b { position: absolute; top: auto; bottom: calc(var(--h) + 8px); font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s ease 1s; }
.answer.show .vbar b { opacity: 1; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 40px; }
.kpis div { padding: 12px; border-radius: 12px; background: var(--bg); }
.kpis small { display: block; font-size: 11.5px; color: var(--ink-3); }
.kpis b { font: 600 19px/1.2 var(--font-head); font-variant-numeric: tabular-nums; }
.frame-note { text-align: right; font-size: 12px; color: rgba(255, 255, 255, .4); margin-top: 10px; }

/* ?static: no transitions (screenshots, print) */
.static *, .static *::before, .static *::after { transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }

/* ---------------- centered hero (home) ---------------- */
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 64px; }
.hero-center .hero-copy { max-width: 1140px; display: flex; flex-direction: column; align-items: center; }
.hero-center h1 { font-size: clamp(38px, 5.2vw, 68px); }
.hero-center .lead { margin-inline: auto; max-width: 680px; }
.hero-center .actions, .hero-center .note { justify-content: center; }
.hero-center .demo { width: min(1000px, 100%); grid-template-columns: 300px minmax(0, 1fr); text-align: left; }
.hero-center .doc { padding-top: 28px; }
@media (max-width: 760px) { .hero-center .demo { grid-template-columns: 1fr; } .hero-center .doc { padding-top: 0; } }

/* subpage hero: two columns, smaller headline */
.hero-grid h1 { font-size: clamp(38px, 4.4vw, 56px); }

/* ---------------- small screens ---------------- */
@media (max-width: 560px) {
  .eyebrow { font-size: 12px; letter-spacing: .06em; }
  .eyebrow .dot { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 0 !important; border-top: 1px solid var(--line); padding: 22px 24px; }
  .proof-item:first-child { border-top: 0; }
  .proof-item b { font-size: 28px; }
  .kpis b { font-size: 16px; }
  .kpis small { font-size: 11px; }
  .hero { padding: 128px 0 88px; }
  .cp-bar { grid-template-columns: 110px 1fr 40px; font-size: 12px; }
}
.hero-grid > *, .split > * { min-width: 0; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .ba-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fc-head .chip { display: none; } .fc-head { grid-template-columns: auto 1fr; } }

/* ---------------- hero demo: clickable sources ---------------- */
.demo-wrap { width: min(1040px, 100%); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo-ask { font-size: 14px; color: rgba(255, 255, 255, .62); display: flex; align-items: center; gap: 8px; }
.demo-ask::before { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .3); }
.demo-ask::after { content: ""; width: 18px; height: 1px; background: rgba(255, 255, 255, .3); }
.demo-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.dtab {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; cursor: pointer; text-align: left;
  font: inherit; color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .2s, border-color .2s, color .2s, transform .2s; overflow: hidden;
}
.dtab:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-1px); }
.dtab svg { width: 20px; height: 20px; flex: none; }
.dtab b { display: block; font-size: 14.5px; font-weight: 600; color: inherit; }
.dtab small { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); }
.dtab .dn {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 12px/1 var(--font-head);
  background: rgba(255, 255, 255, .1); color: #fff;
}
.dtab.active { background: rgba(61, 115, 255, .28); border-color: rgba(159, 180, 255, .7); color: #fff; box-shadow: 0 0 0 4px rgba(61, 115, 255, .16); }
.dtab.active .dn { background: var(--blue-500); }
.dtab.done .dn { background: var(--ok); }
.dtab .progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--blue-300); }
.dtab.active .progress { animation: tabprog var(--dur, 7s) linear forwards; }
.dtab.manual .progress { display: none; }
@keyframes tabprog { to { width: 100%; } }
@media (max-width: 760px) { .demo-tabs { grid-template-columns: 1fr 1fr; } .dtab small { display: none; } }

.hero-center .demo-wrap .demo { width: 100%; grid-template-columns: 290px 96px minmax(0, 1fr); gap: 0; align-items: stretch; }
@media (max-width: 860px) { .hero-center .demo-wrap .demo { grid-template-columns: 1fr; gap: 0; } }
.demo-wrap .inputs { min-height: 340px; }
.demo-wrap .doc { padding-top: 0; }
.src-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-300); }
.src-view .found::before { content: "Rozpoznano:"; width: 100%; font-size: 11.5px; color: rgba(255, 255, 255, .5); margin-bottom: 2px; }

.flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 8px; }
.flow small { font-size: 11px; color: rgba(255, 255, 255, .5); text-align: center; line-height: 1.3; }
.flow-line { position: relative; width: 100%; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; }
.flow-line::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 9px; height: 9px; border-top: 2px solid rgba(255, 255, 255, .35);
  border-right: 2px solid rgba(255, 255, 255, .35); transform: translateY(-50%) rotate(45deg);
}
.flow-line i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--blue-300); opacity: 0; box-shadow: 0 0 12px var(--blue-300); }
.flow.pulse .flow-line i { animation: particle .9s ease-in forwards; }
.flow.pulse .flow-line i:nth-child(2) { animation-delay: .15s; }
.flow.pulse .flow-line i:nth-child(3) { animation-delay: .3s; }
.flow.pulse small { color: var(--blue-300); }
@keyframes particle { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@media (max-width: 860px) {
  .flow { flex-direction: row; padding: 14px 0; height: 64px; }
  .flow-line { width: 2px; height: 100%; }
  .flow-line::after { right: auto; left: 50%; top: auto; bottom: -2px; transform: translateX(-50%) rotate(135deg); }
  .flow-line i { left: 50% !important; top: 0; margin: 0 0 0 -4px; }
  @keyframes particle { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
}

.row-badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap;
  background: var(--blue-600); color: #fff; animation: fieldIn .4s ease both;
}
.row-badge.upd { background: var(--bad); }
.doc-table tr.new td { background: color-mix(in srgb, var(--blue-600) 9%, transparent); }
button.src { font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
button.src:hover { color: #fff; background: rgba(255, 255, 255, .1); }
button.src.active:hover { background: rgba(61, 115, 255, .35); }
.hero-center .demo { margin-top: 8px; }

/* ---------------- layout stability: animated areas keep a fixed footprint ---------------- */
.rows-box { overflow-x: auto; min-height: 250px; } /* hero demo: header + max 5 rows */

/* ---------------- process visual: speak → pick out → filled form ---------------- */
.pv { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pv-step:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -14px; width: 2px; background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 2px; }
.pv-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.pv-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent-ink); font: 600 14px/1 var(--font-head); box-shadow: inset 0 0 0 2px var(--accent); }
.pv-body { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.pv-body > small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.pv-say { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.pv-say mark { background: var(--accent-soft); color: var(--ink); border-radius: 5px; padding: 1px 4px; }
.pv-say mark.bad, .pv-chips .bad { background: var(--bad-soft); color: var(--bad); }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-chips span { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.pv-form { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 13px; }
.pv-form-head { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; background: #fafbff; border-bottom: 1px solid var(--line); }
.pv-form-head b { font-weight: 600; color: var(--ink); }
.pv-form-head span { color: var(--ink-3); white-space: nowrap; }
.pv-grid { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
.pv-grid > * { padding: 7px 12px; border-bottom: 1px solid var(--line); }
.pv-grid > :nth-last-child(-n+2) { border-bottom: 0; }
.pv-grid span { color: var(--ink-3); }
.pv-grid b { font-weight: 500; color: var(--ink); }
.pv-grid b.bad { color: var(--bad); font-weight: 600; }
/* staged reveal when the block scrolls in */
.pv .pv-step { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.pv.in .pv-step { opacity: 1; transform: none; }
.pv.in .pv-step:nth-child(2) { transition-delay: .5s; }
.pv.in .pv-step:nth-child(3) { transition-delay: 1s; }
.pv-grid b { transition: background .4s ease; }
@media (max-width: 600px) { .pv-form-head { flex-direction: column; gap: 2px; } .pv-grid { grid-template-columns: 96px minmax(0, 1fr); } }

/* =====================================================================
   Light look (Nov 2026): paper background, ink text, colour only as accent.
   Replaces the former dark navy hero / sections. Keep overrides here.
   ===================================================================== */
:root { --graphite: #1b1c22; }
/* header: always on light */
.site-header .logo .on-dark { display: none; }
.site-header .logo .on-light { display: block; }
.nav a, .nav button, .header-cta .link { color: var(--ink-2); }
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(22, 23, 29, .06); }
.menu-toggle { background: rgba(22, 23, 29, .06); color: var(--ink); }
.site-header.scrolled, .site-header.menu-open { background: rgba(246, 245, 241, .88); }
/* buttons */
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(22, 23, 29, .04); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px #cfccc4, 0 2px 6px rgba(22, 23, 29, .06); }
.btn-primary { box-shadow: 0 1px 2px rgba(22, 23, 29, .12); }
.btn-primary:hover { box-shadow: 0 4px 12px -4px rgba(31, 91, 255, .5); }
.theme-food .btn-primary, .theme-logistics .btn-primary { box-shadow: 0 1px 2px rgba(22, 23, 29, .12); }
/* hero */
.hero { color: var(--ink); background: var(--bg); }
.hero::before, .hero::after { display: none; }
.eyebrow { color: var(--ink-2); padding: 7px 12px 7px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); letter-spacing: .04em; font-size: 12px; }
.theme-food .hero .eyebrow, .theme-logistics .hero .eyebrow { color: var(--ink-2); }
.eyebrow .dot { background: var(--accent); box-shadow: none; width: 7px; height: 7px; }
.hero h1 .grad, .theme-food .hero h1 .grad, .theme-logistics .hero h1 .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.hero .lead { color: var(--ink-2); }
.hero .note { color: var(--ink-3); }
.hero .note svg { color: var(--ok); }
/* dark sections become plain white sections */
.dark { color: var(--ink); background: #fff; border-block: 1px solid var(--line); }
.dark .sub { color: var(--ink-2); }
.dark .kicker { color: var(--accent-ink); }
.dark .features { background: var(--line); border-color: var(--line); }
.dark .feature { background: #fff; }
.dark .feature p { color: var(--ink-2); }
.dark .feature .fi { background: var(--accent-soft); color: var(--accent-ink); }
.dark .checklist li { color: var(--ink-2); }
.dark .checklist li b { color: var(--ink); }
.dark .checklist li svg { color: var(--accent); }
.dark .tl .n { background: var(--ink); color: #fff; box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); }
.dark .tl p { color: var(--ink-2); }
.dark .tl .when { background: var(--accent-soft); color: var(--accent-ink); }
.frame-note { color: var(--ink-3); }
.frame { border-color: var(--line); box-shadow: 0 1px 2px rgba(22, 23, 29, .04), 0 24px 48px -28px rgba(22, 23, 29, .25); }
.glow { display: none; }
.tl .n { background: var(--ink); }
.ask-ico { background: var(--ink); }
.voice-bubble { background: var(--graphite); }
.doc-table th { background: #faf9f6; }
.frame-bar { background: #faf9f6; }
.vbar span { background: var(--blue-600); }
.vbar.hot span { background: var(--bad); }
.timeline::before { background: var(--line); opacity: 1; }
/* industry cards: light tinted panels instead of dark gradients */
.ind-card { color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.ind-card:hover { box-shadow: 0 18px 40px -24px rgba(22, 23, 29, .3); }
.ind-card.food::before { background: #eaf6f5; }
.ind-card.log::before { background: #fbf1e3; }
.ind-card.food .tag { color: #077a7d; }
.ind-card.log .tag { color: #b8640a; }
.ind-card p { color: var(--ink-2); }
.ind-card li { background: rgba(255, 255, 255, .75); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(22, 23, 29, .06); }
.ind-card .art { opacity: .5; }
.ind-card.food .art g { stroke: #0aa5a8; }
.ind-card.log .art g { stroke: #f08c1a; }
/* hero demo panel: light card */
.inputs { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22, 23, 29, .04), 0 24px 48px -28px rgba(22, 23, 29, .25); }
.src { color: var(--ink-3); background: var(--bg); border-color: transparent; }
button.src:hover { color: var(--ink); background: #efede7; }
.src.active, button.src.active:hover { color: var(--accent-ink); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: none; }
.src-view { color: var(--ink); }
.src-view .found::before { color: var(--ink-3); }
.src-view .found span { background: var(--accent-soft); color: var(--accent-ink); }
.wave { background: var(--bg); box-shadow: none; }
.wave .rec-meta { color: var(--ink-2); }
.wave .wave-bars span { background: var(--ink); }
.wave.idle .rec-meta i { background: var(--ink-3); }
.wave.idle .wave-bars span { background: #c9c6be; }
.transcript, .src-view .t { color: var(--ink); }
.transcript .caret, .src-view .caret { background: var(--accent); }
.doc-thumb { background: var(--bg); border-color: var(--line); }
.doc-thumb .pg { box-shadow: 0 1px 3px rgba(22, 23, 29, .12); }
.doc-thumb small { color: var(--ink-3); }
.photo-card { background: #ebe8e1; }
.note-card { background: #fdf8e4; box-shadow: inset 0 0 0 1px #f1e7bf; }
.doc-card { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22, 23, 29, .04), 0 24px 48px -28px rgba(22, 23, 29, .25); }
.flow small { color: var(--ink-3); }
.flow.pulse small { color: var(--accent-ink); }
.flow-line { background: var(--line); }
.flow-line::after { border-color: #bdbab2; }
.flow-line i { background: var(--accent); box-shadow: none; }
.pill { background: #fff; border-color: var(--line); color: var(--ink-2); }
.pill svg { color: var(--accent); }
/* CTA: one solid graphite block, no gradients */
.cta { background: var(--graphite); }
.cta .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.contact-card .ci svg { color: #fff; }
.btn-light { color: var(--ink); }
.proof-item b { color: var(--ink); }
.proof-item b span, .proof-item b { font-variant-numeric: tabular-nums; }
/* flat warehouse slots */
.slot { border-color: #dcd9d1; }
.slot.full { background: var(--accent); }
.slot.full.light { background: color-mix(in srgb, var(--accent) 30%, #fff); }
.slot.out { border-color: #dcd9d1; }
/* accent text/buttons dark enough for light backgrounds (WCAG large text >= 3:1) */
.theme-food { --accent-hero: #078a8d; }
.theme-logistics { --accent-hero: #c8650a; }
.theme-food .hero h1 .grad, .theme-logistics .hero h1 .grad { color: var(--accent-hero); }
.theme-logistics .btn-primary { background: #c8650a; }
.theme-logistics .btn-primary:hover { background: #a9550a; }
.theme-food .btn-primary { background: #078a8d; }
.theme-food .btn-primary:hover { background: #066f72; }
.theme-food .proof-item b span, .theme-logistics .proof-item b span { color: var(--accent-hero); }

/* ---------------- rhythm: give sections distinct grounds (Nov 2026) ---------------- */
:root { --line: #e1ddd4; }
/* hero: paper tinted with the page accent, so the top reads as its own band */
.hero { background: color-mix(in srgb, var(--accent) 7%, #f6f5f1); border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, #e1ddd4); }
.hero .eyebrow { background: rgba(255, 255, 255, .7); }
/* cards inside white sections sit on paper, not white-on-white */
.white .case, .white .use, .white .other-industries, .white .feature { background: var(--bg); border-color: transparent; box-shadow: none; }
.white .case .fact, .white .case .ba { background: #fff; }
/* one strong anchor mid-page: flat graphite, no gradients or glow */
.dark { color: #fff; background: var(--graphite); border-block: 0; }
.dark .sub { color: rgba(255, 255, 255, .68); }
.dark .kicker { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.dark .checklist li { color: rgba(255, 255, 255, .68); }
.dark .checklist li b { color: #fff; }
.dark .checklist li svg { color: color-mix(in srgb, var(--accent) 60%, #fff); }
.dark .frame { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.dark .frame-note { color: rgba(255, 255, 255, .4); }
.dark .features { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.dark .feature { background: rgba(255, 255, 255, .03); }
.dark .feature p { color: rgba(255, 255, 255, .62); }
.dark .feature .fi { background: rgba(255, 255, 255, .08); color: #fff; }
.dark .tl .n { background: #fff; color: var(--ink); box-shadow: 0 0 0 8px var(--graphite), 0 0 0 9px rgba(255, 255, 255, .2); }
.dark .tl p { color: rgba(255, 255, 255, .62); }
/* closing CTA in solid brand colour */
.cta { background: var(--blue-600); }
.theme-food .cta { background: #078a8d; }
.theme-logistics .cta { background: #c8650a; }
.cta p { color: rgba(255, 255, 255, .82); }
.cta .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta .btn-primary:hover { background: #f1f0ec; }
.contact-card { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.contact-card small { color: rgba(255, 255, 255, .7); }

/* ---------------- before / after video loops ---------------- */
.ba-video { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; margin-bottom: 56px; }
.bav { margin: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: center; padding: 12px; padding-right: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.bav-media { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #d9d6ce; }
.bav-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bav:not(.after) .bav-media video { filter: saturate(.75); }
.bav-tag { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(22, 23, 29, .72); color: #fff; backdrop-filter: blur(6px); }
.bav.after .bav-tag { background: var(--accent); }
.bav.after { border-color: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--accent) 60%, transparent); }
.bav figcaption b { display: block; font: 600 20px/1.25 var(--font-head); letter-spacing: -0.015em; color: var(--ink); }
.bav figcaption span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.bav-arrow { display: grid; place-items: center; color: var(--ink-3); }
.bav-arrow svg { width: 20px; height: 20px; }
@media (max-width: 1000px) {
  .ba-video { grid-template-columns: 1fr; gap: 10px; }
  .bav-arrow { transform: rotate(90deg); height: 28px; }
}
@media (max-width: 520px) { .bav { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding-right: 14px; } .bav figcaption b { font-size: 17px; } .bav figcaption span { font-size: 14px; } }

/* ---------------- phone polish (Nov 2026): shorter page, denser cards ---------------- */
@media (max-width: 560px) {
  .section, .section.tight { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section h2 { font-size: 30px; }
  .section .sub { font-size: 16.5px; margin-top: 14px; }

  .hero { padding: 104px 0 72px; }
  .eyebrow { text-transform: none; letter-spacing: 0; font-size: 12px; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 16.5px; margin-top: 20px; }
  .hero .actions { margin-top: 28px; flex-direction: column; align-items: stretch; }
  .hero .actions .btn { justify-content: center; }
  .demo-wrap .inputs { min-height: 316px; }
  .doc-table th, .doc-table td { padding-left: 7px; padding-right: 7px; }

  .proof { margin-top: -40px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 18px 16px; border-top: 1px solid var(--line); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .proof-item b { font-size: 24px; }
  .proof-item small { font-size: 12.5px; margin-top: 8px; }

  .step { padding: 22px; gap: 10px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15px; }

  .kpis { gap: 6px; }
  .kpis div { padding: 10px; }
  .kpis b { font-size: 15px; white-space: nowrap; }

  .ind-card { min-height: 0; padding: 24px; }
  .ind-card h3 { font-size: 25px; }
  .ind-card p { font-size: 15px; }
  .ind-card .more { padding-top: 22px; }
  .ind-card .art { display: none; }

  .feature { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; padding: 20px; }
  .feature .fi { width: 38px; height: 38px; }
  .feature p { grid-column: 1 / -1; }
  .feature h3 { font-size: 17px; align-self: center; }
  .feature p { font-size: 14.5px; }

  .fc-wrap .doc-table th:nth-child(3), .fc-wrap .doc-table td:nth-child(3),
  .fc-wrap .doc-table th:nth-child(4), .fc-wrap .doc-table td:nth-child(4),
  .fc-wrap .doc-table th:nth-child(5):nth-last-child(3), .fc-wrap .doc-table td:nth-child(5):nth-last-child(3) { display: none; }
  .case { padding: 22px; }
  .case-facts { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .case-facts .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fact { padding: 14px 16px; }
  .fact b { font-size: 22px; }
  .fact small { font-size: 12.5px; }

  .fc-wrap .doc-table td:nth-child(2) { white-space: normal; min-width: 120px; }
  .wh-side { display: grid; grid-template-columns: 1fr 1fr; }
  .wh-side > :not(.wh-stat) { grid-column: 1 / -1; }

  .ba-video { margin-bottom: 40px; }
}
