/* Light theme is the default; [data-theme="dark"] restores the original navy + gold colours. */
:root {
  --bg: #f6f9fc;
  --bg-2: #edf2f8;
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --surface-3: #f0f4f9;
  --line: rgba(10, 37, 64, 0.10);
  --line-2: rgba(10, 37, 64, 0.17);
  --text: #0a2540;
  --text-2: #425466;
  --muted: #687a92;
  --accent: #635bff;
  --accent-2: #5249f0;
  --accent-soft: #5a51f5;
  --accent-ink: #ffffff;
  --accent-rgb: 99, 91, 255;
  --cyan: #00b4e0;
  --cyan-2: #0a86b8;
  --alt-rgb: 0, 180, 224;
  --emerald: #0e9f6e;
  --emerald-2: #0b8a5f;
  --ok-rgb: 14, 159, 110;
  --fg-rgb: 10, 37, 64;
  --bg-rgb: 246, 249, 252;
  --mock-bg: rgba(255, 255, 255, 0.96);
  --grad: linear-gradient(92deg, #635bff, #a960ee 35%, #ff5996 70%, #ff8a3d);
  --hero-grad:
    radial-gradient(38% 55% at 88% 36%, rgba(169, 96, 238, 0.75), transparent 70%),
    radial-gradient(34% 50% at 68% 62%, rgba(255, 51, 61, 0.40), transparent 70%),
    radial-gradient(42% 60% at 102% 80%, rgba(255, 203, 87, 0.70), transparent 70%),
    radial-gradient(30% 45% at 52% 30%, rgba(144, 224, 255, 0.55), transparent 70%),
    radial-gradient(28% 40% at 78% 14%, rgba(99, 91, 255, 0.60), transparent 70%);
  --shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.18), 0 18px 36px -18px rgba(0, 0, 0, 0.22);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --font: "Plus Jakarta Sans", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-am: "Noto Sans Ethiopic", "Plus Jakarta Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #050c18;
  --bg-2: #0a192f;
  --surface: #0b1a30;
  --surface-2: #10223d;
  --surface-3: #16304f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef3fa;
  --text-2: #b7c3d4;
  --muted: #7f8ea5;
  --accent: #e5a93c;
  --accent-2: #f0b94d;
  --accent-soft: #f5cc6e;
  --accent-ink: #1b1204;
  --accent-rgb: 229, 169, 60;
  --cyan: #10b981;
  --cyan-2: #34d399;
  --alt-rgb: 16, 185, 129;
  --emerald: #10b981;
  --emerald-2: #34d399;
  --ok-rgb: 16, 185, 129;
  --fg-rgb: 255, 255, 255;
  --bg-rgb: 5, 12, 24;
  --mock-bg: rgba(11, 26, 48, 0.92);
  --grad: linear-gradient(92deg, #f5cc6e, #e5a93c 40%, #34d399);
  --hero-grad:
    radial-gradient(40% 55% at 85% 35%, rgba(229, 169, 60, 0.55), transparent 70%),
    radial-gradient(35% 50% at 65% 60%, rgba(16, 185, 129, 0.45), transparent 70%),
    radial-gradient(45% 60% at 100% 75%, rgba(59, 130, 246, 0.45), transparent 70%),
    radial-gradient(30% 40% at 45% 30%, rgba(196, 138, 42, 0.25), transparent 70%);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 18px 36px -18px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lang-am { font-family: var(--font-am); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
iconify-icon { display: inline-block; flex-shrink: 0; }
::selection { background: rgba(var(--accent-rgb), 0.35); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Stripe-like vertical guide lines */
.guides { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.guides .container { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.guides .container > i { border-left: 1px dashed rgba(var(--fg-rgb), 0.06); }
.guides .container > i:last-child { border-right: 1px dashed rgba(var(--fg-rgb), 0.045); }
@media (max-width: 760px) { .guides { display: none; } }

/* ------------------------------------------------------------------ type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-soft);
  margin: 0 0 14px;
}
.eyebrow.alt { color: var(--cyan-2); }
.h-display { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.07; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; margin: 0; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.6; margin: 18px 0 0; max-width: 640px; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.lang-am .h-display, body.lang-am .h1, body.lang-am .h2 { letter-spacing: 0; line-height: 1.25; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(var(--fg-rgb), 0.03); }
.btn-ghost:hover { border-color: rgba(var(--fg-rgb), 0.3); background: rgba(var(--fg-rgb), 0.07); }
.btn-link { height: auto; padding: 0; color: var(--accent-soft); border: 0; background: none; border-radius: 0; }
.btn-link:hover { color: var(--text); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.menu-open { background: rgba(var(--bg-rgb), 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand .logo-d, [data-theme="dark"] .brand .logo-l { display: none; }
[data-theme="dark"] .brand .logo-d { display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 16px; letter-spacing: -0.01em; }
.brand-name b span { color: var(--accent-soft); }
.brand-name small { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px;
  border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--text-2); border-radius: 8px;
  transition: color .15s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li.open > button { color: var(--text); }
.nav-links .chev { transition: transform .2s; opacity: .7; }
.nav-links li.open .chev { transform: rotate(180deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-btn {
  height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--text-2);
}
.lang-btn:hover { color: var(--text); border-color: rgba(var(--fg-rgb), .3); }
.theme-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-2);
}
.theme-btn:hover { color: var(--text); border-color: rgba(var(--fg-rgb), .3); }
.theme-btn .i-light, [data-theme="dark"] .theme-btn .i-dark { display: none; }
[data-theme="dark"] .theme-btn .i-light { display: inline-block; }
@media (max-width: 1020px) { .nav-right > .theme-btn { display: none; } }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 72px; pointer-events: none; opacity: 0;
  transform: translateY(-6px); transition: opacity .18s, transform .18s;
}
.mega.show { pointer-events: auto; opacity: 1; transform: none; }
.mega-panel {
  margin: 0 auto; max-width: var(--container); padding: 0 24px;
}
.mega-card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  display: none; overflow: hidden;
}
.mega-card.active { display: block; }
.mega-grid { display: grid; gap: 4px 28px; padding: 28px; }
.mega-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mega-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.mega-col h6 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.mega-item { display: flex; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; transition: background .15s; }
.mega-item:hover { background: rgba(var(--fg-rgb), 0.05); }
.mega-item .ico { width: 32px; height: 32px; border-radius: 8px; background: rgba(var(--accent-rgb), 0.1); color: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.mega-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mega-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 28px; background: rgba(var(--fg-rgb), 0.025); border-top: 1px solid var(--line); font-size: 14px;
}

/* mobile menu */
.mobile-menu { display: none; }
@media (max-width: 1020px) {
  .nav-links, .nav-right .btn-ghost, .mega { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 64px; }
  .mobile-menu {
    display: block; position: fixed; inset: 64px 0 0 0; background: var(--bg); overflow-y: auto;
    padding: 8px 16px 40px; transform: translateX(100%); transition: transform .25s; z-index: 49;
  }
  .mobile-menu.open { transform: none; }
  .m-group { border-bottom: 1px solid var(--line); }
  .m-group > button, .m-group > a {
    width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
    background: none; border: 0; font-size: 17px; font-weight: 600; text-align: left;
  }
  .m-group .m-body { display: none; padding: 0 0 14px; }
  .m-group.open .m-body { display: block; }
  .m-group.open .chev { transform: rotate(180deg); }
  .m-body h6 { margin: 12px 0 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .m-body a { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--text-2); font-size: 15px; }
  .m-body a iconify-icon { color: var(--accent-soft); }
  .mobile-menu .btn { width: 100%; margin-top: 12px; }
}
@media (max-width: 420px) { .nav-right .btn-primary { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 150px 0 110px; overflow: hidden; }
.hero-bg {
  position: absolute; left: 0; right: 0; top: -40%; height: 120%; z-index: 0;
  transform: skewY(-10deg); transform-origin: 0 0; overflow: hidden;
  background: var(--hero-grad);
  filter: saturate(1.1);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
@keyframes drift { 0% { background-position: 0 0, 0 0, 0 0, 0 0; filter: hue-rotate(0deg) saturate(1.1); } 100% { background-position: -60px 30px, 40px -30px, -30px 20px, 50px 10px; filter: hue-rotate(-12deg) saturate(1.2); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } * { scroll-behavior: auto !important; } }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 118px 0 70px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.06); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 26px;
}
.pill b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; letter-spacing: .03em; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 13.5px; color: var(--text-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust iconify-icon { color: var(--cyan-2); }

/* hero product mock */
.mock-stack { position: relative; height: 470px; }
@media (max-width: 960px) { .mock-stack { height: 440px; max-width: 560px; } }
@media (max-width: 520px) { .mock-stack { height: 400px; } }
.mock {
  position: absolute; background: var(--mock-bg); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mock-dash { left: 0; right: 60px; top: 0; padding: 18px; }
.mock-phone { right: 0; top: 130px; width: 210px; padding: 14px; border-radius: 26px; }
.mock-toast { left: 24px; bottom: 0; width: 300px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
@media (max-width: 600px) { .mock-stack { height: auto; display: grid; gap: 14px; } .mock { position: relative; inset: auto; } .mock-dash, .mock-toast { width: auto; left: 0; right: 0; } .mock-phone { display: none; } }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dots { display: flex; gap: 5px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--fg-rgb), .15); }
.mock-label { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.mock-value { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis > div { background: rgba(var(--fg-rgb), .035); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-kpis .mock-value { font-size: 18px; }
.up { color: var(--emerald-2); font-size: 12px; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding-top: 6px; }
.bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--accent-2), rgba(var(--accent-rgb), .25)); animation: grow 1.2s ease-out both; transform-origin: bottom; }
.bars i:nth-child(even) { background: linear-gradient(180deg, var(--cyan), rgba(var(--alt-rgb), .2)); }
@keyframes grow { from { transform: scaleY(0.1); } }
.phone-screen { background: var(--bg-2); border-radius: 16px; padding: 14px; border: 1px solid var(--line); }
.phone-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.phone-row:last-child { border-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(var(--fg-rgb), .06); border: 1px solid var(--line); color: var(--text-2); }
.chip.accent { background: rgba(var(--accent-rgb), .12); color: var(--accent-soft); border-color: rgba(var(--accent-rgb), .25); }
.chip.green { background: rgba(var(--ok-rgb), .12); color: var(--emerald-2); border-color: rgba(var(--ok-rgb), .25); }
.chip.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.toast-ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--ok-rgb), .15); color: var(--emerald-2); display: grid; place-items: center; }

/* --------------------------------------------------------------- sections */
.section { position: relative; padding: 110px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .section { padding: 72px 0; } .section.tight { padding: 52px 0; } }
.section-head { max-width: 760px; margin-bottom: 56px; position: relative; z-index: 1; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section > .container { position: relative; z-index: 1; }

/* logo / sector strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; position: relative; z-index: 2; background: rgba(var(--bg-rgb), .6); }
.strip p { margin: 0 0 20px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.strip-row span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--text-2); opacity: .85; }
.strip-row iconify-icon { color: var(--accent-soft); }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* cards */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s, background .2s; display: flex; flex-direction: column;
}
a.card:hover, .card.hover:hover { border-color: rgba(var(--accent-rgb), 0.35); transform: translateY(-2px); background: var(--surface-2); }
.card .ico {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .28), rgba(var(--alt-rgb), .12)); color: var(--accent-soft); border: 1px solid rgba(var(--accent-rgb), .3);
}
.card .badge { font-family: var(--mono); font-size: 11px; color: var(--accent-soft); letter-spacing: .06em; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14.5px; margin: 10px 0 0; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent-soft); display: inline-flex; align-items: center; gap: 6px; }
.card .more iconify-icon { transition: transform .2s; }
.card:hover .more iconify-icon { transform: translateX(3px); }
.card.hidden { display: none; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 9px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.checks iconify-icon { color: var(--emerald-2); margin-top: 2px; }

/* feature band: text + visual */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .band { grid-template-columns: 1fr; gap: 40px; } .band.reverse > :first-child { order: 0; } }
.panel {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.panel-body { padding: 18px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald-2); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), .6); } 100% { box-shadow: 0 0 0 8px rgba(var(--ok-rgb), 0); } }

