/* ==========================================================================
   CONEXA NETWORKS LLC — product-led light design
   Tokens → base → type → header → buttons → hero + app mockup → ticker →
   bento → showcase → command centre → process → CTA → footer → motion → responsive
   ========================================================================== */

:root {
  --paper: #f5f8f9;
  --paper-2: #eaf1f2;
  --surface: #ffffff;
  --ink-deep: #07171a;
  --ink-deep-2: #0d2226;

  --ink: #0e1a1c;
  --ink-2: rgba(14, 26, 28, 0.7);
  --ink-3: rgba(14, 26, 28, 0.62);
  --rule: rgba(14, 26, 28, 0.09);
  --rule-2: rgba(14, 26, 28, 0.15);

  --cyan: #00a5b5;
  --mint: #10b884;
  --gold: #c78a32;
  --cyan-deep: #00707d;
  --mint-deep: #0b8f66;

  --sh-1: 0 1px 2px rgba(10, 47, 52, 0.05), 0 14px 30px -18px rgba(10, 47, 52, 0.28);
  --sh-2: 0 2px 6px rgba(10, 47, 52, 0.06), 0 28px 56px -26px rgba(10, 47, 52, 0.34);
  --sh-3: 0 3px 10px rgba(10, 47, 52, 0.07), 0 50px 90px -38px rgba(10, 47, 52, 0.42);
  --sh-glow: 0 3px 10px rgba(0, 120, 130, 0.09), 0 34px 66px -26px rgba(0, 130, 140, 0.4);
  --sh-app: 0 2px 4px rgba(10, 47, 52, 0.05), 0 24px 48px -20px rgba(10, 47, 52, 0.3),
    0 90px 140px -60px rgba(0, 110, 122, 0.45);

  --f-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(84px, 9.5vw, 148px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(56rem 36rem at 50% -14%, rgba(0, 165, 181, 0.26), transparent 62%),
    radial-gradient(40rem 28rem at 2% 24%, rgba(16, 184, 132, 0.15), transparent 60%),
    radial-gradient(40rem 30rem at 100% 62%, rgba(199, 138, 50, 0.12), transparent 60%),
    radial-gradient(44rem 30rem at 18% 100%, rgba(0, 165, 181, 0.14), transparent 60%);
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--cyan-deep); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 14px; left: 14px; z-index: 60;
  padding: 11px 16px; background: var(--ink); color: #fff;
  border-radius: var(--r-sm); font-size: 0.85rem; font-weight: 500;
  transform: translateY(-180%); transition: transform 220ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.02; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Type ────────────────────────────────────────────────────────────────── */

.display, .display-2 {
  font-family: var(--f-display);
  font-weight: 300;
  letter-spacing: -0.038em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

.display {
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.display em {
  font-style: normal;
  background: linear-gradient(96deg, #00808d 6%, #0a8f8f 46%, #0b8f66 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) { .display em { color: var(--cyan-deep); } }

.display-2 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); line-height: 1.06; }

h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: var(--ink);
}

p { margin: 0; text-wrap: pretty; }

.mono {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  color: var(--cyan-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 165, 181, 0.26);
  box-shadow: var(--sh-1);
  font-family: var(--f-mono);
  font-size: 0.6563rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(120deg, var(--cyan), var(--mint));
  box-shadow: 0 0 0 3px rgba(0, 165, 181, 0.16);
}

.kicker.on-dark {
  color: #8ff0dc;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(143, 240, 220, 0.3);
  box-shadow: none;
}

.lede {
  max-width: 40em;
  margin: 26px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.64;
  letter-spacing: -0.012em;
}

.body-lg { max-width: 36em; margin: 22px 0 0; color: var(--ink-2); font-size: 1.03rem; line-height: 1.74; }

.section-lede {
  max-width: 38em;
  margin: 20px auto 0;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.shell { position: relative; width: min(var(--shell), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }

.section-head { max-width: 900px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .kicker { margin-inline: auto; }

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
  max-width: none;
}

.section-body { color: var(--ink-2); font-size: 1.02rem; line-height: 1.76; }

.band-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(232, 243, 243, 0.75) 18%, rgba(232, 243, 243, 0.75) 82%, rgba(255, 255, 255, 0) 100%);
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 252, 252, 0.82);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 10px 30px -22px rgba(10, 47, 52, 0.5);
}

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  height: var(--header-h); margin-inline: auto;
  transition: height 320ms var(--ease);
}
.site-header.is-scrolled .nav { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; min-height: 44px; }
.brand-mark { color: var(--ink); overflow: visible; transition: transform 420ms var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-word { display: grid; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.06rem; font-weight: 600; letter-spacing: 0.13em; color: var(--ink); }
.brand-sub { margin-top: 4px; font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }

.nav-menu { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav-menu a { position: relative; padding: 8px 2px; color: var(--ink-2); font-size: 0.875rem; font-weight: 450; transition: color 220ms var(--ease); }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after, .nav-menu a.is-current::after { transform: scaleX(1); }
.nav-menu a.is-current { color: var(--ink); }

.nav-end { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.cta-link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; color: #fff;
  background: linear-gradient(120deg, #00707d, #0a7d5a);
  font-size: 0.8125rem; font-weight: 500;
  box-shadow: 0 8px 22px -10px rgba(0, 120, 130, 0.75);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.cta-link svg { transition: transform 300ms var(--ease); }
.cta-link:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(0, 120, 130, 0.8); }
.cta-link:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--rule-2);
  border-radius: var(--r); box-shadow: var(--sh-1); cursor: pointer;
}
.nav-toggle .bar { position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 300ms var(--ease); }
.nav-toggle .bar:nth-child(1) { top: 18px; }
.nav-toggle .bar:nth-child(2) { top: 24px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--f-body); font-size: 0.95rem; font-weight: 500; letter-spacing: -0.008em;
  cursor: pointer;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background-color 260ms var(--ease), border-color 260ms var(--ease), opacity 200ms;
}
.btn svg { transition: transform 300ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #00596b 0%, #007483 46%, #0a7d5a 100%);
  box-shadow: 0 10px 28px -10px rgba(0, 120, 130, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(0, 130, 140, 0.8); }

.btn-ghost { color: var(--ink); border-color: var(--rule-2); background: rgba(255, 255, 255, 0.85); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: rgba(0, 165, 181, 0.45); background: #fff; transform: translateY(-2px); box-shadow: var(--sh-2); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vh, 104px));
  isolation: isolate;
}

.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 46% at 50% 42%, rgba(0, 165, 181, 0.16), transparent 70%),
    radial-gradient(30% 30% at 22% 60%, rgba(16, 184, 132, 0.12), transparent 70%),
    radial-gradient(30% 30% at 78% 58%, rgba(199, 138, 50, 0.09), transparent 70%);
}

