/* ==========================================================================
   TRACELYHUB — Design System
   One hub for every supply chain app  |  www.tracelyhub.com
   --------------------------------------------------------------------------
   01 Fonts  02 Tokens  03 Base  04 Type  05 Layout  06 Buttons  07 Header
   08 Mobile menu  09 Hero  10 App window & mocks  11 Sections  12 App grid
   13 Explorer tabs  14 Tracking demo  15 Steps/Platform  16 Pricing
   17 Forms  18 Portal  19 Footer  20 Motion  21 Responsive
   ========================================================================== */

/* ---------- 01 Fonts ---------- */
@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- 02 Tokens ---------- */
:root {
  --bg: #050A16;
  --bg-2: #08101F;
  --bg-3: #0C1629;
  --card: #0D1830;
  --card-2: #112040;
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .24);
  --ink: #E6EDF7;
  --ink-2: #A4B1C6;
  --ink-3: #6E7D96;
  --paper: #FFFFFF;
  --paper-2: #F4F7FB;
  --paper-3: #E8EEF6;
  --text: #0B1324;
  --muted: #56647C;
  --lline: rgba(11, 19, 36, .10);
  --lline-2: rgba(11, 19, 36, .18);

  --teal: #2DD4BF;
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --sky: #60A5FA;
  --teal-d: #0F9E8C;
  --grad: linear-gradient(100deg, #2DD4BF 0%, #22D3EE 50%, #60A5FA 100%);
  --grad-soft: linear-gradient(100deg, rgba(45,212,191,.16), rgba(34,211,238,.12), rgba(96,165,250,.14));
  --good: #34D399; --warn: #FBBF24; --crit: #F87171;

  --f: "Jakarta", "Segoe UI", system-ui, sans-serif;
  --mono: "Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --header-h: 76px;
  --shadow: 0 30px 80px -30px rgba(2, 6, 23, .7);
}

