/* ==========================================================================
   Vikbot — site.css
   Design system from docs/new_plan.md: tokens → base → components → sections
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --line: #ECECEF;
  --line-2: #E2E2E7;

  --ink: #0B0B0F;
  --ink-2: #6B6B76;
  --ink-3: #A1A1AA;

  --accent: #238D10;
  --accent-600: #1C750C;  /* hover */
  --accent-ink: #1C750C;  /* accent-colored text on light/tinted backgrounds (AA contrast) */
  --accent-soft: #EEF7EC;
  --accent-line: #D6EDD1;

  --mint-soft: #F1F6F3;  --mint: #3E8E6E;
  --peach-soft: #FEF4EE; --peach: #D9774B;
  --stage: #111114;      /* dark product stage */

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-pill: 999px;
  --r-card: 20px;
  --r-sm: 12px;
  --maxw: 1200px;
  --gutter: 24px;
  --section: 128px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgb(0 0 0 / .04);
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 80px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.container { max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
.display {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
/* Keyword descriptor line inside a display H1, styled like the .h3 subtitle */
.display .h1-sub { display: block; margin-top: 12px; font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; color: var(--accent-ink); }
.muted { color: var(--ink-3); }
.lead { color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.body { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn .arrow, .link-arrow .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.link-arrow:hover { color: var(--accent-ink); }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- 5. Navbar ---------- */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); }
.nav {
  max-width: var(--maxw); margin: 12px auto 0;
  display: flex; align-items: center; gap: 32px;
  height: 64px; padding: 0 10px 0 22px;
  position: relative; isolation: isolate;
  /* glossy glass: translucent fill + top sheen */
  background:
    linear-gradient(180deg, rgb(255 255 255 / .62) 0%, rgb(255 255 255 / .38) 55%, rgb(255 255 255 / .48) 100%);
  backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: var(--r-pill);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .95),
    inset 0 -1px 0 rgb(11 11 15 / .04),
    0 10px 30px -14px rgb(11 11 15 / .22),
    0 0 0 .5px rgb(11 11 15 / .06);
}
/* glossy highlight across the top half */
.nav::before {
  content: ""; position: absolute; inset: 1px 1px 50% 1px; z-index: -1; pointer-events: none;
  border-radius: var(--r-pill) var(--r-pill) 40px 40px / var(--r-pill) var(--r-pill) 18px 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / .75), rgb(255 255 255 / 0));
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgb(255 255 255 / .94); }
}
.nav-logo img { height: 28px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 15px; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--ink); background: #F4F4F5; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-phone { font-size: 15px; color: var(--ink-2); padding: 0 12px; }
.nav-phone:hover { color: var(--ink); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: -8px;
  min-width: 300px; padding: 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / .97), rgb(250 251 250 / .95));
  border: 1px solid rgb(255 255 255 / .8); border-radius: 18px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 .5px rgb(11 11 15 / .08), 0 18px 40px -16px rgb(11 11 15 / .22);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
