:root{
  --ink:#0b1320;
  --ink-2:#1c2a3d;
  --muted:#667085;
  --muted-2:#8a96a8;
  --line:#dfe6ee;
  --line-soft:#edf1f5;
  --paper:#ffffff;
  --paper-2:#f7f9fc;
  --paper-3:#eef3f9;
  --night:#07111f;
  --night-2:#0a1a2d;
  --night-3:#102943;
  --blue:#1267e8;
  --blue-2:#2e8cff;
  --cyan:#10c8be;
  --green:#11a47a;
  --danger:#e55a5a;
  --header:rgba(255,255,255,.86);
  --shadow:0 28px 80px rgba(11,25,48,.11);
  --shadow-2:0 18px 46px rgba(11,25,48,.08);
  --radius:18px;
  --container:min(1200px, calc(100% - 48px));
  --section:120px;
  --cursor:#1267e8;
}

body[data-theme="dark"]{
  --ink:#f4f7fb;
  --ink-2:#d9e1ec;
  --muted:#9babbe;
  --muted-2:#7f91a8;
  --line:#24344a;
  --line-soft:#19283b;
  --paper:#08121f;
  --paper-2:#0b1726;
  --paper-3:#102033;
  --header:rgba(7,17,31,.86);
  --shadow:0 28px 80px rgba(0,0,0,.3);
  --shadow-2:0 18px 46px rgba(0,0,0,.22);
  --cursor:#58a7ff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
  transition:background .32s ease,color .32s ease;
}
body.locked{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
svg{display:block;width:1em;height:1em}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.container{width:var(--container);margin:0 auto}
.section-pad{padding:var(--section) 0;position:relative}
section[id]{scroll-margin-top:96px}

/* ---------- VISUAL SYSTEM ---------- */
.noise{position:fixed;inset:0;z-index:9998;pointer-events:none;opacity:.022;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.78'/%3E%3C/svg%3E")}
.ambient{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.15}
.ambient-a{width:440px;height:440px;left:-180px;top:100px;background:#197dff}
.ambient-b{width:400px;height:400px;right:-160px;top:580px;background:#15c7bb}
.editorial-section:before{
  content:attr(data-section);
  position:absolute;top:26px;left:max(24px,calc((100vw - 1200px)/2));
  font-size:11px;letter-spacing:.2em;font-weight:800;color:var(--muted-2)
}
.editorial-section:after{
  content:"";position:absolute;top:54px;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--line-soft) 8%,var(--line-soft) 92%,transparent)
}

/* ---------- CURSOR ---------- */
.cursor-dot,.cursor-ring{position:fixed;left:0;top:0;pointer-events:none;z-index:10000;opacity:0;transition:opacity .18s ease}
.cursor-dot{width:7px;height:7px;border-radius:50%;background:var(--cursor);margin:-3.5px 0 0 -3.5px}
.cursor-ring{width:34px;height:34px;border-radius:50%;border:1px solid color-mix(in srgb,var(--cursor) 72%,transparent);margin:-17px 0 0 -17px;transition:width .18s ease,height .18s ease,margin .18s ease,border-color .18s ease,background .18s ease,opacity .18s ease}
body.cursor-ready .cursor-dot,body.cursor-ready .cursor-ring{opacity:1}
body.cursor-hover .cursor-ring{width:54px;height:54px;margin:-27px 0 0 -27px;background:color-mix(in srgb,var(--cursor) 9%,transparent);border-color:color-mix(in srgb,var(--cursor) 55%,transparent)}
body.cursor-down .cursor-ring{width:28px;height:28px;margin:-14px 0 0 -14px}
.scroll-progress{position:fixed;left:0;top:0;height:2px;width:0;z-index:10001;background:linear-gradient(90deg,var(--blue),var(--cyan));box-shadow:0 0 16px rgba(18,103,232,.45)}

/* ---------- LOADER ---------- */
.page-loader{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;align-content:center;gap:22px;background:#07111f;color:#fff;transition:opacity .6s cubic-bezier(.2,.8,.2,1),visibility .6s ease}
.page-loader.loaded{opacity:0;visibility:hidden}
.loader-mark{width:92px;height:92px;position:relative;display:grid;place-items:center}
.loader-mark img{width:58px;height:58px;position:relative;z-index:2;animation:loaderPulse 1.8s ease-in-out infinite}
.loader-orbit{position:absolute;inset:4px;border-radius:50%;border:1px solid rgba(255,255,255,.14)}
.loader-orbit:before,.loader-orbit:after{content:"";position:absolute;border-radius:50%;inset:-5px;border-top:2px solid #48a0ff;animation:spin 1.1s linear infinite}
.loader-orbit:after{inset:9px;border-top-color:#3fd4c9;animation-duration:1.7s;animation-direction:reverse}
.loader-copy{text-align:center;display:grid;gap:7px}
.loader-copy strong{font-size:22px;letter-spacing:-.04em}
.loader-copy span{font-size:12px;color:#92a7be;letter-spacing:.04em}

/* ---------- HEADER ---------- */
.site-header{position:sticky;top:0;z-index:100;background:var(--header);backdrop-filter:blur(18px);border-bottom:1px solid color-mix(in srgb,var(--line) 85%,transparent)}
.nav-wrap{height:80px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;min-width:178px}
.brand img{width:176px;transition:filter .28s ease,opacity .2s ease}
body[data-theme="dark"] .site-header .brand img{filter:brightness(0) invert(1)}
.desktop-nav{display:flex;gap:30px;margin-left:auto;align-items:center}
.desktop-nav a{position:relative;font-size:13px;font-weight:700;color:var(--muted);transition:color .2s ease}
.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:1px;background:var(--blue);transition:right .22s ease}
.desktop-nav a:hover{color:var(--ink)}
.desktop-nav a:hover:after{right:0}
.nav-actions{display:flex;align-items:center;gap:9px}
.icon-btn,.region-pill,.menu-btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;transition:.22s ease}
.icon-btn{width:43px;height:43px;border-radius:12px;padding:0}
.icon-btn:hover,.region-pill:hover,.menu-btn:hover{border-color:color-mix(in srgb,var(--blue) 38%,var(--line));background:var(--paper-2)}
.theme-icon-sun{display:none}
body[data-theme="dark"] .theme-icon-sun{display:block}
body[data-theme="dark"] .theme-icon-moon{display:none}
.region-pill{height:43px;border-radius:12px;padding:0 12px;gap:9px;font-size:12px;font-weight:800}
.region-pill>svg:first-child{color:var(--blue)}
.region-pill-code{display:grid;place-items:center;min-width:29px;height:23px;padding:0 7px;border-radius:7px;background:var(--paper-3);color:var(--blue);font-size:10px}
.region-pill .chev{font-size:13px;color:var(--muted)}
.menu-btn{display:none;width:43px;height:43px;border-radius:12px;padding:0}
.menu-close{display:none}.menu-btn.open .menu-open{display:none}.menu-btn.open .menu-close{display:block}
.mobile-nav{display:none}
.mobile-nav.open{display:grid;background:var(--paper);border-top:1px solid var(--line);padding:10px 24px 22px}
.mobile-nav a{padding:12px 0;font-size:14px;font-weight:700;color:var(--ink)}

/* ---------- BUTTONS ---------- */
.btn{position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:12px;font-weight:800;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,color .22s ease}
.btn:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.28) 50%,transparent 65%);transform:translateX(-120%);transition:transform .55s ease}
.btn:hover:before{transform:translateX(120%)}
.btn:hover{transform:translateY(-2px)}
.btn-sm{padding:12px 18px;font-size:12px}.btn-lg{padding:15px 22px;font-size:14px}
.btn-primary{color:#fff;background:#1267e8;box-shadow:0 14px 28px rgba(18,103,232,.2)}
.btn-primary:hover{background:#0f5fd7;box-shadow:0 18px 34px rgba(18,103,232,.25)}
.btn-ghost{color:var(--ink);background:var(--paper);border-color:var(--line)}
.btn-ghost-light{color:#fff;background:transparent;border-color:rgba(255,255,255,.18);padding:13px 18px}
.btn-white{background:#fff;color:#0a1730}

/* ---------- REGION MODAL ---------- */
.region-gate{position:fixed;inset:0;z-index:11000;display:none;place-items:center;padding:24px;background:rgba(3,10,20,.8);backdrop-filter:blur(16px)}
.region-gate.show{display:grid}
.region-card{width:min(590px,100%);background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:0 44px 110px rgba(0,0,0,.34)}
.region-brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:800;margin-bottom:24px}.region-brand img{width:31px;height:31px}
.region-card h2{font-size:36px;line-height:1.06;letter-spacing:-.045em;margin:0 0 12px;color:var(--ink)}
.region-card>p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 24px}
.region-options{display:grid;gap:10px}
.region-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:16px;border:1px solid var(--line);background:var(--paper-2);color:var(--ink);border-radius:14px;text-align:left;transition:.2s ease}
.region-option:hover{transform:translateX(3px);border-color:color-mix(in srgb,var(--blue) 38%,var(--line));background:var(--paper)}
.region-token{width:42px;height:42px;border-radius:10px;background:var(--paper-3);color:var(--blue);display:grid;place-items:center;font-size:11px;font-weight:800}
.region-option strong,.region-option small{display:block}.region-option small{margin-top:3px;color:var(--muted)}.region-option svg{color:var(--blue)}
.gate-note{display:block;margin-top:17px;color:var(--muted-2);font-size:10px;line-height:1.55}

/* ---------- HERO ---------- */
.hero{overflow:hidden;background:
  linear-gradient(var(--line-soft) 1px,transparent 1px),
  linear-gradient(90deg,var(--line-soft) 1px,transparent 1px),
  var(--paper);
  background-size:72px 72px;
  background-position:center top;
  padding-top:96px;
}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,transparent 17%,transparent 83%,var(--paper) 100%);pointer-events:none}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(480px,.96fr);gap:54px;align-items:center}
.hero-copy{padding:34px 0 42px}
.badge{display:inline-flex;align-items:center;gap:10px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:23px;box-shadow:0 8px 28px rgba(10,24,45,.04)}
.pulse{width:7px;height:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 5px rgba(16,200,190,.12)}
h1{font-size:66px;line-height:1;letter-spacing:-.065em;margin:0 0 26px;color:var(--ink);max-width:760px}
h1 span{color:var(--blue);background:none;-webkit-text-fill-color:initial}
.hero-lead{font-size:17px;line-height:1.75;color:var(--muted);max-width:650px;margin:0 0 30px}
.hero-actions{display:flex;gap:11px;flex-wrap:wrap}
.hero-proof{display:flex;flex-wrap:wrap;gap:17px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:700}
.hero-proof span{display:flex;align-items:center;gap:7px}.hero-proof svg{color:var(--green);font-size:15px}
.hero-glow{position:absolute;border-radius:50%;pointer-events:none;filter:blur(2px)}
.glow-one{width:560px;height:560px;right:-220px;top:10px;background:radial-gradient(circle,rgba(18,103,232,.14),transparent 68%)}
.glow-two{width:460px;height:460px;left:39%;bottom:-230px;background:radial-gradient(circle,rgba(16,200,190,.1),transparent 68%)}

