
:root{
  --bg:#f5f7fb; --surface:#ffffff; --text:#121722; --muted:#6f7785; --line:#e7eaf0;
  --accent:#1f7a5a; --accent-soft:#e9f6f0; --dark:#0d1117;
  --radius:22px; --shadow:0 18px 50px rgba(18,23,34,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
img{max-width:100%;display:block}
.shell{width:min(1180px,calc(100% - 36px));margin:auto}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(14px);position:sticky;top:0;z-index:30}
.topbar .shell{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:.02em}
.brand-mark{width:34px;height:34px;border-radius:11px;background:var(--dark);color:#fff;display:grid;place-items:center}
.nav{display:flex;gap:26px;color:var(--muted);font-size:14px}
.nav a:hover{color:var(--text)}
.btn{border:0;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn.ghost{background:#fff;color:var(--text);border:1px solid var(--line)}
.btn.dark{background:var(--dark)}
.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:900}
.muted{color:var(--muted)}
.hero{padding:82px 0 70px}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(46px,7vw,82px);line-height:.96;letter-spacing:-.055em;margin:16px 0 24px}
.hero p{font-size:18px;line-height:1.65;color:var(--muted);max-width:670px}
.hero-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.hero-panel{background:linear-gradient(145deg,#151a21,#0d1117);color:#fff;border-radius:32px;min-height:480px;padding:28px;box-shadow:0 35px 90px rgba(13,17,23,.22);position:relative;overflow:hidden}
.hero-panel:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:var(--accent);filter:blur(90px);opacity:.18;right:-80px;top:-50px}
.hero-panel .mock{position:relative;background:#fff;color:var(--text);border-radius:22px;padding:24px;margin-top:58px;box-shadow:0 25px 80px rgba(0,0,0,.22)}
.mock-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:16px}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;background:var(--accent-soft);color:var(--accent)}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.metric{background:#f7f8fa;border:1px solid var(--line);padding:14px;border-radius:15px}
.metric strong{font-size:22px;display:block}
.metric span{font-size:11px;color:var(--muted)}
.section{padding:88px 0}
.section.white{background:#fff}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}
.section h2{font-size:clamp(34px,5vw,56px);letter-spacing:-.045em;line-height:1;margin:12px 0 0}
.section-head p{max-width:450px;margin:0;color:var(--muted);line-height:1.6}
.grid{display:grid;gap:16px}
.grid.four{grid-template-columns:repeat(4,1fr)}
.grid.three{grid-template-columns:repeat(3,1fr)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 8px 30px rgba(18,23,34,.03)}
.card h3{margin:12px 0 10px;font-size:23px}
.card p{color:var(--muted);line-height:1.6}
.card .price{font-weight:900;margin-top:26px;color:var(--accent)}
.demo-hub{min-height:100vh;background:
 radial-gradient(circle at 20% 0%,rgba(31,122,90,.11),transparent 28%),
 radial-gradient(circle at 90% 20%,rgba(28,75,180,.09),transparent 28%),
 #f5f7fb;display:flex;flex-direction:column}
.hub-wrap{width:min(1180px,calc(100% - 36px));margin:auto;padding:54px 0 70px}
.hub-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:70px}
.hub-intro{max-width:760px;margin-bottom:40px}
.hub-intro h1{font-size:clamp(44px,7vw,78px);letter-spacing:-.055em;line-height:.98;margin:16px 0 18px}
.hub-intro p{font-size:18px;line-height:1.65;color:var(--muted)}
.demo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.demo-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;min-height:300px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.25s ease;box-shadow:0 10px 35px rgba(18,23,34,.04)}
.demo-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.demo-card .icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:26px;background:#f1f4f8}
.demo-card h2{font-size:30px;margin:22px 0 10px}
.demo-card p{color:var(--muted);line-height:1.6;max-width:520px}
.demo-card .go{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-weight:800;color:var(--accent)}
.demo-card.electric{--accent:#d28a08}
.demo-card.build{--accent:#8456d5}
.demo-card.furniture{--accent:#9b5c33}
.demo-card.auto{--accent:#2066c9}
.demo-card .go{color:var(--accent)}
.demo-card:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-60px;top:-50px;background:var(--accent);opacity:.08}
.back-demo{position:fixed;left:22px;bottom:22px;z-index:40;background:#111827;color:#fff;border-radius:999px;padding:12px 16px;font-size:13px;font-weight:800;box-shadow:0 10px 35px rgba(0,0,0,.18)}
.business-hero{padding:72px 0 64px}
.business-hero .hero-grid{grid-template-columns:1.05fr .95fr}
.business-hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-.05em;margin:14px 0 20px}
.business-visual{min-height:460px;border-radius:28px;padding:24px;display:flex;align-items:end;position:relative;overflow:hidden;color:#fff;background:linear-gradient(145deg,var(--theme-dark),var(--theme))}
.business-visual:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:#fff;opacity:.1;filter:blur(70px);right:-100px;top:-120px}
.business-visual .visual-card{position:relative;background:rgba(255,255,255,.94);color:var(--text);border-radius:20px;padding:22px;width:100%;box-shadow:0 25px 70px rgba(0,0,0,.2)}
.visual-row{display:flex;justify-content:space-between;gap:18px;align-items:center}
.visual-card .small{font-size:12px;color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.step{padding:22px;border-top:1px solid var(--line)}
.step strong{font-size:12px;color:var(--theme);letter-spacing:.1em}
.step h3{margin:18px 0 8px}
.case{min-height:250px;border-radius:22px;padding:24px;color:#fff;display:flex;align-items:end;background:linear-gradient(145deg,var(--theme-dark),var(--theme));position:relative;overflow:hidden}
.case:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.48),rgba(0,0,0,.02))}
.case div{position:relative}
.case p{color:rgba(255,255,255,.82)}
.form-wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:44px;align-items:start}
.form-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:15px}
.form-card label{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.form-card label.full,.form-card .btn,.form-note{grid-column:1/-1}
input,select,textarea{width:100%;border:1px solid var(--line);background:#fbfcfd;border-radius:11px;padding:13px;outline:none}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--theme)}
.form-note{font-size:12px;color:var(--muted)}
.success{padding:13px;border-radius:12px;background:#edf8f1;color:#286342;border:1px solid #d4eddc;grid-column:1/-1}
.footer{padding:30px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.admin-body{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:#f5f7fb}
.sidebar{background:#0f141b;color:#fff;padding:24px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}
.sidebar .brand-mark{background:#fff;color:#111}
.side-title{font-size:10px;letter-spacing:.14em;color:#6e7885;margin:38px 10px 10px}
.side-link{padding:12px;border-radius:10px;color:#aeb6c2;font-size:14px;display:flex;justify-content:space-between}
.side-link.active,.side-link:hover{background:#1a222c;color:#fff}
.side-bottom{margin-top:auto;color:#8c96a3;font-size:13px}
.admin-main{padding:36px clamp(20px,4vw,58px)}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.admin-top h1{font-size:44px;margin:8px 0 0;letter-spacing:-.04em}
.demo-switch{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:10px 12px;border-radius:14px}
.demo-switch select{min-width:190px;padding:8px 10px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0}
.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}
.stat span,.stat small{display:block;color:var(--muted);font-size:12px}
.stat strong{display:block;font-size:36px;margin:10px 0 4px}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.toolbar{display:grid;grid-template-columns:1fr 220px;gap:10px;padding:14px;border-bottom:1px solid var(--line)}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{padding:15px;border-bottom:1px solid var(--line);text-align:left;font-size:13px}
th{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#8a93a0}
.status{padding:7px 9px;border-radius:10px;width:auto}
@media(max-width:900px){
  .hero-grid,.business-hero .hero-grid,.form-wrap{grid-template-columns:1fr}
  .grid.four,.grid.three,.steps,.stats{grid-template-columns:1fr 1fr}
  .demo-grid{grid-template-columns:1fr}
  .nav{display:none}
  .admin-body{grid-template-columns:1fr}.sidebar{display:none}
}
@media(max-width:600px){
  .grid.four,.grid.three,.steps,.stats{grid-template-columns:1fr}
  .form-card{grid-template-columns:1fr}.form-card label{grid-column:1}
  .hub-top{margin-bottom:45px}.hero{padding-top:48px}
  .topbar .btn{display:none}
}


/* ================================
   PREMIUM HUB V2
================================ */
.hub-v2{
  --hub-ink:#10131a;
  --hub-paper:#f4f3ef;
  --hub-line:rgba(16,19,26,.12);
  --hub-soft:#ebeae5;
  min-height:100vh;
  background:
    radial-gradient(circle at 18% -5%,rgba(222,174,65,.12),transparent 25%),
    radial-gradient(circle at 92% 12%,rgba(66,100,177,.10),transparent 25%),
    var(--hub-paper);
  color:var(--hub-ink);
  display:block;
  overflow-x:hidden;
}
.hub-noise{
  pointer-events:none;
  position:fixed;
  inset:0;
  z-index:100;
  opacity:.035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.hub-shell{width:min(1240px,calc(100% - 44px));margin:0 auto}
.hub-header{
  position:relative;
  z-index:20;
  border-bottom:1px solid var(--hub-line);
}
.hub-header .hub-shell{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.hub-brand{display:flex;align-items:center;gap:12px}
.hub-brand-mark{
  width:42px;height:42px;border-radius:13px;background:var(--hub-ink);color:#fff;
  display:grid;place-items:center;font-size:15px;font-weight:950;box-shadow:0 10px 30px rgba(16,19,26,.13)
}
.hub-brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}
.hub-brand b{font-size:14px;letter-spacing:.05em}
.hub-brand small{font-size:8px;letter-spacing:.18em;color:#8a8e95;margin-top:5px;font-weight:800}
.hub-header-actions{display:flex;align-items:center;gap:12px}
.hub-status{font-size:11px;font-weight:800;color:#737780;display:flex;align-items:center;gap:7px}
.hub-status i,.summary-live i{width:7px;height:7px;background:#4caf79;border-radius:50%;box-shadow:0 0 0 5px rgba(76,175,121,.1)}
.hub-admin-button{
  border:1px solid var(--hub-line);background:rgba(255,255,255,.55);backdrop-filter:blur(12px);
  padding:11px 14px;border-radius:999px;display:flex;gap:18px;align-items:center;font-size:12px;font-weight:850;
  transition:.2s ease
}
.hub-admin-button:hover{background:var(--hub-ink);color:#fff;transform:translateY(-1px)}
.hub-hero-v2{
  min-height:650px;
  display:grid;
  grid-template-columns:1.25fr .55fr;
  gap:90px;
  align-items:center;
  padding:86px 0 100px;
  border-bottom:1px solid var(--hub-line);
}
.hub-kicker{display:flex;align-items:center;gap:12px;font-size:10px;font-weight:900;letter-spacing:.14em;color:#777b82}
.hub-kicker i{width:46px;height:1px;background:var(--hub-line)}
.hub-hero-copy h1{
  max-width:880px;
  font-size:clamp(58px,7.3vw,102px);
  line-height:.88;
  letter-spacing:-.075em;
  margin:25px 0 30px;
  font-weight:850;
}
.hub-hero-copy h1 em{font-style:normal;color:#747980;font-weight:500}
.hub-hero-copy>p{
  max-width:710px;
  color:#686d75;
  font-size:17px;
  line-height:1.75;
}
.hub-trust-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,180px));
  gap:12px;
  margin-top:42px
}
.hub-trust-row div{border-top:1px solid var(--hub-line);padding-top:14px}
.hub-trust-row strong{font-size:10px;letter-spacing:.12em;color:#9a8b60;display:block;margin-bottom:5px}
.hub-trust-row span{font-size:12px;font-weight:750}
.hub-summary-card{
  min-height:385px;
  border-radius:30px;
  background:#12151b;
  color:#fff;
  padding:28px;
  display:flex;
  flex-direction:column;
  box-shadow:0 35px 85px rgba(16,19,26,.17);
  position:relative;
  overflow:hidden
}
.hub-summary-card:before{
  content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:#b58d3c;
  filter:blur(80px);opacity:.18;right:-70px;top:-65px
}
.summary-top{position:relative;display:flex;justify-content:space-between;font-size:9px;font-weight:900;letter-spacing:.14em;color:#8d949f}
.summary-live{display:flex;gap:8px;align-items:center;color:#a8b0bb}
.summary-number{position:relative;font-size:116px;letter-spacing:-.08em;line-height:.9;margin-top:52px;font-weight:300}
.summary-caption{position:relative;color:#8e96a2;font-size:13px;margin:8px 0 26px}
.summary-list{position:relative;display:flex;flex-wrap:wrap;gap:7px}
.summary-list span{font-size:10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 9px;color:#d5d8dd}
.hub-summary-card>a{
  position:relative;margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:16px;
  display:flex;justify-content:space-between;font-size:11px;font-weight:850;color:#f5f5f5
}
.hub-demo-section{padding:105px 0}
.hub-section-title{
  display:grid;grid-template-columns:1fr .65fr;gap:80px;align-items:end;margin-bottom:42px
}
.hub-index{font-size:9px;letter-spacing:.16em;font-weight:900;color:#91845f}
.hub-section-title h2,.system-copy h2{
  font-size:clamp(40px,5vw,66px);letter-spacing:-.055em;line-height:.98;margin:12px 0 0
}
.hub-section-title p{font-size:13px;line-height:1.7;color:#747982;margin:0;max-width:440px}
.premium-demo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.premium-demo{
  min-height:610px;
  background:#fbfbf9;
  border:1px solid var(--hub-line);
  border-radius:30px;
  padding:20px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  transform-style:preserve-3d;
  transition:box-shadow .28s ease,border-color .28s ease;
  will-change:transform;
}
.premium-demo:hover{box-shadow:0 34px 90px rgba(17,20,27,.12);border-color:rgba(17,20,27,.18)}
.demo-card-top{height:44px;display:flex;justify-content:space-between;align-items:flex-start;padding:3px 4px}
.demo-card-number{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8f949c}
.demo-card-tag{font-size:9px;font-weight:900;letter-spacing:.16em;border:1px solid var(--hub-line);padding:6px 8px;border-radius:999px;color:#777c83}
.demo-preview{
  height:330px;border-radius:22px;padding:30px 20px 0;overflow:hidden;position:relative
}
.preview-electric{background:linear-gradient(145deg,#f0b13c,#c47e09)}
.preview-construction{background:linear-gradient(145deg,#9b7ed2,#6547a7)}
.preview-furniture{background:linear-gradient(145deg,#d6b294,#8c5e3f)}
.preview-auto{background:linear-gradient(145deg,#4c82d5,#174c9a)}
.preview-browser{
  height:100%;border-radius:16px 16px 0 0;background:#f7f8fa;overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.2);transform:translateY(18px);transition:.35s cubic-bezier(.2,.8,.2,1)
}
.premium-demo:hover .preview-browser{transform:translateY(3px) scale(1.01)}
.preview-browser-bar{
  height:35px;background:#fff;border-bottom:1px solid #e4e6ea;display:flex;align-items:center;gap:5px;padding:0 11px;color:#a0a5ad;font-size:8px
}
.preview-browser-bar i{width:6px;height:6px;border-radius:50%;background:#cfd3d9}
.preview-browser-bar span{margin-left:7px;background:#f1f2f4;border-radius:99px;padding:4px 10px;min-width:104px;text-align:center}
.preview-page{
  min-height:255px;padding:28px;display:grid;grid-template-columns:1fr .8fr;align-items:center;gap:12px;background:#f8f8f6
}
.preview-copy small{font-size:7px;letter-spacing:.16em;font-weight:900;color:#92969d}
.preview-copy b{display:block;margin:9px 0;font-size:19px;letter-spacing:-.05em;line-height:1.05}
.preview-button{width:64px;height:17px;border-radius:5px;background:#15181e;display:block;margin-top:16px}
.preview-visual{height:150px;border-radius:13px;background:#17191e;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 25px rgba(0,0,0,.12)}
.electric-visual span{font-size:44px;font-weight:200}.electric-visual small{font-size:11px;color:#e4aa39;margin:14px 0 0 4px;font-weight:900}
.preview-house{height:150px;position:relative;display:flex;justify-content:center;align-items:flex-end}
.house-body{width:90px;height:76px;background:#ddd8e6;border-radius:3px;display:flex;gap:18px;align-items:center;justify-content:center}
.house-body i{width:18px;height:32px;background:#8f75bc;border-radius:2px}
.house-roof{position:absolute;bottom:73px;border-left:58px solid transparent;border-right:58px solid transparent;border-bottom:48px solid #342b45}
.preview-furniture-art{height:150px;background:#ded0c5;border-radius:12px;position:relative;overflow:hidden}
.cabinet{position:absolute;bottom:43px;background:#8c654c;border-radius:2px}
.c1{left:17px;width:27px;height:74px}.c2{left:48px;width:37px;height:55px}.c3{left:90px;width:30px;height:92px}
.table-art{position:absolute;right:10px;bottom:27px;width:75px;height:9px;background:#5e4738;border-radius:3px;box-shadow:12px 35px 0 -3px #5e4738,-45px 35px 0 -3px #5e4738}
.preview-car{height:150px;position:relative}
.car-body{position:absolute;width:150px;height:45px;border-radius:40px 55px 18px 18px;background:#1c2430;left:50%;bottom:35px;transform:translateX(-50%)}
.car-top{position:absolute;width:82px;height:42px;border-radius:45px 45px 4px 4px;background:#283544;left:50%;bottom:70px;transform:translateX(-50%) skewX(-9deg)}
.wheel{position:absolute;width:30px;height:30px;border-radius:50%;background:#11161c;border:6px solid #323943;bottom:20px}.w1{left:37px}.w2{right:37px}
.demo-card-copy{
  flex:1;padding:24px 8px 5px;display:flex;flex-direction:column;justify-content:space-between
}
.demo-icon{
  width:34px;height:34px;border:1px solid var(--hub-line);border-radius:10px;display:grid;place-items:center;font-size:14px;color:#5b6068
}
.demo-card-copy h3{font-size:32px;letter-spacing:-.045em;margin:14px 0 9px}
.demo-card-copy p{font-size:13px;color:#747982;line-height:1.65;margin:0;max-width:500px}
.demo-open{
  margin-top:25px;padding-top:16px;border-top:1px solid var(--hub-line);display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:900
}
.demo-open b{
  width:31px;height:31px;border-radius:50%;background:#11151b;color:#fff;display:grid;place-items:center;
  transition:transform .2s ease
}
.premium-demo:hover .demo-open b{transform:translateX(3px)}
.hub-system-section{
  border-top:1px solid var(--hub-line);padding:110px 0;
  display:grid;grid-template-columns:.72fr 1.28fr;gap:80px;align-items:center
}
.system-copy p{color:#747982;line-height:1.7;font-size:14px;max-width:450px}
.system-link{display:inline-flex;gap:20px;align-items:center;margin-top:24px;font-size:12px;font-weight:900;border-bottom:1px solid #222;padding-bottom:5px}
.system-ui{
  background:#15191f;border-radius:28px;padding:12px;box-shadow:0 35px 85px rgba(16,19,26,.16)
}
.system-ui-head{
  height:42px;display:flex;align-items:center;color:#7d8793;font-size:8px;letter-spacing:.1em;padding:0 8px;gap:16px
}
.system-ui-head>div{display:flex;gap:5px}.system-ui-head i{width:6px;height:6px;background:#454d57;border-radius:50%}
.system-ui-head span{margin-right:auto}.system-ui-head b{color:#6fb98f;font-size:7px}
.system-ui-body{height:380px;background:#f5f6f8;border-radius:19px;display:grid;grid-template-columns:65px 1fr;overflow:hidden}
.mini-sidebar{background:#0f1318;padding:16px;display:flex;flex-direction:column;align-items:center;gap:16px}
.mini-sidebar strong{width:29px;height:29px;background:#fff;border-radius:8px;display:grid;place-items:center;font-size:10px}
.mini-sidebar span{width:22px;height:7px;background:#28303a;border-radius:99px}.mini-sidebar span.active{background:#8893a1;margin-top:18px}
.mini-dashboard{padding:28px}
.mini-title{display:flex;justify-content:space-between;align-items:center}.mini-title span{font-size:24px;font-weight:850;letter-spacing:-.04em}.mini-title small{color:#9298a0}
.mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0}.mini-stats i{height:65px;background:#fff;border:1px solid #e1e4e9;border-radius:10px}
.mini-table{background:#fff;border:1px solid #e1e4e9;border-radius:11px;padding:13px;display:grid;gap:9px}
.mini-table span{display:block;height:38px;border-bottom:1px solid #eceef1}
.hub-footer{
  border-top:1px solid var(--hub-line);min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:30px
}
.hub-footer>div{display:flex;flex-direction:column;gap:5px}.hub-footer b{font-size:13px}.hub-footer span,.hub-footer p{font-size:10px;color:#898d94;letter-spacing:.03em}
.hub-footer p{max-width:470px;text-align:right;line-height:1.6}

@media (max-width:980px){
  .hub-hero-v2{grid-template-columns:1fr;gap:45px}
  .hub-summary-card{min-height:320px}
  .summary-number{font-size:90px;margin-top:30px}
  .hub-section-title,.hub-system-section{grid-template-columns:1fr;gap:40px}
  .premium-demo-grid{grid-template-columns:1fr}
}
@media (max-width:680px){
  .hub-shell{width:min(100% - 26px,1240px)}
  .hub-header .hub-shell{min-height:74px}
  .hub-status{display:none}
  .hub-admin-button span{display:none}.hub-admin-button{padding:10px 13px}
  .hub-hero-v2{padding:55px 0 70px;min-height:0}
  .hub-hero-copy h1{font-size:52px}
  .hub-trust-row{grid-template-columns:1fr;gap:9px}
  .hub-summary-card{min-height:300px}
  .hub-demo-section{padding:75px 0}
  .hub-section-title{margin-bottom:28px}
  .hub-section-title h2,.system-copy h2{font-size:42px}
  .premium-demo{min-height:520px;padding:13px;border-radius:24px}
  .demo-preview{height:270px;padding:22px 12px 0}
  .preview-page{padding:20px}
  .preview-copy b{font-size:16px}
  .hub-system-section{padding:75px 0}
  .system-ui-body{height:300px;grid-template-columns:48px 1fr}
  .mini-dashboard{padding:18px}.mini-stats{grid-template-columns:1fr 1fr}
  .hub-footer{padding:30px 0;align-items:flex-start;flex-direction:column}
  .hub-footer p{text-align:left;margin:0}
}

.hub-integration-v5{border-top:1px solid var(--hub-line);padding:110px 0}
.hub-integration-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:center;margin-top:16px}
.hub-integration-v5 h2{font-size:clamp(42px,5vw,68px);letter-spacing:-.055em;line-height:.96;margin:0 0 22px}
.hub-integration-v5 h2 em{font-style:normal;color:#7c8289;font-weight:500}
.hub-integration-v5 p{font-size:13px;line-height:1.8;color:#737880;max-width:510px}
.hub-integr-actions{display:flex;gap:20px;margin-top:24px;flex-wrap:wrap}.hub-integr-actions a{font-size:10px;font-weight:900;border-bottom:1px solid #111;padding-bottom:4px}
.hub-integration-map{display:grid;grid-template-columns:1fr 28px 1.2fr 28px 1fr 28px 1fr;align-items:center;gap:8px}
.hub-integration-map div{background:#fbfbf9;border:1px solid var(--hub-line);border-radius:16px;padding:19px;display:flex;flex-direction:column}.hub-integration-map div span{font-size:8px;color:#8d9299;letter-spacing:.12em}.hub-integration-map div b{font-size:11px;margin-top:6px}.hub-integration-map i{font-style:normal;text-align:center;color:#9ea3a9}.hub-integration-map .hub-core{background:#14181e;color:#fff}
@media(max-width:980px){.hub-integration-grid{grid-template-columns:1fr}.hub-integration-map{grid-template-columns:1fr}.hub-integration-map i{transform:rotate(90deg)}}


/* ================================
   V6 — CONTRAST & PREMIUM COLOR PASS
================================ */
:root{
  --hub-ink:#111318;
  --hub-paper:#f6f4ef;
  --hub-line:rgba(17,19,24,.15);
}
.hub-v2{
  background:
    radial-gradient(circle at 18% -5%,rgba(181,137,63,.13),transparent 26%),
    radial-gradient(circle at 92% 12%,rgba(58,91,163,.10),transparent 24%),
    #f6f4ef;
}
.hub-hero-copy h1{color:#111318}
.hub-hero-copy h1 em{color:#656b73}
.hub-hero-copy>p,
.hub-section-title p,
.system-copy p,
.hub-integration-v5 p{color:#5f6670}
.premium-demo{
  background:#fffdf9;
  border-color:rgba(17,19,24,.15);
}
.demo-card-copy h3{color:#111318}
.demo-card-copy p{color:#606873}
.demo-card-tag,.demo-card-number{color:#6d737b}
.hub-summary-card{
  background:linear-gradient(150deg,#12161c,#1a2028);
}
.hub-summary-card,
.hub-summary-card a{color:#fff}
.hub-summary-card .summary-caption{color:#b1b7c0}
.hub-integration-map div{
  background:#fffdfa;
  border-color:rgba(17,19,24,.15);
}
.hub-integration-map .hub-core{
  background:linear-gradient(145deg,#14191f,#1d242c);
}

/* V8 — MITIN DEV contacts */
.mitin-contact-strip{
  background:#10151b;color:#fff;padding:34px max(20px,calc((100vw - 1240px)/2));
  display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center
}
.mitin-contact-strip .mitin-contact-title{font-family:Georgia,serif;font-size:clamp(30px,4vw,48px);letter-spacing:-.04em}
.mitin-contact-strip .mitin-contact-title span{color:#9ca7b2}
.mitin-contact-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.mitin-contact-actions a{
  border:1px solid #303944;border-radius:999px;padding:11px 14px;font-size:10px;font-weight:850;color:#fff
}
.mitin-contact-actions a.primary{background:#fff;color:#11151b;border-color:#fff}
@media(max-width:760px){.mitin-contact-strip{grid-template-columns:1fr}.mitin-contact-actions{justify-content:flex-start}}


/* ==========================================================
   V9 — FULL READABILITY PALETTE
   Warm ivory + charcoal + muted blue/bronze
========================================================== */
:root{
  --read-bg:#F5F2EC;
  --read-paper:#FFFDFC;
  --read-paper-2:#EEE9E1;
  --read-ink:#1B2430;
  --read-muted:#5E6875;
  --read-soft:#7A8490;
  --read-line:#D8D3CB;
  --read-primary:#2F647D;
  --read-primary-dark:#21495D;
  --read-bronze:#A8744F;
  --read-dark:#202A34;
  --read-dark-2:#151D25;
  --read-light-text:#F6F3ED;
}
body,.demo-hub,.hub-v2{
  background:
    radial-gradient(circle at 12% -6%,rgba(168,116,79,.12),transparent 25%),
    radial-gradient(circle at 92% 7%,rgba(47,100,125,.10),transparent 25%),
    var(--read-bg)!important;
  color:var(--read-ink)!important;
}
.hub-header{
  background:rgba(245,242,236,.96);
  border-bottom:1px solid var(--read-line);
  backdrop-filter:blur(16px);
}
.hub-brand,.hub-brand b{color:var(--read-ink)}
.hub-brand small,.hub-status{color:var(--read-muted)}
.hub-brand-mark{background:var(--read-ink);color:#fff}
.hub-admin-button{
  background:var(--read-paper);
  color:var(--read-ink);
  border-color:var(--read-line)
}
.hub-admin-button:hover{background:var(--read-primary);color:#fff}
.hub-hero-copy h1,.hub-section-title h2,.system-copy h2,.hub-integration-v5 h2{color:var(--read-ink)!important}
.hub-hero-copy h1 em,.hub-integration-v5 h2 em{color:var(--read-primary)!important}
.hub-hero-copy>p,.hub-section-title p,.system-copy p,.hub-integration-v5 p{color:var(--read-muted)!important}
.hub-kicker,.hub-index,.hub-trust-row strong{color:var(--read-bronze)!important}
.hub-summary-card{
  background:linear-gradient(145deg,var(--read-dark),var(--read-dark-2))!important;
  color:var(--read-light-text)!important;
}
.summary-caption{color:#D4D8DC!important}
.summary-list span{color:#F0EEE9!important;border-color:rgba(255,255,255,.22)!important}
.premium-demo{
  background:var(--read-paper)!important;
  border-color:var(--read-line)!important;
}
.demo-card-number,.demo-card-tag{color:var(--read-soft)!important}
.demo-card-copy h3,.demo-open{color:var(--read-ink)!important}
.demo-card-copy p{color:var(--read-muted)!important}
.demo-open b{background:var(--read-primary)!important;color:#fff!important}
.system-ui,.hub-integration-map .hub-core{background:var(--read-dark)!important}
.hub-integration-map div{background:var(--read-paper)!important;border-color:var(--read-line)!important}
.hub-footer{border-color:var(--read-line)!important}
.hub-footer span,.hub-footer p{color:var(--read-muted)!important}
.mitin-contact-strip{
  background:var(--read-dark)!important;
  color:var(--read-light-text)!important;
}
.mitin-contact-strip .mitin-contact-title span{color:#C9D2DA!important}
.mitin-contact-actions a{border-color:#56636F!important}
.mitin-contact-actions a.primary{background:var(--read-primary)!important;color:#fff!important;border-color:var(--read-primary)!important}


/* ==========================
   V10 — matched previews on hub
========================== */
.demo-preview-caption{
  font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;
  color:#8d7660;padding:0 4px 10px
}
.demo-inside{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:22px
}
.demo-inside span{
  font-size:9px;font-weight:800;letter-spacing:.02em;color:#5f6772;
  background:#f3efe9;border:1px solid rgba(27,36,48,.08);padding:8px 10px;border-radius:999px
}
.demo-card-copy p{margin-bottom:0}


/* ==========================
   V11 — mini screenshots on demo selector
========================== */
.premium-demo{min-height:780px}
.demo-mini-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
  padding:14px 0 6px;
}
.mini-shot{
  background:#fbfaf7;border:1px solid rgba(27,36,48,.08);border-radius:16px;
  padding:8px;box-shadow:0 8px 24px rgba(18,24,32,.04);
}
.mini-shot-label{
  display:block;font-size:8px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;
  color:#7b654f;margin:0 0 6px 2px;
}
.mini-shot-browser{
  height:14px;border-radius:8px;background:#fff;border:1px solid #ece8e2;
  display:flex;align-items:center;gap:3px;padding:0 6px;margin-bottom:7px;
}
.mini-shot-browser i{width:4px;height:4px;border-radius:50%;background:#c7cdd3}
.mini-shot-body{
  height:72px;border-radius:11px;background:#f3f0ea;overflow:hidden;position:relative;
  display:flex;align-items:center;justify-content:center;
}
.hero-electric-shot{background:linear-gradient(145deg,#10161d,#1d2732);color:#fff;flex-direction:column;gap:3px}
.hero-electric-shot small,.hero-construction-shot small,.hero-furniture-shot small,.hero-auto-shot small{font-size:7px;letter-spacing:.12em;font-weight:900;opacity:.8}
.hero-electric-shot b{font-size:23px;font-weight:300;letter-spacing:-.05em}
.hero-electric-shot span{width:30px;height:4px;border-radius:99px;background:#d79e2e;display:block}
.hero-construction-shot{background:linear-gradient(145deg,#4b376c,#7a60b2)}
.hero-construction-shot .mini-house{width:46px;height:42px;background:#e6e0ef;border-radius:3px;position:relative;margin-top:8px}
.hero-construction-shot .mini-house:before{content:'';position:absolute;left:-9px;right:-9px;top:-18px;border-left:32px solid transparent;border-right:32px solid transparent;border-bottom:18px solid #322645}
.hero-construction-shot .mini-house s{position:absolute;width:10px;height:17px;background:#8f75bc;bottom:7px}
.hero-construction-shot .mini-house s:first-child{left:10px}.hero-construction-shot .mini-house s:last-child{right:10px}
.hero-furniture-shot{background:linear-gradient(145deg,#b68665,#7e5942)}
.hero-furniture-shot .mini-room{width:64px;height:40px;background:#decfc2;border-radius:8px;position:relative;margin-top:9px}
.hero-furniture-shot .mini-room .c1,.hero-furniture-shot .mini-room .c2,.hero-furniture-shot .mini-room .c3{position:absolute;bottom:10px;background:#7c5944;border-radius:2px}
.hero-furniture-shot .mini-room .c1{left:8px;width:9px;height:20px}.hero-furniture-shot .mini-room .c2{left:20px;width:14px;height:15px}.hero-furniture-shot .mini-room .c3{left:38px;width:10px;height:24px}
.hero-auto-shot{background:linear-gradient(145deg,#1b3f66,#3d78b7)}
.hero-auto-shot .mini-car{width:66px;height:42px;position:relative;margin-top:7px}
.hero-auto-shot .mini-car .body{position:absolute;width:56px;height:16px;border-radius:20px 22px 8px 8px;background:#18222d;left:5px;bottom:8px}
.hero-auto-shot .mini-car .top{position:absolute;width:30px;height:14px;border-radius:20px 20px 4px 4px;background:#243445;left:18px;bottom:20px;transform:skewX(-10deg)}
.hero-auto-shot .mini-car i{position:absolute;width:11px;height:11px;border-radius:50%;background:#0e141b;border:2px solid #48596c;bottom:4px}.hero-auto-shot .mini-car .w1{left:10px}.hero-auto-shot .mini-car .w2{right:10px}
.shot-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px;background:#f2f4f6}
.shot-cards em{display:block;border-radius:8px;background:linear-gradient(160deg,#dde3e8,#ffffff);box-shadow:inset 0 -16px 0 rgba(32,42,52,.18)}
.shot-form{background:#fcfbf8;padding:8px;display:grid;grid-template-columns:1fr;gap:5px}
.shot-form u{display:block;height:9px;border-radius:6px;background:#eef1f4}
.shot-form button{height:12px;border:none;border-radius:7px;background:#27323d;width:46%}
.shot-crm{background:#f5f7f8;padding:8px;display:grid;gap:5px}
.shot-crm strong{display:block;height:10px;border-radius:6px;background:linear-gradient(90deg,#d9e8e0 0 28%, #edf1f4 28% 100%)}
.electric-grid .shot-cards em{box-shadow:inset 0 -16px 0 rgba(184,117,22,.22)}
.construction-grid .shot-cards em{box-shadow:inset 0 -16px 0 rgba(71,108,98,.22)}
.furniture-grid .shot-cards em{box-shadow:inset 0 -16px 0 rgba(150,99,71,.22)}
.auto-grid .shot-cards em{box-shadow:inset 0 -16px 0 rgba(46,95,135,.22)}
.electric-grid .shot-form button{background:#9A661A}.construction-grid .shot-form button{background:#3B6258}.furniture-grid .shot-form button{background:#7c5944}.auto-grid .shot-form button{background:#285877}
.electric-grid .shot-crm strong{background:linear-gradient(90deg,#efe0c7 0 28%, #edf1f4 28% 100%)}
.construction-grid .shot-crm strong{background:linear-gradient(90deg,#dce8e2 0 28%, #edf1f4 28% 100%)}
.furniture-grid .shot-crm strong{background:linear-gradient(90deg,#eadacf 0 28%, #edf1f4 28% 100%)}
.auto-grid .shot-crm strong{background:linear-gradient(90deg,#d5e3ee 0 28%, #edf1f4 28% 100%)}
@media(max-width:900px){
  .premium-demo{min-height:unset}
}
@media(max-width:520px){
  .demo-mini-grid{grid-template-columns:1fr 1fr;gap:8px}
  .mini-shot-body{height:64px}
}


/* ==========================
   V12 — lively mini previews
========================== */
.demo-mini-grid{margin-top:6px}
.v12-shot{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.premium-demo:hover .v12-shot{
  border-color:rgba(27,36,48,.12);
  box-shadow:0 14px 30px rgba(17,24,32,.07);
}
.v12-shot:hover{transform:translateY(-3px) scale(1.01)}
.v12-cases,.v12-form,.v12-crm{padding:8px;background:#f4f6f7;justify-content:flex-start}
.v12-cases{display:grid;gap:6px}
.v12-cases article{
  background:#fff;border:1px solid rgba(27,36,48,.07);border-radius:9px;padding:7px 8px;
  box-shadow:0 3px 10px rgba(15,20,25,.03)
}
.v12-cases b{display:block;font-size:8px;line-height:1.15;color:#23303d}
.v12-cases span{display:block;font-size:7px;color:#75808b;margin-top:3px}
.v12-form{display:flex;flex-direction:column;gap:5px;background:linear-gradient(180deg,#fbfbfa,#f1f2f3)}
.v12-form strong{font-size:8px;line-height:1.15;color:#25313d;margin-bottom:1px}
.v12-form u{display:block;height:8px;border-radius:6px;background:#e2e7eb}
.v12-form button{
  margin-top:3px;height:16px;border:none;border-radius:8px;padding:0 8px;
  font-size:7px;font-weight:900;color:#fff;align-self:flex-start;background:#27323d
}
.v12-crm{display:flex;flex-direction:column;gap:5px;background:linear-gradient(180deg,#f8f9fa,#eef1f4)}
.crm-head{display:flex;gap:5px;flex-wrap:wrap}
.crm-head span{
  font-size:7px;font-weight:900;color:#33414d;background:#fff;border:1px solid rgba(27,36,48,.08);
  padding:3px 5px;border-radius:999px
}
.crm-row{
  background:#fff;border:1px solid rgba(27,36,48,.07);border-radius:8px;padding:6px 7px
}
.crm-row b{display:block;font-size:8px;color:#22303d;line-height:1.1}
.crm-row small{display:block;font-size:7px;color:#72808a;margin-top:2px;line-height:1.1}
.electric-grid .v12-cases article{box-shadow:inset 3px 0 0 rgba(184,117,22,.88)}
.construction-grid .v12-cases article{box-shadow:inset 3px 0 0 rgba(71,108,98,.88)}
.furniture-grid .v12-cases article{box-shadow:inset 3px 0 0 rgba(150,99,71,.88)}
.auto-grid .v12-cases article{box-shadow:inset 3px 0 0 rgba(46,95,135,.88)}
.electric-grid .v12-form button{background:#9A661A}
.construction-grid .v12-form button{background:#3B6258}
.furniture-grid .v12-form button{background:#8B6046}
.auto-grid .v12-form button{background:#285877}
.electric-grid .crm-head span:first-child,.electric-grid .crm-row:first-of-type{background:#fff8ee}
.construction-grid .crm-head span:first-child,.construction-grid .crm-row:first-of-type{background:#f4faf6}
.furniture-grid .crm-head span:first-child,.furniture-grid .crm-row:first-of-type{background:#fcf6f2}
.auto-grid .crm-head span:first-child,.auto-grid .crm-row:first-of-type{background:#f2f8fc}


/* ==========================================================
   V13 — MOBILE FIRST PASS
========================================================== */
@media(max-width:768px){
  html{scroll-padding-top:72px}
  body{overflow-x:hidden}
  .hub-shell,.shell{width:min(100% - 24px,1240px)!important}
  .hub-header .hub-shell{min-height:70px!important}
  .hub-brand-mark{width:36px!important;height:36px!important;border-radius:11px!important}
  .hub-brand b{font-size:12px!important}.hub-brand small{font-size:7px!important}
  .hub-header-actions{gap:7px!important}.hub-status{display:none!important}
  .hub-admin-button{padding:9px 11px!important}.hub-admin-button span{display:none!important}

  .hub-hero-v2{grid-template-columns:1fr!important;min-height:auto!important;padding:48px 0 62px!important;gap:30px!important}
  .hub-kicker{font-size:8px!important;gap:8px!important}.hub-kicker i{width:32px!important}
  .hub-hero-copy h1{font-size:clamp(44px,13vw,62px)!important;line-height:.91!important;letter-spacing:-.065em!important;margin:19px 0 20px!important}
  .hub-hero-copy>p{font-size:14px!important;line-height:1.7!important}
  .hub-trust-row{grid-template-columns:1fr!important;margin-top:28px!important;gap:8px!important}
  .hub-trust-row div{display:grid;grid-template-columns:34px 1fr;align-items:center;padding:10px 0!important}
  .hub-trust-row strong{margin:0!important}.hub-trust-row span{font-size:11px!important}
  .hub-summary-card{min-height:250px!important;border-radius:22px!important;padding:21px!important}
  .summary-number{font-size:78px!important;margin-top:24px!important}.summary-caption{font-size:12px!important}

  .hub-demo-section{padding:68px 0!important}
  .hub-section-title{grid-template-columns:1fr!important;gap:14px!important;margin-bottom:26px!important}
  .hub-section-title h2{font-size:42px!important}.hub-section-title p{font-size:12px!important}
  .premium-demo-grid{grid-template-columns:1fr!important;gap:16px!important}
  .premium-demo{min-height:0!important;padding:12px!important;border-radius:22px!important}
  .demo-card-top{height:35px!important}
  .demo-preview-caption{font-size:7px!important;padding-bottom:7px!important}
  .demo-preview{height:245px!important;padding:18px 10px 0!important;border-radius:17px!important}
  .preview-browser{border-radius:12px 12px 0 0!important}.preview-browser-bar{height:29px!important}
  .preview-page{min-height:205px!important;padding:18px!important;grid-template-columns:1.15fr .85fr!important}
  .preview-copy b{font-size:16px!important}.preview-copy small{font-size:6px!important}.preview-button{width:52px!important;height:14px!important}
  .preview-visual{height:112px!important}.preview-house{height:112px!important}.preview-furniture-art{height:112px!important}.preview-car{height:112px!important}

  .demo-mini-grid{grid-template-columns:1fr 1fr!important;gap:7px!important;padding:10px 0 4px!important}
  .mini-shot{padding:6px!important;border-radius:12px!important}.mini-shot-label{font-size:7px!important;margin-bottom:4px!important}
  .mini-shot-browser{height:12px!important;margin-bottom:5px!important}.mini-shot-body{height:70px!important;border-radius:8px!important}
  .v12-cases,.v12-form,.v12-crm{padding:6px!important}.v12-cases article{padding:5px 6px!important}.v12-cases b,.v12-form strong,.crm-row b{font-size:7px!important}.v12-cases span,.crm-row small,.crm-head span{font-size:6px!important}
  .demo-card-copy{padding:18px 5px 2px!important}.demo-card-copy h3{font-size:28px!important}.demo-card-copy p{font-size:12px!important;line-height:1.6!important}
  .demo-inside{gap:6px!important;margin-top:16px!important}.demo-inside span{font-size:8px!important;padding:7px 8px!important}
  .demo-open{margin-top:18px!important;padding-top:13px!important}.demo-open b{width:34px!important;height:34px!important}

  .hub-system-section,.hub-integration-v5{padding:70px 0!important}.hub-system-section{grid-template-columns:1fr!important;gap:34px!important}
  .system-copy h2,.hub-integration-v5 h2{font-size:42px!important}.system-ui-body{height:275px!important;grid-template-columns:45px 1fr!important}.mini-dashboard{padding:15px!important}.mini-stats{grid-template-columns:1fr 1fr!important}
  .hub-integration-grid{grid-template-columns:1fr!important;gap:30px!important}.hub-integration-map{grid-template-columns:1fr!important}.hub-integration-map i{transform:rotate(90deg)!important}
  .hub-integr-actions{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}

  .mitin-contact-strip{grid-template-columns:1fr!important;padding:30px 14px!important}.mitin-contact-strip .mitin-contact-title{font-size:30px!important}.mitin-contact-actions{justify-content:flex-start!important}.mitin-contact-actions a{width:100%;text-align:center;padding:13px 14px!important}
  .hub-footer{padding:28px 0!important;min-height:0!important;flex-direction:column!important;align-items:flex-start!important}.hub-footer p{text-align:left!important}
}

@media(max-width:390px){
  .hub-hero-copy h1{font-size:42px!important}
  .demo-preview{height:220px!important}.preview-page{padding:14px!important}.demo-mini-grid{grid-template-columns:1fr!important}.mini-shot-body{height:82px!important}
}


/* ==========================================================
   V15 — MOBILE WIDTH FIX: zero horizontal page scrolling
========================================================== */
html,body{max-width:100%;overflow-x:clip}
.hub-v2,.demo-hub{max-width:100%;overflow-x:clip}
.hub-shell,.shell,.hub-header,.hub-hero-v2,.hub-demo-section,.premium-demo-grid,
.premium-demo,.demo-preview,.preview-browser,.preview-page,.demo-mini-grid,.mini-shot,
.demo-card-copy,.hub-system-section,.hub-integration-v5,.hub-integration-grid,
.system-ui,.hub-footer,.mitin-contact-strip{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
.premium-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.demo-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.preview-page>*{min-width:0;max-width:100%}
.demo-card-copy *{max-width:100%}
.demo-card-copy h3,.demo-card-copy p,.demo-inside span{overflow-wrap:anywhere}

@media(max-width:768px){
  html,body{width:100%;max-width:100%;overflow-x:clip!important}
  .hub-v2,.demo-hub{width:100%;max-width:100%;overflow-x:clip!important}

  /* Use padding instead of calc widths: this avoids 1–3 px browser rounding overflow. */
  .hub-shell,.shell{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .hub-header .hub-shell{width:100%!important;padding-left:12px!important;padding-right:12px!important}
  .hub-header,.hub-hero-v2,.hub-demo-section,.hub-system-section,.hub-integration-v5,.hub-footer{
    width:100%!important;max-width:100%!important;
  }
  .premium-demo-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  .premium-demo{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .demo-preview,.preview-browser,.preview-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .preview-page{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important}
  .preview-page>*{min-width:0!important;max-width:100%!important}
  .preview-browser-bar span{min-width:0!important;max-width:48%!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .demo-mini-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .mini-shot,.mini-shot-body,.v12-cases,.v12-form,.v12-crm{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    overflow:hidden!important;
  }
  .v12-cases article,.crm-row{min-width:0!important;max-width:100%!important}
  .v12-cases b,.v12-cases span,.crm-row b,.crm-row small,.v12-form strong{
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;
  }
  .demo-inside{max-width:100%!important}
  .demo-inside span{white-space:normal!important}
  .hub-integration-map,.system-ui,.system-ui-body{width:100%!important;max-width:100%!important;min-width:0!important}
  .mitin-contact-strip{width:100%!important;max-width:100%!important}
}

@media(max-width:390px){
  .hub-shell,.shell{padding-left:10px!important;padding-right:10px!important}
  .hub-header .hub-shell{padding-left:10px!important;padding-right:10px!important}
  .premium-demo{padding:10px!important}
  .demo-mini-grid{grid-template-columns:minmax(0,1fr)!important}
  .mini-shot-body{height:86px!important}
}

/* Keep the portfolio entry understandable and tappable in the mobile header. */
@media(max-width:768px){
  .hub-header-actions{margin-left:auto;min-width:0}
  .hub-projects-link{min-height:44px!important;padding:0 13px!important;gap:7px!important;white-space:nowrap}
  .hub-projects-link span{display:inline!important;font-size:11px!important}
  .hub-projects-link b{font-size:14px}
  .hub-demo-crm-link{display:none!important}
}
@media(max-width:390px){
  .hub-projects-link{padding:0 11px!important}
  .hub-projects-link span{font-size:10px!important}
}
