/* ==========================================================================
   Axiov.ai — website styles
   Tokens follow the Axiov Brand Playbook v1.0 (22 Oct 2026).
   ========================================================================== */

/* Manrope — SIL Open Font License 1.1, see assets/fonts/OFL-Manrope.txt */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Palette */
  --emerald: #009966;      /* identity accent — not for normal-size text on white */
  --mint: #34d399;         /* highlight / dark-surface accent */
  --action: #006b4f;       /* buttons + links on light (white text 6.53:1) */
  --action-hover: #005540;
  --ink: #111827;          /* body text + wordmark */
  --muted: #4b5563;        /* secondary text (7.56:1 on white) */
  --forest: #071e1a;
  --mist: #f0faf6;
  --mist-2: #e3f5ee;
  --white: #ffffff;
  --line: #e5ece9;
  --line-strong: #cfdcd6;

  /* Automation pillar — deeper teal */
  --teal: #0f766e;         /* white text 5.47:1 */
  --teal-ink: #115e59;
  --teal-soft: #eaf6f5;
  --teal-line: #cde9e6;

  /* Status */
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --blue: #1d4ed8;
  --blue-soft: #dbeafe;

  /* Type */
  --font: "Manrope", Arial, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale: 4 8 12 16 24 32 48 64 96 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --section: 96px;
  --gutter: 32px;
  --max: 1200px;

  --r-ctl: 12px;
  --r-card: 16px;
  --r-panel: 20px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 2px 8px rgba(17, 24, 39, .04);
  --shadow: 0 2px 6px rgba(17, 24, 39, .04), 0 12px 32px rgba(6, 78, 59, .08);
  --shadow-lg: 0 4px 12px rgba(17, 24, 39, .05), 0 24px 56px rgba(6, 78, 59, .12);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-enter: 400ms;

  --header-h: 72px;
}