.product-stage{position:relative;background:#07111f;border:1px solid #1b2b40;border-radius:18px;padding:10px;box-shadow:0 34px 85px rgba(5,17,34,.28);transform:perspective(1400px) rotateY(-2.5deg) rotateX(1deg);transition:transform .15s ease-out}
.product-stage:before{content:"";position:absolute;inset:0;border-radius:18px;pointer-events:none;background:linear-gradient(110deg,transparent 25%,rgba(91,164,255,.08) 48%,transparent 62%);transform:translateX(-110%);animation:stageScan 8s ease-in-out infinite}
.browser-bar{height:38px;display:flex;align-items:center;gap:12px;padding:0 10px;color:#7890aa;font-size:9px}.browser-bar>span{margin:auto}.dots{display:flex;gap:5px}.dots i{width:7px;height:7px;border-radius:50%;background:#36506d}.live-dot{padding:4px 7px;border:1px solid rgba(75,218,170,.18);border-radius:6px;background:#0d2c23;color:#81e0bd;font-weight:700}
.app-shell{height:470px;background:#f6f8fb;border-radius:12px;overflow:hidden;display:flex}.mini-sidebar{width:54px;background:#05080d;padding:14px 8px;display:flex;flex-direction:column;align-items:center;gap:9px}.mini-logo img{width:29px}.mini-sidebar button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#65778d;display:grid;place-items:center}.mini-sidebar button.active{background:#142640;color:#64a9ff}.mini-spacer{flex:1}.app-main{flex:1;padding:24px;min-width:0;color:#0b1320}.app-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.app-top small{display:block;font-size:7px;letter-spacing:.15em;color:#8b98a8;font-weight:800}.app-top strong{display:block;font-size:16px;margin-top:5px}.avatar-stack{display:flex}.avatar-stack i{font-style:normal;width:27px;height:27px;border-radius:50%;margin-left:-5px;border:2px solid #fff;background:#dce9f8;display:grid;place-items:center;font-size:8px;font-weight:800;color:#2f5d8c}
.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.metric{border:1px solid #e4eaf1;background:#fff;border-radius:10px;padding:13px}.metric span{display:block;font-size:7px;color:#7c8999;font-weight:700}.metric b{display:block;font-size:23px;margin:5px 0}.metric small{font-size:7px;color:#8a95a4}.flow-panel{margin-top:12px;padding:16px;border:1px solid #e2e8ef;background:#fff;border-radius:11px}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title span{font-size:11px;font-weight:800}.panel-title small{font-size:7px;color:#8c99a7}.flow-lanes{display:flex;align-items:center;gap:7px;margin:15px 0}.flow-lanes>i{width:11px;height:1px;background:#cbd5df}.lane{flex:1;min-width:0;padding:9px;border:1px solid #e2e8ef;border-radius:8px;background:#fafbfd}.lane.hot{border-color:#9cc6f9;background:#f0f7ff}.lane span{font-size:6px;color:#94a0ae}.lane b,.lane small{display:block}.lane b{font-size:8px;margin:3px 0}.lane small{font-size:6px;color:#8794a3}.activity-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding-top:12px;border-top:1px solid #edf1f5}.status-icon{width:27px;height:27px;border-radius:8px;background:#eaf9f5;color:#069774;display:grid;place-items:center}.activity-card strong,.activity-card small{display:block}.activity-card strong{font-size:8px}.activity-card small{font-size:6px;color:#8995a5;margin-top:3px}.activity-card>span{font-size:7px;color:#1267e8;font-weight:800}
.floating-chip{position:absolute;display:flex;align-items:center;gap:9px;padding:10px 12px;background:#fff;border:1px solid #dfe7ef;border-radius:11px;box-shadow:0 14px 34px rgba(13,30,56,.15);color:#0d1727}.floating-chip>span{width:29px;height:29px;border-radius:8px;background:#edf6ff;color:#1267e8;display:grid;place-items:center}.floating-chip b,.floating-chip small{display:block}.floating-chip b{font-size:9px}.floating-chip small{font-size:7px;color:#7f8b9b;margin-top:2px}.chip-left{left:-35px;bottom:72px;animation:float 6.2s ease-in-out infinite}.chip-right{right:-25px;top:94px;animation:float 7s ease-in-out infinite reverse}

.logo-strip{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.strip-inner{min-height:68px;display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap;color:var(--muted);font-size:11px}.strip-inner b{color:var(--ink-2);font-weight:700}.strip-inner i{font-style:normal;color:var(--line)}

/* ---------- EDITORIAL SECTIONS ---------- */
.section-head{max-width:780px;margin-bottom:52px}.section-head.split{max-width:none;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:84px;align-items:end}.section-head h2{font-size:50px;line-height:1.06;letter-spacing:-.055em;margin:0;color:var(--ink)}.section-head p{font-size:15px;line-height:1.8;color:var(--muted);margin:15px 0 0}.section-head.split p{margin:0}.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow:before{content:"";width:18px;height:1px;background:currentColor}.eyebrow.light{color:#8ac5ff}

.feature-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.feature-card{grid-column:span 3;position:relative;overflow:hidden;min-height:280px;padding:25px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:0 8px 32px rgba(12,29,54,.035);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.feature-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--blue) 34%,var(--line));box-shadow:var(--shadow-2)}.feature-card.feature-wide{grid-column:span 6}.feature-icon,.use-icon,.auto-icon{width:40px;height:40px;border-radius:9px;background:var(--paper-3);color:var(--blue);display:grid;place-items:center}.feature-card h3{font-size:19px;letter-spacing:-.025em;margin:25px 0 10px}.feature-card p{font-size:13px;line-height:1.75;color:var(--muted);margin:0}.workflow-mini{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:22px}.workflow-mini span{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--paper-2);font-size:9px;font-weight:800}.workflow-mini i{width:14px;height:1px;background:var(--line)}.workflow-mini .accent{border-color:#9dc9fb;background:#eef7ff;color:#1267e8}.dark-card{background:#091727;color:#fff;border-color:#19344e;box-shadow:var(--shadow)}.dark-card h3{color:#fff}.dark-card p{color:#aec0d2}.dark-card .feature-icon{background:#153353;color:#76b8ff}.doc-stack{display:flex;justify-content:flex-end;gap:13px;margin-top:27px}.doc-stack div{width:98px;height:124px;padding:12px;border-radius:8px;background:#fff;color:#0b1320;box-shadow:0 12px 26px rgba(0,0,0,.12)}.doc-stack div:nth-child(2){transform:translateY(-9px) rotate(-2deg)}.doc-stack div:nth-child(3){transform:translateY(-1px) rotate(2deg)}.doc-stack span,.doc-stack b{display:block}.doc-stack span{font-size:6px;font-weight:800;letter-spacing:.14em;color:#95a2b1}.doc-stack b{font-size:12px;margin-top:7px}

/* ---------- WORKFLOW BUILDER ---------- */
.workflow-section{overflow:hidden;background:#07111f;color:#fff}.workflow-section:before{content:attr(data-section);position:absolute;top:26px;left:max(24px,calc((100vw - 1200px)/2));z-index:2;font-size:11px;letter-spacing:.2em;font-weight:800;color:#5f7691}.workflow-section:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(115,155,205,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(115,155,205,.055) 1px,transparent 1px);background-size:60px 60px;mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 92%,transparent 100%);pointer-events:none}.workflow-builder{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(430px,.96fr);gap:52px;align-items:start}.builder-copy{min-width:0}.builder-copy h2{font-size:54px;line-height:1.04;letter-spacing:-.06em;margin:0 0 18px;color:#fff;max-width:720px}.builder-copy>p{max-width:690px;margin:0;color:#a9bbcf;font-size:15px;line-height:1.78}.preset-header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:34px 0 14px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}.preset-header strong{font-size:12px;letter-spacing:.02em}.preset-header small{font-size:10px;color:#7f95ae}.workflow-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.preset-card{position:relative;min-height:184px;padding:17px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.025);color:#fff;text-align:left;transition:.25s ease;overflow:hidden}.preset-card:after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,#1267e8,#10c8be);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}.preset-card:hover,.preset-card.active{border-color:rgba(88,166,255,.5);background:rgba(255,255,255,.05);transform:translateY(-2px)}.preset-card:hover:after,.preset-card.active:after{transform:scaleX(1)}.preset-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.preset-top>div:first-child{min-width:0}.preset-top span{display:block;margin-bottom:5px;color:#7eaee5;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.preset-card h3{font-size:16px;letter-spacing:-.02em;margin:0}.preset-icon{width:36px;height:36px;flex:0 0 auto;border:1px solid rgba(114,178,255,.18);border-radius:9px;background:rgba(18,103,232,.12);color:#78b9ff;display:grid;place-items:center}.preset-card p{min-height:58px;margin:15px 0 13px;color:#a7b9cc;font-size:11px;line-height:1.62}.preset-flow{display:flex;flex-wrap:wrap;gap:6px}.preset-flow b{padding:6px 7px;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:rgba(255,255,255,.035);font-size:8px;color:#d4deea}
.category-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.category-tabs button{padding:8px 11px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:transparent;color:#93a8c0;font-size:9px;font-weight:800;transition:.2s ease}.category-tabs button:hover,.category-tabs button.active{border-color:#2f86ed;background:#1267e8;color:#fff}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-toggle{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;min-height:88px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(255,255,255,.025);color:#fff;text-align:left;transition:.22s ease}.module-toggle:hover{border-color:rgba(89,164,255,.44);background:rgba(255,255,255,.05)}.module-toggle.selected{border-color:#2f86ed;background:rgba(18,103,232,.13)}.module-icon{width:35px;height:35px;border-radius:8px;background:#102945;color:#71b4ff;display:grid;place-items:center}.module-toggle.selected .module-icon{background:#1267e8;color:#fff}.module-toggle b,.module-toggle small{display:block}.module-toggle b{font-size:13px;margin-bottom:4px}.module-toggle small{font-size:9px;line-height:1.55;color:#91a7be}.builder-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.builder-actions .btn{min-width:170px}
.builder-preview{position:sticky;top:104px;padding:24px;border:1px solid rgba(126,166,214,.2);border-radius:16px;background:linear-gradient(180deg,#0b1d32 0%,#081725 100%);box-shadow:0 30px 78px rgba(0,0,0,.28);overflow:hidden}.builder-preview:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at var(--mx,70%) var(--my,15%),rgba(45,142,255,.12),transparent 30%);pointer-events:none}.preview-head,.selected-flow,.preview-divider,.automation-block,.estimate-panel,.preview-footnotes{position:relative;z-index:1}.preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}.preview-head small{display:block;color:#768fa8;font-size:8px;font-weight:800;letter-spacing:.14em}.preview-head h3{font-size:26px;line-height:1.05;letter-spacing:-.04em;margin:6px 0 0;color:#fff}.preview-tag{padding:7px 9px;border:1px solid rgba(89,164,255,.25);border-radius:7px;background:rgba(18,103,232,.09);color:#7db7f8;font-size:8px;font-weight:800}.selected-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:190px}.selected-node{display:grid;grid-template-columns:auto 1fr;gap:10px;min-height:73px;padding:11px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.025)}.selected-node i{width:34px;height:34px;border-radius:8px;background:#102d4d;color:#6db1ff;display:grid;place-items:center;font-style:normal}.selected-node b,.selected-node small{display:block}.selected-node b{font-size:11px;color:#fff}.selected-node small{margin-top:3px;color:#8da3ba;font-size:8px;line-height:1.5}.empty-flow{grid-column:1/-1;min-height:166px;border:1px dashed rgba(255,255,255,.13);border-radius:10px;display:grid;place-items:center;padding:18px;color:#7f96ae;font-size:11px;text-align:center}.preview-divider{height:1px;background:rgba(255,255,255,.1);margin:18px 0}.automation-block{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start}.auto-icon{width:36px;height:36px;border-radius:9px;background:#11355a;color:#77baff}.automation-block strong{display:block;font-size:13px;color:#fff}.automation-block p{margin:4px 0 0;color:#91a8be;font-size:9px;line-height:1.62}.estimate-panel{margin-top:18px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.025)}.estimate-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:11px}.estimate-head strong{font-size:12px;color:#fff}.estimate-head small{font-size:9px;color:#7f96af}.estimate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.estimate-grid>div{min-height:105px;padding:11px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.018)}.estimate-grid span{display:block;color:#7e96ae;font-size:7px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.estimate-grid b{display:block;margin:8px 0 6px;color:#fff;font-size:18px;line-height:1.12;letter-spacing:-.04em}.estimate-grid small{display:block;color:#8fa5bd;font-size:8px;line-height:1.45}.estimate-disclaimer{margin-top:10px;color:#7088a1;font-size:8px;line-height:1.55}.preview-footnotes{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px;color:#6f87a0;font-size:7px;font-weight:800;letter-spacing:.03em}

/* ---------- CASE STUDY ---------- */
.case-section{background:var(--paper)}.case-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);gap:86px;align-items:center}.case-copy h2{font-size:52px;line-height:1.04;letter-spacing:-.055em;margin:0 0 18px}.case-copy p{font-size:15px;line-height:1.8;color:var(--muted)}.case-tags{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0 28px}.case-tags span{padding:7px 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper-2);color:var(--muted);font-size:8px;font-weight:800}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:11px;font-weight:800}.case-flow{position:relative;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--paper-2);box-shadow:var(--shadow-2)}.case-flow:before{content:"";position:absolute;left:53px;top:38px;bottom:38px;width:1px;background:var(--line)}.case-line{position:relative;display:flex;align-items:center;gap:18px;padding:12px 13px;border-radius:9px}.case-line span{position:relative;z-index:1;width:39px;height:39px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted);display:grid;place-items:center;font-size:8px;font-weight:800}.case-line b{font-size:12px;color:var(--ink)}.case-line.active{background:color-mix(in srgb,var(--blue) 9%,var(--paper))}.case-line.active span{border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(18,103,232,.2)}

/* ---------- USE CASES ---------- */
.use-cases{background:var(--paper-2)}.use-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.use-grid article{position:relative;min-height:242px;padding:23px;border:1px solid var(--line);border-radius:13px;background:var(--paper);overflow:hidden;transition:.24s ease}.use-grid article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(var(--blue),var(--cyan));transform:scaleY(0);transform-origin:top;transition:transform .25s ease}.use-grid article:hover{transform:translateY(-4px);box-shadow:var(--shadow-2);border-color:color-mix(in srgb,var(--blue) 28%,var(--line))}.use-grid article:hover:before{transform:scaleY(1)}.use-icon{width:39px;height:39px;border-radius:9px;background:var(--paper-3);color:var(--blue)}.use-grid h3{font-size:17px;margin:25px 0 9px}.use-grid p{font-size:12px;line-height:1.72;color:var(--muted)}.use-grid article>span,.use-grid article>a{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:9px;font-weight:800}.use-grid .custom-use{background:#091727;border-color:#17324c;color:#fff}.custom-use h3{color:#fff}.custom-use p{color:#a9bdd0}.custom-use .use-icon{background:#143454;color:#78b8ff}.custom-use a{color:#7abaff}

/* ---------- PRICING ---------- */
.pricing-section{background:var(--paper)}.pricing-head{text-align:center;margin-left:auto;margin-right:auto}.billing-toggle{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);margin-top:22px}.billing-toggle button{border:0;border-radius:7px;background:transparent;color:var(--muted);padding:9px 12px;font-size:9px;font-weight:800}.billing-toggle button.active{background:var(--paper);color:var(--ink);box-shadow:0 4px 14px rgba(11,25,48,.07)}.billing-toggle span{font-size:7px;color:var(--green);margin-left:3px}.pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}.price-card{position:relative;display:flex;flex-direction:column;min-height:510px;padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--paper);transition:.24s ease}.price-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-2);border-color:color-mix(in srgb,var(--blue) 32%,var(--line))}.price-card.featured{border-color:var(--blue);box-shadow:0 20px 52px rgba(18,103,232,.11)}.popular-tag{position:absolute;top:0;left:22px;transform:translateY(-50%);padding:6px 8px;border-radius:6px;background:var(--blue);color:#fff;font-size:7px;font-weight:800;letter-spacing:.08em}.price-card h3{font-size:17px;margin:10px 0 6px}.price-card .desc{min-height:62px;margin:0;color:var(--muted);font-size:10px;line-height:1.6}.price{padding:19px 0 16px;margin:10px 0 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.price b{display:block;color:var(--ink);font-size:32px;line-height:1;letter-spacing:-.05em}.price span{display:block;color:var(--muted);font-size:9px;margin-top:7px}.annual-caption{color:var(--green)!important;font-size:8px!important}.price-card ul{display:grid;gap:10px;list-style:none;padding:0;margin:12px 0 22px;flex:1}.price-card li{position:relative;padding-left:19px;color:var(--muted);font-size:9px;line-height:1.5}.price-card li:before{content:"";position:absolute;left:0;top:4px;width:10px;height:10px;border:1px solid var(--green);border-radius:50%}.price-card li:after{content:"";position:absolute;left:3px;top:6px;width:4px;height:2px;border-left:1px solid var(--green);border-bottom:1px solid var(--green);transform:rotate(-45deg)}.price-card .btn{width:100%;margin-top:auto}.price-card.enterprise{background:#091727;border-color:#17324c;color:#fff}.price-card.enterprise h3,.price-card.enterprise .price b{color:#fff}.price-card.enterprise .desc,.price-card.enterprise .price span,.price-card.enterprise li{color:#a7bbcf}.price-card.enterprise .btn-ghost{background:#fff;color:#0b1320;border-color:#fff}.pricing-note{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px;padding:19px 21px;border:1px solid var(--line);border-radius:12px;background:var(--paper-2)}.pricing-note div{display:grid;gap:5px}.pricing-note b{font-size:10px}.pricing-note span{font-size:9px;line-height:1.58;color:var(--muted)}

/* ---------- COMPARE ---------- */
.compare-section{background:var(--paper-2)}.compare-table{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--paper)}.compare-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;padding:17px 21px;border-top:1px solid var(--line);align-items:center}.compare-row:first-child{border-top:0}.compare-row span,.compare-row b{font-size:10px}.compare-row span{color:var(--muted)}.compare-row b{color:var(--blue)}.compare-head{background:#091727}.compare-head span,.compare-head b{color:#fff}

/* ---------- PROCESS ---------- */
.process-section{background:var(--paper)}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--line)}.process-grid article{position:relative;min-height:225px;padding:26px;background:var(--paper);overflow:hidden}.process-grid article:after{content:"";position:absolute;right:-30px;bottom:-30px;width:90px;height:90px;border:1px solid var(--line);border-radius:50%;opacity:.65}.process-grid article>span{font-size:9px;font-weight:800;color:var(--blue)}.process-grid h3{font-size:18px;margin:34px 0 9px}.process-grid p{font-size:10px;line-height:1.72;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq-section{background:var(--paper-2)}.faq-grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:86px}.faq-copy h2{font-size:44px;line-height:1.08;letter-spacing:-.05em;margin:0 0 17px}.faq-copy p{font-size:13px;line-height:1.75;color:var(--muted)}.faq-list details{padding:19px 0;border-top:1px solid var(--line)}.faq-list details:last-child{border-bottom:1px solid var(--line)}.faq-list summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:18px;color:var(--ink);font-size:13px;font-weight:800;cursor:pointer}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary span{font-size:18px;font-weight:400;color:var(--muted);transition:transform .18s ease}.faq-list details[open] summary span{transform:rotate(45deg)}.faq-list p{margin:13px 30px 0 0;color:var(--muted);font-size:11px;line-height:1.75}