/* ---------- 03 Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--teal); color: #03201C; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 3000; background: var(--teal); color: #032; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- 04 Type ---------- */
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .5em; }
.h-hero { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.h-xl { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.h-l { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.h-m { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 640px; }
.light .lead { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.light .eyebrow { color: var(--teal-d); }
.light .eyebrow i { background: var(--teal-d); box-shadow: none; }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 05 Layout ---------- */
.wrap { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec--s { padding: clamp(56px, 7vw, 90px) 0; }
.light { background: var(--paper); color: var(--text); }
.light-2 { background: var(--paper-2); color: var(--text); }
.light-2 .lead { color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 70px); }
.sec-head.center { margin-inline: auto; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.row-head .sec-head { margin: 0; }
.glow-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow-bg::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -520px; transform: translateX(-50%); background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 62%); }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); opacity: .6; }

/* ---------- 06 Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 12px; border: 0; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s; position: relative; }
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad); color: #04221F; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(34, 211, 238, .85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { background: rgba(148, 163, 184, .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(148, 163, 184, .16); }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: #16233F; }
.btn--light-ghost { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--lline-2); }
.btn--light-ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn--sm { height: 42px; padding: 0 16px; font-size: .88rem; border-radius: 10px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal); }
.light .link, .light-2 .link { color: var(--teal-d); }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- 07 Header ---------- */
.announce { background: linear-gradient(90deg, #06221F, #071A2E); border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--ink-2); text-align: center; padding: 9px 16px; }
.announce b { color: var(--teal); font-weight: 700; }
.announce a { color: var(--ink); font-weight: 700; margin-left: 8px; }
.header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: rgba(5, 10, 22, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-scrolled { border-color: var(--line); background: rgba(5, 10, 22, .9); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg.mark { width: 36px; height: 36px; }
.logo__word { font-weight: 800; font-size: 1.32rem; letter-spacing: -.04em; line-height: 1; }
.logo__word span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav > li { display: flex; align-items: center; position: relative; }
.nav__a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; transition: color .2s, background .2s; }
.nav__a svg { width: 13px; height: 13px; transition: transform .3s; }
.nav__a:hover, .nav__a.is-active { color: #fff; background: rgba(148, 163, 184, .08); }
.has-drop:hover .nav__a svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% - 6px); left: -20px; width: 640px; background: rgba(10, 18, 36, .98); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .2s; }
.drop a:hover { background: rgba(148, 163, 184, .08); }
.drop strong { display: block; font-size: .92rem; color: #fff; }
.drop small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.drop__foot { grid-column: 1 / -1; margin-top: 6px; padding: 14px 12px 4px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); }
.app-ico { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--c, var(--teal)); background: color-mix(in srgb, var(--c, #2DD4BF) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #2DD4BF) 30%, transparent); }
.app-ico svg { width: 19px; height: 19px; }
.app-ico--lg { width: 54px; height: 54px; flex-basis: 54px; border-radius: 15px; }
.app-ico--lg svg { width: 26px; height: 26px; }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__login { color: var(--ink-2); font-weight: 600; font-size: .93rem; padding: 10px 12px; }
.header__login:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 08 Mobile menu ---------- */
.mmenu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 999; background: var(--bg); padding: 20px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .35s var(--ease); }
.menu-open .mmenu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mmenu a, .mmenu summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; }
.mmenu summary::-webkit-details-marker { display: none; }
.mmenu details a { font-size: .98rem; font-weight: 600; color: var(--ink-2); padding: 10px 0 10px 4px; border: 0; }
.mmenu .btn { margin-top: 24px; width: 100%; }

/* ---------- 09 Hero ---------- */
.hero { position: relative; padding: clamp(60px, 8vw, 110px) 0 0; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__in { position: relative; z-index: 2; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 100px; background: rgba(148, 163, 184, .08); border: 1px solid var(--line-2); font-size: .85rem; color: var(--ink-2); margin-bottom: 28px; }
.pill b { background: var(--grad); color: #03201C; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 100px; letter-spacing: .02em; }
.pill:hover { color: #fff; }
.hero h1 { max-width: 1000px; margin: 0 auto 26px; }
.hero .lead { margin: 0 auto 36px; max-width: 700px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-3); font-size: .86rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--teal); }
.hero__stage { position: relative; margin-top: clamp(50px, 6vw, 80px); perspective: 2000px; }
.hero__stage .window { transform: rotateX(18deg) scale(.96); transform-origin: 50% 0; transition: transform 1.4s var(--ease); }
.hero__stage.is-in .window { transform: none; }
.hero__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; z-index: 3; }
.float-chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(13, 24, 48, .88); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .84rem; animation: bob 6s ease-in-out infinite; text-align: left; }
.float-chip b { display: block; color: #fff; font-size: .9rem; }
.float-chip small { color: var(--ink-3); }
.float-chip--a { left: -30px; top: 16%; }
.float-chip--b { right: -30px; top: 38%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 10 App window & mocks ---------- */
.window { position: relative; z-index: 2; border-radius: 18px; background: #0A1428; border: 1px solid var(--line-2); box-shadow: 0 60px 140px -40px rgba(34, 211, 238, .25), 0 30px 80px -30px rgba(0,0,0,.8); overflow: hidden; text-align: left; }
.window__bar { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(8, 16, 31, .9); }
.window__dots { display: flex; gap: 7px; }
.window__dots i { width: 11px; height: 11px; border-radius: 50%; background: #1E2A44; }
.window__dots i:nth-child(1) { background: #F87171; opacity: .8; } .window__dots i:nth-child(2) { background: #FBBF24; opacity: .8; } .window__dots i:nth-child(3) { background: #34D399; opacity: .8; }
.window__url { flex: 1; max-width: 420px; margin: 0 auto; height: 26px; border-radius: 8px; background: rgba(148,163,184,.08); display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.window__url svg { width: 11px; height: 11px; }
.window__demo { font-family: var(--mono); font-size: .66rem; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; }
.app-shell { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; background: rgba(8, 16, 31, .6); }
.app-side__org { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: rgba(148,163,184,.06); margin-bottom: 16px; font-size: .8rem; }
.app-side__org i { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; color: #032; font-style: normal; font-weight: 800; font-size: .72rem; }
.app-side__org small { display: block; color: var(--ink-3); font-size: .68rem; }
.app-side h6 { font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .1em; color: var(--ink-3); margin: 14px 8px 8px; text-transform: uppercase; }
.app-side a, .app-side button.side-a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 9px; font-size: .8rem; color: var(--ink-2); background: none; border: 0; text-align: left; transition: background .2s, color .2s; }
.app-side .side-a svg, .app-side a svg { width: 15px; height: 15px; color: var(--c, var(--ink-3)); flex-shrink: 0; }
.app-side .side-a:hover, .app-side a:hover { background: rgba(148,163,184,.07); color: #fff; }
.app-side .side-a.is-on { background: rgba(45, 212, 191, .1); color: #fff; box-shadow: inset 2px 0 0 var(--teal); }
.app-main { padding: 20px 22px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.app-top h4 { font-size: 1.1rem; margin: 0; letter-spacing: -.02em; }
.app-top small { display: block; color: var(--ink-3); font-size: .74rem; font-weight: 500; }
.app-top__r { display: flex; gap: 8px; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .68rem; color: var(--good); padding: 4px 9px; border-radius: 100px; background: rgba(52, 211, 153, .1); }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); animation: blip 1.6s infinite; }
@keyframes blip { 50% { opacity: .25; } }
.mini-btn { font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: rgba(148,163,184,.08); border: 1px solid var(--line); color: var(--ink-2); }
.mini-btn--p { background: var(--grad); color: #032; border: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.kpi small { display: block; font-size: .68rem; color: var(--ink-3); font-weight: 600; }
.kpi b { display: block; font-size: 1.3rem; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; margin: 2px 0; }
.kpi em { font-style: normal; font-family: var(--mono); font-size: .66rem; }
.up { color: var(--good); } .down { color: var(--crit); } .flat { color: var(--ink-3); }
.panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.pnl { padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.pnl h5 { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); letter-spacing: -.01em; }
.pnl h5 small { font-family: var(--mono); font-weight: 400; font-size: .64rem; color: var(--ink-3); }
.chart { width: 100%; height: 150px; overflow: visible; }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--ink-3); font-family: var(--mono); font-size: 9px; }
.chart .ln { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .ln2 { fill: none; stroke: #64748B; stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .ar { fill: url(#areaG); }
.chart .bar { fill: var(--sky); }
.chart .dot { fill: var(--teal); stroke: var(--card); stroke-width: 2; }
.legend { display: flex; gap: 14px; font-size: .66rem; color: var(--ink-3); margin-top: 6px; }
.legend i { display: inline-block; width: 14px; height: 2px; background: var(--teal); vertical-align: middle; margin-right: 6px; }
.legend i.dash { background: repeating-linear-gradient(90deg, #64748B 0 4px, transparent 4px 8px); }
.tbl { width: 100%; border-collapse: collapse; font-size: .76rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .66rem; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl td b { color: #fff; font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-family: var(--mono); font-size: .72rem; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st--good { color: var(--good); background: rgba(52, 211, 153, .1); }
.st--warn { color: var(--warn); background: rgba(251, 191, 36, .1); }
.st--crit { color: var(--crit); background: rgba(248, 113, 113, .1); }
.st--info { color: var(--cyan); background: rgba(34, 211, 238, .1); }
.meter { height: 6px; border-radius: 6px; background: rgba(148,163,184,.12); overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--teal); }
.meter i.w { background: var(--warn); } .meter i.c { background: var(--crit); }
.map { position: relative; border-radius: 12px; overflow: hidden; background: #081226; border: 1px solid var(--line); height: 100%; min-height: 260px; }
.map svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map .road { fill: none; stroke: rgba(148,163,184,.12); stroke-width: 6; stroke-linecap: round; }
.map .road2 { fill: none; stroke: rgba(148,163,184,.07); stroke-width: 3; }
.map .route { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 3s var(--ease) forwards .4s; filter: drop-shadow(0 0 6px rgba(45,212,191,.6)); }
.map .route--done { stroke: var(--teal); }
.map .route--todo { fill: none; stroke: rgba(45,212,191,.35); stroke-width: 2.5; stroke-dasharray: 6 6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .node { fill: var(--card); stroke: var(--teal); stroke-width: 2.5; }
.map .node--hub { fill: var(--teal); stroke: rgba(45,212,191,.3); stroke-width: 8; }
.map .ntxt { fill: #fff; font-family: var(--mono); font-size: 10px; font-weight: 500; }
.map .lbl { fill: var(--ink-2); font-family: var(--f); font-size: 11px; font-weight: 600; }
.map .truck { fill: var(--cyan); filter: drop-shadow(0 0 8px rgba(34,211,238,.9)); }
.map__card { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(13,24,48,.92); border: 1px solid var(--line-2); font-size: .74rem; }
.map__card b { color: #fff; }
.map__card small { color: var(--ink-3); display: block; font-size: .66rem; }
.tl { list-style: none; padding: 0; margin: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.tl li { position: relative; padding: 0 0 14px 26px; font-size: .76rem; color: var(--ink-3); }
.tl li b { display: block; color: var(--ink-2); font-weight: 600; font-size: .8rem; }
.tl li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-3); border: 2px solid var(--line-2); box-sizing: border-box; }
.tl li.done::before { background: var(--teal); border-color: var(--teal); }
.tl li.done b { color: #fff; }
.tl li.now::before { border-color: var(--cyan); background: var(--bg-3); box-shadow: 0 0 0 4px rgba(34,211,238,.2); }
.tl li.now b { color: var(--cyan); }
.ring { width: 130px; height: 130px; position: relative; margin: 4px auto 10px; }
.ring svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .bg { stroke: rgba(148,163,184,.12); }
.ring .fg { stroke: var(--teal); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring b { font-size: 1.6rem; color: #fff; letter-spacing: -.03em; display: block; line-height: 1; }
.ring small { font-size: .64rem; color: var(--ink-3); }
.scan-feed { list-style: none; padding: 0; margin: 0; max-height: 250px; overflow: hidden; }
.scan-feed li { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: .76rem; animation: rowIn .5s var(--ease); }
.scan-feed li i { width: 30px; height: 30px; border-radius: 8px; background: rgba(45,212,191,.12); color: var(--teal); display: grid; place-items: center; }
.scan-feed li i svg { width: 15px; height: 15px; }
.scan-feed li b { color: #fff; font-weight: 600; display: block; }
.scan-feed li small { color: var(--ink-3); font-size: .66rem; font-family: var(--mono); }
.scan-feed .q { font-family: var(--mono); color: var(--ink-2); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: rgba(45,212,191,.08); } }
.bins { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.bins i { aspect-ratio: 1; border-radius: 4px; background: var(--teal); opacity: var(--o, .2); transition: opacity .6s; position: relative; }
.bins i:hover { outline: 2px solid #fff; }
.bins-legend { display: flex; justify-content: space-between; align-items: center; font-size: .64rem; color: var(--ink-3); margin-top: 10px; gap: 8px; }
.bins-legend span.scale { flex: 1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(45,212,191,.12), var(--teal)); }
.aisles { display: flex; gap: 4px; margin-bottom: 6px; font-family: var(--mono); font-size: .6rem; color: var(--ink-3); }
.stops { list-style: none; padding: 0; margin: 0; }
.stops li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.stops li:last-child { border: 0; }
.stops .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .66rem; font-weight: 500; background: rgba(45,212,191,.12); color: var(--teal); }
.stops li.done .n { background: var(--teal); color: #032; }
.stops b { color: #fff; font-weight: 600; display: block; }
.stops small { color: var(--ink-3); font-size: .66rem; }
.stops .eta { font-family: var(--mono); color: var(--ink-2); font-size: .7rem; }
.client-row { display: grid; grid-template-columns: 1fr 90px 60px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.client-row:last-child { border: 0; }
.client-row b { color: #fff; font-weight: 600; }
.client-row .num { font-family: var(--mono); text-align: right; color: var(--ink-2); }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-note { font-family: var(--mono); font-size: .62rem; color: var(--ink-3); text-align: right; margin-top: 8px; }

/* ---------- 11 Sections ---------- */
.logos-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.logos-strip p { text-align: center; font-size: .8rem; color: var(--ink-3); margin-bottom: 18px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(148,163,184,.04); font-weight: 600; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.tag svg { width: 17px; height: 17px; color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--ink-2); font-size: .92rem; }
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pcard { border-radius: var(--r-lg); padding: 34px; border: 1px solid var(--line); background: var(--bg-2); }
.pcard--good { background: linear-gradient(160deg, rgba(45,212,191,.08), rgba(96,165,250,.05)); border-color: rgba(45,212,191,.3); }
.pcard h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.pcard ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.pcard li { display: flex; gap: 12px; color: var(--ink-2); font-size: .95rem; }
.pcard li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.pcard--bad li svg { color: var(--crit); }
.pcard--good li svg { color: var(--teal); }
.pcard--good li { color: var(--ink); }

/* ---------- 12 App grid ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card { position: relative; border-radius: var(--r-lg); padding: 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.app-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 18%, transparent), transparent 55%); opacity: 0; transition: opacity .4s; }
.app-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.app-card:hover::before { opacity: 1; }
.app-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.app-card h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -.02em; }
.app-card p { color: var(--ink-2); font-size: .94rem; flex: 1; margin-bottom: 20px; }
.app-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.app-card li { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.app-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c); margin-top: 9px; flex-shrink: 0; }
.app-card .link { color: var(--c); }
.badge { font-family: var(--mono); font-size: .64rem; font-weight: 500; padding: 4px 9px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--ink-2); }
.badge--soon { color: var(--warn); border-color: rgba(251,191,36,.35); }
.app-card--soon { opacity: .75; }
.app-card--wide { grid-column: span 2; }

/* ---------- 13 Explorer tabs ---------- */
.explorer__tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.xtab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); background: rgba(148,163,184,.04); color: var(--ink-2); font-weight: 600; font-size: .88rem; transition: all .25s; }
.xtab svg { width: 16px; height: 16px; color: var(--c); }
.xtab:hover { color: #fff; border-color: var(--line-2); }
.xtab.is-on { background: #fff; color: var(--text); border-color: #fff; }
.xpane { display: none; }
.xpane.is-on { display: block; animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.xpane__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.xpane__foot p { margin: 0; color: var(--ink-2); max-width: 700px; }

/* ---------- 14 Tracking demo ---------- */
.track { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.track-box { border-radius: var(--r-lg); padding: 28px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.track-form { display: flex; gap: 10px; margin-bottom: 8px; }
.track-form input { flex: 1; min-width: 0; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 0 16px; font-family: var(--mono); font-size: .92rem; outline: none; }
.track-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45,212,191,.12); }
.track-hint { font-size: .78rem; color: var(--ink-3); margin-bottom: 20px; }
.track-hint button { background: none; border: 0; color: var(--teal); font-family: var(--mono); font-size: .78rem; padding: 0; text-decoration: underline; }
.track-res__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.track-res__head b { font-family: var(--mono); font-size: .95rem; }
.track-res__head small { display: block; color: var(--ink-3); font-size: .78rem; }
.track-prog { height: 6px; border-radius: 6px; background: rgba(148,163,184,.12); margin-bottom: 20px; overflow: hidden; }
.track-prog i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width 1.2s var(--ease); }
.track .tl li { font-size: .86rem; padding-bottom: 18px; opacity: 0; transform: translateX(-8px); transition: all .5s var(--ease); }
.track .tl li.show { opacity: 1; transform: none; }
.track .tl li b { font-size: .92rem; }

/* ---------- 15 Steps / platform ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--lline); }
.step__n { font-family: var(--mono); font-size: .78rem; color: var(--teal-d); margin-bottom: 40px; display: block; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step__ico { position: absolute; top: 26px; right: 26px; width: 46px; height: 46px; border-radius: 13px; background: var(--paper-2); display: grid; place-items: center; color: var(--teal-d); }
.step__ico svg { width: 22px; height: 22px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat { padding: 32px 30px; background: var(--bg); transition: background .3s; }
.feat:hover { background: var(--bg-2); }
.feat__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal); box-shadow: inset 0 0 0 1px rgba(45,212,191,.25); margin-bottom: 22px; }
.feat__ico svg { width: 21px; height: 21px; }
.feat h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feat p { color: var(--ink-2); margin: 0; font-size: .92rem; }
.light .feats, .light-2 .feats { background: var(--lline); border-color: var(--lline); }
.light .feat, .light-2 .feat { background: #fff; }
.light .feat:hover, .light-2 .feat:hover { background: var(--paper-2); }
.light .feat p, .light-2 .feat p { color: var(--muted); }
.light .feat__ico, .light-2 .feat__ico { color: var(--teal-d); }
.hub { position: relative; max-width: 760px; margin: 0 auto; aspect-ratio: 1.6; }
.hub > svg { width: 100%; height: 100%; overflow: visible; }
.hub .spoke { stroke: var(--line-2); stroke-width: 1.5; fill: none; }
.hub .pulse-line { stroke: var(--teal); stroke-width: 2; fill: none; stroke-dasharray: 8 200; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -208; } }
.hub .core { fill: var(--card); stroke: rgba(45,212,191,.6); stroke-width: 1.5; }
.hub text { fill: var(--ink); font-family: var(--f); font-weight: 700; font-size: 13px; }
.hub text.s { fill: var(--ink-3); font-weight: 500; font-size: 10px; font-family: var(--mono); }
.hub .sat { fill: var(--card); stroke: var(--line-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks li svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.light .checks li svg, .light-2 .checks li svg { color: var(--teal-d); }
.code { border-radius: var(--r-lg); background: #081226; border: 1px solid var(--line-2); overflow: hidden; font-family: var(--mono); font-size: .8rem; box-shadow: var(--shadow); }
.code__bar { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .72rem; color: var(--ink-3); }
.code__bar b { color: var(--teal); font-weight: 500; }
.code pre { margin: 0; padding: 20px; overflow-x: auto; line-height: 1.7; color: var(--ink-2); }
.code .k { color: #93C5FD; } .code .s { color: var(--teal); } .code .n { color: var(--warn); } .code .c { color: var(--ink-3); }

/* ---------- 16 Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: 32px; background: #fff; border: 1px solid var(--lline); display: flex; flex-direction: column; color: var(--text); }
.plan--pop { background: var(--bg); color: var(--ink); border: 1px solid rgba(45,212,191,.5); box-shadow: 0 40px 100px -40px rgba(34,211,238,.5); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 32px; background: var(--grad); color: #032; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 100px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan > p { color: var(--muted); font-size: .92rem; min-height: 48px; }
.plan--pop > p { color: var(--ink-2); }
.plan__price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; margin: 16px 0 4px; }
.plan__price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan--pop .plan__price small { color: var(--ink-3); }
.plan__note { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: .92rem; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--teal-d); flex-shrink: 0; margin-top: 2px; }
.plan--pop li svg { color: var(--teal); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--lline); text-align: left; }
.compare th { font-size: .8rem; color: var(--muted); font-weight: 700; background: var(--paper-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .y { color: var(--teal-d); font-weight: 800; }
.compare .n { color: #A0AEC0; }
.faq details { border-bottom: 1px solid var(--lline); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-d); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 16px; max-width: 760px; }
.dark .faq details { border-color: var(--line); }
.dark .faq p { color: var(--ink-2); }

/* ---------- 17 Forms ---------- */
.form-card { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); background: #fff; color: var(--text); box-shadow: 0 50px 120px -40px rgba(2,6,23,.6); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid > * { min-width: 0; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: .82rem; font-weight: 700; color: var(--text); }
.fld label i { color: #E11D48; font-style: normal; }
.fld input, .fld select, .fld textarea { height: 48px; border-radius: 12px; border: 1px solid var(--lline-2); background: var(--paper-2); padding: 0 14px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; color: var(--text); }
.fld textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--teal-d); background: #fff; box-shadow: 0 0 0 4px rgba(15,158,140,.14); }
.fld .err { display: none; font-size: .76rem; color: #E11D48; font-weight: 600; }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: #E11D48; }
.fld.has-error .err { display: block; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset input { position: absolute; opacity: 0; pointer-events: none; }
.chipset label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; border: 1px solid var(--lline-2); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chipset label svg { width: 15px; height: 15px; color: var(--c); }
.chipset input:checked + label { background: var(--text); color: #fff; border-color: var(--text); }
.chipset input:focus-visible + label { outline: 2px solid var(--teal-d); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; accent-color: var(--teal-d); margin-top: 2px; }
.form-done { display: none; text-align: center; padding: 40px 0; }
.form-done.is-on { display: block; }
.form-done__ico { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 20px; color: #032; }
.form-done__ico svg { width: 36px; height: 36px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cinfo { display: grid; gap: 12px; margin-top: 30px; }
.cinfo > * { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.cinfo i { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--teal); flex-shrink: 0; }
.cinfo i svg { width: 19px; height: 19px; }
.cinfo small { display: block; color: var(--ink-3); font-size: .76rem; }
.cinfo b { font-size: .95rem; }

/* ---------- 18 Login & Portal ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth__side { position: relative; overflow: hidden; background: var(--bg-2); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.auth__side canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.auth__side > * { position: relative; z-index: 1; }
.auth__quote { max-width: 440px; }
.auth__quote h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; }
.auth__main { display: grid; place-items: center; padding: 40px 24px; }
.auth__box { width: min(420px, 100%); }
.auth__box h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.auth__box .fld label { color: var(--ink); }
.auth__box .fld input { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); }
.auth__box .fld input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45,212,191,.14); background: var(--bg-3); }
.auth__or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .8rem; margin: 22px 0; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__row { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink-2); margin: 4px 0 22px; }
.auth__row a { color: var(--teal); font-weight: 600; }
.auth__demo { margin-top: 26px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: .8rem; color: var(--ink-3); }
.portal { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.portal__side { border-right: 1px solid var(--line); background: var(--bg-2); padding: 20px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.portal__side .logo { padding: 4px 8px 20px; }
.portal__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.portal__nav a svg { width: 18px; height: 18px; }
.portal__nav a:hover { background: rgba(148,163,184,.07); color: #fff; }
.portal__nav a.is-on { background: rgba(45,212,191,.1); color: #fff; }
.portal__nav h6 { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); margin: 20px 12px 8px; text-transform: uppercase; }
.portal__user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); font-size: .85rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #032; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.portal__user small { display: block; color: var(--ink-3); font-size: .74rem; }
.portal__main { padding: 28px clamp(20px, 3vw, 40px) 60px; min-width: 0; }
.portal__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); min-width: 280px; }
.search svg { width: 17px; height: 17px; color: var(--ink-3); }
.search input { background: none; border: 0; outline: none; flex: 1; min-width: 0; font-size: .92rem; }
.search kbd { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.org-switch { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .88rem; font-weight: 600; }
.org-switch select { background: transparent; border: 0; outline: none; font-weight: 600; }
.org-switch select option { background: var(--bg-2); }
.welcome { border-radius: var(--r-lg); padding: 28px; background: linear-gradient(120deg, rgba(45,212,191,.12), rgba(96,165,250,.08)); border: 1px solid rgba(45,212,191,.25); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.welcome h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 4px; font-weight: 800; letter-spacing: -.035em; }
.welcome p { margin: 0; color: var(--ink-2); }
.p-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.p-kpis .kpi { padding: 18px; }
.p-kpis .kpi b { font-size: 1.7rem; }
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.p-head h2 { font-size: 1.2rem; margin: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.seg button.is-on { background: var(--card-2); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 36px; }
.tile { position: relative; border-radius: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), border-color .3s; min-height: 190px; }
.tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.tile h3 { font-size: 1.02rem; margin: 0; }
.tile p { margin: 0; font-size: .82rem; color: var(--ink-3); flex: 1; }
.tile__foot { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--ink-3); }
.tile__foot .open { color: var(--c); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.tile__foot .open svg { width: 14px; height: 14px; }
.tile--locked { opacity: .6; }
.tile--locked .tile__foot .open { color: var(--ink-3); }
.tile .fav { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: var(--ink-3); padding: 4px; }
.tile .fav svg { width: 17px; height: 17px; }
.tile .fav.is-on { color: var(--warn); }
.tile .fav.is-on svg { fill: currentColor; }
.p-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.activity { list-style: none; padding: 0; margin: 0; }
.activity li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.activity li:last-child { border: 0; }
.activity li small { color: var(--ink-3); font-size: .76rem; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: #fff; color: var(--text); padding: 12px 18px; border-radius: 12px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); opacity: 0; transition: all .4s var(--ease); z-index: 2000; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 19 Footer & CTA ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(44px, 6vw, 80px); background: linear-gradient(135deg, #062A27, #071C36 60%, #0B1A3A); border: 1px solid rgba(45,212,191,.25); display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 90% 0%, rgba(34,211,238,.25), transparent 60%); }
.cta-band .grid-bg { opacity: .35; z-index: -1; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--ink-2); margin: 0; font-size: 1.08rem; max-width: 560px; }
.cta-band__act { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 80px 0 0; color: var(--ink-2); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-bottom: 60px; }
.footer p { font-size: .92rem; }
.footer h5 { font-size: .8rem; color: #fff; margin: 6px 0 18px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: .9rem; transition: color .2s; }
.footer ul a:hover { color: var(--teal); }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; padding: 7px 12px; border-radius: 100px; border: 1px solid var(--line); margin-top: 16px; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); }
.footer__bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-3); }
.footer__bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { border-color: var(--teal); color: var(--teal); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner) ---------- */
.phero { position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(50px, 6vw, 80px); overflow: hidden; }
.phero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: .74rem; color: var(--ink-3); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--teal); }
.phero h1 { max-width: 900px; }
.phero__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.app-hero-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.toc-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(5,10,22,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toc-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.toc-nav a { padding: 8px 14px; border-radius: 100px; font-size: .86rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.toc-nav a:hover, .toc-nav a.is-on { background: rgba(148,163,184,.1); color: #fff; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { border-radius: var(--r-lg); padding: 28px; background: #fff; border: 1px solid var(--lline); }
.use h3 { font-size: 1.1rem; }
.use p { color: var(--muted); margin: 0; font-size: .93rem; }
.use .feat__ico { color: var(--teal-d); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { border-radius: var(--r-lg); padding: 30px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.ind:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.4); }
.ind h3 { font-size: 1.2rem; margin: 20px 0 8px; }
.ind p { color: var(--ink-2); font-size: .93rem; flex: 1; }
.ind .mini-apps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.ind .mini-apps span { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: rgba(148,163,184,.08); color: var(--ink-2); }
.ind .mini-apps svg { width: 13px; height: 13px; color: var(--c); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--lline); }
.value b { font-family: var(--mono); color: var(--teal-d); font-size: .8rem; display: block; margin-bottom: 30px; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- 20 Motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .06s; } [data-d="2"] { transition-delay: .12s; } [data-d="3"] { transition-delay: .18s; } [data-d="4"] { transition-delay: .24s; }

/* ---------- 21 Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__login, .header__cta .btn--ghost { display: none; }
  .burger { display: block; }
  .apps, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .app-card--wide { grid-column: span 2; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .float-chip { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .track, .split, .phero__row, .contact-grid, .problem, .cta-band, .p-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .steps, .feats, .uses { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpis, .p-kpis { grid-template-columns: 1fr 1fr; }
  .panels { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__side { display: none; }
  .portal { grid-template-columns: 1fr; }
  .portal__side { position: relative; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .portal__side .logo { padding: 0; }
  .portal__nav { display: none; }
  .portal__user { margin: 0 0 0 auto; }
  .compare { font-size: .8rem; }
  .compare th, .compare td { padding: 10px 8px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .announce { font-size: .76rem; }
  .apps, .ind-grid, .values, .fgrid, .split-2 { grid-template-columns: 1fr; }
  .app-card--wide { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .header__cta .btn--primary { display: none; }
  .track-form { flex-direction: column; }
  .explorer__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .explorer__tabs::-webkit-scrollbar { display: none; }
  .xtab { flex-shrink: 0; }
  .window__url { display: none; }
  .search { min-width: 0; flex: 1; }
  .hero__stage .window { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Refinements ---------- */
.pnl { overflow-x: auto; }
.pnl::-webkit-scrollbar { height: 4px; } .pnl::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
@media (max-width: 640px) {
  .h-hero { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .pill span.pill__t { display: none; }
  .hero__trust { gap: 10px 18px; }
  .announce a { display: inline-block; }
}
.pill__m { display: none; }
@media (max-width: 640px) { .pill__m { display: inline; } }
