/*
Theme Name: Utilon
Theme URI: https://utilon.com
Author: Utilon
Author URI: https://utilon.com
Description: Utilon — the Autonomous Agentic ERP. A premium, light-mode marketing theme with an Industries mega-menu, animated agent console, and a full set of auto-created pages. Turnkey: activate and the whole site builds itself.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: utilon
Tags: business, technology, saas, light, one-page, custom-menu, featured-images
*/

/* ============================================================================
   Utilon — Autonomous Agentic ERP · marketing site
   Design system + components. Light mode. Professional type.
   ========================================================================== */

:root {
  /* palette */
  --bg:        #ffffff;
  --bg-soft:   #f6f8fc;
  --bg-2:      #eef2f9;
  --ink:       #0a0f1f;      /* headings */
  --text:      #333a4d;      /* body      */
  --muted:     #6a7387;      /* secondary */
  --faint:     #98a1b3;

  --brand:      #2563eb;
  --brand-2:    #1d4ed8;
  --brand-soft: #e9f0ff;
  --ai:         #7c6bff;
  --ai-2:       #6a58f5;
  --ai-soft:    #efecff;
  --mint:       #10b3a3;
  --amber:      #f5a524;
  --rose:       #f0517f;
  --green:      #16a34a;

  --line:       #e5e9f2;
  --line-soft:  #eef1f8;
  --card:       #ffffff;

  --grad:       linear-gradient(120deg, #2563eb 0%, #6a58f5 55%, #9b6bff 100%);
  --grad-soft:  linear-gradient(120deg, #e9f0ff, #efecff);
  --glow:       0 20px 60px -22px rgba(76, 84, 224, .45);

  --shadow-sm:  0 1px 2px rgba(16, 24, 48, .05), 0 1px 3px rgba(16, 24, 48, .04);
  --shadow:     0 4px 14px -4px rgba(16, 24, 48, .10), 0 10px 30px -12px rgba(16, 24, 48, .10);
  --shadow-lg:  0 18px 50px -18px rgba(16, 24, 48, .22);

  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  --serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1200px;
  --nav-h: 70px;
}

/* reset ------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
svg { display: block; width: 20px; height: 20px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
p { color: var(--text); }
.mono { font-family: var(--mono); }

/* utilities --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1320px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--brand); border-radius: 2px; }
.eyebrow.ai { color: var(--ai); } .eyebrow.ai::before { background: var(--ai); }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.65; }
.sec-head { max-width: 720px; margin: 0 auto 56px; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { margin: 14px 0 16px; }

/* buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -20px rgba(76,84,224,.6); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #d3d9e6; box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #161d33; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 16px; height: 16px; transition: transform .2s; }
.btn-link:hover svg { transform: translateX(4px); }

/* ── announcement bar ────────────────────────────────────────────────────── */
.topbar {
  background: var(--ink); color: #d9def0; font-size: 13px; text-align: center;
  padding: 9px 24px; letter-spacing: .01em;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.topbar .spark { color: #a99bff; }

/* ── header / nav ────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,24,48,.25); background: rgba(255,255,255,.9); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--grad); position: relative; box-shadow: var(--glow); flex-shrink: 0; }
.brand .logo::after { content: ''; position: absolute; inset: 8px; border-radius: 4px; border: 2px solid rgba(255,255,255,.9); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; list-style: none; }
.nav-links li { list-style: none; }
.nav-links > li > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 550; color: #3c4358; transition: background .15s, color .15s;
}
.nav-links > li > a:hover, .nav-item > button:hover { background: var(--bg-soft); color: var(--ink); }
.nav-item { position: relative; }
.nav-item > button .chev { width: 15px; height: 15px; transition: transform .2s; color: var(--faint); }
.nav-item.open > button .chev { transform: rotate(180deg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* mega dropdown */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 860px; max-width: 94vw; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 120;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-title { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 4px 10px 10px; }
.mega-link { display: flex; gap: 12px; padding: 11px; border-radius: 12px; transition: background .15s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-soft); color: var(--brand); }
.mega-ic svg { width: 19px; height: 19px; }
.mega-link.ai .mega-ic { background: var(--ai-soft); color: var(--ai); }
.mega-nm { font-weight: 650; font-size: 14px; color: var(--ink); }
.mega-dc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.mega-foot { grid-column: 1/-1; margin-top: 8px; padding: 14px; border-radius: 14px; background: var(--grad-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega-foot .mf-t { font-weight: 700; color: var(--ink); font-size: 14px; }
.mega-foot .mf-s { font-size: 12.5px; color: var(--muted); }

.burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: .25s; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 78px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .mesh { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero-bg .m1 { width: 520px; height: 520px; background: #cfe0ff; top: -160px; right: -120px; }
.hero-bg .m2 { width: 460px; height: 460px; background: #e4dcff; top: 120px; left: -160px; opacity: .45; }
.hero-bg .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .6; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 550; color: var(--text); margin-bottom: 24px;
}
.hero-badge .tag { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: var(--r-pill); background: var(--grad); color: #fff; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .grad-text { display: inline; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 20px; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }

/* agent console (animated) */
.console {
  background: #0c1226; border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(12,18,38,.55);
  overflow: hidden; border: 1px solid #1c2542; position: relative;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #1a2340; background: #0a0f22; }
.console-bar .dots { display: flex; gap: 6px; }
.console-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a3355; }
.console-bar .dots i:nth-child(1){ background:#ff5f57;} .console-bar .dots i:nth-child(2){ background:#febc2e;} .console-bar .dots i:nth-child(3){ background:#28c840;}
.console-bar .title { font-family: var(--mono); font-size: 12px; color: #7b86a8; margin-left: 6px; }
.console-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: #8affc1; }
.console-bar .live .pl { width: 7px; height: 7px; border-radius: 50%; background: #28c840; animation: pulse 1.6s infinite; }
.console-body { padding: 20px; min-height: 340px; font-family: var(--mono); font-size: 13px; }
.c-prompt { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.c-prompt .who { color: #6ea8ff; flex-shrink: 0; }
.c-prompt .txt { color: #dfe6fb; }
.c-cursor { display: inline-block; width: 8px; height: 15px; background: #6ea8ff; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.c-steps { display: flex; flex-direction: column; gap: 11px; }
.c-step { display: flex; gap: 11px; align-items: flex-start; opacity: 0; transform: translateY(6px); }
.c-step.in { animation: stepIn .4s forwards; }
.c-step .ic { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.c-step .ic.run { background: rgba(110,168,255,.16); color: #6ea8ff; }
.c-step .ic.done { background: rgba(40,200,64,.16); color: #4ade80; }
.c-step .ic.flag { background: rgba(245,165,36,.16); color: #fbbf24; }
.c-step .ic svg { width: 12px; height: 12px; }
.c-step .lbl { color: #c3ccea; }
.c-step .lbl b { color: #fff; font-weight: 600; }
.c-step .meta { color: #6b769c; font-size: 11.5px; margin-top: 2px; }
.c-agent { display: inline-block; font-size: 10.5px; padding: 1px 7px; border-radius: 5px; background: rgba(124,107,255,.18); color: #b7abff; margin-left: 6px; }

@keyframes stepIn { to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 0 rgba(40,200,64,.5);} 70%{ box-shadow:0 0 0 6px rgba(40,200,64,0);} }

/* trusted-by strip */
.trust { padding: 26px 0 8px; }
.trust p { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 42px; flex-wrap: wrap; }
.trust-row span { font-family: var(--serif); font-weight: 800; font-size: 20px; color: #aeb6c6; letter-spacing: -.02em; transition: color .2s; }
.trust-row span:hover { color: var(--ink); }

/* ── generic cards / grids ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dbe1ee; }
.card .ic-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.card .ic-box.ai { background: var(--ai-soft); color: var(--ai); }
.card .ic-box.mint { background: #d7f5f1; color: var(--mint); }
.card .ic-box.amber { background: #fdefd3; color: #d98a0b; }
.card .ic-box svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* value tint blocks */
.tint { background: var(--bg-soft); }
.tint-grad { background: linear-gradient(180deg, #fff, var(--bg-soft)); }

/* ── agents section ──────────────────────────────────────────────────────── */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.agent::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.agent:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #dbe1ee; }
.agent:hover::before { transform: scaleX(1); }
.agent .a-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); margin-bottom: 16px; }
.agent .a-ic svg { width: 22px; height: 22px; }
.agent h4 { font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 750; margin-bottom: 7px; letter-spacing: -.01em; }
.agent p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.agent .a-tasks { display: flex; flex-direction: column; gap: 7px; }
.agent .a-task { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text); }
.agent .a-task svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }

/* ── steps / how it works ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { position: relative; }
.step .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 18px; background: var(--ink); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── autonomy tabs ───────────────────────────────────────────────────────── */
.tabs-head { display: inline-flex; gap: 4px; background: var(--bg-2); padding: 5px; border-radius: var(--r-pill); margin: 0 auto 34px; flex-wrap: wrap; justify-content: center; }
.tab-btn { padding: 10px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--muted); transition: .18s; }
.tab-btn.on { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: fade .35s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.autonomy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.autonomy-card .lvl { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ai); text-transform: uppercase; }
.autonomy-card h3 { font-size: 28px; margin: 10px 0 14px; }
.autonomy-card ul { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.autonomy-card li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); }
.autonomy-card li svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.auto-visual { border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--line); padding: 24px; aspect-ratio: 4/3; display: grid; place-items: center; }

/* ── modules bento ───────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 16px; }
.bento .b { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: #fff; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.bento .b:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento .b h4 { font-family: var(--serif); font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.bento .b p { font-size: 13px; color: var(--muted); }
.bento .b .b-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.bento .b .b-ic svg { width: 19px; height: 19px; }
.b.w2 { grid-column: span 2; } .b.w3 { grid-column: span 3; } .b.w4 { grid-column: span 4; }
.b.h2 { grid-row: span 2; }
.b.feature { background: var(--ink); color: #fff; }
.b.feature h4 { color: #fff; } .b.feature p { color: #aab3cc; }
.b.feature .b-ic { background: rgba(255,255,255,.1); color: #fff; }

/* ── industries grid ─────────────────────────────────────────────────────── */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
  padding: 26px; min-height: 190px; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s;
}
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ind .i-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; box-shadow: var(--glow); }
.ind .i-ic svg { width: 22px; height: 22px; }
.ind h4 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.ind p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.ind .i-link { font-size: 13px; font-weight: 650; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.ind .i-link svg { width: 15px; height: 15px; transition: transform .2s; }
.ind:hover .i-link svg { transform: translateX(4px); }

/* ── stats ───────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.stat .l { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── product preview tabs ────────────────────────────────────────────────── */
.preview { background: var(--ink); border-radius: var(--r-xl); padding: 8px; box-shadow: var(--shadow-lg); }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.preview-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3355; }
.preview-bar i:nth-child(1){background:#ff5f57;}.preview-bar i:nth-child(2){background:#febc2e;}.preview-bar i:nth-child(3){background:#28c840;}
.preview-screen { background: var(--bg-soft); border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; display: grid; place-items: center; color: var(--muted); }

/* ── testimonials ────────────────────────────────────────────────────────── */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote-card .q { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin-bottom: 22px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--serif); }
.quote-card .nm { font-weight: 700; color: var(--ink); font-size: 14px; }
.quote-card .rl { font-size: 12.5px; color: var(--muted); }

/* ── integrations marquee ────────────────────────────────────────────────── */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: slide 34s linear infinite; }
.marquee-row.rev { animation-direction: reverse; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--line);
  border-radius: var(--r-pill); background: #fff; font-weight: 600; color: var(--text); font-size: 14px; white-space: nowrap;
}
.chip .cd { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-2); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.faq-item.open .faq-q .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--muted); font-size: 15px; }

/* ── big CTA ─────────────────────────────────────────────────────────────── */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); padding: 72px 40px; text-align: center; }
.cta-band .glow1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(124,107,255,.5), transparent 65%); top: -180px; left: -80px; }
.cta-band .glow2 { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 65%); bottom: -200px; right: -80px; }
.cta-band h2 { color: #fff; position: relative; margin-bottom: 16px; }
.cta-band p { color: #c0c8dd; position: relative; max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 68px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 16px; }
.footer .about { font-size: 14px; color: var(--muted); max-width: 280px; margin-bottom: 18px; }
.foot-col h5 { font-family: var(--serif); font-size: 13px; color: var(--ink); font-weight: 750; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--brand); }
.news { display: flex; gap: 8px; margin-top: 12px; }
.news input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 14px; background: #fff; }
.news input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.footer-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bot p { font-size: 13px; color: var(--faint); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); transition: .18s; }
.socials a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ── page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.page-hero .mesh { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(80px); background: #dfe8ff; opacity: .5; top: -220px; right: -100px; z-index: -1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 16px 0 18px; max-width: 800px; }
.page-hero .lead { max-width: 620px; }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.breadcrumb a:hover { color: var(--brand); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.show { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* mobile menu panel */
.mobile-panel { display: none; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .console { max-width: 560px; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b.w2, .b.w3, .b.w4 { grid-column: span 2; }
  .autonomy-card, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .grid-3, .ind-grid, .steps { grid-template-columns: 1fr; }
  .agents-grid, .grid-4, .stats, .bento { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-panel.open { display: block; position: fixed; inset: var(--nav-h) 0 0; background: #fff; z-index: 90; padding: 24px; overflow-y: auto; }
  .mobile-panel a { display: block; padding: 15px 6px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); font-family: var(--serif); }
  .mobile-panel .m-sub a { font-size: 15px; font-weight: 500; color: var(--muted); font-family: var(--sans); padding-left: 18px; }
  .mobile-panel .btn { width: 100%; margin-top: 18px; }
}

/* ── icon sizing overrides (large intentional visuals) ─────────────────────── */
.auto-visual svg { width: 88px; height: 88px; color: var(--ai); opacity: .9; }
.preview-screen svg { width: 42px; height: 42px; }
.page-hero .i-ic svg { width: 26px; height: 26px; }
.hero-badge svg, .breadcrumb svg { width: 15px; height: 15px; }
.faq-q .pm svg { width: 15px; height: 15px; }
.mega-foot .btn svg { width: 15px; height: 15px; }

/* ── interactive console: chips + thinking ─────────────────────────────────── */
.console-foot { border-top: 1px solid #1a2340; background: #0a0f22; padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.console-foot .cf-label { font-family: var(--mono); font-size: 11px; color: #6b769c; letter-spacing: .04em; }
.c-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.c-chip {
  font-family: var(--mono); font-size: 11.5px; color: #c3ccea; background: #131b34;
  border: 1px solid #26325a; border-radius: var(--r-pill); padding: 6px 13px; transition: .15s; cursor: pointer;
}
.c-chip:hover { background: #1b2544; color: #fff; border-color: #38477a; }
.c-chip.on { background: rgba(124,107,255,.2); color: #cbc0ff; border-color: rgba(124,107,255,.5); }
.c-think { display: flex; gap: 11px; align-items: center; color: #8b95b8; font-size: 13px; }
.c-think .ic { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgba(110,168,255,.16); color: #6ea8ff; }
.c-think .ic svg { width: 12px; height: 12px; animation: spin 1s linear infinite; }
.c-think .lbl .d { animation: blink 1.2s steps(3) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── on-prem boundary visual (custom LLM page) ─────────────────────────────── */
.boundary { position: relative; border: 2px dashed var(--brand); border-radius: var(--r-xl); padding: 30px; background: linear-gradient(180deg,#fff,var(--brand-soft)); }
.boundary .b-tag { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 4px 12px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 6px; }
.boundary .b-tag svg { width: 13px; height: 13px; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.b-node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.b-node .bn-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin: 0 auto 10px; background: var(--ai-soft); color: var(--ai); }
.b-node .bn-ic svg { width: 20px; height: 20px; }
.b-node .bn-t { font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--ink); }
.b-node .bn-s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.b-egress { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--rose); }
.b-egress svg { width: 18px; height: 18px; color: var(--rose); }

/* ── compliance badges ─────────────────────────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px; color: var(--ink);
}
.badge .bg-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.badge .bg-ic svg { width: 16px; height: 16px; }

/* pipeline (custom LLM build steps) */
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pipe .p { text-align: center; position: relative; }
.pipe .p .p-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.pipe .p .p-ic svg { width: 24px; height: 24px; }
.pipe .p h4 { font-family: var(--serif); font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.pipe .p p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pipe .p:not(:last-child)::after { content: ''; position: absolute; top: 27px; right: -8px; width: 16px; height: 2px; background: var(--line); }

@media (max-width: 1000px) {
  .boundary-grid { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .pipe .p:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) { .pipe { grid-template-columns: 1fr; } }

/* ── header stock ticker (parent group: WPTG_B) ────────────────────────────── */
.ticker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.ticker:hover { border-color: #d3d9e6; box-shadow: var(--shadow); transform: translateY(-1px); }
.ticker .tk-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.14); animation: pulse 1.8s infinite; flex-shrink: 0; }
.ticker .tk-main { display: flex; flex-direction: column; line-height: 1.08; }
.ticker .tk-sym { font-family: var(--mono); font-weight: 700; font-size: 12.5px; color: var(--ink); letter-spacing: .02em; }
.ticker .tk-ex { font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.ticker .tk-num { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; }
.ticker .tk-cur { font-size: 10px; color: var(--muted); font-weight: 600; }
.ticker .tk-chg { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); white-space: nowrap; }
.ticker .tk-chg.up { color: var(--green); background: rgba(22,163,74,.10); }
.ticker .tk-chg.down { color: var(--rose); background: rgba(240,81,127,.10); }
.mobile-panel .ticker-m { display: flex; width: 100%; margin-top: 16px; justify-content: flex-start; }

@media (max-width: 1120px) { .ticker .tk-ex { display: none; } }
@media (max-width: 940px)  { .header .ticker .tk-chg { display: none; } }
@media (max-width: 760px)  { .header .ticker { display: none; } }

/* ── logo image (brand) ────────────────────────────────────────────────────── */
.brand-logo { height: 34px; width: auto; display: block; }
.footer .brand-logo { height: 40px; }

/* ── header TradingView ticker slot ────────────────────────────────────────── */
.ticker-slot { display: inline-flex; align-items: center; max-width: 260px; overflow: hidden; }
.ticker-slot .tradingview-widget-container { min-width: 150px; }
/* the ticker sits on the desktop header; hidden on narrower screens for room */
@media (max-width: 1024px) { .ticker-slot { display: none; } }

/* ── console: type-your-own input ─────────────────────────────────────────── */
.console-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.cf-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cf-input { display: flex; align-items: center; gap: 8px; background: #0f1730; border: 1px solid #26325a; border-radius: 12px; padding: 8px 10px; }
.cf-input .cf-caret { color: #6ea8ff; font-family: var(--mono); font-weight: 700; }
.c-input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: #dfe6fb; font-family: var(--mono); font-size: 12.5px; }
.c-input::placeholder { color: #5b6688; }
.c-run { background: var(--grad); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 7px 14px; border-radius: 9px; transition: transform .15s, box-shadow .15s; flex-shrink: 0; }
.c-run:hover { transform: translateY(-1px); box-shadow: var(--glow); }

/* ── live orchestration ───────────────────────────────────────────────────── */
.orch { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.orch-agents { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oa { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px; transition: border-color .2s, box-shadow .2s; cursor: pointer; width: 100%; }
.oa:hover { border-color: #d3d9e6; box-shadow: var(--shadow); }
.oa.working { border-color: var(--ai); box-shadow: 0 0 0 3px var(--ai-soft); }
.oa.done { border-color: var(--green); }
.oa.pinned { box-shadow: 0 0 0 3px var(--brand-soft); border-color: var(--brand); }
.oa-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); flex-shrink: 0; }
.oa.working .oa-ic { animation: pulse 1.2s infinite; }
.oa-ic svg { width: 19px; height: 19px; }
.oa-body { flex: 1; min-width: 0; }
.oa-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.oa-name { font-family: var(--serif); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.oa-state { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 2px 7px; border-radius: 20px; background: var(--bg-2); flex-shrink: 0; }
.oa.working .oa-state { color: var(--ai); background: var(--ai-soft); }
.oa.done .oa-state { color: var(--green); background: rgba(22,163,74,.1); }
.oa-bar { height: 4px; border-radius: 4px; background: var(--bg-2); margin: 8px 0 6px; overflow: hidden; }
.oa-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 1.25s cubic-bezier(.4,0,.2,1); }
.oa-status { font-size: 11.5px; color: var(--muted); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.orch-feed { background: #0c1226; border-radius: 18px; padding: 18px; border: 1px solid #1c2542; }
.of-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: #8b95b8; margin-bottom: 14px; }
.of-head svg { width: 15px; height: 15px; color: #a99bff; }
.of-list { display: flex; flex-direction: column; gap: 10px; min-height: 210px; }
.of-item { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #c3ccea; font-family: var(--mono); animation: stepIn .35s; }
.of-item b { color: #fff; font-weight: 600; }
.of-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-top: 4px; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }

/* ── ROI calculator ───────────────────────────────────────────────────────── */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); }
.roi-controls { display: flex; flex-direction: column; gap: 8px; }
.roi-controls label { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14px; color: var(--ink); margin-top: 14px; }
.roi-controls label:first-child { margin-top: 0; }
.roi-controls output { font-family: var(--mono); font-weight: 700; color: var(--brand); }
.roi-controls input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--bg-2); outline: none; }
.roi-controls input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .12s; }
.roi-controls input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.roi-controls input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); cursor: pointer; }
.roi-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.roi-card { background: var(--grad-soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.roi-card.wide, .roi-note { grid-column: 1 / -1; }
.roi-n { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; color: var(--ink); }
.roi-card.wide .roi-n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.roi-note { font-size: 12px; color: var(--faint); line-height: 1.5; }

@media (max-width: 1000px) { .orch { grid-template-columns: 1fr; } .roi { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .orch-agents { grid-template-columns: 1fr; } .roi-results { grid-template-columns: 1fr; } .roi-card.wide { grid-column: auto; } }