/* ---------- CONTACT ---------- */
.contact-section{background:var(--paper)}.contact-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:68px;padding:54px;border:1px solid #18344f;border-radius:16px;background:#091727;color:#fff;box-shadow:var(--shadow)}.contact-card:before{content:"";position:absolute;right:-120px;top:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(41,140,255,.22),transparent 65%);pointer-events:none}.contact-copy{position:relative;z-index:1}.contact-copy h2{font-size:47px;line-height:1.06;letter-spacing:-.055em;margin:0 0 18px;color:#fff}.contact-copy p{color:#a9bed1;font-size:13px;line-height:1.78}.contact-points{display:grid;gap:9px;margin-top:27px;color:#d7e5f1;font-size:10px}.contact-points span{display:flex;align-items:center;gap:8px}.contact-points svg{color:#54d6ae;font-size:14px}.demo-form{position:relative;z-index:1;padding:24px;border-radius:12px;background:#fff;color:#142238}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.demo-form label{display:grid;gap:7px;margin-bottom:11px;color:#506077;font-size:8px;font-weight:800;letter-spacing:.02em}.demo-form input,.demo-form textarea{width:100%;padding:12px;border:1px solid #dce4ed;border-radius:8px;background:#fbfcfd;color:#17253b;font-size:10px;outline:0}.demo-form input:focus,.demo-form textarea:focus{border-color:#8cbdf7;box-shadow:0 0 0 3px rgba(18,103,232,.08)}.demo-form .btn{width:100%;margin-top:2px}.demo-form small{display:block;margin-top:11px;color:#8d99a8;font-size:7px;line-height:1.5;text-align:center}