.hero-copy { max-width: 920px; text-align: center; }
.hero-copy .kicker { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* — App mockup — */

.app-wrap {
  margin-top: clamp(52px, 6vw, 80px);
  perspective: 1800px;
  perspective-origin: 50% 0%;
}

.app {
  --tilt: 7deg;
  position: relative;
  width: min(1180px, 100%);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid rgba(14, 26, 28, 0.1);
  border-radius: 16px;
  box-shadow: var(--sh-app);
  overflow: hidden;
  transform: rotateX(var(--tilt));
  transform-origin: 50% 0%;
  transition: transform 120ms linear;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}

.app-chrome {
  display: flex; align-items: center; gap: 14px;
  height: 42px; padding: 0 16px;
  background: linear-gradient(180deg, #fbfdfd, #f3f8f8);
  border-bottom: 1px solid var(--rule);
}
.app-dots { display: inline-flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(14, 26, 28, 0.14); }
.app-dots i:nth-child(1) { background: #f0a58f; }
.app-dots i:nth-child(2) { background: #f2cf7b; }
.app-dots i:nth-child(3) { background: #8fdcb9; }
.app-url {
  flex: 1; max-width: 420px; margin-inline: auto; padding: 5px 12px;
  background: rgba(14, 26, 28, 0.05); border-radius: 7px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-live {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  background: rgba(16, 184, 132, 0.12); color: #077553;
  font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: ping 2.4s var(--ease) infinite; }

.app-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 520px; }

.app-side {
  display: flex; flex-direction: column;
  padding: 18px 12px;
  background: linear-gradient(180deg, #f8fbfb, #f1f7f7);
  border-right: 1px solid var(--rule);
}
.app-side-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 18px; color: var(--ink); font-family: var(--f-display); font-weight: 600; letter-spacing: 0.12em; font-size: 12px; }
.app-nav { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.app-nav li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 450;
}
.app-nav li.is-active { background: #fff; color: var(--cyan-deep); box-shadow: var(--sh-1); font-weight: 500; }
.app-side-foot { margin-top: auto; padding: 12px 10px 4px; display: grid; gap: 3px; border-top: 1px solid var(--rule); }
.app-side-foot .mono { color: var(--ink-3); font-size: 9.5px; }
.app-side-foot strong { font-weight: 500; }

/* icon glyphs via mask */
.ic {
  display: inline-block; width: 15px; height: 15px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  opacity: 0.85;
}
.ic-grid    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.ic-phone   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.ic-msg     { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 12c0 3.9-3.8 7-8.5 7a9.8 9.8 0 0 1-2.6-.35L4 20.5l1.4-3.6A6.6 6.6 0 0 1 3.5 12c0-3.9 3.8-7 8.5-7s8.5 3.1 8.5 7Z'/%3E%3C/svg%3E"); }
.ic-hash    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 9h14M5 15h14M10 4 8 20M16 4l-2 16'/%3E%3C/svg%3E"); }
.ic-users   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3.5 20a5.6 5.6 0 0 1 11 0M16 5.5a3.6 3.6 0 0 1 0 7M17.5 20a5.4 5.4 0 0 0-2.2-4.4'/%3E%3C/svg%3E"); }
.ic-shield  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4.5 5.8v5.4c0 4.5 3.1 8.7 7.5 10.3 4.4-1.6 7.5-5.8 7.5-10.3V5.8L12 2.5Z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.ic-headset { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0M4 12v3a2.5 2.5 0 0 0 2.5 2.5H7v-6h-.5A2.5 2.5 0 0 0 4 14M20 12v3a2.5 2.5 0 0 1-2.5 2.5H17v-6h.5A2.5 2.5 0 0 1 20 14'/%3E%3C/svg%3E"); }
.ic-mail    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E"); }

.app-main { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; background: #fbfdfd; min-width: 0; }

.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-top strong { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.app-top span { color: var(--ink-3); font-size: 11.5px; }
.app-clock { color: var(--ink-3); font-size: 10.5px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi {
  display: grid; gap: 4px; padding: 13px 14px;
  background: #fff; border: 1px solid var(--rule); border-radius: 10px;
}
.kpi .mono { color: var(--ink-3); font-size: 9.5px; letter-spacing: 0.12em; }
.kpi strong { font-family: var(--f-display); font-size: 24px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi strong i { font-style: normal; font-size: 14px; color: var(--ink-3); margin-left: 1px; }
.kpi em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.kpi em.up { color: #0a7a56; }
.kpi-ok strong { color: #0a7a56; }

.app-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 10px; }

.panel { padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-weight: 500; }
.panel-head .mono { color: var(--ink-3); font-size: 9.5px; font-weight: 400; }
.panel-activity { grid-column: 1 / -1; }

.chart { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: end; height: 108px; }
.chart i {
  display: block; height: var(--h); border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(0, 165, 181, 0.85), rgba(16, 184, 132, 0.65));
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 22ms);
}
.chart i.now { background: linear-gradient(180deg, var(--mint), var(--mint-deep)); animation: barPulse 1.6s var(--ease) infinite; }
.app.is-visible .chart i, html:not(.js) .chart i { transform: scaleY(1); }
.chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: var(--ink-3); font-size: 9px; }

/* the dashboard assembles itself once on screen: header, KPIs, panels, then bars */
.js .app .app-top, .js .app .kpi, .js .app .panel, .js .app .app-nav li {
  opacity: 0; transform: translateY(10px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.js .app.is-visible .app-top, .js .app.is-visible .kpi,
.js .app.is-visible .panel, .js .app.is-visible .app-nav li { opacity: 1; transform: none; }
.js .app.is-visible .app-top { transition-delay: 60ms; }
.js .app.is-visible .kpi:nth-child(1) { transition-delay: 160ms; }
.js .app.is-visible .kpi:nth-child(2) { transition-delay: 240ms; }
.js .app.is-visible .kpi:nth-child(3) { transition-delay: 320ms; }
.js .app.is-visible .kpi:nth-child(4) { transition-delay: 400ms; }
.js .app.is-visible .panel-chart { transition-delay: 520ms; }
.js .app.is-visible .panel-queue { transition-delay: 620ms; }
.js .app.is-visible .panel-activity { transition-delay: 720ms; }
.js .app.is-visible .app-nav li { transition-delay: calc(80ms + var(--n, 0) * 50ms); }
.js .app.is-visible .chart i { transition-delay: calc(640ms + var(--i, 0) * 22ms); }

/* pointer spotlight over the mockup */
.app::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 30%), rgba(0, 165, 181, 0.1), transparent 62%);
  transition: opacity 400ms var(--ease);
}
.app-wrap:hover .app::after { opacity: 1; }

.activity li { transition: background-color 200ms var(--ease); }
.activity li:hover { background: rgba(0, 165, 181, 0.07); }

.queues { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.queues li { display: grid; grid-template-columns: 8px 62px 1fr auto; align-items: center; gap: 10px; }
.q { width: 8px; height: 8px; border-radius: 50%; }
.q1 { background: var(--cyan); } .q2 { background: var(--mint); } .q3 { background: var(--gold); }
.qbar { height: 6px; border-radius: 99px; background: rgba(14, 26, 28, 0.08); overflow: hidden; }
.qbar b { display: block; width: var(--v); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--mint)); }
.queues strong { font-variant-numeric: tabular-nums; font-weight: 500; }
.queue-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule); }
.queue-foot .mono { color: var(--ink-3); font-size: 9.5px; }
.queue-foot strong { font-weight: 500; font-variant-numeric: tabular-nums; }

.activity { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.activity li {
  display: grid; grid-template-columns: 150px 1fr auto auto; align-items: center; gap: 14px;
  padding: 8px 10px; border-radius: 7px;
}
.activity li:nth-child(odd) { background: rgba(14, 26, 28, 0.03); }
.activity .num { color: var(--ink); font-size: 11px; letter-spacing: 0.04em; text-transform: none; }
.activity .t { color: var(--ink-3); font-size: 10px; }
.tag {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-style: normal;
  font-family: var(--f-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(14, 26, 28, 0.06); color: var(--ink-2);
}
.tag.ok { background: rgba(16, 184, 132, 0.14); color: #077553; }

/* ── Ticker ──────────────────────────────────────────────────────────────── */

.ticker {
  position: relative; overflow: hidden; margin-top: clamp(56px, 6vw, 84px); padding: 18px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.6);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 44s linear infinite; }
.ticker-track span { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.ticker-track i { color: var(--cyan); font-style: normal; }

/* ── Bento ───────────────────────────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}

.tile-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile-b { grid-column: 3 / 5; }
.tile-c { grid-column: 3 / 4; }
.tile-d { grid-column: 4 / 5; }
.tile-e { grid-column: 1 / 3; }
.tile-f { grid-column: 3 / 5; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.2vw, 30px);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease), border-color 380ms var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity 420ms var(--ease);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 165, 181, 0.1), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 165, 181, 0.32); box-shadow: var(--sh-glow); }
.card:hover::before { opacity: 1; }

.tile-head { position: relative; z-index: 1; margin-bottom: 20px; }
.tile-head h3 { margin-bottom: 8px; }
.tile-head p { color: var(--ink-3); font-size: 0.9rem; line-height: 1.6; max-width: 40ch; }
.tile-viz { position: relative; z-index: 1; margin-top: auto; }
.tile-a .tile-viz { margin-block: auto; }

/* — A · call flow — */
.viz-flow { display: flex; flex-direction: column; gap: 0; }
.flow-node {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; background: #fff; border: 1px solid var(--rule-2); border-radius: 10px;
  font-size: 0.82rem; font-weight: 500; box-shadow: var(--sh-1); color: var(--ink);
}
.flow-node .ic { width: 14px; height: 14px; color: var(--cyan-deep); }
.flow-node .mono { margin-left: 6px; color: var(--ink-3); font-size: 9px; letter-spacing: 0.1em; font-weight: 400; }
.flow-node.root { align-self: center; border-color: rgba(0, 165, 181, 0.4); background: linear-gradient(120deg, rgba(0, 165, 181, 0.1), rgba(16, 184, 132, 0.08)); }
.flow-node.is-on { border-color: rgba(16, 184, 132, 0.5); box-shadow: 0 0 0 3px rgba(16, 184, 132, 0.12), var(--sh-1); }
.flow-lines { width: 100%; height: 96px; display: block; }
.flow-lines path { fill: none; stroke: rgba(14, 26, 28, 0.16); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.flow-lines .flow-pulse { stroke: var(--cyan); stroke-width: 2.5; stroke-dasharray: 14 300; opacity: 0; animation: flowPulse 3.3s linear infinite; }
.flow-leaves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.flow-leaves .flow-node { justify-content: center; flex-wrap: wrap; text-align: center; }
.flow-live {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 14px;
  background: rgba(14, 26, 28, 0.035); border-radius: 10px; font-size: 0.82rem; color: var(--ink-2);
}
.flow-live .mono { margin-left: auto; color: #b2412c; font-size: 9px; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.wave i { width: 3px; height: 40%; border-radius: 2px; background: var(--mint); animation: wave 1.1s var(--ease) infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; }
.wave i:nth-child(5) { animation-delay: .4s; } .wave i:nth-child(6) { animation-delay: .5s; } .wave i:nth-child(7) { animation-delay: .6s; }

/* — B · SMS — */
.viz-sms { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.code {
  margin: 0; padding: 14px 16px; overflow: hidden;
  background: var(--ink-deep); color: #cfe6e4; border-radius: 12px;
  font-family: var(--f-mono); font-size: 11px; line-height: 1.6; white-space: pre;
}
.c-m { color: #7fecd9; font-weight: 500; } .c-p { color: #ffffff; } .c-k { color: #9fd3ff; } .c-s { color: #f6d68a; } .c-r { color: #7fecd9; }
.bubble {
  position: relative; padding: 12px 14px 30px; border-radius: 14px 14px 14px 4px;
  background: linear-gradient(140deg, #ffffff, #eef7f6); border: 1px solid var(--rule-2);
  font-size: 0.82rem; line-height: 1.5; color: var(--ink); box-shadow: var(--sh-1);
}
.bubble .mono { display: block; margin-bottom: 4px; color: var(--ink-3); font-size: 9px; }
.bubble strong { font-weight: 600; letter-spacing: 0.04em; }
.bubble .tick { position: absolute; right: 12px; bottom: 9px; font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #077553; }
.bubble .tick::before { content: "✓✓ "; }

/* — C · numbers — */
.numlist { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.numlist li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fbfdfd; border: 1px solid var(--rule); border-radius: 9px; font-size: 0.8rem; }
.numlist .flag { display: inline-grid; place-items: center; width: 26px; height: 20px; border-radius: 4px; background: rgba(0, 165, 181, 0.12); color: var(--cyan-deep); font-family: var(--f-mono); font-size: 9px; font-weight: 500; }
.numlist .mono { text-transform: none; letter-spacing: 0.04em; font-size: 11px; font-weight: 400; }
.numlist li i { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(16, 184, 132, 0.16); }
.numlist .add { justify-content: center; color: var(--cyan-deep); font-weight: 500; border-style: dashed; background: transparent; }

/* — D · trunk — */
.trunk { margin-top: auto; display: grid; gap: 14px; justify-items: center; }
.trunk-ring {
  --p: 77;
  position: relative; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--cyan) 0deg, var(--mint) calc(var(--p) * 3.6deg), rgba(14, 26, 28, 0.08) calc(var(--p) * 3.6deg));
}
.trunk-ring span {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 1px 3px rgba(14, 26, 28, 0.08); text-align: center; line-height: 1.1;
}
.trunk-ring b { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 400; letter-spacing: -0.03em; }
.trunk-ring em { font-style: normal; color: var(--ink-3); font-size: 8.5px; }
.trunk-meta { display: grid; gap: 6px; width: 100%; font-size: 0.78rem; color: var(--ink-2); }
.trunk-meta span { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.ok { background: var(--mint); box-shadow: 0 0 0 3px rgba(16, 184, 132, 0.16); }

/* — E · sync — */
.sync { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: auto; }
.sync-card {
  display: grid; gap: 4px; padding: 14px; background: #fbfdfd; border: 1px solid var(--rule); border-radius: 12px; font-size: 0.8rem;
}
.sync-card .mono { color: var(--ink-3); font-size: 9px; }
.sync-card strong { font-weight: 500; font-size: 0.9rem; }
.sync-card em { font-style: normal; color: var(--ink-3); font-size: 0.75rem; }
.sync-card .tag { justify-self: start; margin-top: 4px; }
.sync-card.crm { border-color: rgba(16, 184, 132, 0.4); background: linear-gradient(140deg, #ffffff, #eef8f5); }
.sync-link { display: grid; gap: 6px; justify-items: center; }
.sync-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); opacity: 0.2; animation: syncDot 1.5s var(--ease) infinite; }
.sync-link i:nth-child(2) { animation-delay: .25s; } .sync-link i:nth-child(3) { animation-delay: .5s; }

/* — F · checks — */
.checks { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fbfdfd; border: 1px solid var(--rule); border-radius: 10px; font-size: 0.85rem; }
.checks li i {
  width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(16, 184, 132, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230b8f66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(16, 184, 132, 0.4);
}
.checks .mono { margin-left: auto; color: var(--ink-3); font-size: 9px; text-transform: none; letter-spacing: 0.06em; font-weight: 400; }

/* ── Platform showcase slider ────────────────────────────────────────────── */

.showcase {
  position: relative; margin-top: clamp(44px, 5vw, 72px);
  background: radial-gradient(90% 120% at 88% 0%, rgba(0, 165, 181, 0.09), transparent 62%), linear-gradient(155deg, #ffffff 0%, #f1f8f8 100%);
  border: 1px solid var(--rule); border-radius: var(--r-xl); box-shadow: var(--sh-3); overflow: hidden;
}
.showcase-viewport { overflow: hidden; touch-action: pan-y; }
html:not(.js) .showcase-track { flex-wrap: wrap; }
html:not(.js) .showcase-bar { display: none; }
html:not(.js) .slide + .slide { border-top: 1px solid var(--rule); }
.showcase-track { display: flex; transition: transform 760ms var(--ease); will-change: transform; }
.showcase.is-dragging .showcase-track { transition: none; }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(26px, 3vw, 52px); align-items: center; padding: clamp(28px, 3.2vw, 50px); }
.slide-tag { display: inline-block; margin-bottom: 20px; padding: 6px 11px; border-radius: 999px; background: rgba(0, 165, 181, 0.1); color: var(--cyan-deep); }
.slide h3 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 400; letter-spacing: -0.032em; line-height: 1.1; margin-bottom: 14px; }
.slide-copy p { color: var(--ink-2); font-size: 1rem; line-height: 1.72; max-width: 34em; }
.slide-points { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; list-style: none; }
.slide-points li { display: flex; align-items: center; gap: 11px; color: var(--ink-2); font-size: 0.9rem; }
.slide-points li::before {
  content: ""; flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%; border: 1px solid rgba(16, 184, 132, 0.4);
  background: rgba(16, 184, 132, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%230b8f66' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.slide-visual { position: relative; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 72% 18%, rgba(0, 165, 181, 0.12), transparent 64%), linear-gradient(160deg, #ffffff, #e9f5f5); }
.viz { display: block; width: 100%; height: auto; }
.viz-grid path { fill: none; stroke: rgba(14, 26, 28, 0.055); stroke-width: 1; }
.viz-arc path { fill: none; stroke: rgba(0, 165, 181, 0.26); stroke-width: 1.5; }
.viz-pulse path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 12 400; opacity: 0; }
.slide.is-active .viz-pulse path { animation: vizFlow 2.9s linear infinite; }
.viz-endpoint circle { fill: #fff; stroke: var(--cyan); stroke-width: 1.8; }
.viz-endpoint text, .viz-lane-label text, .viz-tag text, .viz-row text { font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; fill: var(--cyan-deep); }
.viz-endpoint text { text-anchor: middle; }
.viz-hub { fill: rgba(16, 184, 132, 0.16); stroke: var(--mint); stroke-width: 2; }
.viz-hub-mark { stroke: var(--mint-deep); stroke-width: 2; stroke-linecap: round; }
.viz-halo { transform-origin: 210px 150px; }
.slide.is-active .viz-halo { animation: haloBreathe 5s var(--ease) infinite; }
.viz-lane rect { fill: rgba(14, 26, 28, 0.035); stroke: rgba(14, 26, 28, 0.08); }
.viz-packet rect { fill: var(--cyan); opacity: 0; }
.slide.is-active .viz-packet rect { animation: vizGlide 3.4s var(--ease) infinite; }
.viz-lane-label text { fill: var(--ink-3); }
.viz-router { fill: rgba(0, 165, 181, 0.16); stroke: var(--cyan); stroke-width: 1.8; stroke-linejoin: round; }
.viz-router-dot { fill: var(--mint); }
.slide.is-active .viz-router-dot { animation: vizBlink 1.6s var(--ease) infinite; }
.viz-card { fill: #fff; stroke: rgba(14, 26, 28, 0.1); }
.viz-avatar { fill: rgba(0, 165, 181, 0.16); stroke: var(--cyan); stroke-width: 1.6; }
.viz-line rect { fill: rgba(14, 26, 28, 0.14); transform-origin: left center; }
.slide.is-active .viz-line rect { animation: vizGrow 3.2s var(--ease) infinite; }
.viz-tag rect { fill: rgba(16, 184, 132, 0.16); stroke: rgba(16, 184, 132, 0.4); }
.viz-tag text { fill: var(--mint-deep); }
.viz-bar rect { fill: var(--cyan); transform-origin: center bottom; }
.slide.is-active .viz-bar rect { animation: vizRise 3s var(--ease) infinite; }
.viz-spark { fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; }
.slide.is-active .viz-spark { animation: vizDraw 3s var(--ease) infinite; }
.viz-spark-dot { fill: var(--mint); }
.slide.is-active .viz-spark-dot { animation: vizBlink 3s var(--ease) infinite; }
.viz-shield { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; }
.viz-scan { fill: rgba(0, 165, 181, 0.26); }
.slide.is-active .viz-scan { animation: vizScan 3.2s var(--ease) infinite; }
.viz-check { fill: none; stroke: var(--mint-deep); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; }
.slide.is-active .viz-check { animation: vizDraw 3.2s var(--ease) infinite; }
.viz-row rect { fill: rgba(255, 255, 255, 0.92); stroke: rgba(14, 26, 28, 0.1); }
.viz-row g { opacity: 0; }
.slide.is-active .viz-row g { animation: vizPop 3.2s var(--ease) infinite; }

.showcase-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 clamp(22px, 3.2vw, 50px) clamp(22px, 2.6vw, 34px); }
.showcase-dots { display: flex; gap: 8px; }
[data-dot] {
  position: relative; width: 46px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
[data-dot]::before {
  content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 6px; border-radius: 99px;
  background: rgba(14, 26, 28, 0.13); transition: background-color 240ms var(--ease);
}
[data-dot]:hover::before { background: rgba(14, 26, 28, 0.22); }
[data-dot][aria-selected="true"]::before { background: rgba(0, 165, 181, 0.26); }
.dot-fill { position: absolute; left: 0; right: 0; top: 19px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--mint)); transform: scaleX(0); transform-origin: left; }
[data-dot][aria-selected="true"] .dot-fill { animation: dotFill var(--dur, 6200ms) linear forwards; }
.showcase.is-paused [data-dot][aria-selected="true"] .dot-fill { animation-play-state: paused; }
.showcase.no-autoplay [data-dot][aria-selected="true"] .dot-fill { animation: none; transform: scaleX(1); }
.showcase-arrows { display: flex; gap: 8px; }
.arrow {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink);
  background: #fff; border: 1px solid var(--rule-2); border-radius: 50%; box-shadow: var(--sh-1); cursor: pointer;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease), color 260ms var(--ease);
}
.arrow:hover { color: var(--cyan-deep); border-color: rgba(0, 165, 181, 0.45); transform: translateY(-2px); box-shadow: var(--sh-glow); }

/* ── Command centre (dark) ───────────────────────────────────────────────── */

.band-dark {
  --ink: #eef6f5;
  --ink-2: rgba(238, 246, 245, 0.74);
  --ink-3: rgba(238, 246, 245, 0.64);
  --rule: rgba(255, 255, 255, 0.12);
  --rule-2: rgba(255, 255, 255, 0.2);
  --cyan-deep: #5fe3d0;
  --surface: rgba(255, 255, 255, 0.05);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(52rem 34rem at 10% -10%, rgba(0, 165, 181, 0.32), transparent 60%),
    radial-gradient(44rem 30rem at 96% 108%, rgba(16, 184, 132, 0.24), transparent 60%),
    radial-gradient(30rem 22rem at 60% 50%, rgba(199, 138, 50, 0.08), transparent 60%);
  color: var(--ink);
}
.band-dark .display-2, .band-dark h3 { color: var(--ink); }
.band-dark .kicker { color: #8ff0dc; background: rgba(255, 255, 255, 0.06); border-color: rgba(143, 240, 220, 0.3); box-shadow: none; }

.command-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 5vw, 84px); align-items: center; margin-bottom: clamp(48px, 5vw, 72px); }

.big-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--rule); }
.big-stats div { display: grid; gap: 6px; }
.big-stats dd {
  margin: 0; font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #9ff2e7, #7fe7c4); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .big-stats dd { color: #9ff2e7; } }
.big-stats dt { color: var(--ink-3); font-size: 0.82rem; line-height: 1.45; }

.console {
  padding: 9px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--rule-2); border-radius: var(--r-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 14px; color: var(--ink-3); }
.console-head .status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(53, 224, 161, 0.14); font-family: var(--f-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #7fecd9; }
.console-head .status i { width: 6px; height: 6px; border-radius: 50%; background: #35e0a1; animation: ping 2.4s var(--ease) infinite; }
.console-stage { height: 250px; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, rgba(46, 211, 233, 0.09), transparent 70%), var(--ink-deep-2); border: 1px solid var(--rule); border-radius: var(--r); }
.mesh { width: 100%; height: 100%; }
.mesh-grid path { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; fill: none; }
.mesh-ring { fill: none; stroke: rgba(46, 211, 233, 0.26); stroke-width: 1; transform-origin: 160px 105px; animation: spin 26s linear infinite; }
.mesh-ring.r2 { stroke: rgba(229, 169, 79, 0.22); animation-duration: 34s; animation-direction: reverse; }
.mesh-halo { transform-origin: 160px 105px; animation: haloBreathe 6s var(--ease) infinite; }
.mesh-base { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; stroke-linecap: round; }
.mesh-link { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 7 220; animation: flow 3.6s linear infinite; }
.mesh-link.l2 { animation-delay: .9s; } .mesh-link.l3 { animation-delay: 1.8s; } .mesh-link.l4 { animation-delay: 2.7s; }
.mesh-nodes .n { fill: var(--ink-deep-2); stroke: #2ed3e9; stroke-width: 2; animation: nodePulse 3.6s var(--ease) infinite; }
.mesh-nodes .n2 { stroke: #e5a94f; animation-delay: .9s; } .mesh-nodes .n3 { stroke: #35e0a1; animation-delay: 1.8s; } .mesh-nodes .n4 { animation-delay: 2.7s; }
.mesh-core { fill: rgba(53, 224, 161, 0.14); stroke: #35e0a1; stroke-width: 1.6; transform-origin: 160px 105px; transform: rotate(45deg); animation: breathe 4.2s var(--ease) infinite; }
.console-rows { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.console-rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 0 15px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: 0.8125rem; }
.console-rows span { color: var(--ink-3); }
.console-rows strong { font-weight: 500; color: var(--ink); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.trust-item {
  position: relative; padding: clamp(22px, 2.2vw, 28px);
  background: rgba(255, 255, 255, 0.055); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 380ms var(--ease), border-color 380ms var(--ease), transform 380ms var(--ease);
}
.trust-item::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 420ms var(--ease); background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 227, 208, 0.14), transparent 60%); }
.trust-item:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); border-color: rgba(95, 227, 208, 0.34); }
.trust-item:hover::before { opacity: 1; }
.trust-item h3 { margin-bottom: 10px; font-size: 1.02rem; }
.trust-item p { color: var(--ink-3); font-size: 0.88rem; line-height: 1.62; }

/* ── Process ─────────────────────────────────────────────────────────────── */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 165, 181, 0.4), rgba(16, 184, 132, 0.4), transparent); }
.steps li {
  position: relative; padding: 22px 24px 28px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 380ms var(--ease), box-shadow 380ms var(--ease), border-color 380ms var(--ease);
}
.steps li:hover { transform: translateY(-4px); border-color: rgba(0, 165, 181, 0.3); box-shadow: var(--sh-glow); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #00707d, #0a7d5a); box-shadow: 0 8px 20px -8px rgba(0, 140, 150, 0.8); font-size: 0.6875rem; letter-spacing: 0.06em; }
.steps h3 { font-size: 1.24rem; font-weight: 400; letter-spacing: -0.026em; margin-bottom: 10px; }
.steps p { color: var(--ink-3); font-size: 0.9rem; line-height: 1.64; }

.industries { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: clamp(40px, 4.5vw, 64px); padding-top: 28px; border-top: 1px solid var(--rule); }
.industries > .mono { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); font-size: 0.85rem; transition: border-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.chips li:hover { color: var(--cyan-deep); border-color: rgba(0, 165, 181, 0.4); transform: translateY(-2px); box-shadow: var(--sh-1); }

/* ── CTA panel + form ────────────────────────────────────────────────────── */

.contact-section { padding-block: clamp(64px, 7vw, 112px); }

.cta-panel {
  --ink: #eef6f5;
  --ink-2: rgba(238, 246, 245, 0.76);
  --ink-3: rgba(238, 246, 245, 0.84);
  --rule: rgba(255, 255, 255, 0.12);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 76px); align-items: start;
  padding: clamp(32px, 4.5vw, 64px);
  color: var(--ink);
  background-color: #073b41;
  background-image:
    radial-gradient(60% 70% at 100% 0%, rgba(16, 184, 132, 0.34), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(0, 165, 181, 0.3), transparent 60%),
    linear-gradient(140deg, #06343a, #0a4c52 55%, #0b5a52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  box-shadow: 0 50px 110px -40px rgba(4, 60, 66, 0.7);
  overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%);
}
.cta-copy { position: relative; z-index: 1; }
.cta-panel .display-2 { color: var(--ink); }
.cta-panel .body-lg { color: var(--ink-2); }

.contact-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-meta div { padding: 14px 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--rule); border-radius: var(--r); }
.contact-meta .mono { color: var(--ink-3); margin-bottom: 5px; }
.contact-meta a { position: relative; font-size: 0.95rem; font-weight: 500; color: #9ff2e7; overflow-wrap: anywhere; }
.contact-meta a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: #9ff2e7; transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.contact-meta a:hover::after { transform: scaleX(1); }
.addr { font-style: normal; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }

.form {
  --ink: #0e1a1c;
  --ink-2: rgba(14, 26, 28, 0.7);
  --ink-3: rgba(14, 26, 28, 0.62);
  --rule: rgba(14, 26, 28, 0.09);
  --rule-2: rgba(14, 26, 28, 0.15);
  position: relative; z-index: 1;
  padding: clamp(24px, 3vw, 36px);
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; margin: 0 0 16px; }
.field label { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; background: #f7fbfb; border: 1px solid var(--rule-2); border-radius: var(--r-sm);
  font-size: 1rem; outline: none; color: var(--ink);
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23456' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0, 165, 181, 0.14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; }
.err { min-height: 0; font-size: 0.78rem; color: #a8281a; }
.field.is-invalid .err { min-height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 20px; margin-top: 14px; font-size: 0.85rem; color: var(--ink-3); }
.form-status.is-ok { color: #0a7a56; }
.form-status.is-err { color: #a8281a; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  --ink: #eef6f5; --ink-2: rgba(238, 246, 245, 0.74); --ink-3: rgba(238, 246, 245, 0.62); --rule: rgba(255, 255, 255, 0.11);
  padding: clamp(58px, 6vw, 88px) 0 32px;
  background-color: var(--ink-deep);
  background-image: radial-gradient(44rem 26rem at 88% 0%, rgba(0, 165, 181, 0.22), transparent 62%);
  color: var(--ink-2);
}
.site-footer .brand-mark, .site-footer .brand-name { color: var(--ink); }
.site-footer .brand-sub { color: var(--ink-3); }
.footer-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 46px; }
.footer-blurb { max-width: 44ch; color: var(--ink-3); font-size: 0.9rem; line-height: 1.72; }
.footer-address a { color: var(--ink-2); transition: color 240ms var(--ease); }
.footer-address a:hover { color: var(--ink); }
.footer-address { grid-column: 2; margin-top: -30px; font-style: normal; color: var(--ink-3); font-size: 0.85rem; line-height: 1.6; }
.footer-blurb { grid-column: 2; }
.footer-links { grid-column: 3; grid-row: 1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-2); font-size: 0.875rem; transition: color 240ms var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 0.82rem; }
.footer-bottom .mono { color: rgba(238, 246, 245, 0.5); }

/* ── Motion ──────────────────────────────────────────────────────────────── */

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); transition-delay: calc(var(--d, 0) * 85ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .app-wrap[data-reveal] { transform: translateY(40px); }
.js .app-wrap[data-reveal].is-visible { transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .72; transform: scale(.94) rotate(45deg); } 50% { opacity: 1; transform: scale(1.05) rotate(45deg); } }
@keyframes haloBreathe { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes flow { from { stroke-dashoffset: 228; } to { stroke-dashoffset: 0; } }
@keyframes nodePulse { 0%, 100% { r: 4; opacity: .8; } 50% { r: 5.6; opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 184, 132, .55); } 70% { box-shadow: 0 0 0 7px rgba(16, 184, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 184, 132, 0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes barPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }
@keyframes flowPulse { 0% { stroke-dashoffset: 314; opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes syncDot { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes vizFlow { 0% { stroke-dashoffset: 412; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes vizGlide { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateX(214px); opacity: 0; } }
@keyframes vizBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes vizGrow { 0%, 100% { transform: scaleX(.55); opacity: .5; } 45%, 65% { transform: scaleX(1); opacity: 1; } }
@keyframes vizRise { 0%, 100% { transform: scaleY(.35); } 45%, 70% { transform: scaleY(1); } }
@keyframes vizDraw { 0% { stroke-dashoffset: 300; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes vizScan { 0% { transform: translateY(24px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(224px); opacity: 0; } }
@keyframes vizPop { 0%, 100% { opacity: .25; transform: translateY(3px); } 35%, 70% { opacity: 1; transform: none; } }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }


/* ── Multi-page: page hero, feature rows, compliance cards, CTA banner ───── */

.page-hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(48px, 7vh, 88px));
  padding-bottom: clamp(16px, 2.5vw, 32px);
}
.page-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
/* a section directly under a page hero should not stack two full paddings */
.page-hero + .section { padding-top: clamp(20px, 3vw, 40px); }

.feature-rows { padding-top: clamp(24px, 3vw, 40px); }
.feature-row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(44px, 5.5vw, 80px) 0; border-top: 1px solid var(--rule);
}
.feature-row:first-child { border-top: 0; padding-top: clamp(16px, 2vw, 28px); }
.feature-row.is-flipped .feature-copy { order: 2; }
.feature-n { display: inline-block; margin-bottom: 18px; padding: 6px 11px; border-radius: 999px; background: rgba(0, 165, 181, 0.1); color: var(--cyan-deep); }
.feature-copy .display-2 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); }
.feature-more { margin-top: 16px; color: var(--ink-3); font-size: 0.98rem; line-height: 1.72; max-width: 40em; }
.feature-copy .slide-points { margin-top: 24px; }
.feature-visual { padding: clamp(22px, 2.4vw, 32px); }
.feature-visual > * { margin-top: 0; }

.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.trust-card h3 { margin-bottom: 10px; font-size: 1.24rem; font-weight: 400; letter-spacing: -0.026em; }
.trust-card p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.68; }
.trust-card .trust-more { margin-top: 12px; color: var(--ink-3); font-size: 0.9rem; }
.trust-card .feature-n { margin-bottom: 16px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-3::before { left: 10%; right: 10%; }

.cta-actions { display: grid; gap: 12px; align-content: center; justify-items: start; position: relative; z-index: 1; align-self: center; }
.btn-light { color: #06343a; background: #fff; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5); }
.btn-light:hover { transform: translateY(-2px); background: #f2fbfa; box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.5); }
.btn-outline { color: #eef6f5; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.cta-banner { align-items: center; }
.cta-banner .cta-actions { justify-self: end; justify-items: stretch; width: min(100%, 300px); }
.cta-banner .cta-actions .btn { width: 100%; }

/* ── Showcase: per-slide entrance choreography ───────────────────────────── */

.js .slide .slide-tag, .js .slide h3, .js .slide .slide-copy > p, .js .slide .slide-points li {
  opacity: 0; transform: translateY(14px);
}
.js .slide .slide-visual { opacity: 0; transform: scale(0.965) translateY(10px); }

.js .slide.is-active .slide-tag { animation: rise 640ms var(--ease) both; }
.js .slide.is-active h3 { animation: rise 640ms var(--ease) 90ms both; }
.js .slide.is-active .slide-copy > p { animation: rise 640ms var(--ease) 180ms both; }
.js .slide.is-active .slide-points li { animation: rise 560ms var(--ease) both; }
.js .slide.is-active .slide-points li:nth-child(1) { animation-delay: 290ms; }
.js .slide.is-active .slide-points li:nth-child(2) { animation-delay: 360ms; }
.js .slide.is-active .slide-points li:nth-child(3) { animation-delay: 430ms; }
.js .slide.is-active .slide-points li:nth-child(4) { animation-delay: 500ms; }
.js .slide.is-active .slide-visual { animation: pop 820ms var(--ease) 120ms both; }

/* Connect: arcs draw, endpoints and hub pop, then the pulses begin */
.viz-arc path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.is-active .viz-arc path { animation: drawPath 1100ms var(--ease) both; }
.slide.is-active .viz-arc path:nth-child(1) { animation-delay: 380ms; }
.slide.is-active .viz-arc path:nth-child(2) { animation-delay: 500ms; }
.slide.is-active .viz-arc path:nth-child(3) { animation-delay: 620ms; }
.slide.is-active .viz-arc path:nth-child(4) { animation-delay: 740ms; }
.viz-endpoint circle, .viz-endpoint text, .viz-hub, .viz-hub-mark { transform-box: fill-box; transform-origin: center; }
.js .viz-endpoint circle, .js .viz-endpoint text { transform: scale(0); opacity: 0; }
.slide.is-active .viz-endpoint circle, .slide.is-active .viz-endpoint text { animation: popIn 620ms var(--ease) both; }
.slide.is-active .viz-endpoint g:nth-child(1) circle, .slide.is-active .viz-endpoint g:nth-child(1) text { animation-delay: 1000ms; }
.slide.is-active .viz-endpoint g:nth-child(2) circle, .slide.is-active .viz-endpoint g:nth-child(2) text { animation-delay: 1120ms; }
.slide.is-active .viz-endpoint g:nth-child(3) circle, .slide.is-active .viz-endpoint g:nth-child(3) text { animation-delay: 1240ms; }
.slide.is-active .viz-endpoint g:nth-child(4) circle, .slide.is-active .viz-endpoint g:nth-child(4) text { animation-delay: 1360ms; }
.js .viz-hub, .js .viz-hub-mark { transform: scale(0); opacity: 0; }
.slide.is-active .viz-hub, .slide.is-active .viz-hub-mark { animation: popIn 700ms var(--ease) 300ms both; }
.slide.is-active .viz-pulse path { animation-delay: 1500ms; }
.slide.is-active .viz-pulse path:nth-child(2) { animation-delay: 2200ms; }
.slide.is-active .viz-pulse path:nth-child(3) { animation-delay: 2900ms; }
.slide.is-active .viz-pulse path:nth-child(4) { animation-delay: 3600ms; }

/* Orchestrate: lanes slide in, router pops */
.viz-lane rect { transform-box: fill-box; transform-origin: left center; }
.js .viz-lane rect { transform: scaleX(0); opacity: 0; }
.slide.is-active .viz-lane rect { animation: laneIn 700ms var(--ease) both; }
.slide.is-active .viz-lane rect:nth-child(1) { animation-delay: 300ms; }
.slide.is-active .viz-lane rect:nth-child(2) { animation-delay: 400ms; }
.slide.is-active .viz-lane rect:nth-child(3) { animation-delay: 500ms; }
.slide.is-active .viz-lane rect:nth-child(4) { animation-delay: 600ms; }
.viz-router { transform-box: fill-box; transform-origin: center; }
.js .viz-router { transform: scale(0); opacity: 0; }
.slide.is-active .viz-router { animation: popIn 640ms var(--ease) 260ms both; }
.slide.is-active .viz-packet rect { animation-delay: 900ms; }

/* Enrich: record card rises, bars follow */
.viz-card, .viz-avatar { transform-box: fill-box; transform-origin: center; }
.js .viz-card { opacity: 0; transform: translateY(16px); }
.slide.is-active .viz-card { animation: rise 720ms var(--ease) 260ms both; }
.js .viz-avatar { transform: scale(0); opacity: 0; }
.slide.is-active .viz-avatar { animation: popIn 600ms var(--ease) 520ms both; }

/* Protect: shield draws, then the scan and checks run */
.viz-shield { stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.is-active .viz-shield { animation: drawPath 1300ms var(--ease) 300ms both; }
.viz-shield-fill { transform-box: fill-box; transform-origin: center; }
.js .viz-shield-fill { opacity: 0; transform: scale(0.9); }
.slide.is-active .viz-shield-fill { animation: popIn 900ms var(--ease) 700ms both; }
.slide.is-active .viz-scan, .slide.is-active .viz-check { animation-delay: 1300ms; }

/* ── Command centre: orbits, sonar, comets, typed values, parallax ────────── */

.mesh-orbit { transform-origin: 160px 105px; animation: spin 26s linear infinite; }
.mesh-orbit.o2 { animation-duration: 34s; animation-direction: reverse; }
.mesh-orbit .mesh-ring { animation: none; }
.mesh-sat { fill: #2ed3e9; stroke: var(--ink-deep-2); stroke-width: 1.4; filter: drop-shadow(0 0 4px rgba(46, 211, 233, 0.9)); }
.mesh-sat.sat-gold { fill: #e5a94f; filter: drop-shadow(0 0 4px rgba(229, 169, 79, 0.9)); }
.mesh-sonar { fill: none; stroke: rgba(53, 224, 161, 0.55); stroke-width: 1.2; opacity: 0; animation: sonar 4.5s var(--ease) infinite; }
.mesh-comet {
  fill: none; stroke: #dffcf7; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 2.5 224; filter: drop-shadow(0 0 3px rgba(223, 252, 247, 0.9));
  animation: flow 3.6s linear infinite;
}
.mesh-core { filter: drop-shadow(0 0 6px rgba(53, 224, 161, 0.55)); }

.console { will-change: transform; }
.js .console-rows strong { clip-path: inset(0 100% 0 0); }
.js .command-visual.is-visible .console-rows strong { animation: typeIn 640ms steps(16) both; }
.js .command-visual.is-visible .console-rows li:nth-child(1) strong { animation-delay: 500ms; }
.js .command-visual.is-visible .console-rows li:nth-child(2) strong { animation-delay: 760ms; }
.js .command-visual.is-visible .console-rows li:nth-child(3) strong { animation-delay: 1020ms; }
.js .command-visual.is-visible .console-rows li::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 1px; height: 14px; margin-top: -7px;
  background: #7fecd9; opacity: 0; animation: caret 640ms steps(16) both;
}
.console-rows li { position: relative; }
.js .command-visual.is-visible .console-rows li:nth-child(1)::after { animation-delay: 500ms; }
.js .command-visual.is-visible .console-rows li:nth-child(2)::after { animation-delay: 760ms; }
.js .command-visual.is-visible .console-rows li:nth-child(3)::after { animation-delay: 1020ms; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.965) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes drawPath { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes laneIn { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes sonar { 0% { r: 14; opacity: 0.7; } 100% { r: 118; opacity: 0; } }
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes caret { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }


/* ── Finish: page transitions, selection, error and legal pages, print ───── */

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }

::selection { background: rgba(0, 165, 181, 0.24); color: var(--ink); }

.error-page { min-height: min(80svh, 720px); display: flex; align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 36px; }
.error-links a { position: relative; color: var(--ink-2); font-size: 0.9rem; padding: 6px 0; }
.error-links a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.error-links a:hover { color: var(--ink); }
.error-links a:hover::after { transform: scaleX(1); }

.legal-section { padding-top: clamp(16px, 2vw, 28px); }
.legal { max-width: 72ch; padding: clamp(28px, 3.4vw, 48px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.legal h2 { margin: 30px 0 10px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.024em; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--cyan-deep); text-decoration: underline; text-decoration-color: rgba(0, 112, 125, 0.35); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: currentColor; }

@media print {
  .site-header, .grain, .ticker, .showcase-bar, .hero-glow, .cta-actions, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .app { transform: none !important; box-shadow: none; }
  .band-dark, .cta-panel, .site-footer { background: #fff !important; color: #000 !important; -webkit-print-color-adjust: exact; }
  .band-dark *, .cta-panel *, .site-footer * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .section { padding-block: 24px; break-inside: avoid; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile-a { grid-column: 1 / 3; grid-row: auto; }
  .tile-b, .tile-e, .tile-f { grid-column: 1 / 3; }
  .tile-c { grid-column: 1 / 2; }
  .tile-d { grid-column: 2 / 3; }
  .trust, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
}

@media (max-width: 1000px) {
  .nav-menu, .cta-link { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.is-open {
    position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter);
    display: grid; gap: 2px; padding: 10px;
    background: rgba(255, 255, 255, 0.97); border: 1px solid var(--rule-2); border-radius: var(--r-lg); box-shadow: var(--sh-3);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  }
  .nav-menu.is-open a { padding: 14px 15px; border-radius: var(--r-sm); font-size: 0.95rem; color: var(--ink); }
  .nav-menu.is-open a::after { display: none; }
  .nav-menu.is-open a:hover { background: rgba(0, 165, 181, 0.08); }

  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: 1fr; }

  .section-head.split, .command-grid, .cta-panel, .feature-row { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .cta-banner .cta-actions { justify-self: start; width: min(100%, 360px); }
  .feature-row.is-flipped .feature-copy { order: 0; }
  .trust-grid, .steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-blurb, .footer-address, .footer-links { grid-column: auto; grid-row: auto; }
  .footer-address { margin-top: -14px; }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .app { --tilt: 0deg; font-size: 12px; }
  .app-url { display: none; }
  .activity li { grid-template-columns: 1fr auto; }
  .activity li span:nth-child(2) { grid-column: 1 / -1; order: 1; }
  .activity .t { order: 2; }
  .activity .tag { order: 3; }
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f { grid-column: auto; }
  .viz-sms { grid-template-columns: 1fr; }
  .sync { grid-template-columns: 1fr; }
  .sync-link { grid-auto-flow: column; }
  .flow-leaves { grid-template-columns: 1fr; }
  .flow-lines { display: none; }
  .flow-node.root { margin-bottom: 10px; }
  .trust, .steps, .steps-3, .trust-grid, .field-row, .big-stats { grid-template-columns: 1fr; }
  .cta-actions, .cta-banner .cta-actions { justify-self: start; justify-items: stretch; width: 100%; }
  .btn { width: 100%; }
  .chips li { height: 38px; padding: 0 14px; font-size: 0.82rem; }
  .contact-meta div { flex: 1 1 100%; }
}

/* ── Touch and coarse pointers ───────────────────────────────────────────── */

html { -webkit-tap-highlight-color: transparent; }

@media (hover: none) {
  /* :hover sticks after a tap on touch screens — keep the lift for real pointers only */
  .card:hover, .steps li:hover, .trust-item:hover, .chips li:hover, .btn:hover, .cta-link:hover, .arrow:hover { transform: none; }
  .card:hover { box-shadow: var(--sh-1); border-color: var(--rule); }
  .card:hover::before, .trust-item:hover::before { opacity: 0; }
  .app-wrap:hover .app::after { opacity: 0; }
  .brand:hover .brand-mark { transform: none; }
}

@media (pointer: coarse) {
  .nav-menu a { padding-block: 12px; }
  /* short words like "Home" need width as well as height; the margin cancels the visual shift */
  .footer-links a, .error-links a { display: inline-block; padding: 12px 6px; margin-inline: -6px; }
  .chips li { height: 44px; }
  /* links inside cards: grow the target, keep the visual rhythm */
  .contact-meta a, .footer-address a { display: inline-block; padding-block: 13px; margin-block: -9px; }
  .showcase-dots { gap: 12px; }
}

/* small screens: lighter effects, readable micro-type, controls that fit */
@media (max-width: 720px) {
  .kicker { font-size: 0.625rem; letter-spacing: 0.11em; }
  .steps li, .trust-item, .form, .hero-stats div { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .showcase-bar { flex-wrap: wrap; gap: 12px 14px; }
  /* button stays 44px wide for touch; the visible 34px bar is inset within it */
  [data-dot] { width: 44px; }
  [data-dot]::before, [data-dot] .dot-fill { left: 5px; right: 5px; }
  .app-main { padding: 14px; }
  .kpi strong { font-size: 21px; }
  .activity li { padding: 9px 8px; gap: 8px; }
  .activity .num { font-size: 10.5px; }
  .code { font-size: 10.5px; padding: 12px; }
  .checks li { flex-wrap: wrap; }
  .checks .mono { margin-left: 32px; flex-basis: 100%; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .display { font-size: 2.5rem; }
  .page-title { font-size: 2.2rem; }
  .display-2 { font-size: 1.7rem; }
  .btn { padding-inline: 18px; }
  .contact-meta div { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .app { --tilt: 0deg; }
  .chart i { transform: none; }
  .showcase-track { transition: none; }
  [data-dot][aria-selected="true"] .dot-fill { animation: none; transform: scaleX(1); }
  .js .slide .slide-tag, .js .slide h3, .js .slide .slide-copy > p, .js .slide .slide-points li, .js .slide .slide-visual,
  .js .viz-endpoint circle, .js .viz-endpoint text, .js .viz-hub, .js .viz-hub-mark, .js .viz-lane rect, .js .viz-router,
  .js .viz-card, .js .viz-avatar, .js .viz-shield-fill { opacity: 1; transform: none; animation: none; }
  .viz-arc path, .viz-shield { stroke-dashoffset: 0; }
  .js .console-rows strong { clip-path: none; animation: none; }
  .console { transform: none !important; }
}