/* Products menu: bots on the left, software (first 5 links) on the right (desktop only) */
@media (min-width: 961px) {
  .dropdown.products { grid-auto-flow: row dense; }
  .dropdown.products > :nth-child(-n+5) { grid-column: 2; }
  .dropdown.products > :nth-child(n+6) { grid-column: 1; }
}
/* "Other Products": a flyout to the right on desktop, an inline list on mobile */
.dd-more { position: relative; }
.dd-more-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); text-align: left;
}
.dd-more-btn:hover, .dd-more.open > .dd-more-btn { background: var(--accent-soft); }
.dd-more-btn .chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.dd-sub { display: none; }
@media (min-width: 961px) {
  .dd-more-btn .chev { transform: rotate(-90deg); }
  .dd-sub {
    display: block; position: absolute; top: -8px; left: calc(100% + 8px); min-width: 250px; padding: 8px;
    background: linear-gradient(180deg, rgb(255 255 255 / .97), rgb(250 251 250 / .95));
    border: 1px solid rgb(255 255 255 / .8); border-radius: 18px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 .5px rgb(11 11 15 / .08), 0 18px 40px -16px rgb(11 11 15 / .22);
    opacity: 0; visibility: hidden; transform: translateX(-4px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  /* bridge the 8px gap so the pointer can travel to the flyout */
  .dd-sub::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
  .dd-more:hover > .dd-sub, .dd-more:focus-within > .dd-sub, .dd-more.open > .dd-sub { opacity: 1; visibility: visible; transform: none; }
  .dd-more:hover > .dd-more-btn { background: var(--accent-soft); }
}
@media (max-width: 960px) {
  .dd-more-btn { font-size: 15px; }
  .dd-more.open > .dd-more-btn .chev { transform: rotate(180deg); }
  .dd-more.open > .dd-sub { display: grid; padding-left: 12px; }
}
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink);
}
.dropdown a:hover { background: var(--accent-soft); }
.dropdown a .tag { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-phone { display: none; }
}
@media (max-width: 960px) {
  .nav { gap: 12px; padding: 0 8px 0 18px; }
  .nav-right { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-right .btn { display: none; }
  .nav-menu {
    position: fixed; inset: 88px var(--gutter) auto; max-height: calc(100dvh - 104px); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 24px 48px -20px rgb(11 11 15 / .25);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-link { width: 100%; justify-content: space-between; height: 48px; font-size: 17px; color: var(--ink); }
  .dropdown, .dropdown.wide {
    position: static; min-width: 0; display: none; grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px;
  }
  .nav-item.open > .dropdown { display: grid; }
  .nav-menu .mobile-cta { display: flex; margin-top: 8px; }
}
.mobile-cta { display: none; }

/* ---------- 6. Hero ---------- */
.hero { padding: 112px 0 0; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px 0 6px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 14px; color: var(--ink-2);
}
.badge b { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: var(--r-pill); }
.hero .display { max-width: 980px; margin: 0 auto; }
.hero .display span { display: block; }
.hero .lead { max-width: 560px; margin: 28px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin-top: 28px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.hero-points .icon { width: 16px; height: 16px; color: var(--mint); }

/* ---------- 7. Logo row ---------- */
.logos { padding: 72px 0 0; text-align: center; }
.logos .eyebrow { margin-bottom: 28px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 44px; max-width: 1100px; margin: 0 auto; }
.logo-row img { height: 26px; width: auto; opacity: .45; transition: opacity .25s; }
.logo-row img.tall { height: 38px; }
.logo-row img.square { height: 50px; }
.logo-row img:hover { opacity: .9; }
.logo-word { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); opacity: .45; transition: color .25s; }
.logo-word:hover { opacity: .9; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.tint-accent { background: var(--accent-soft); border-color: var(--accent-line); }
.tint-mint { background: var(--mint-soft); border-color: #E2EDE6; }
.tint-peach { background: var(--peach-soft); border-color: #FBE6D9; }

/* Hero demo card */
.demo { margin-top: 88px; padding: 0; overflow: hidden; text-align: left; }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.demo-bar .title { font-size: 15px; color: var(--ink-2); }
.demo-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgb(62 142 110 / .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(62 142 110 / 0); } 100% { box-shadow: 0 0 0 0 rgb(62 142 110 / 0); } }
.demo-body { display: grid; grid-template-columns: 1fr 1.55fr; }
.demo-side { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.demo-side .eyebrow { margin-bottom: 6px; }
.event {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px;
}
.event .st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.event .st .icon { width: 14px; height: 14px; }
.st.ok { background: var(--mint-soft); color: var(--mint); }
.st.no { background: var(--peach-soft); color: var(--peach); }
.st.cam { background: var(--accent-soft); color: var(--accent-ink); }
.event .who { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); margin-left: auto; text-transform: uppercase; }
.demo-note { margin-top: auto; padding-top: 18px; }
.demo-main { padding: 24px; background: #F7F7F8; display: flex; flex-direction: column; gap: 16px; }
.demo-main .head { display: flex; justify-content: flex-end; }
.demo-main img { width: 100%; aspect-ratio: 1600 / 895; object-fit: contain; }

/* ---------- 9. Section header (split) ---------- */
.sec-head { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end; margin-bottom: 64px; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .body { max-width: 420px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- 10. Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 48px 40px 8px; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-visual { height: 176px; border-radius: 18px; padding: 18px; margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.chip-row {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 14px; background: var(--surface); border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow);
}
.chip-row .icon { width: 16px; height: 16px; color: var(--ink-3); }
.chip-row .meta { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.chip-row .ok { color: var(--mint); }
.chip-row .no { color: var(--peach); }
.pills { display: flex; gap: 8px; }
.pill { font-size: 13px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.pill.on { color: var(--ink); }
.step .num { display: block; margin-bottom: 12px; }
.step .h3 { margin-bottom: 12px; }

/* ---------- 11. Product tabs ---------- */
.tabs-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.tablist {
  display: flex; gap: 4px; padding: 4px; max-width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  overflow-x: auto; scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }
.tab {
  height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 15px; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.panels { position: relative; }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.js .panel[hidden] { display: none; }
.js .panel.enter { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-stage { background: var(--stage); display: grid; place-items: center; padding: 40px; min-height: 460px; }
.panel-stage img { max-height: 400px; width: auto; object-fit: contain; border-radius: 12px; }
.panel-copy { padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.model { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 8px; }
.panel-copy .h2 { font-size: clamp(28px, 3vw, 38px); }
.panel-copy .link-arrow { margin-top: auto; padding-top: 12px; }
.no-js-note { display: none; }

/* ---------- 12. Bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento .card { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.b-wide { grid-column: span 2; }
.b-tall { grid-column: 3; grid-row: 1 / span 2; }
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.chip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 15px; color: var(--ink-2);
}
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.chip:nth-child(2) i { background: var(--mint); }
.chip:nth-child(3) i { background: var(--peach); border-radius: 50%; }
.big-stat { font-size: 88px; line-height: 1; letter-spacing: -0.05em; font-weight: 500; }
.big-stat small { font-size: 28px; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-left: auto; }
.bars i { width: 8px; border-radius: 3px; background: var(--accent-line); }
.bars i:last-child { background: var(--accent); }
.b-stat-top { display: flex; align-items: flex-end; }
.b-tall .inner { background: var(--surface); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.b-tall .inner .row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.b-tall .inner .row .icon { color: var(--ink-3); width: 16px; height: 16px; }
.hl { color: var(--accent-ink); background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.b-tall .foot { margin-top: auto; }

/* ---------- 13. Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind {
  display: flex; align-items: center; gap: 16px; padding: 24px;
  transition: border-color .2s, transform .2s var(--ease);
}
.ind:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.ind .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.ind .ic .icon { width: 22px; height: 22px; }
.ind .h3 { font-size: 19px; }
.ind .arrow { margin-left: auto; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.ind:hover .arrow { color: var(--accent-ink); transform: translateX(3px); }

/* ---------- 14. Proof band ---------- */
.proof { background: var(--mint-soft); border-top: 1px solid #E2EDE6; border-bottom: 1px solid #E2EDE6; }
.proof-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 96px; align-items: center; }
.proof .eyebrow { margin-bottom: 20px; }
.quote { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.4; letter-spacing: -0.015em; }
.quote .rest { color: var(--ink-3); }
.quotes { position: relative; }
.js .quote-item[hidden] { display: none; }
.quote-item.enter { animation: fade .35s var(--ease); }
.author { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author b { display: block; font-weight: 500; font-size: 16px; }
.author span { font-size: 14px; color: var(--ink-2); }
.quote-nav { display: flex; gap: 8px; margin-left: auto; }
.quote-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #D5E3DA; display: grid; place-items: center; background: var(--surface); }
.quote-nav button:hover { border-color: var(--mint); }
.stats { display: flex; flex-direction: column; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-top: 1px solid #DCE8E0; }
.stat:last-child { border-bottom: 1px solid #DCE8E0; }
.stat .v { font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.stat .v em { font-style: normal; color: var(--mint); }
.stat .l { text-align: right; font-size: 15px; color: var(--ink-2); max-width: 180px; }
.proof .intro { max-width: 520px; margin-bottom: 40px; }

/* ---------- 15. Case study cards ---------- */
.cs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), border-color .2s; }
.cs:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cs img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: #EEE; }
.cs-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cs-body .h3 { font-size: 18px; line-height: 1.35; }
.cs-body .link-arrow { margin-top: auto; font-size: 15px; }

/* ---------- 16. CTA card ---------- */
.cta { padding: 112px 32px; text-align: center; }
.cta .h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 780px; margin: 0 auto; }
.cta .h2 span { display: block; }
.cta .lead { max-width: 560px; margin: 24px auto 0; }
.cta .note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* ---------- 17. Footer ---------- */
.footer { padding: 96px 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(270px, 1.3fr) auto minmax(130px, .7fr) minmax(200px, 1fr); gap: 48px; }
.foot-col .two-col { display: grid; grid-template-columns: max-content max-content; gap: 0 40px; align-items: start; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 20px; }
.foot-brand p { font-size: 15px; color: var(--ink-2); max-width: 320px; }
.foot-brand p + p { margin-top: 12px; }
.foot-brand .foot-maker { display: flex; align-items: center; gap: 10px; }
.foot-brand .foot-maker img { height: 26px; width: auto; margin: 0; }
.foot-brand p.foot-social-label { margin-top: 28px; margin-bottom: 12px; font-size: 12px; color: var(--ink-3); }
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px;
  border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: 0 4px 14px -10px rgb(11 11 15 / .25);
  transition: color .15s, background .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s;
}
.social-btn svg { width: 18px; height: 18px; flex: none; }
.social-btn.linkedin svg { color: #0A66C2; }
.social-btn.whatsapp svg { color: #25D366; }
.social-btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 22px -12px rgb(11 11 15 / .4); }
.social-btn:hover svg { color: #fff; }
.social-btn.linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.social-btn.whatsapp:hover { background: #25D366; border-color: #25D366; }
.foot-col .eyebrow { margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { font-size: 15px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot-col address { font-style: normal; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.foot-col .contact-list li { font-size: 15px; color: var(--ink-2); }
.foot-col .btn { margin-top: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- 18. WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 12px 28px -10px rgb(11 11 15 / .45);
  transition: transform .2s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab .icon { width: 26px; height: 26px; }
dialog.modal {
  width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 24px;
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(11 11 15 / .35);
}
dialog.modal::backdrop { background: rgb(11 11 15 / .35); backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; }
.modal-head h2 { font-size: 20px; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.modal-close:hover { background: #F4F4F5; color: var(--ink); }
.modal-body { padding: 20px 24px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field textarea {
  width: 100%; min-height: 120px; resize: vertical; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
}
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .err { display: none; margin-top: 8px; font-size: 13px; color: var(--peach); }
.field.invalid .err { display: block; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 24px 24px; }

/* ---------- 18b. Inner pages ---------- */
/* current page */
.nav-link[aria-current], .dropdown a[aria-current] { color: var(--ink); }
.dropdown a[aria-current] { background: var(--accent-soft); }
.foot-col a[aria-current] { color: var(--ink); }

/* section helpers */
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tight { padding: 88px 0; }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* page hero */
.page-hero { padding: 96px 0 72px; }
.page-hero .display { font-size: clamp(38px, 5.4vw, 64px); }
.page-hero .lead { max-width: 640px; margin-top: 24px; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 36px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-actions, .page-hero.center .breadcrumb { justify-content: center; }
.hero-actions.start { justify-content: flex-start; }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line-2); }

/* media */
.media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.stage { background: var(--stage); border-color: var(--stage); display: grid; place-items: center; padding: 32px; }
.media.stage img { object-fit: contain; max-height: 460px; width: auto; border-radius: 12px; }
.media.soft { background: var(--accent-soft); border-color: var(--accent-line); display: grid; place-items: center; padding: 32px; }
.media.soft img { object-fit: contain; width: auto; max-height: 460px; }
.media.soft.compact { min-height: 420px; }
.media.soft.compact img { max-width: 72%; max-height: 300px; }
.media.plain { background: transparent; border: 0; }
.media.plain img { object-fit: contain; }
.media.hero-shot { width: 100%; max-width: 440px; justify-self: end; }
.media img.screen { width: 100%; height: auto; max-height: none; border-radius: 10px; box-shadow: 0 16px 36px -18px rgb(11 11 15 / .45); }
/* ScanBot phone hero: CSS phone cycling real app screens, live result pill */
.ph-stage { position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r-card); overflow: visible;
  background: radial-gradient(circle, rgb(11 11 15 / .07) 1px, transparent 1.3px) 0 0 / 14px 14px, linear-gradient(160deg, #F2F4F1, #E3E8E3); border: 1px solid var(--line); }
.ph-phone { position: absolute; left: 50%; top: 45%; width: 39%; aspect-ratio: 9 / 19.5; translate: -50% -50%; padding: 1.3%;
  border-radius: 14% / 6.6%; background: linear-gradient(145deg, #3A3C43, #15161A); box-shadow: inset 0 0 0 1.5px #5A5C64, inset 0 0 0 3px #0B0C0E, 0 40px 60px -28px rgb(11 11 15 / .55), 0 12px 24px -12px rgb(11 11 15 / .35);
  animation: ph-float 6s ease-in-out infinite; }
.ph-screen-wrap { position: relative; height: 100%; border-radius: 12.5% / 5.9%; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.ph-status { position: relative; z-index: 2; flex: none; height: 7%; display: flex; align-items: center; justify-content: space-between; padding: 0 9%; color: #fff; font: 600 clamp(8px, .9vw, 11px) var(--font); }
.ph-island { position: absolute; left: 50%; top: 24%; width: 27%; height: 52%; translate: -50% 0; border-radius: 99px; background: #000; box-shadow: 0 0 0 1px #1d1d22; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 1.5px; }
.ph-sig i { width: 2.5px; background: #fff; border-radius: 1px; } .ph-sig i:nth-child(1) { height: 4px; } .ph-sig i:nth-child(2) { height: 6px; } .ph-sig i:nth-child(3) { height: 8px; }
.ph-sig b { width: 15px; height: 7px; margin-left: 4px; border-radius: 2px; background: #fff; }
.ph-screens { position: relative; flex: 1; overflow: hidden; }
.ph-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(14px) scale(1.02);
  transition: opacity .6s var(--ease), transform .7s var(--ease); }
.ph-screen.is-active { opacity: 1; transform: none; }
.ph-scanline { position: absolute; left: 8%; right: 8%; height: 3px; top: 22%; border-radius: 3px; background: #4ADE5A; box-shadow: 0 0 14px 4px rgb(74 222 90 / .55); opacity: 0; pointer-events: none; }
.ph-stage[data-state="scan"] .ph-scanline { opacity: 1; animation: ph-scan 1.8s ease-in-out infinite; }
@keyframes ph-scan { 0%, 100% { top: 22%; } 50% { top: 50%; } }
@keyframes ph-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(-.5deg); } }


.ph-result { position: absolute; z-index: 3; left: 50%; bottom: -1%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line-2); box-shadow: 0 14px 30px -16px rgb(11 11 15 / .4); font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .3s, border-color .3s; }
.ph-result i { width: 9px; height: 9px; border-radius: 50%; background: #2FA318; box-shadow: 0 0 0 4px rgb(47 163 24 / .18); animation: ph-pulse 1.4s ease-in-out infinite; }
.ph-stage[data-state="ok"] .ph-result, .ph-stage[data-state="qr"] .ph-result, .ph-stage[data-state="find"] .ph-result { color: var(--accent-ink); border-color: var(--accent-line); }
.ph-stage[data-state="bad"] .ph-result { color: #B42318; border-color: #F1B5B2; } .ph-stage[data-state="bad"] .ph-result i { background: #E5372B; box-shadow: 0 0 0 4px rgb(229 55 43 / .18); }
.ph-stage[data-state="warn"] .ph-result { color: #8A5A00; border-color: #F3DDB0; } .ph-stage[data-state="warn"] .ph-result i { background: #EFA93E; box-shadow: 0 0 0 4px rgb(239 169 62 / .2); }
@keyframes ph-pulse { 50% { opacity: .4; } }
@media (max-width: 560px) { .ph-phone { width: 46%; } }
@media (prefers-reduced-motion: reduce) { .ph-phone, .ph-result i, .ph-stage[data-state="scan"] .ph-scanline { animation: none; } .ph-screen { transition: none; } }

/* isometric screen collage (product hero): screens laid on a tilted plane, rising in then gently floating */
.iso { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-card); overflow: hidden; perspective: 2400px;
  background: radial-gradient(circle, rgb(11 11 15 / .07) 1px, transparent 1.3px) 0 0 / 14px 14px, linear-gradient(160deg, #F4F6F4, #E6EBE7); border: 1px solid var(--line); }
.iso::before { content: ""; position: absolute; left: -20%; right: -20%; top: 38%; height: 30%; background: linear-gradient(90deg, rgb(35 141 16 / .06), rgb(35 141 16 / .12)); transform: rotate(-24deg); }
.iso-plane { position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 4 / 3; transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(34deg) rotateZ(-24deg); animation: iso-drift 18s ease-in-out infinite; }
.iso-card { position: absolute; display: block; height: auto; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgb(11 11 15 / .06), 0 26px 40px -22px rgb(11 11 15 / .45);
  transform: translateZ(var(--z, 0px)); animation: iso-float 7s ease-in-out infinite; animation-delay: calc(var(--n) * -1.3s);
  transition: opacity .7s var(--ease) calc(.25s + var(--n) * .12s), translate .9s var(--ease) calc(.25s + var(--n) * .12s); }
.js .iso:not(.in) .iso-card { opacity: 0; translate: 0 60px; }
@keyframes iso-float { 0%, 100% { transform: translateZ(var(--z, 0px)); } 50% { transform: translateZ(calc(var(--z, 0px) + 22px)); } }
@keyframes iso-drift { 0%, 100% { transform: translate(-50%, -50%) rotateX(34deg) rotateZ(-24deg); } 50% { transform: translate(-51%, -49%) rotateX(32deg) rotateZ(-22.5deg); } }
@media (prefers-reduced-motion: reduce) { .iso-plane, .iso-card { animation: none; } .iso-card { transition: none; } }

/* annotated product screenshot (labels in a margin around the image, thin straight green lines) */
.annot-wrap { --fw: min(1360px, calc(100vw - 48px)); width: var(--fw); margin: 0 0 0 calc((100% - var(--fw)) / 2); }
.annot { position: relative; width: 100%; aspect-ratio: 1860 / 697; }
.annot > img.screen { position: absolute; left: 17.742%; top: 2.87%; width: 64.516%; height: 94.26%;; border-radius: 12px; box-shadow: 0 24px 48px -24px rgb(11 11 15 / .45); }
/* one callout = label + thin line + end dot; hovering any part shows a short description */
.annot-co { position: absolute; height: 28px; transform: translateY(-50%); cursor: default; }
.annot-co::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid #2FA318; transition: border-width .15s; }
.annot-co::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #2FA318; }
.annot-co.l::after { right: -4px; } .annot-co.r::after { left: -4px; }
.annot-co:hover::before, .annot-co:focus-within::before { border-top-width: 2.5px; }
.annot-co:hover, .annot-co:focus-within { z-index: 5; }  /* keep the open description above other callouts' lines */
.annot-pill { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 7px; border-radius: var(--r-pill); background: #fff; color: var(--ink); border: 1px solid var(--accent-line); font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 6px 18px -10px rgb(11 11 15 / .35); outline: none; transition: border-color .15s; }
.annot-co.l .annot-pill { right: calc(100% + 8px); } .annot-co.r .annot-pill { left: calc(100% + 8px); }
.annot-co:hover .annot-pill, .annot-co:focus-within .annot-pill { border-color: #2FA318; }
.annot-tip { position: absolute; left: 50%; bottom: calc(50% + 10px); z-index: 3; width: max-content; max-width: 230px; padding: 8px 12px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); font-size: 12.5px; line-height: 1.45; box-shadow: 0 10px 24px -12px rgb(11 11 15 / .3); opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.annot-co.below .annot-tip { bottom: auto; top: calc(50% + 10px); transform: translate(-50%, -4px); }
.annot-co:hover .annot-tip, .annot-co:focus-within .annot-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* screenshot slides: stacked images, callouts belong to slide 0, arrow buttons below */
.annot > img.slide { opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.annot > img.slide.is-active { opacity: 1; visibility: visible; }
.annot .annot-co { transition: opacity .25s, visibility .25s; }
.annot[data-active="0"] .annot-co[data-for="1"], .annot[data-active="1"] .annot-co[data-for="0"] { opacity: 0; visibility: hidden; }
/* angled callout: the box is the line, rotated about its target end; the label stays upright */
.annot-co.ang { transform-origin: 0 50%; transform: translateY(-50%) rotate(var(--a)); }
.annot-co.ang::after { left: -4px; }
.annot-co.ang .annot-pill { left: calc(100% + 6px); transform-origin: 0 50%; transform: translateY(-50%) rotate(calc(-1 * var(--a))); }
.annot-pill .annot-tip { left: auto; right: 0; bottom: calc(100% + 8px); white-space: normal; font-weight: 400; transform: translateY(4px); }
.annot-co.tip-below .annot-pill .annot-tip { bottom: auto; top: calc(100% + 8px); transform: translateY(-4px); }
.annot-co:hover .annot-pill .annot-tip, .annot-co:focus-within .annot-pill .annot-tip { transform: none; }
.slide-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.slide-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.slide-btn:hover { border-color: #2FA318; background: var(--accent-soft); }
.slide-btn .icon { width: 18px; height: 18px; }
.slide-btn[data-prev] .icon { transform: scaleX(-1); }
.slide-cap { min-width: 220px; text-align: center; font-size: 14px; color: var(--ink-2); }
.slide-dots { display: inline-flex; gap: 6px; }
.slide-dots i { width: 18px; height: 4px; border-radius: 4px; background: var(--line-2); transition: width .25s, background .25s; }
.slide-dots i.on { width: 32px; background: var(--accent); }
/* callouts animate in when the screenshot scrolls into view (and again on slide change):
   line draws from the label toward its target, label slides in, end dot pops last */
.js .annot-co::before { transform: scaleX(0); transition: transform .6s var(--ease) var(--dl, 0s), border-width .15s; }
.annot-co.l::before { transform-origin: left center; }
.annot-co.r::before, .annot-co.ang::before { transform-origin: right center; }
.js .annot-co::after { opacity: 0; transform: scale(0); transition: opacity .25s calc(var(--dl, 0s) + .5s), transform .3s var(--ease) calc(var(--dl, 0s) + .5s); }
.js .annot-co .annot-pill { opacity: 0; transition: opacity .45s var(--ease) var(--dl, 0s), translate .45s var(--ease) var(--dl, 0s), border-color .15s; }
.js .annot-co.l .annot-pill { translate: -14px 0; }
.js .annot-co.r .annot-pill, .js .annot-co.ang .annot-pill { translate: 14px 0; }
.annot-wrap.annot-in .annot-co::before { transform: scaleX(1); }
.annot-wrap.annot-in .annot-co::after { opacity: 1; transform: scale(1); }
.annot-wrap.annot-in .annot-co .annot-pill { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js .annot-co::before, .js .annot-co::after, .js .annot-co .annot-pill { transition: none; }
}
.annot-pill b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; flex: none; }
.annot-pill .sw { margin-left: 4px; }
.annot-pill > .icon { width: 15px; height: 15px; margin-left: 4px; color: var(--accent-ink); flex: none; }
.sw { width: 12px; height: 12px; border-radius: 3px; flex: none; display: inline-block; }
.sw.items { background: #DCE6FB; box-shadow: inset 0 0 0 1px #8FA8EC; } .sw.empty { background: #DDF5E2; box-shadow: inset 0 0 0 1px #8ACB96; } .sw.full { background: #FADCDC; box-shadow: inset 0 0 0 1px #E28C8C; }
@media (max-width: 1080px) {
  .annot-wrap { width: auto; margin: 0; }
  .annot { aspect-ratio: auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .annot > img.screen { position: static; width: 100%; height: auto; margin-bottom: 8px; }
  .annot > img.slide:not(.is-active) { display: none; }
  .slide-cap { min-width: 0; }
  .annot-co { position: static; transform: none; height: auto; width: auto !important; }
  .annot-co::before, .annot-co::after, .annot-tip { display: none; }
  .annot-co.ang, .annot-co.ang .annot-pill { transform: none; }
  .annot[data-active="0"] .annot-co[data-for="1"], .annot[data-active="1"] .annot-co[data-for="0"] { display: none; }
  .annot-pill { position: static; transform: none; }
}

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

/* feature card */
.feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 8px; }
.feature .ic .icon { width: 22px; height: 22px; }
.feature .ic.mint { background: var(--mint-soft); color: var(--mint); }
.feature .ic.peach { background: var(--peach-soft); color: var(--peach); }
.feature .h3 { font-size: 20px; }
.feature .num { margin-bottom: 4px; }
.feature img.thumb { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 8px; }

/* split: text + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .eyebrow { margin-bottom: 16px; }
.split .h2 + .body, .split .h2 + .lead { margin-top: 20px; }

/* lists */
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231C750C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list li b, .check-list li strong { color: var(--ink); font-weight: 500; }
.check-list.x li::before {
  background: var(--peach-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23D9774B' stroke-width='2.6' stroke-linecap='round' d='M7.5 7.5l9 9M16.5 7.5l-9 9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.dot-list { display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 20px; color: var(--ink-2); }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* callout / quote strip */
.callout { padding: 40px 48px; border-radius: var(--r-card); }
.callout p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.callout.center { text-align: center; }

/* stat row (inline) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-card { padding: 28px; }
.stat-card .v { font-size: 52px; line-height: 1; letter-spacing: -0.04em; font-weight: 500; }
.stat-card .v em { font-style: normal; color: var(--accent-ink); }
.stat-card .l { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* article / prose */
.article { max-width: 760px; margin: 0 auto; }
.prose { color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-top: 56px; }
.prose h3 { font-size: 22px; line-height: 1.3; color: var(--ink); margin-top: 40px; }
.prose h4 { font-size: 18px; color: var(--ink); margin-top: 28px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; list-style: none; }
.prose ol > li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.prose li ul { margin-top: 10px; }
.prose strong, .prose b { color: var(--ink); font-weight: 500; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 16px; border: 1px solid var(--line); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--ink); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 14px; color: var(--ink-3); }
.article-cover { margin-top: 48px; }
.article-cover img { width: 100%; border-radius: var(--r-card); border: 1px solid var(--line); aspect-ratio: 16 / 8; object-fit: cover; }
.toc { position: sticky; top: 104px; align-self: start; font-size: 14px; }
.toc a { display: block; padding: 6px 0; color: var(--ink-3); }
.toc a:hover { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: 200px minmax(0, 760px); gap: 64px; justify-content: center; }

/* tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--ink-2); }
.tag.accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.table tr:last-child td { border-bottom: 0; }
.table td { color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); max-width: 760px; }

/* forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-status { display: none; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; }
.form-status.ok { display: block; background: var(--mint-soft); color: #2B6B52; }
.form-status.err { display: block; background: var(--peach-soft); color: #9A4A26; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-card { padding: 36px; }

/* contact info cards */
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.info .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.info .ic .icon { width: 20px; height: 20px; }
.info b { display: block; font-weight: 500; font-size: 15px; }
.info span, .info a, .info address { font-size: 15px; color: var(--ink-2); font-style: normal; }
.info a:hover { color: var(--ink); }

/* resource list cards (case studies / white papers) */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.res { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; transition: transform .2s var(--ease), border-color .2s; }
.res:hover { transform: translateY(-3px); border-color: var(--line-2); }
.res img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.res-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.res-body .link-arrow { margin-top: auto; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.notfound .code { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 20px; }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
}
@media (max-width: 960px) {
  .hero-split, .split { grid-template-columns: 1fr; gap: 40px; }
  .media.hero-shot { justify-self: center; }
  .split.reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 56px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .callout { padding: 28px 24px; }
  .res { grid-template-columns: 1fr; }
  .res img { min-height: 0; aspect-ratio: 16 / 9; }
  .form-card { padding: 24px; }
  .prose { font-size: 17px; }
  .section.tight { padding: 64px 0; }
}

/* ---------- 19. Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step:first-child { padding: 40px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step:last-child { padding-bottom: 0; }
  .tabs-head { flex-direction: column; align-items: stretch; }
  .panel { grid-template-columns: 1fr; }
  .panel-stage { min-height: 320px; padding: 28px; }
  .panel-stage img { max-height: 280px; }
  .panel-copy { padding: 32px 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; }
  .b-tall { grid-column: span 2; grid-row: auto; }
  .proof-grid { grid-template-columns: 1fr; gap: 56px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 72px; }
  .demo { margin-top: 56px; }
  .demo-main { padding: 16px; }
  .hero-actions .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-tall { grid-column: auto; }
  .chip-grid { grid-template-columns: 1fr 1fr 1fr; }
  .big-stat { font-size: 72px; }
  .ind-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .stat .v { font-size: 52px; }
  .cta { padding: 72px 20px; }
  .cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-products { grid-column: 1 / -1; }
  .logo-row { gap: 20px 32px; }
  .logo-row img { height: 20px; }
  .logo-row img.tall { height: 30px; }
  .logo-row img.square { height: 40px; }
}