/* ---------- FOOTER ---------- */
footer{padding:68px 0 24px;background:#050d18;color:#fff}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:48px}.footer-brand img{width:178px;filter:brightness(0) invert(1)}.footer-brand p{max-width:330px;color:#71859d;font-size:10px;line-height:1.7}.footer-grid>div:not(.footer-brand){display:grid;align-content:start;gap:11px}.footer-grid b{font-size:10px;margin-bottom:5px}.footer-grid a{color:#8296ad;font-size:9px}.footer-grid a:hover{color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:48px;padding-top:20px;border-top:1px solid #162536;color:#5f748d;font-size:8px}

/* ---------- ANIMATION ---------- */
[data-reveal]{opacity:0;transform:translateY(22px);filter:blur(6px);transition:opacity .72s cubic-bezier(.2,.8,.2,1),transform .72s cubic-bezier(.2,.8,.2,1),filter .72s ease}
[data-reveal].is-visible{opacity:1;transform:translateY(0);filter:blur(0)}
.feature-grid>[data-reveal]:nth-child(2),.use-grid>[data-reveal]:nth-child(2),.process-grid>[data-reveal]:nth-child(2){transition-delay:.05s}
.feature-grid>[data-reveal]:nth-child(3),.use-grid>[data-reveal]:nth-child(3),.process-grid>[data-reveal]:nth-child(3){transition-delay:.1s}
.feature-grid>[data-reveal]:nth-child(4),.use-grid>[data-reveal]:nth-child(4),.process-grid>[data-reveal]:nth-child(4){transition-delay:.15s}
.use-grid>[data-reveal]:nth-child(5){transition-delay:.2s}.use-grid>[data-reveal]:nth-child(6){transition-delay:.25s}.use-grid>[data-reveal]:nth-child(7){transition-delay:.3s}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes loaderPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes stageScan{0%,35%{transform:translateX(-120%)}65%,100%{transform:translateX(120%)}}

/* ---------- DARK MODE FIXES ---------- */
body[data-theme="dark"] .hero{background:linear-gradient(rgba(37,54,76,.45) 1px,transparent 1px),linear-gradient(90deg,rgba(37,54,76,.45) 1px,transparent 1px),var(--paper);background-size:72px 72px}
body[data-theme="dark"] .hero:after{background:linear-gradient(90deg,var(--paper) 0%,transparent 17%,transparent 83%,var(--paper) 100%)}
body[data-theme="dark"] .badge{box-shadow:none}
body[data-theme="dark"] .feature-card,body[data-theme="dark"] .price-card,body[data-theme="dark"] .use-grid article,body[data-theme="dark"] .case-flow,body[data-theme="dark"] .compare-table,body[data-theme="dark"] .pricing-note{box-shadow:none}
body[data-theme="dark"] .dark-card,body[data-theme="dark"] .use-grid .custom-use,body[data-theme="dark"] .price-card.enterprise,body[data-theme="dark"] .contact-card{background:#06101c}
body[data-theme="dark"] .section-head h2,body[data-theme="dark"] .case-copy h2,body[data-theme="dark"] .faq-copy h2{color:#f4f7fb}
body[data-theme="dark"] .feature-card h3,body[data-theme="dark"] .use-grid h3,body[data-theme="dark"] .price-card h3,body[data-theme="dark"] .process-grid h3{color:#edf3fb}
body[data-theme="dark"] .feature-card p,body[data-theme="dark"] .use-grid p,body[data-theme="dark"] .price-card .desc,body[data-theme="dark"] .process-grid p,body[data-theme="dark"] .pricing-note span,body[data-theme="dark"] .faq-copy p,body[data-theme="dark"] .faq-list p{color:#9babc0}
body[data-theme="dark"] .price-card .price b{color:#f5f8fc}
body[data-theme="dark"] .price-card.enterprise .btn-ghost{background:#fff;color:#0b1320}
body[data-theme="dark"] .case-line b{color:#edf3fb}
body[data-theme="dark"] .demo-form{background:#fff;color:#142238}
body[data-theme="dark"] .region-card .region-brand img{filter:none}
body[data-theme="dark"] .contact-card .eyebrow,body[data-theme="dark"] .workflow-section .eyebrow{color:#8bc8ff}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1120px){
  :root{--section:104px}
  h1{font-size:57px}
  .hero-grid,.workflow-builder,.case-grid,.faq-grid,.contact-card{grid-template-columns:1fr;gap:42px}
  .product-stage{max-width:760px;margin:0 auto;transform:none}
  .feature-card{grid-column:span 6}.feature-card.feature-wide{grid-column:span 6}
  .pricing-grid{grid-template-columns:repeat(2,1fr)}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .builder-preview{position:relative;top:auto}
  .desktop-nav{display:none}.menu-btn{display:inline-flex}
  .section-head.split{grid-template-columns:1fr;gap:20px}
}

@media(max-width:760px){
  :root{--container:min(100% - 28px,1200px);--section:82px}
  .cursor-dot,.cursor-ring{display:none!important}
  .nav-wrap{height:70px}.brand{min-width:0}.brand img{width:145px}.desktop-cta,.region-pill #regionLabel{display:none}.region-pill{padding:0 9px}.hero{padding-top:55px}.hero-grid{grid-template-columns:1fr;gap:36px}.hero-copy{padding-top:10px}.badge{font-size:8px}h1{font-size:43px}.hero-lead{font-size:14px}.hero-actions{display:grid}.hero-actions .btn{width:100%}.hero-proof{display:grid;gap:8px}.product-stage{padding:7px}.app-shell{height:390px}.mini-sidebar{display:none}.app-main{padding:16px}.metric-row{grid-template-columns:1fr 1fr}.metric:nth-child(3){display:none}.flow-lanes{display:grid;grid-template-columns:1fr 1fr}.flow-lanes>i{display:none}.floating-chip{display:none}.strip-inner{padding:15px 0}.section-head h2,.builder-copy h2,.case-copy h2,.contact-copy h2{font-size:37px}.feature-grid,.use-grid,.pricing-grid,.module-grid,.workflow-presets,.selected-flow,.estimate-grid,.process-grid{grid-template-columns:1fr}.feature-card,.feature-card.feature-wide{grid-column:1/-1}.feature-card{min-height:0}.doc-stack{justify-content:flex-start;opacity:.65}.preset-header{align-items:flex-start;flex-direction:column}.builder-actions{display:grid}.builder-actions .btn{width:100%}.preview-head h3{font-size:23px}.case-grid{gap:38px}.use-grid{display:grid}.price-card{min-height:0}.pricing-note{grid-template-columns:1fr}.compare-row{grid-template-columns:1fr 1fr;gap:8px}.compare-row>*:last-child{grid-column:2}.compare-head{display:none}.faq-grid{gap:34px}.faq-copy h2{font-size:35px}.contact-card{padding:30px 21px;border-radius:14px}.form-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.region-card{padding:25px 20px}.region-card h2{font-size:30px}.browser-bar>span{display:none}.editorial-section:before,.workflow-section:before{left:14px}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  [data-reveal]{opacity:1;transform:none;filter:none}
  .cursor-dot,.cursor-ring{display:none!important}
}

@media(pointer:fine){
  body.cursor-ready,body.cursor-ready a,body.cursor-ready button,body.cursor-ready input,body.cursor-ready textarea,body.cursor-ready summary{cursor:none}
}
.feature-card:after,.use-grid article:after,.price-card:after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(18,103,232,.075),transparent 62%);
  transition:opacity .2s ease;
}
.feature-card:hover:after,.use-grid article:hover:after,.price-card:hover:after{opacity:1}
.selected-node{animation:nodeIn .34s cubic-bezier(.2,.8,.2,1) backwards}
@keyframes nodeIn{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}
/* Keep the original coloured icon legible on dark surfaces without sacrificing brand colour. */
.loader-mark:after{content:"";position:absolute;width:66px;height:66px;border-radius:50%;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:1}
.loader-mark img{z-index:2}
.mini-logo{width:36px;height:36px;border-radius:10px;background:#fff;display:grid;place-items:center;margin-bottom:2px}
.mini-logo img{width:29px}
body[data-theme="dark"] .region-brand img{background:#fff;border-radius:50%;padding:2px}

/* ---------- V4 POLISH / DARK MODE CLEANUP ---------- */
:root{
  --weight-ui:700;
  --weight-emphasis:650;
}

.btn,
.region-pill,
.category-tabs button,
.workflow-mini span,
.case-tags span,
.preset-flow b,
.price-card h3,
.faq-list summary,
.builder-actions .btn,
.demo-form label,
.use-grid article>span,
.use-grid article>a{
  font-weight:700;
}

/* Decorative card typography should feel cleaner and less heavy. */
.doc-stack span,
.doc-stack b,
.metric b,
.panel-title span,
.activity-card strong,
.selected-node b,
.preview-head h3,
.estimate-grid b,
.case-line b{
  font-weight:600;
}

.doc-stack span{letter-spacing:.12em}
.doc-stack b{font-size:11px}

.builder-actions .btn{
  min-height:58px;
  padding-inline:24px;
}

.contact-card{
  align-items:center;
}
.demo-form{
  box-shadow:0 14px 38px rgba(7,20,36,.08);
}

/* Make cursor more refined and less intrusive. */
.cursor-dot{width:6px;height:6px;margin:-3px 0 0 -3px}
.cursor-ring{width:28px;height:28px;margin:-14px 0 0 -14px;border-width:1px}
body.cursor-hover .cursor-ring{
  width:42px;
  height:42px;
  margin:-21px 0 0 -21px;
  background:transparent;
  border-color:color-mix(in srgb,var(--cursor) 42%,transparent);
}
body.cursor-down .cursor-ring{width:24px;height:24px;margin:-12px 0 0 -12px}

/* Ensure light-mode cards remain clean but not over-bold. */
.price b,
.contact-copy h2,
.case-copy h2,
.section-head h2,
.builder-copy h2,
.faq-copy h2,
h1{
  font-weight:700;
}

/* Dark mode: remove leftover white surfaces and increase consistency. */
body[data-theme="dark"] .btn-ghost{
  background:transparent;
  color:#edf3fb;
  border-color:#29405e;
}
body[data-theme="dark"] .btn-ghost:hover{
  background:#0d1a2b;
  border-color:#3a5b82;
}
body[data-theme="dark"] .price-card.enterprise .btn-ghost,
body[data-theme="dark"] .price-card .btn-ghost{
  background:#0b1726;
  color:#edf3fb;
  border-color:#29405e;
}
body[data-theme="dark"] .price-card.enterprise .btn-ghost:hover,
body[data-theme="dark"] .price-card .btn-ghost:hover{
  background:#102033;
  color:#fff;
  border-color:#4a709c;
}

body[data-theme="dark"] .demo-form{
  background:#0c1726;
  color:#edf3fb;
  border:1px solid #24344a;
  box-shadow:none;
}
body[data-theme="dark"] .demo-form label{
  color:#9fb0c4;
}
body[data-theme="dark"] .demo-form input,
body[data-theme="dark"] .demo-form textarea{
  background:#0f1c2d;
  color:#eef4fb;
  border-color:#25384f;
}
body[data-theme="dark"] .demo-form input::placeholder,
body[data-theme="dark"] .demo-form textarea::placeholder{
  color:#8094aa;
}
body[data-theme="dark"] .demo-form input:focus,
body[data-theme="dark"] .demo-form textarea:focus{
  border-color:#4f89d2;
  box-shadow:0 0 0 3px rgba(79,137,210,.14);
}
body[data-theme="dark"] .demo-form small{
  color:#7f93a8;
}

body[data-theme="dark"] .doc-stack div{
  background:#0f1b2b;
  color:#eef4fb;
  border:1px solid #263b54;
  box-shadow:none;
}
body[data-theme="dark"] .doc-stack span{
  color:#89a0ba;
}

/* Hero / product preview cleanup in dark mode so no bright white islands remain. */
body[data-theme="dark"] .app-shell{
  background:#0a1524;
}
body[data-theme="dark"] .app-main{
  color:#eef4fb;
}
body[data-theme="dark"] .app-top strong,
body[data-theme="dark"] .panel-title span,
body[data-theme="dark"] .metric b,
body[data-theme="dark"] .lane b,
body[data-theme="dark"] .activity-card strong,
body[data-theme="dark"] .floating-chip b{
  color:#eef4fb;
}
body[data-theme="dark"] .app-top small,
body[data-theme="dark"] .metric span,
body[data-theme="dark"] .metric small,
body[data-theme="dark"] .panel-title small,
body[data-theme="dark"] .lane span,
body[data-theme="dark"] .lane small,
body[data-theme="dark"] .activity-card small,
body[data-theme="dark"] .floating-chip small{
  color:#8ea3bb;
}
body[data-theme="dark"] .metric,
body[data-theme="dark"] .flow-panel,
body[data-theme="dark"] .lane,
body[data-theme="dark"] .floating-chip{
  background:#0e1a2b;
  border-color:#24354b;
  box-shadow:none;
}
body[data-theme="dark"] .lane.hot{
  background:#10243b;
  border-color:#396eb0;
}
body[data-theme="dark"] .activity-card{
  border-top-color:#223449;
}
body[data-theme="dark"] .mini-logo,
body[data-theme="dark"] .loader-mark:after,
body[data-theme="dark"] .region-brand img{
  background:#102033;
  box-shadow:none;
}
body[data-theme="dark"] .mini-logo img,
body[data-theme="dark"] .region-brand img,
body[data-theme="dark"] .loader-mark img{
  filter:brightness(0) invert(1);
}
body[data-theme="dark"] .avatar-stack i{
  border-color:#0a1524;
  background:#15283e;
  color:#b4c8de;
}

/* Keep visible contrast in all major containers. */
body[data-theme="dark"] .pricing-note,
body[data-theme="dark"] .compare-table,
body[data-theme="dark"] .case-flow,
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .use-grid article,
body[data-theme="dark"] .process-grid article{
  background:#0b1726;
  border-color:#24344a;
}
body[data-theme="dark"] .compare-head,
body[data-theme="dark"] .dark-card,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .use-grid .custom-use,
body[data-theme="dark"] .price-card.enterprise{
  background:#07111f;
  border-color:#1f3550;
}
body[data-theme="dark"] .case-line span{
  background:#0f1b2b;
  border-color:#24344a;
  color:#a5b6c8;
}
body[data-theme="dark"] .case-tags span,
body[data-theme="dark"] .workflow-mini span{
  background:#0f1c2d;
  border-color:#23354a;
  color:#c5d1df;
}
body[data-theme="dark"] .workflow-mini .accent{
  background:#10233a;
  color:#8fc3ff;
  border-color:#336ead;
}

/* Prevent leftover bright accents inside dark sections. */
body[data-theme="dark"] .floating-chip>span,
body[data-theme="dark"] .feature-icon,
body[data-theme="dark"] .use-icon,
body[data-theme="dark"] .auto-icon{
  background:#11263d;
}

/* Slight visual tidy-up for contact section spacing. */
.contact-copy p,
.contact-points,
.demo-form small{
  max-width:58ch;
}

@media(max-width:760px){
  .builder-actions .btn{min-height:54px}
}

/* ---------- V5 CTA TYPOGRAPHY TUNE ---------- */
.price-card .btn,
.builder-actions .btn{
  font-weight: 650;
  letter-spacing: -0.01em;
}

.price-card .btn{
  font-size: 11px;
  min-height: 42px;
}

@media (max-width:760px){
  .price-card .btn{
    font-size: 10px;
  }
}