@media (max-width: 767px) {
  :root { --section: 56px; --gutter: 20px; --header-h: 64px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -0.035em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--tight { padding: calc(var(--section) * .66) 0; }
.section + .section--border { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto var(--s7); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin-top: var(--s4); color: var(--muted); font-size: 18px; line-height: 29px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--action); margin-bottom: var(--s3);
}
.eyebrow--teal { color: var(--teal); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.h1 { font-size: 56px; line-height: 60px; letter-spacing: -0.045em; }
.h2 { font-size: 40px; line-height: 46px; }
.h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.025em; }
.h4 { font-size: 18px; line-height: 26px; letter-spacing: -0.015em; font-weight: 700; }
.lead { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.text-accent { color: var(--action); }
.text-teal { color: var(--teal); }

@media (max-width: 767px) {
  .h1 { font-size: 38px; line-height: 42px; }
  .h2 { font-size: 28px; line-height: 34px; }
  .h3 { font-size: 21px; line-height: 28px; }
  .lead { font-size: 17px; line-height: 27px; }
  .section-head { margin-bottom: var(--s6); }
  .section-head p { font-size: 16px; line-height: 26px; }
}

.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split--wide-right { grid-template-columns: 5fr 7fr; }
@media (max-width: 1023px) { .split, .split--wide-right { grid-template-columns: 1fr; gap: var(--s7); } }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mist); color: var(--action); border: 1px solid var(--mist-2); flex: none;
}
.icon-tile--teal { background: var(--teal-soft); color: var(--teal); border-color: var(--teal-line); }
.icon-tile--white { background: #fff; box-shadow: var(--shadow-sm); border-color: var(--line); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--action); --btn-fg: #fff; --btn-bd: var(--action);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-ctl);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: 16px; line-height: 20px; text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--action-hover); --btn-bd: var(--action-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 107, 79, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--secondary { --btn-bg: #fff; --btn-fg: var(--action); --btn-bd: var(--action); }
.btn--secondary:hover { --btn-bg: var(--mist); --btn-bd: var(--action-hover); color: var(--action-hover); box-shadow: none; }
.btn--teal { --btn-bg: var(--teal); --btn-bd: var(--teal); }
.btn--teal:hover { --btn-bg: var(--teal-ink); --btn-bd: var(--teal-ink); box-shadow: 0 8px 20px rgba(15, 118, 110, .22); }
.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--ink); --btn-bd: var(--mint); }
.btn--mint:hover { --btn-bg: #5fe0b0; --btn-bd: #5fe0b0; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--action);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--teal { color: var(--teal); }
.link-arrow--teal:hover { color: var(--teal-ink); }

/* ---------- Badges / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; line-height: 18px; font-weight: 700;
  background: var(--mist); color: var(--action); border: 1px solid var(--mist-2);
}
.tag--teal { background: var(--teal-soft); color: var(--teal-ink); border-color: var(--teal-line); }
.tag--scoped { background: #fff; color: var(--muted); border: 1px dashed var(--line-strong); }
.tag--amber { background: var(--amber-soft); color: #92400e; border-color: #fde68a; }
.tag--blue { background: var(--blue-soft); color: #1e40af; border-color: #bfdbfe; }
.tag--grey { background: #f3f4f6; color: #374151; border-color: #e5e7eb; }

.illustrative {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 18px; font-weight: 600;
  color: var(--muted);
}
.illustrative::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }

.verify {
  background: #fff7d6; color: #7a4b00; border: 1px dashed #e0b84a; border-radius: 6px;
  padding: 0 6px; font-size: .92em; font-weight: 600; white-space: normal;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(17, 24, 39, .04);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 34px; width: auto; }
@media (max-width: 767px) { .brand img { height: 30px; } }

.nav { margin: 0 auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav a:hover { background: var(--mist); color: var(--action); }
.nav a[aria-current="page"] { color: var(--action); box-shadow: inset 0 -2px 0 var(--emerald); border-radius: 10px 10px 4px 4px; }
.header-cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(17, 24, 39, .08); padding: 12px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { min-height: 48px; font-size: 17px; width: 100%; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--emerald); border-radius: 4px 10px 10px 4px; background: var(--mist); }
  .nav .nav-mobile-cta { display: block; margin-top: 12px; }
  .nav .nav-mobile-cta .btn { width: 100%; }
}
.nav-mobile-cta { display: none; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  transform: translateY(140%); transition: transform 240ms var(--ease);
}
.mobile-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 767px) { .mobile-cta { display: block; } }

/* ---------- Blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.blob--mint { background: radial-gradient(circle, rgba(52, 211, 153, .28), rgba(52, 211, 153, 0) 70%); }
.blob--teal { background: radial-gradient(circle, rgba(15, 118, 110, .16), rgba(15, 118, 110, 0) 70%); }
.has-blobs { position: relative; overflow: hidden; isolation: isolate; }
.has-blobs > .container { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s7); align-items: center; }
.hero h1 { font-size: 60px; line-height: 62px; letter-spacing: -0.05em; }
.hero .lead { margin-top: var(--s5); }
.hero .btn-row { margin-top: var(--s6); }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--s6); color: var(--muted); font-size: 15px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--emerald); width: 18px; height: 18px; }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 64px; } }
@media (max-width: 767px) { .hero h1 { font-size: 38px; line-height: 42px; } }

/* Inner page hero */
.page-hero { padding: 72px 0 72px; }
.page-hero .h1 { max-width: 15em; }
.page-hero .lead { margin-top: var(--s5); }
.page-hero .btn-row { margin-top: var(--s6); }
.page-hero--teal .eyebrow { color: var(--teal); }
@media (max-width: 767px) { .page-hero { padding: 44px 0 48px; } }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: var(--s4); }
.breadcrumb a { color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5);
  box-shadow: var(--shadow-sm);
}
.card--pad-lg { padding: var(--s6); }
.card h3 { margin-top: var(--s4); }
.card p { margin-top: var(--s2); color: var(--muted); }
.card-hover { transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .link-arrow { margin-top: var(--s4); }

.panel { border-radius: var(--r-panel); padding: var(--s7); position: relative; overflow: hidden; }
.panel--mist { background: linear-gradient(160deg, #f0faf6 0%, #e6f6ef 100%); border: 1px solid var(--mist-2); }
.panel--teal { background: linear-gradient(160deg, #f1f8f8 0%, #e6f2f1 100%); border: 1px solid var(--teal-line); }
@media (max-width: 767px) { .panel { padding: var(--s6) var(--s5); } }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--emerald); margin-top: 3px; width: 18px; height: 18px; }
.check-list--teal .icon { color: var(--teal); }

/* ---------- Offerings (home section 3) ---------- */
.offerings { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 1023px) { .offerings { grid-template-columns: 1fr; } }
.offering { display: flex; flex-direction: column; min-height: 100%; }
.offering .offering-top { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s5); align-items: start; }
@media (max-width: 640px) { .offering .offering-top { grid-template-columns: 1fr; } .offering-visual { display: none; } }
.offering h3 { font-size: 30px; line-height: 34px; letter-spacing: -0.035em; }
.offering .offering-sub { font-weight: 700; margin-top: var(--s3); }
.offering .offering-desc { margin-top: var(--s2); color: var(--muted); }
.offering .feature-list { list-style: none; display: grid; gap: 14px; margin-top: var(--s6); }
.offering .feature-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.offering .feature-list .icon { width: 22px; height: 22px; color: var(--action); }
.panel--teal .feature-list .icon { color: var(--teal); }
.offering .link-arrow { margin-top: auto; padding-top: var(--s6); }

/* Mini chat visual in offering */
.mini-chat { display: grid; gap: 10px; }
.bubble {
  background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 19px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); max-width: 100%;
}
.bubble--out { background: #e7f8ef; border-color: #cdeedd; }
.bubble--ai { background: #ecfdf5; border-color: #c7efdc; }
.bubble .meta { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; text-align: right; }
.bubble-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; font-size: 13px; line-height: 18px; }
.bubble-card .bc-img { height: 64px; border-radius: 10px; background: linear-gradient(135deg, #d1fae5, #a7f3d0 60%, #6ee7b7); display: grid; place-items: center; color: var(--action); }
.bubble-card .bc-btn { display: block; margin-top: 8px; text-align: center; background: var(--action); color: #fff; border-radius: 8px; padding: 6px; font-weight: 700; font-size: 12.5px; }

/* Node graph in automation offering */
.node-graph { position: relative; height: 210px; }
.node-graph .node {
  position: absolute; width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--teal-line);
  display: grid; place-items: center; color: var(--teal); box-shadow: var(--shadow-sm);
}
.node-graph .node--hub { width: 72px; height: 72px; border-radius: 18px; left: calc(50% - 36px); top: calc(50% - 36px); box-shadow: var(--shadow); }
.node-graph .node--hub img { width: 44px; }
.node-graph svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.node-graph svg.wires path { stroke: #8ccfc8; stroke-width: 1.5; fill: none; }

/* ---------- Hero workflow visual ---------- */
.flow-visual { position: relative; }
.flow-visual .stage {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px 22px; padding: 8px;
}
.flow-visual .stage::before {
  content: ""; position: absolute; inset: -6% -10% -4% 4%; border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 60% 40%, rgba(52, 211, 153, .22), rgba(240, 250, 246, .7) 60%, rgba(240, 250, 246, 0) 75%);
  z-index: -1;
}
.fv-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px;
  transition: box-shadow 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease), opacity 300ms var(--ease);
}
.fv-card.is-active { border-color: #9fe3c6; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18), var(--shadow-lg); transform: translateY(-2px); }
.fv-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ch-dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.ch-dot .icon { width: 15px; height: 15px; }
.ch-dot--wa { background: #1fa855; }
.ch-dot--ig { background: linear-gradient(135deg, #f59e0b, #e11d74 55%, #7c3aed); }
.ch-dot--ai { background: var(--action); }
.ch-dot--fb { background: #1d4ed8; }
.fv-msg { display: flex; gap: 10px; align-items: flex-start; }
.fv-msg + .fv-msg { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fv-msg .bubble { margin-top: 6px; font-size: 13px; padding: 8px 10px; background: #f6f7f8; box-shadow: none; }
.fv-msg .who { font-size: 12px; font-weight: 700; color: var(--muted); }

.fv-steps { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.fv-step {
  flex: 1; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 4px; box-shadow: var(--shadow-sm);
  font-size: 12px; font-weight: 700; color: var(--muted);
  transition: all 300ms var(--ease);
}
.fv-step .icon { margin: 0 auto 4px; width: 20px; height: 20px; color: var(--muted); transition: color 300ms var(--ease); }
.fv-step.is-done { color: var(--ink); border-color: #9fe3c6; background: #f3fcf8; }
.fv-step.is-done .icon { color: var(--action); }
.fv-arrow { color: var(--line-strong); flex: none; }
.fv-arrow .icon { width: 14px; height: 14px; }

.fv-ai .typing { display: inline-flex; gap: 4px; margin-top: 8px; padding: 8px 10px; background: #f3f4f6; border-radius: 10px; }
.fv-ai .typing span { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; animation: blink 1.2s infinite both; }
.fv-ai .typing span:nth-child(2) { animation-delay: .2s; }
.fv-ai .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.fv-dash .dash-title { font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.fv-dash .dash-body { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--mint), var(--emerald)); transform-origin: bottom; transition: transform 500ms var(--ease); }
.donut { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--emerald) 0 52%, var(--mint) 52% 78%, #d1d5db 78% 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.dash-rows { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: 12.5px; }
.dash-rows li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; background: #f8faf9; transition: background 300ms var(--ease); }
.dash-rows li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.dash-rows li.is-new { background: #e7f8ef; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--g { background: var(--emerald); } .dot--m { background: var(--mint); } .dot--a { background: #f59e0b; } .dot--b { background: #3b82f6; } .dot--r { background: #ef4444; } .dot--grey { background: #9ca3af; }

.fv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 0 8px; gap: 12px; flex-wrap: wrap; }
.replay-btn { background: none; border: 0; color: var(--action); font-weight: 700; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; }
.replay-btn .icon { width: 16px; height: 16px; }

.fv-caption { font-size: 13px; color: var(--muted); min-height: 20px; }
.fv-caption b { color: var(--ink); }

@media (max-width: 640px) {
  .flow-visual .stage { grid-template-columns: 1fr; }
  .fv-dash .bars { height: 48px; }
  .flow-visual .fv-hide-sm { display: none; }
}

/* ---------- Showcase (tabs + app window) ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%; margin: 0 auto var(--s6); }
.tab {
  flex: none; border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted);
  cursor: pointer; min-height: 44px; white-space: nowrap; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tab:hover { color: var(--ink); background: var(--mist); }
.tab[aria-selected="true"] { background: var(--action); color: #fff; }
.tabs--teal .tab[aria-selected="true"] { background: var(--teal); }

.showcase-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s7); align-items: center; }
@media (max-width: 1023px) { .showcase-grid { grid-template-columns: 1fr; gap: var(--s5); } .showcase-copy { order: 2; } }
.showcase-copy h3 { margin-bottom: var(--s3); }
.showcase-copy .example { margin-top: var(--s5); padding: var(--s4) var(--s5); border-left: 3px solid var(--emerald); background: #fff; border-radius: 0 12px 12px 0; }
.showcase-copy .example strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--action); margin-bottom: 4px; }

.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: panelIn 320ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.app-window { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfcfc; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.app-bar i:nth-child(1) { background: #fca5a5; } .app-bar i:nth-child(2) { background: #fcd34d; } .app-bar i:nth-child(3) { background: #86efac; }
.app-bar .app-url { margin-left: 12px; font-size: 12px; color: var(--muted); background: #f3f4f6; padding: 2px 10px; border-radius: 6px; }
.app-body { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; background: #fcfdfd; }
.app-side .app-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin: 0 6px 18px; }
.app-side .app-brand img { width: 26px; }
.app-side ul { list-style: none; display: grid; gap: 2px; }
.app-side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.app-side li .icon { width: 16px; height: 16px; }
.app-side li.on { background: var(--mist); color: var(--action); box-shadow: inset 2px 0 0 var(--emerald); }
.app-main { padding: 18px 20px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.app-head h4, .app-title { font-size: 17px; letter-spacing: -0.02em; }
.app-btn { background: var(--action); color: #fff; border-radius: 8px; font-size: 12.5px; font-weight: 700; padding: 6px 12px; white-space: nowrap; }
.app-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.app-tabs span { padding-bottom: 8px; }
.app-tabs span.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--emerald); }
.app-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.app-table td, .app-table th { padding: 10px 6px; border-bottom: 1px solid #f0f2f1; text-align: left; white-space: nowrap; }
.app-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.app-table td:first-child { font-weight: 700; }
.app-table .thumb { display: inline-block; width: 34px; height: 26px; border-radius: 6px; vertical-align: middle; margin-right: 10px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.app-table .thumb--2 { background: linear-gradient(135deg, #e0f2fe, #7dd3fc); }
.app-table .thumb--3 { background: linear-gradient(135deg, #fef3c7, #fcd34d); }
.app-scroll { overflow-x: auto; }
.app-foot { display: flex; justify-content: flex-end; padding: 8px 4px 0; }

.journey-canvas { display: grid; gap: 10px; padding: 6px 0; }
.j-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.j-node { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.j-node .icon { width: 16px; height: 16px; color: var(--action); }
.j-node--trigger { background: var(--mist); border-color: var(--mist-2); }
.j-node--wait { background: #f8fafc; color: var(--muted); }
.j-node--split { background: #fffbeb; border-color: #fde68a; }
.j-arrow { color: var(--line-strong); }
.j-arrow .icon { width: 16px; height: 16px; }
.j-branch { margin-left: 28px; padding-left: 14px; border-left: 2px dashed var(--line-strong); display: grid; gap: 8px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 20px; letter-spacing: -0.02em; }
.chart-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.chart-box .bars { height: 110px; gap: 10px; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }

.profile { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.profile-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #a7f3d0, #34d399); display: grid; place-items: center; font-weight: 800; color: var(--forest); flex: none; }
.timeline { list-style: none; display: grid; gap: 10px; font-size: 12.5px; }
.timeline li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--emerald); box-shadow: 0 0 0 3px #d1fae5; }
.timeline small { display: block; color: var(--muted); }
@media (max-width: 767px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .profile { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
  .kpi b { font-size: 16px; }
}

.scoped-strip { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; font-size: 14.5px; color: var(--muted); }
.scoped-strip strong { color: var(--ink); }

/* ---------- AI use cases demo ---------- */
.usecase-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s6); align-items: start; }
@media (max-width: 1023px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase-list { display: grid; gap: 10px; }
.usecase-btn {
  text-align: left; display: flex; gap: 14px; align-items: flex-start; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.usecase-btn:hover { border-color: var(--teal-line); background: #fbfefe; }
.usecase-btn[aria-selected="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12), var(--shadow); }
.usecase-btn .icon-tile { width: 42px; height: 42px; }
.usecase-btn strong { display: block; font-size: 16px; line-height: 22px; letter-spacing: -0.01em; }
.usecase-btn span.desc { display: block; margin-top: 4px; font-size: 14px; line-height: 21px; color: var(--muted); }
@media (max-width: 1023px) {
  .usecase-list { grid-template-columns: repeat(2, 1fr); }
  .usecase-btn span.desc { display: none; }
}
@media (max-width: 480px) { .usecase-list { grid-template-columns: 1fr 1fr; gap: 8px; } .usecase-btn { padding: 12px; gap: 10px; } .usecase-btn .icon-tile { display: none; } .usecase-btn strong { font-size: 14.5px; line-height: 20px; } }

.demo-stage { background: linear-gradient(160deg, #f6fbfb, #edf6f5); border: 1px solid var(--teal-line); border-radius: var(--r-panel); padding: var(--s6); }
.demo-desc { color: var(--muted); margin-bottom: var(--s5); }
.demo-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.demo-step { background: #fff; border: 1px solid var(--teal-line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); opacity: .35; transform: translateY(6px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); min-width: 0; }
.demo-step.is-shown { opacity: 1; transform: none; }
.demo-step .step-k { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.demo-step .step-k .icon { width: 15px; height: 15px; }
.demo-step p { font-size: 13.5px; line-height: 20px; }
.demo-step .mini { margin-top: 8px; display: grid; gap: 6px; font-size: 12.5px; line-height: 18px; }
.demo-step .mini .bubble { font-size: 12.5px; padding: 7px 9px; line-height: 17px; box-shadow: none; }
.demo-step .field { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; }
.demo-step .field span { color: var(--muted); }
.demo-step .field b { font-weight: 700; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-step .alert { border-radius: 8px; padding: 7px 9px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; display: flex; gap: 6px; align-items: flex-start; }
.demo-step .alert .icon { width: 15px; height: 15px; margin-top: 1px; }
.demo-step .ok { border-radius: 8px; padding: 7px 9px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; display: flex; gap: 6px; align-items: flex-start; }
.demo-step .ok .icon { width: 15px; height: 15px; margin-top: 1px; }
.demo-arrow { align-self: center; color: var(--teal); }
.demo-result-note { margin-top: var(--s5); display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.demo-result-note .icon { color: var(--teal); margin-top: 3px; }
.demo-foot { margin-top: var(--s5); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 767px) {
  .demo-stage { padding: var(--s5) var(--s4); }
  .demo-flow { grid-template-columns: 1fr; }
  .demo-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ---------- Journey connector (section 6) ---------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: j; }
.journey li { position: relative; text-align: center; padding: 0 10px; }
.journey li::after {
  content: ""; position: absolute; top: 31px; left: calc(50% + 38px); right: calc(-50% + 38px); height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--mint)); border-radius: 2px; opacity: .7;
}
.journey li:last-child::after { display: none; }
.journey .j-ico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #fff; border: 1px solid var(--mist-2); color: var(--action); box-shadow: var(--shadow); position: relative; z-index: 1; }
.journey li:nth-child(n+5) .j-ico { color: var(--teal); border-color: var(--teal-line); }
.journey .j-ico .icon { width: 26px; height: 26px; }
.journey h3 { font-size: 16px; line-height: 22px; margin-top: 14px; letter-spacing: -0.01em; }
.journey p { font-size: 14px; line-height: 21px; color: var(--muted); margin-top: 4px; }
.journey .j-pill { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.journey .j-pill--p { background: var(--mist); color: var(--action); }
.journey .j-pill--a { background: var(--teal-soft); color: var(--teal-ink); }
@media (max-width: 1023px) {
  .journey { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .journey li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; text-align: left; padding: 0 0 26px; }
  .journey li .j-ico { grid-row: span 3; margin: 0; }
  .journey h3 { margin-top: 6px; }
  .journey li::after { top: 64px; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--emerald), var(--mint)); }
  .journey .j-pill { justify-self: start; margin-top: 6px; }
}
.journey-note { text-align: center; margin-top: var(--s6); font-weight: 700; font-size: 17px; }

/* ---------- Steps (delivery process) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); position: relative; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--action); color: #fff; font-weight: 800; font-size: 15px;
}
.steps h3 { font-size: 18px; line-height: 24px; margin-top: var(--s4); letter-spacing: -0.015em; }
.steps p { font-size: 14.5px; line-height: 22px; color: var(--muted); margin-top: 6px; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps--7 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .steps--7 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps--7 { grid-template-columns: 1fr; } }

/* ---------- Sectors ---------- */
.sector { display: flex; flex-direction: column; }
.sector ul { list-style: none; margin-top: var(--s4); display: grid; gap: 8px; font-size: 15px; }
.sector ul li { display: flex; gap: 8px; align-items: flex-start; }
.sector ul .icon { width: 16px; height: 16px; color: var(--emerald); margin-top: 4px; }
.sector .link-arrow { margin-top: auto; padding-top: var(--s5); font-size: 15px; }

/* ---------- Measures ---------- */
.measure-list { list-style: none; display: grid; gap: 12px; }
.measure-list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.measure-list .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.method { list-style: none; display: grid; gap: 0; counter-reset: m; }
.method li { counter-increment: m; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.method li:last-child { border-bottom: 0; }
.method li::before { content: counter(m); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--action); font-weight: 800; font-size: 14px; }
.method strong { display: block; }
.method span { color: var(--muted); font-size: 15px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: var(--s4) var(--s5); border-radius: 14px; background: #fff; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; }
.notice .icon { color: var(--action); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 17px; line-height: 24px; letter-spacing: -0.01em; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t-fast) var(--ease); color: var(--action); flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq-a { padding: 0 20px 20px; color: var(--muted); }
.faq .faq-a p + p, .faq .faq-a p + ul, .faq .faq-a ul + p { margin-top: 10px; }
.faq .faq-a ul { padding-left: 20px; }
.faq .faq-a li + li { margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; padding: 64px 32px; text-align: center;
  background: linear-gradient(135deg, #e9f8f1 0%, #f3fbf8 50%, #e2f4ec 100%); border: 1px solid var(--mist-2);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; }
.cta-band::before { width: 340px; height: 340px; left: -80px; bottom: -160px; background: rgba(52, 211, 153, .35); }
.cta-band::after { width: 300px; height: 300px; right: -60px; top: -140px; background: rgba(15, 118, 110, .14); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18em; margin: 0 auto; }
.cta-band p { max-width: 36em; margin: var(--s4) auto 0; color: var(--muted); font-size: 18px; line-height: 28px; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s6); }
@media (max-width: 767px) { .cta-band { padding: 44px 20px; border-radius: 20px; } .cta-band p { font-size: 16px; line-height: 26px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s6); }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: var(--s4); color: var(--muted); max-width: 22em; }
.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-weight: 800; margin-bottom: var(--s4); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--action); text-decoration: underline; }
.footer-col address { font-style: normal; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-bottom ul { list-style: none; display: flex; gap: var(--s5); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 96px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s5); }
.field-group { display: grid; gap: 8px; }
.field-group label, .field-group legend { font-weight: 700; font-size: 15px; line-height: 20px; }
.field-group .hint { font-size: 13.5px; color: var(--muted); line-height: 19px; }
.req { color: #b91c1c; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #d1d9d5; border-radius: var(--r-ctl);
  background: #fff; font-size: 16px; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.textarea { min-height: 120px; resize: vertical; line-height: 24px; }
.input:hover, .textarea:hover { border-color: #b4c3bc; }
.input:focus, .textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.field-group.has-error .input, .field-group.has-error .textarea { border-color: #b91c1c; }
.field-error { display: none; color: #b91c1c; font-size: 14px; font-weight: 600; align-items: center; gap: 6px; }
.field-group.has-error .field-error { display: flex; }
fieldset.field-group { border: 0; padding: 0; margin: 0; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .choice-row { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1.5px solid #d1d9d5; border-radius: var(--r-ctl);
  font-weight: 600; font-size: 15px; transition: all var(--t-fast) var(--ease); background: #fff;
}
.choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9ca3af; flex: none; transition: all var(--t-fast) var(--ease); }
.choice input:checked + span { border-color: var(--action); background: var(--mist); color: var(--action); }
.choice input:checked + span::before { border-color: var(--action); background: radial-gradient(circle, var(--action) 0 45%, #fff 50%); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(52, 211, 153, .35); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; align-items: flex-start; gap: 10px; }
.form-status .icon { margin-top: 3px; }
.form-status.is-success { display: flex; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { display: flex; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-status.is-info { display: flex; background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.form-note { font-size: 13.5px; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--mist); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 700; }

/* ---------- Misc content blocks ---------- */
.feature-row { display: flex; gap: var(--s4); align-items: flex-start; }
.feature-row h3 { font-size: 18px; line-height: 24px; letter-spacing: -0.015em; }
.feature-row p { color: var(--muted); margin-top: 4px; font-size: 15.5px; }

.solution { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); padding: var(--s7) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.solution:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 1023px) { .solution { grid-template-columns: 1fr; gap: var(--s5); } }
.solution .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 640px) { .solution .meta-grid { grid-template-columns: 1fr; } }
.solution .meta-grid .card { padding: 18px; }
.solution .meta-grid h4, .solution .meta-grid .meta-h { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }
.solution .meta-grid p, .solution .meta-grid ul { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--ink); }
.solution .meta-grid ul { padding-left: 18px; }
.wf-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wf-line .j-node { font-size: 13px; padding: 7px 10px; }

.pkg { display: flex; flex-direction: column; }
.pkg .pkg-for { font-size: 14px; color: var(--muted); margin-top: 4px; }
.pkg ul { margin-top: var(--s4); }
.pkg .tag { align-self: flex-start; }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
@media (max-width: 767px) { .two-col-list { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 26px; line-height: 32px; margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: var(--s4); color: #374151; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }

.screen-placeholder {
  border: 2px dashed var(--line-strong); border-radius: 18px; padding: var(--s6); text-align: center; color: var(--muted); background: repeating-linear-gradient(45deg, #fafcfb, #fafcfb 12px, #f4f8f6 12px, #f4f8f6 24px);
  display: grid; place-items: center; gap: 10px; min-height: 220px;
}
.screen-placeholder strong { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .demo-step { opacity: 1; transform: none; }
  .fv-ai .typing span { animation: none; opacity: .6; }
}

@media print {
  .site-header, .mobile-cta, .nav-toggle { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Refinements ---------- */
[hidden] { display: none !important; }
figure { margin: 0; }
h1, h2, h3, .h1, .h2 { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
.flow-visual .stage { align-items: start; }
.fv-steps { gap: 2px; }
.fv-step { padding: 10px 2px; font-size: 11.5px; white-space: nowrap; min-width: 0; }
.fv-arrow .icon { width: 12px; height: 12px; }
.fv-dash .dash-title .tag { white-space: nowrap; }
.hero { padding-bottom: 56px; }
.method li::before { background: #fff; border: 1px solid var(--mist-2); }
.card .feature-row h3, .feature-row h3 { margin-top: 0; }
a.tag { text-decoration: none; min-height: 32px; padding: 6px 12px; font-size: 14px; }
a.tag:hover { border-color: currentColor; }
.solution h2.h3 { font-size: 28px; line-height: 34px; }

/* Platform walkthrough */
.walk { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: w; }
.walk .card { display: flex; flex-direction: column; }
.walk h3 { margin-top: 12px; }
.walk-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: #fff; font-weight: 800; }
.walk-screen { margin-top: auto; padding-top: 18px; display: grid; gap: 6px; font-size: 13px; }
.walk-screen .field { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: #fff; }
.walk-screen .field span { color: var(--muted); display: inline-flex; align-items: center; }
.walk-result { margin-top: 4px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--mist); color: var(--action); font-weight: 700; }
@media (max-width: 1023px) { .walk { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.footer-col .small { font-size: 14px; }

.app-title { font-weight: 800; color: var(--ink); }
.solution .meta-grid .meta-h { margin: 0; }
.app-scroll:focus-visible, .table-wrap:focus-visible { outline-offset: -3px; }
.choice-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