table.data { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.data th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.data td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
table.data td.mono { font-family: var(--mono); font-size: 12px; color: var(--text); }
table.data tr.flash td { animation: flash 1.4s ease-out; }
@keyframes flash { from { background: rgba(var(--accent-rgb), .18); } to { background: transparent; } }
.table-wrap { overflow-x: auto; }

/* steps (EDMS) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step.on { border-color: rgba(var(--accent-rgb), .7); background: linear-gradient(180deg, rgba(var(--accent-rgb), .18), var(--surface)); }
.step.on .num { color: var(--accent-soft); }
.step .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--fg-rgb), .05); color: var(--accent-soft); margin: 12px 0 14px; }
.step p { font-size: 14px; color: var(--text-2); margin: 8px 0 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 28px 24px 0 0; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { display: block; font-size: 14px; color: var(--text-2); margin-top: 8px; }
.stat small { display: block; font-size: 12.5px; color: var(--muted); }
.stat b::before { content: ""; display: block; width: 2px; height: 22px; background: var(--accent); margin-bottom: 16px; }

/* code / terminal */
.terminal { font-family: var(--mono); font-size: 12.5px; line-height: 1.8; color: var(--text-2); padding: 20px; overflow-x: auto; white-space: pre; }
.terminal .k { color: var(--accent-soft); } .terminal .s { color: var(--emerald-2); } .terminal .c { color: var(--muted); }

/* integrations list */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 960px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .int-grid { grid-template-columns: 1fr; } }
.int { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.int b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.int b iconify-icon { color: var(--accent-soft); }
.int p { margin: 10px 0 0; color: var(--text-2); font-size: 14px; }

/* CTA */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-item .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); margin-bottom: 14px; }
.cta-item p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 14px; }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 150px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-bg { top: -70%; opacity: .7; }
@media (max-width: 760px) { .page-hero { padding: 116px 0 56px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.crumbs a:hover { color: var(--text); }
.prod-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .prod-hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.spec { padding: 6px 22px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span:first-child { color: var(--muted); white-space: nowrap; }
.spec-row span:last-child { text-align: right; font-weight: 600; }
.cap-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* leaders */
.leader { text-align: left; }
.leader .avatar { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(var(--accent-rgb), .35), rgba(var(--alt-rgb), .15)); color: var(--accent-soft); margin-bottom: 18px; }
.leader .name { margin-top: 6px; font-weight: 600; color: var(--accent-soft); font-size: 15px; }
.leader .tag { margin-top: 2px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-2); font-weight: 700; }

.hubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .hubs { grid-template-columns: repeat(2, 1fr); } }
.hub { padding: 22px; border-right: 1px solid var(--line); background: var(--surface); }
.hub:last-child { border-right: 0; }
@media (max-width: 760px) { .hub:nth-child(2) { border-right: 0; } .hub:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.hub b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .05em; }
.hub span { font-size: 13.5px; color: var(--muted); }
.hub.hq b { color: var(--accent-soft); }

/* forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text);
  font: inherit; font-size: 15px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }

.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list div.c { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.contact-list a:hover { border-color: rgba(var(--accent-rgb), .35); }
.contact-list .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); flex-shrink: 0; }
.contact-list b { display: block; font-size: 15px; }
.contact-list span { display: block; font-size: 14px; color: var(--text-2); }

/* demo widgets */
.demo-btn { margin-top: 16px; }
.its-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .its-grid { grid-template-columns: 1fr; } }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.kv:last-of-type { border-bottom: 0; }
.kv span:first-child { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.kv span:last-child { font-weight: 600; }
.ok { color: var(--emerald-2) !important; }
.meter { height: 6px; border-radius: 99px; background: rgba(var(--fg-rgb), .08); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--accent)); border-radius: inherit; transition: width .6s; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; background: var(--bg); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
.footer h6 { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { font-size: 14px; color: var(--muted); transition: color .15s; }
.footer ul a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin: 16px 0; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.socials a:hover { color: var(--accent); border-color: rgba(var(--accent-rgb), .4); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* floating contact */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-menu { display: none; flex-direction: column; gap: 8px; }
.fab.open .fab-menu { display: flex; }
.fab-menu a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.fab-menu a iconify-icon { color: var(--accent-soft); }
.fab-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(var(--accent-rgb), .7); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
