
:root{
  --bg:#f5f6f7;--bg2:#ffffff;--panel:#ffffff;--panel2:#f0f2f4;--panel3:#e7ebef;
  --text:#15171a;--muted:#67707b;--line:#dfe3e7;
  --orange:#ff6a00;--orange2:#ff8a2b;--soft:rgba(255,106,0,.10);
  --green:#2d9b5d;--shadow:0 22px 55px rgba(21,25,30,.10);
  --max:1200px;--radius:24px
}
html[data-theme="dark"]{
  --bg:#0b0c0e;--bg2:#111316;--panel:#15181c;--panel2:#1b1f24;--panel3:#22272d;
  --text:#f7f7f5;--muted:#9da5ae;--line:#2b3138;--soft:rgba(255,106,0,.14);
  --green:#4bcb82;--shadow:0 24px 70px rgba(0,0,0,.34)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:900;text-transform:uppercase;color:var(--orange)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(46px,6.2vw,82px);line-height:.99;letter-spacing:-.055em;margin:15px 0 22px}
h2{font-size:clamp(34px,4.3vw,58px);line-height:1.04;letter-spacing:-.04em;margin:0 0 18px}
h3{font-size:22px;line-height:1.15;margin:0 0 10px}
p{color:var(--muted);font-size:17px}
.lead{font-size:20px;max-width:900px}
.orange{color:var(--orange)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:0 24px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-weight:850;cursor:pointer;font-size:17px}
.btn:hover{transform:translateY(-1px)}
.btn.primary{background:var(--orange);border-color:var(--orange);color:#111}
.btn.dark{background:#15171a;border-color:#15171a;color:white}
.btn.icon{width:54px;padding:0}
.header{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--bg2) 90%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.brand{display:flex;align-items:center;gap:11px;font-weight:950;font-size:22px}
.brand-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#111;box-shadow:0 8px 22px rgba(255,106,0,.20)}
.brand b{color:var(--orange)}
.mainnav{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:14px}
.mainnav a:hover{color:var(--text)}
.nav-actions{display:flex;gap:9px;align-items:center}
.dropdown{position:relative}
.dropdown>a:after{content:"⌄";font-size:11px;margin-left:6px}
.dropdown-menu{display:none;position:absolute;top:28px;left:-18px;min-width:310px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.dropdown:hover .dropdown-menu{display:grid;gap:5px}
.dropdown-menu a{padding:10px 12px;border-radius:12px;color:var(--text)}
.dropdown-menu a:hover{background:var(--panel2)}
.dropdown-menu small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.mobile-menu{display:none}

.hero{text-align:center;padding:88px 0 46px}
.hero-copy{width:min(80vw,1080px);margin:auto}
.hero-copy .lead{margin-left:auto;margin-right:auto}
.hero-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.trust{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:28px;color:var(--muted);font-size:16px}
.trust span{display:inline-flex;align-items:center;gap:9px}
.trust i{width:10px;height:10px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 6px var(--soft)}
.hero-media{padding:8px 0 54px}
.hero-media img{display:block;width:min(1180px,calc(100% - 28px));height:auto;margin:auto;border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow)}
.section{padding:82px 0}
.section.alt{background:color-mix(in srgb,var(--bg2) 76%,var(--bg));border-block:1px solid var(--line)}
.section-head{max-width:1100px;margin-bottom:36px}
.section-head.center{text-align:center;margin-left:auto;margin-right:auto}
.section-head.center .lead{margin-left:auto;margin-right:auto}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:0 8px 24px rgba(0,0,0,.025)}
.card p{margin-bottom:0}
.iconbox{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:var(--soft);font-size:24px;margin-bottom:17px}
.tag{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:var(--soft);color:#c65700;font-size:11px;font-weight:900}
html[data-theme="dark"] .tag{color:#ff9d59}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.chip{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}
.module-card{position:relative;overflow:hidden;min-height:255px}
.module-card:after{content:"";position:absolute;right:-50px;bottom:-60px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(255,106,0,.12),transparent 68%)}
.module-card .more{display:inline-flex;margin-top:18px;color:var(--orange);font-weight:900}
.flow{display:grid;gap:14px}
.flow.cols5{grid-template-columns:repeat(5,1fr)}
.flow.cols6{grid-template-columns:repeat(6,1fr)}
.flow-step{padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}
.flow-step b{display:block;color:var(--orange);font-size:12px;letter-spacing:.08em;margin-bottom:8px}
.split{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px;align-items:start}
.mock{border:1px solid var(--line);border-radius:28px;background:var(--panel);box-shadow:var(--shadow);overflow:hidden}
.mock-top{height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 93%,var(--bg))}
.mock-title{display:flex;align-items:center;gap:10px;font-weight:900}
.mini-logo{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--orange);color:#111;font-size:12px}
.mock-body{padding:20px}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.kpi{padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}
.kpi b{display:block;font-size:24px}
.list{display:grid;gap:10px;margin-top:14px}
.list-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.list-row:last-child{border-bottom:0}
.list-row span{color:var(--muted)}
.status{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(45,155,93,.12);color:var(--green);font-size:11px;font-weight:900}
.pipeline{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:stretch}
.pipe{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel2)}
.pipe.accent{border-color:rgba(255,106,0,.30);background:linear-gradient(135deg,rgba(255,106,0,.06),var(--panel2))}
.pipe-arrow{display:grid;place-items:center;color:var(--orange);font-size:28px}
.cta{padding:52px;border-radius:32px;background:linear-gradient(135deg,var(--orange),var(--orange2));color:#111;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
.cta h2{color:#111;margin-bottom:8px}
.cta p{color:#32251b;margin-bottom:0}
.footer{padding:46px 0 58px;color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}
.footer-grid h4{color:var(--text);margin:0 0 12px}
.footer-grid a{display:block;margin:7px 0}
.legal{margin-top:32px;padding-top:18px;border-top:1px solid var(--line);font-size:12px}

@media(max-width:980px){
  .mainnav{display:none}
  .grid4{grid-template-columns:repeat(2,1fr)}
  .flow.cols5,.flow.cols6{grid-template-columns:repeat(2,1fr)}
  .split,.cta{grid-template-columns:1fr}
  .pipeline{grid-template-columns:1fr}
  .pipe-arrow{transform:rotate(90deg)}
}
@media(max-width:680px){
  .wrap{width:min(var(--max),calc(100% - 24px))}
  .hero-copy{width:100%}
  .nav-actions .primary{display:none}
  .grid2,.grid3,.grid4,.flow.cols5,.flow.cols6,.footer-grid,.kpis{grid-template-columns:1fr}
  .hero{padding-top:70px}
}


.nowrap-title{white-space:nowrap}
@media(max-width:980px){.nowrap-title{white-space:normal}}
.card.large-copy h3{font-size:28px;line-height:1.12}
.card.large-copy p{font-size:20px;line-height:1.45}
.hero.light-intro{background:linear-gradient(180deg,var(--bg) 0%,color-mix(in srgb,var(--bg2) 92%,var(--bg)) 100%)}
.gallery-section .section-head{margin-bottom:24px}
.shot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.shot-card{display:block;padding:14px;border:1px solid var(--line);border-radius:24px;background:var(--panel);box-shadow:0 8px 24px rgba(0,0,0,.03)}
.shot-card img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--line);background:var(--panel2)}
.shot-card h3{margin:14px 0 6px}
.shot-card p{margin:0}
.lightbox{position:fixed;inset:0;background:rgba(10,12,14,.78);display:none;align-items:center;justify-content:center;padding:28px;z-index:120}
.lightbox.open{display:flex}
.lightbox-dialog{position:relative;max-width:min(96vw,1500px);max-height:90vh}
.lightbox-dialog img{display:block;max-width:100%;max-height:90vh;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.45);background:white}
.lightbox-close{position:absolute;top:-14px;right:-14px;width:42px;height:42px;border-radius:50%;border:0;background:#111;color:#fff;font-size:24px;cursor:pointer}
@media(max-width:780px){.shot-grid{grid-template-columns:1fr}}



/* V2.1 — homepage light dashboard + Swiss flag */
.hero.light-intro .lead{font-size:22px;line-height:1.45}
.hero.light-intro p:not(.lead){font-size:19px}
.hero.light-intro .btn{font-size:18px;min-height:58px;padding:0 28px}
.hero.light-intro .trust{font-size:18px;gap:24px}

.swiss-title{display:flex;align-items:center;gap:12px}
.swiss-flag{
  width:30px;height:30px;border-radius:7px;background:#e4002b;display:inline-block;position:relative;flex:0 0 auto;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)
}
.swiss-flag:before,.swiss-flag:after{
  content:"";position:absolute;left:50%;top:50%;background:white;transform:translate(-50%,-50%);border-radius:1px
}
.swiss-flag:before{width:16px;height:5px}
.swiss-flag:after{width:5px;height:16px}

.dashboard-light-wrap{padding:4px 0 56px}
.dashboard-light{
  width:min(1180px,calc(100% - 28px));margin:auto;border:1px solid var(--line);border-radius:30px;background:var(--panel);
  box-shadow:var(--shadow);overflow:hidden
}
.dash-shell{display:grid;grid-template-columns:210px 1fr;min-height:690px}
.dash-side{background:color-mix(in srgb,var(--panel2) 88%,var(--panel));border-right:1px solid var(--line);padding:22px 14px}
.dash-brand{display:flex;align-items:center;gap:12px;padding:0 10px 18px;border-bottom:1px solid var(--line);margin-bottom:18px}
.dash-brand .brand-mark{width:42px;height:42px}
.dash-brand strong{font-size:21px}
.dash-menu{display:grid;gap:5px}
.dash-item{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:13px;color:var(--muted);font-size:14px}
.dash-item.active{background:var(--soft);color:#c65700;box-shadow:inset 3px 0 0 var(--orange);font-weight:800}
.dash-main{padding:24px;background:linear-gradient(180deg,var(--panel),color-mix(in srgb,var(--panel2) 34%,var(--panel)))}
.dash-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.dash-head h3{font-size:42px;margin:3px 0 5px;letter-spacing:-.04em}
.dash-head p{margin:0}
.dash-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.dash-action{padding:11px 14px;border:1px solid var(--line);border-radius:13px;background:var(--panel);font-weight:800;font-size:13px}
.dash-action.primary{background:var(--orange);border-color:var(--orange);color:#111}
.dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.dash-kpi{padding:17px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.dash-kpi .row{display:flex;align-items:center;gap:10px}
.dash-kpi .ico{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--soft);font-size:20px}
.dash-kpi b{display:block;font-size:28px;line-height:1}
.dash-kpi small{color:var(--muted)}
.dash-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px}
.dash-panel{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:18px}
.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.dash-panel-head h4{font-size:18px;margin:0}
.timeline{display:grid;gap:10px}
.timeline-item{display:grid;grid-template-columns:70px 1fr;gap:10px;align-items:start}
.timeline-time{color:var(--muted);padding-top:13px;font-size:13px}
.timeline-card{padding:13px 14px;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:14px;background:var(--panel2)}
.timeline-card strong{display:block}
.timeline-card span{color:var(--muted);font-size:12px}
.suggest-list,.comm-list{display:grid;gap:9px}
.suggest{padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel2);display:grid;grid-template-columns:auto 1fr;gap:10px}
.suggest .ico{width:36px;height:36px;border-radius:11px;background:var(--soft);display:grid;place-items:center}
.suggest strong{display:block;font-size:14px}
.suggest span{color:var(--muted);font-size:12px}
.comm{display:grid;grid-template-columns:34px 100px 1fr 46px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}
.comm:last-child{border-bottom:0}
.avatar-sm{width:32px;height:32px;border-radius:50%;background:var(--panel3);display:grid;place-items:center;font-weight:900}
.bank-card{padding:14px;border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:14px;background:var(--panel2)}
.bank-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.bank-card .amount{font-size:24px;font-weight:900}
.confidence{padding:5px 8px;border-radius:999px;background:rgba(45,155,93,.12);color:var(--green);font-size:11px;font-weight:900}
.dashboard-caption{text-align:center;color:var(--muted);font-size:14px;margin-top:14px}

@media(max-width:1000px){
  .dash-shell{grid-template-columns:1fr}
  .dash-side{display:none}
  .dash-kpis{grid-template-columns:repeat(2,1fr)}
  .dash-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .dash-head{display:block}
  .dash-actions{justify-content:flex-start;margin-top:12px}
  .dash-kpis{grid-template-columns:1fr}
  .comm{grid-template-columns:34px 80px 1fr}
  .comm time{display:none}
  .dashboard-light{width:calc(100% - 12px);border-radius:20px}
  .dash-main{padding:14px}
}


/* V3 - reuse validated screenshots */
.hero-media .wrap{max-width:1320px}
.hero-visual{
  background:transparent;
}
.hero-visual img{
  display:block;
  width:100%;
  height:auto;
  border-radius:30px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.shot-card img{
  background:#fff;
  border-bottom:1px solid var(--line);
  object-fit:contain;
  max-height:none;
}
.shot-card.large-shot img{
  aspect-ratio:auto;
}
.screenshot-note{
  margin-top:14px;
  color:var(--muted);
  font-size:14px;
}


/* ===============================================================
   V3.1 — harmonisation mise en page
   =============================================================== */

/* Une largeur de référence commune pour textes, titres et visuels */
:root{--max:1320px}

/* Les sections normales sont claires, les sections alternées gris très léger */
.section{background:var(--bg2)}
.section.alt{background:var(--bg);border-block:1px solid var(--line)}
.hero-media,.gallery-section{background:var(--bg2)}

/* Les titres/sous-titres utilisent toute la largeur disponible.
   On laisse le navigateur revenir à la ligne plutôt que couper le texte. */
.section-head,
.gallery-section .section-head{
  width:100%;
  max-width:100%;
}
.section-head h2,
.gallery-section .section-head h2,
.nowrap-title{
  white-space:normal !important;
  max-width:100%;
  text-wrap:balance;
  overflow-wrap:normal;
}
.section-head .lead{
  max-width:100%;
}
.section-head.center .lead{
  max-width:1100px;
}

/* Les visuels principaux utilisent exactement la même largeur que le contenu */
.hero-media .wrap{
  width:min(var(--max),calc(100% - 40px));
  max-width:none;
}
.hero-visual img{
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center;
}

/* Galerie : 2 colonnes parfaitement équilibrées */
.shot-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
.shot-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  padding:14px;
  overflow:hidden;
}
.shot-card img,
.shot-card.large-shot img{
  display:block;
  width:100%;
  height:clamp(300px,29vw,455px);
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  background:#f4f6f8;
  border:1px solid var(--line);
  border-radius:16px;
}
html[data-theme="dark"] .shot-card img,
html[data-theme="dark"] .shot-card.large-shot img{
  background:#101317;
}
.shot-card h3{
  margin:16px 4px 6px;
}
.shot-card p{
  margin:0 4px 4px;
  flex:1;
}
.screenshot-note{
  width:100%;
  max-width:100%;
}

/* Les longues étapes ne doivent plus sortir de l'écran */
.flow-step{min-width:0}
.flow.cols5,.flow.cols6{width:100%}

/* Harmonisation des cartes et arrière-plans */
.card,.shot-card,.mock{
  border-color:var(--line);
}
.card{background:var(--panel)}
.gallery-section .shot-card{background:var(--panel)}

/* Sur écrans intermédiaires, conserver les deux colonnes tant que possible */
@media(max-width:900px){
  .shot-grid{grid-template-columns:1fr}
  .shot-card img,
  .shot-card.large-shot img{
    height:auto;
    max-height:none;
  }
}


/* ===============================================================
   V3.2 — alignements, boutons et comportement clair/sombre
   =============================================================== */

/* Les grands titres restent centrés et sur une ligne quand la place le permet */
.section-head.center,
.home-center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section-head.center h2,
.home-center h2{
  width:100%;
  max-width:1320px;
  margin-left:auto;
  margin-right:auto;
  text-wrap:balance;
}
@media(min-width:1180px){
  .section-head.center h2,
  .home-center h2{
    white-space:nowrap;
    font-size:clamp(40px,3.7vw,58px);
  }
}
@media(max-width:1179px){
  .section-head.center h2,
  .home-center h2{
    white-space:normal;
  }
}

/* Boutons : le texte ne doit jamais sortir */
.btn,
.dash-action,
.small-btn{
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
  line-height:1.15;
  text-align:center;
  overflow-wrap:break-word;
}
@media(min-width:700px){
  .btn,
  .dash-action,
  .small-btn{
    white-space:nowrap;
  }
}
@media(max-width:699px){
  .btn,
  .dash-action,
  .small-btn{
    white-space:normal;
    height:auto;
    min-height:48px;
    padding-top:12px;
    padding-bottom:12px;
  }
}

/* Les sections doivent réellement suivre le thème */
html[data-theme="light"] .section,
html[data-theme="light"] .hero-media,
html[data-theme="light"] .gallery-section{
  background:#ffffff;
  color:#15171a;
}
html[data-theme="light"] .section.alt{
  background:#f5f6f7;
}
html[data-theme="dark"] .section,
html[data-theme="dark"] .hero-media,
html[data-theme="dark"] .gallery-section{
  background:#111316;
  color:#f7f7f5;
}
html[data-theme="dark"] .section.alt{
  background:#0b0c0e;
}

/* Les cartes suivent aussi le thème, sans fond noir accidentel en mode clair */
html[data-theme="light"] .card,
html[data-theme="light"] .shot-card,
html[data-theme="light"] .mock{
  background:#ffffff;
  color:#15171a;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .shot-card,
html[data-theme="dark"] .mock{
  background:#15181c;
  color:#f7f7f5;
}

/* Les captures restent lisibles sans être recadrées */
.shot-card img,
.hero-visual img{
  object-fit:contain;
  object-position:center;
}

/* Les CTA sont toujours centrés */
.hero-actions{
  justify-content:center;
  align-items:center;
}


/* ===============================================================
   SOSUX V4 — LIVE UI PREVIEWS
   All module mockups are HTML/CSS and follow the site theme.
   =============================================================== */
.live-preview{
  width:100%;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  background:var(--panel);
  box-shadow:var(--shadow);
}
.live-top{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 18px;
  border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--panel2) 88%,var(--panel));
}
.live-brand{display:flex;align-items:center;gap:10px;font-weight:900;min-width:0}
.live-brand .mini-logo{flex:0 0 auto}
.live-title-clip{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-dots{display:flex;gap:6px;flex:0 0 auto}
.live-dots i{width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--muted) 42%,transparent)}
.live-app{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  min-height:650px;
}
.live-app.context-layout{grid-template-columns:205px minmax(0,1fr) 285px}
.live-side{
  padding:18px 14px;
  border-right:1px solid var(--line);
  background:color-mix(in srgb,var(--panel2) 72%,var(--panel));
}
.live-side-title{
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  margin:7px 10px 11px;
}
.live-navitem{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  margin:4px 0;
  border-radius:13px;
  color:var(--muted);
  font-size:13px;
}
.live-navitem.active{
  color:#c95a00;
  background:var(--soft);
  box-shadow:inset 3px 0 0 var(--orange);
  font-weight:800;
}
html[data-theme="dark"] .live-navitem.active{color:#ff9d59}
.live-main{padding:20px;min-width:0;background:var(--panel)}
.live-context{
  padding:18px;
  border-left:1px solid var(--line);
  background:color-mix(in srgb,var(--panel2) 70%,var(--panel));
}
.live-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding-bottom:15px;
  border-bottom:1px solid var(--line);
}
.live-head h3{font-size:30px;margin:4px 0 4px}
.live-head p{font-size:14px;margin:0}
.live-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.live-btn{
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel2);
  color:var(--text);
  font-weight:800;
  font-size:12px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  line-height:1.15;
  max-width:100%;
}
.live-btn.orange{background:var(--orange);border-color:var(--orange);color:#111}
.live-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
.live-kpi{
  min-width:0;
  padding:15px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel2);
}
.live-kpi b{display:block;font-size:22px;margin-bottom:3px}
.live-kpi span{display:block;color:var(--muted);font-size:12px}
.live-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.live-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.live-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.live-card{
  min-width:0;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel2);
}
.live-card.white{background:var(--panel)}
.live-card h4{margin:0 0 10px;font-size:18px}
.live-card p{font-size:13px;margin:0}
.live-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.live-field{
  padding:10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel);
  min-width:0;
}
.live-field small{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}
.live-field strong{display:block;font-size:13px;overflow-wrap:anywhere}
.live-checks{display:grid;gap:8px;margin-top:12px}
.live-check{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px;
  border-radius:12px;
  background:var(--panel);
  border:1px solid var(--line);
  font-size:13px;
}
.live-tick{
  width:22px;height:22px;border-radius:7px;display:grid;place-items:center;
  flex:0 0 auto;background:rgba(54,181,111,.14);color:var(--green);font-weight:900
}
.live-pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 9px;border-radius:999px;background:var(--soft);
  color:#c95a00;font-size:10px;font-weight:900
}
html[data-theme="dark"] .live-pill{color:#ff9d59}
.live-pill.green{background:rgba(54,181,111,.13);color:var(--green)}
.live-list{display:grid;gap:8px}
.live-row{
  min-width:0;
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:13px;
  background:var(--panel);
}
.live-row strong{font-size:13px}
.live-row span{font-size:11px;color:var(--muted)}
.live-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.live-photo{
  aspect-ratio:16/10;
  border:1px dashed var(--line);
  border-radius:13px;
  background:linear-gradient(135deg,var(--panel3),var(--panel2));
  display:grid;place-items:center;color:var(--muted);font-size:11px;text-align:center
}
.live-context-card{
  padding:15px;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--panel);
  margin-bottom:12px;
}
.live-context-card h4{margin:0 0 10px}
.live-context-line{
  display:flex;justify-content:space-between;gap:10px;
  padding:8px 0;border-bottom:1px solid var(--line);font-size:12px
}
.live-context-line:last-child{border-bottom:0}
.live-context-line span{color:var(--muted);text-align:right}
.live-msg-list{display:grid;gap:12px;padding:15px 0}
.live-msg{display:flex;gap:9px;max-width:84%}
.live-msg.me{margin-left:auto;flex-direction:row-reverse}
.live-avatar{
  width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  flex:0 0 auto;background:var(--panel3);font-size:10px;font-weight:900
}
.live-bubble{
  padding:11px 12px;border:1px solid var(--line);border-radius:14px;
  background:var(--panel2);font-size:13px
}
.live-msg.me .live-bubble{background:var(--soft);border-color:rgba(255,106,0,.24)}
.live-meta{font-size:10px;color:var(--muted);margin-bottom:3px}
.live-system{
  padding:9px 11px;border:1px dashed rgba(255,106,0,.28);
  border-radius:12px;background:rgba(255,106,0,.06);color:var(--muted);
  text-align:center;font-size:11px
}
.live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:14px}
.live-stat{padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--panel2);text-align:center}
.live-stat b{display:block;font-size:22px}
.live-stat span{font-size:11px;color:var(--muted)}
.live-tx-list{display:grid;gap:8px;margin-top:13px}
.live-tx{
  display:grid;grid-template-columns:1fr 1.25fr .8fr;gap:10px;align-items:center;
  padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--panel2)
}
.live-tx strong{font-size:12px}
.live-tx small{display:block;color:var(--muted);font-size:10px}
.live-chips{display:flex;flex-wrap:wrap;gap:5px}
.live-chip{
  display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;
  background:var(--soft);font-size:10px;font-weight:850;color:#b95808
}
.live-chip.green{background:rgba(54,181,111,.12);color:#287d50}
.live-chip.purple{background:rgba(140,102,199,.13);color:#7146af}
html[data-theme="dark"] .live-chip{color:#ffad72}
html[data-theme="dark"] .live-chip.green{color:#78d7a1}
html[data-theme="dark"] .live-chip.purple{color:#c7a7ff}
.live-doc-pipeline{display:grid;gap:12px;margin-top:15px}
.live-doc-offer{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}
.live-doc-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.live-doc-box{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}
.live-doc-box.accent{border-color:rgba(255,106,0,.28);background:linear-gradient(135deg,rgba(255,106,0,.06),var(--panel2))}
.live-progress{height:8px;border-radius:999px;background:var(--panel3);overflow:hidden;margin-top:8px}
.live-progress span{display:block;height:100%;width:94%;background:var(--green)}
.live-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.live-category{
  padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)
}
.live-category .ico{font-size:27px;margin-bottom:8px}
.live-category strong{display:block;margin-bottom:5px}
.live-category p{font-size:12px}
.live-view-section{background:var(--bg2)}
.live-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.live-view-card{
  display:flex;flex-direction:column;min-width:0;height:100%;
  padding:14px;border:1px solid var(--line);border-radius:24px;background:var(--panel)
}
.live-view-toolbar{display:flex;justify-content:flex-end;margin-bottom:9px}
.live-expand{
  border:1px solid var(--line);background:var(--panel2);color:var(--text);
  border-radius:999px;padding:7px 11px;font-size:11px;font-weight:850;cursor:pointer
}
.live-screen{
  flex:1;min-height:360px;padding:15px;border:1px solid var(--line);
  border-radius:16px;background:color-mix(in srgb,var(--panel2) 76%,var(--panel));overflow:hidden
}
.live-view-card h3{margin:14px 4px 6px}
.live-view-card > p{margin:0 4px 4px}
.live-report{display:grid;grid-template-columns:1.3fr .7fr;gap:12px;height:100%}
.live-report-left,.live-report-right{display:grid;gap:9px;align-content:start}
.live-report-block{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.live-report-block strong{display:block;font-size:13px;margin-bottom:3px}
.live-report-block span{font-size:11px;color:var(--muted)}
.live-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.live-role{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.live-role strong{display:block;margin:8px 0 4px}
.live-role p{font-size:11px}
.live-value-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.live-value-big{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.live-value-big .amount{font-size:27px;font-weight:900}
.live-value-big small{color:var(--muted)}
.live-modal{
  position:fixed;inset:0;z-index:150;display:none;align-items:center;justify-content:center;
  padding:24px;background:rgba(0,0,0,.74)
}
.live-modal.open{display:flex}
.live-modal-box{
  position:relative;width:min(1500px,96vw);max-height:92vh;overflow:auto;
  background:var(--panel);border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 30px 90px rgba(0,0,0,.45)
}
.live-modal-content .live-screen{min-height:760px}
.live-modal-close{
  position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border:0;border-radius:50%;
  background:#111;color:white;font-size:23px;cursor:pointer
}
@media(max-width:1080px){
  .live-app,.live-app.context-layout{grid-template-columns:180px minmax(0,1fr)}
  .live-context{display:none}
  .live-kpis,.live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .live-view-grid{grid-template-columns:1fr}
  .live-app,.live-app.context-layout{grid-template-columns:1fr}
  .live-side{display:none}
  .live-grid2,.live-doc-row,.live-report,.live-value-grid{grid-template-columns:1fr}
  .live-grid3,.live-grid4,.live-category-grid,.live-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .live-head{display:block}
  .live-actions{justify-content:flex-start;margin-top:12px}
  .live-tx{grid-template-columns:1fr}
}
@media(max-width:560px){
  .live-grid3,.live-grid4,.live-category-grid,.live-role-grid,.live-kpis,.live-stats{grid-template-columns:1fr}
  .live-field-grid{grid-template-columns:1fr}
  .live-screen{min-height:300px}
}



/* V4.1 refinements: tighter typography, centered module copy, better gallery balance */
h1{font-size:clamp(40px,5.35vw,72px);line-height:1.02;letter-spacing:-.05em}
h2{font-size:clamp(30px,3.6vw,50px);line-height:1.08;letter-spacing:-.035em}
.lead{font-size:19px;max-width:820px}
.solution-detail .section-head{max-width:1020px;text-align:center;margin-left:auto;margin-right:auto}
.solution-detail .section-head .lead{margin-left:auto;margin-right:auto}
.solution-detail .section-head h2{margin-left:auto;margin-right:auto;max-width:18ch}
.solution-detail .section-head.compact-line{max-width:1300px}
.solution-detail .section-head.compact-line h2{max-width:none;font-size:clamp(28px,3vw,44px);white-space:nowrap;line-height:1.1}
.solution-detail .section-head.wide-copy h2{max-width:22ch}
.solution-detail .section-head.wide-copy p{max-width:900px;margin-left:auto;margin-right:auto}
.live-view-card h3,.live-view-card>p{text-align:center}
.live-view-card h3{font-size:18px}
.live-view-card>p{font-size:15px}
.live-view-grid{align-items:stretch}
.live-view-card{padding:14px 14px 18px}
.live-screen{min-height:360px;padding:14px}
.live-btn{white-space:normal;overflow-wrap:anywhere;word-break:normal}
.live-head h3{font-size:26px;line-height:1.08}
.live-head p{font-size:13px}
.live-kpi b{font-size:20px}
.live-card h4{font-size:17px}
.live-report-block strong{font-size:12px}
.live-row strong{overflow-wrap:anywhere}
.live-preview .eyebrow{font-size:10px}
.live-screen .live-preview{height:100%}
.live-screen .live-preview .live-app{min-height:0}
.live-summary{display:grid;gap:12px;height:100%}
.live-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.live-stat-box{padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--panel2)}
.live-stat-box b{display:block;font-size:22px;margin-bottom:4px}
.live-stat-box span{font-size:11px;color:var(--muted)}
.live-mini-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.live-mini-step{padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--panel2)}
.live-mini-step b{display:block;color:var(--orange);font-size:11px;letter-spacing:.08em;margin-bottom:7px}
.live-mini-step strong{display:block;font-size:16px;margin-bottom:4px}
.live-mini-step span{font-size:12px;color:var(--muted)}
.live-balance{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;height:100%}
.live-stack{display:grid;gap:10px}
.live-badge-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.live-note{padding:12px;border:1px dashed rgba(255,106,0,.25);background:rgba(255,106,0,.06);border-radius:14px;color:var(--muted);font-size:12px}
@media(max-width:1200px){
  .solution-detail .section-head.compact-line h2{white-space:normal}
}
@media(max-width:820px){
  .live-mini-flow,.live-balance,.live-summary-grid,.live-badge-col{grid-template-columns:1fr}
}


/* ===============================================================
   V5 — Brand system and module orbit icons
   =============================================================== */
.brand-sosux{gap:13px}
.brand-word{display:inline-flex;align-items:center;letter-spacing:-.02em}
.sosux-mark{
  --size:42px;
  position:relative;display:inline-grid;place-items:center;
  width:var(--size);height:var(--size);border-radius:50%;
  border:6px solid var(--orange);color:var(--orange);flex:0 0 auto;
  box-shadow:0 10px 24px rgba(255,106,0,.16), inset 0 0 0 1px rgba(255,255,255,.15);
  background:color-mix(in srgb,var(--panel) 92%, transparent);
}
.sosux-mark:before,.sosux-mark:after{
  content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:var(--orange);
  box-shadow:0 4px 12px rgba(255,106,0,.25)
}
.sosux-mark:before{right:-3px;top:4px}
.sosux-mark:after{left:-2px;bottom:4px}
.sosux-mark-inner{font-weight:950;font-size:24px;line-height:1;transform:translateY(-1px)}
.sosux-mark.large{--size:86px;border-width:9px}
.sosux-mark.large:before,.sosux-mark.large:after{width:18px;height:18px}
.sosux-mark.large .sosux-mark-inner{font-size:48px}
.hero-lockup{display:flex;justify-content:center;margin-top:30px}
.hero-lockup-badge{
  display:flex;align-items:center;gap:18px;padding:18px 22px;border-radius:999px;
  background:color-mix(in srgb,var(--panel) 90%,transparent);border:1px solid var(--line);
  box-shadow:var(--shadow)
}
.hero-lockup-text{display:grid;gap:4px;text-align:left}
.hero-lockup-text strong{font-size:34px;letter-spacing:-.035em;line-height:1}
.hero-lockup-text span{color:var(--muted);font-size:14px;letter-spacing:.16em;text-transform:uppercase}
.modules-grid{align-items:stretch}
.module-head{display:grid;grid-template-columns:90px 1fr;gap:16px;align-items:center;margin-bottom:8px}
.module-head h3{margin:8px 0 0}
.module-orbit{
  position:relative;display:grid;place-items:center;width:88px;height:88px;border-radius:50%;
  border:8px solid var(--orange);color:var(--orange);background:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0));
  box-shadow:0 14px 34px rgba(255,106,0,.12)
}
.module-orbit .node{position:absolute;width:14px;height:14px;border-radius:50%;background:var(--orange)}
.module-orbit .node.a{right:-4px;top:8px}
.module-orbit .node.b{left:-1px;bottom:7px}
.module-orbit .glyph{font-size:36px;line-height:1;filter:saturate(1.05)}
.module-orbit .glyph.bars{font-size:28px;letter-spacing:-.12em;font-weight:900}
.module-card{display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-height:290px}
.module-card .more{margin-top:auto;padding-top:18px}
.module-card:after{width:180px;height:180px;right:-48px;bottom:-54px;background:radial-gradient(circle,rgba(255,106,0,.13),transparent 70%)}
html[data-theme="dark"] .module-card{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--panel);
}
html[data-theme="dark"] .module-card:before{
  content:"";position:absolute;inset:auto 18px 16px 18px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,106,0,.18),transparent)
}
html[data-theme="dark"] .hero-lockup-badge{
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)), var(--panel);
}
html[data-theme="light"] .hero-lockup-badge,
html[data-theme="light"] .module-card{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.98));
}
html[data-theme="light"] .module-orbit{background:linear-gradient(180deg, rgba(255,170,115,.12), rgba(255,255,255,0))}
@media(max-width:820px){
  .module-head{grid-template-columns:72px 1fr;gap:14px}
  .module-orbit{width:72px;height:72px;border-width:7px}
  .module-orbit .glyph{font-size:30px}
}
@media(max-width:640px){
  .hero-lockup-badge{padding:14px 18px;border-radius:28px;display:grid;justify-items:center;text-align:center}
  .hero-lockup-text{text-align:center}
  .hero-lockup-text strong{font-size:28px}
  .module-head{grid-template-columns:1fr;justify-items:start}
}


/* V5.1 — exact vector brand integration (no emoji pictograms) */
.brand-sosux{display:flex;align-items:center;gap:10px}
.brand-sosux .brand-logo-img{width:43px;height:43px;display:block;flex:0 0 auto}
.brand-sosux .brand-word{font-size:23px;font-weight:950;letter-spacing:-.035em;color:var(--text)}
.brand-sosux .brand-word b{color:var(--orange)}
.module-head{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:14px}
.module-logo-img{width:96px;height:96px;display:block;filter:drop-shadow(0 12px 24px rgba(255,106,0,.12))}
.module-card{min-height:330px;padding:28px;position:relative;overflow:hidden}
.module-card .tag{margin-bottom:5px}
.module-card h3{font-size:21px;line-height:1.16;margin:7px 0 0}
.module-card p{font-size:16px}
.modules-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.module-card::after{content:"";position:absolute;right:-55px;bottom:-70px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(255,106,0,.14),transparent 67%);pointer-events:none}
.solution-identity{display:flex;justify-content:center;margin-bottom:20px}
.solution-logo-img{width:110px;height:110px;display:block;filter:drop-shadow(0 16px 32px rgba(255,106,0,.14))}
.hero-lockup{display:none!important}
html[data-theme="dark"] .module-card{background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0)),var(--panel)}
html[data-theme="dark"] .module-logo-img,html[data-theme="dark"] .solution-logo-img,html[data-theme="dark"] .brand-logo-img{filter:drop-shadow(0 0 18px rgba(255,106,0,.18))}
@media(max-width:1100px){.modules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.modules-grid{grid-template-columns:1fr}.module-head{grid-template-columns:82px 1fr}.module-logo-img{width:76px;height:76px}.module-card{min-height:280px;padding:22px}}

/* V5.2 — approved generated logo artwork integrated as transparent PNG assets */
.brand-logo-img{object-fit:contain}
.module-logo-img,.solution-logo-img{object-fit:contain}
html[data-theme="light"] .module-logo-img,html[data-theme="light"] .solution-logo-img,html[data-theme="light"] .brand-logo-img{filter:drop-shadow(0 12px 22px rgba(255,106,0,.10))}
html[data-theme="dark"] .module-logo-img,html[data-theme="dark"] .solution-logo-img,html[data-theme="dark"] .brand-logo-img{filter:drop-shadow(0 0 18px rgba(255,106,0,.25))}

/* V5.3 icon polish */
.brand-logo-img,
.module-logo-img,
.solution-logo-img{
  display:block;
  object-fit:contain;
  background:transparent;
}
.module-logo-img{
  width:96px;
  height:96px;
  flex:0 0 96px;
  filter: drop-shadow(0 8px 22px rgba(255,122,0,.16));
}
.solution-logo-img{
  width:118px;
  height:118px;
  filter: drop-shadow(0 10px 26px rgba(255,122,0,.18));
}
.brand-logo-img{
  width:42px;
  height:42px;
}

/* V5.4 — module icon harmonization */
.module-head{
  grid-template-columns:110px minmax(0,1fr);
  gap:20px;
  align-items:start;
}
.module-logo-img{
  width:100px;
  height:100px;
  flex:0 0 100px;
}
.module-card h3{
  font-size:20px;
  line-height:1.14;
}
.module-card .tag{
  margin-bottom:7px;
}
@media(max-width:720px){
  .module-head{grid-template-columns:84px 1fr;gap:16px}
  .module-logo-img{width:78px;height:78px;flex-basis:78px}
}

/* V5.5 — premium pass: harmonisation finale, light/dark polish, refined spacing */
html,body{min-height:100%}
body{position:relative;background:var(--bg);}
body::before,
body::after{
  content:"";
  position:fixed;
  border-radius:50%;
  pointer-events:none;
  filter:blur(10px);
  z-index:-1;
  opacity:1;
}
html[data-theme="light"] body{
  background:
    radial-gradient(circle at 16% -4%, rgba(255,145,77,.10), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(255,145,77,.08), transparent 24%),
    linear-gradient(180deg, #fafbfc 0%, #f5f6f7 45%, #f7f7f8 100%);
}
html[data-theme="light"] body::before{
  width:440px;height:440px;top:-130px;right:-110px;
  background:radial-gradient(circle, rgba(255,106,0,.18), rgba(255,106,0,.05) 42%, transparent 72%);
}
html[data-theme="light"] body::after{
  width:420px;height:420px;left:-140px;bottom:-140px;
  background:radial-gradient(circle, rgba(255,106,0,.12), rgba(255,106,0,.04) 45%, transparent 72%);
}
html[data-theme="dark"] body{
  background:
    radial-gradient(circle at 14% -8%, rgba(255,115,24,.10), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255,115,24,.08), transparent 26%),
    linear-gradient(180deg, #090a0c 0%, #0b0c0e 48%, #0a0c10 100%);
}
html[data-theme="dark"] body::before{
  width:520px;height:520px;top:-160px;right:-100px;
  background:radial-gradient(circle, rgba(255,106,0,.16), rgba(255,106,0,.05) 42%, transparent 70%);
}
html[data-theme="dark"] body::after{
  width:520px;height:520px;left:-170px;bottom:-170px;
  background:radial-gradient(circle, rgba(255,106,0,.12), rgba(255,106,0,.04) 42%, transparent 70%);
}
.header{
  box-shadow:0 10px 35px rgba(0,0,0,.04);
}
html[data-theme="dark"] .header{
  box-shadow:0 10px 35px rgba(0,0,0,.24);
}
.card,.module-card,.shot-card,.mock,.dashboard-light,.cta,.dash-panel,.dash-kpi,.flow-step,.pipe{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.card:hover,.module-card:hover,.shot-card:hover,.mock:hover,.flow-step:hover,.pipe:hover{
  transform:translateY(-2px);
}
html[data-theme="light"] .card,
html[data-theme="light"] .shot-card,
html[data-theme="light"] .mock,
html[data-theme="light"] .dashboard-light,
html[data-theme="light"] .flow-step,
html[data-theme="light"] .pipe{
  box-shadow:0 18px 42px rgba(17,19,24,.06);
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .shot-card,
html[data-theme="dark"] .mock,
html[data-theme="dark"] .dashboard-light,
html[data-theme="dark"] .flow-step,
html[data-theme="dark"] .pipe{
  box-shadow:0 18px 48px rgba(0,0,0,.26);
}
.hero.light-intro,
.section.alt{
  position:relative;
  overflow:hidden;
}
.hero.light-intro::before,
.section.alt::before{
  content:"";
  position:absolute;
  inset:auto;
  pointer-events:none;
  border-radius:50%;
}
html[data-theme="light"] .hero.light-intro::before{
  width:440px;height:440px;right:-160px;top:-110px;
  background:radial-gradient(circle, rgba(255,106,0,.10), transparent 68%);
}
html[data-theme="light"] .section.alt::before{
  width:420px;height:420px;left:-160px;bottom:-220px;
  background:radial-gradient(circle, rgba(255,106,0,.08), transparent 70%);
}
html[data-theme="dark"] .hero.light-intro::before{
  width:520px;height:520px;right:-180px;top:-160px;
  background:radial-gradient(circle, rgba(255,106,0,.10), transparent 68%);
}
html[data-theme="dark"] .section.alt::before{
  width:460px;height:460px;left:-160px;bottom:-220px;
  background:radial-gradient(circle, rgba(255,106,0,.08), transparent 70%);
}
.module-card{
  min-height:336px;
  border-color:color-mix(in srgb,var(--line) 88%, rgba(255,106,0,.16));
}
.module-card .tag{
  align-self:flex-start;
  padding:7px 11px;
  letter-spacing:.03em;
}
.module-head{
  grid-template-columns:112px minmax(0,1fr);
  gap:20px;
  align-items:center;
  margin-bottom:16px;
}
.module-logo-img{
  width:100px;
  height:100px;
  flex:0 0 100px;
  object-fit:contain;
  image-rendering:auto;
}
.module-card h3{
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.module-card p{
  margin-bottom:0;
}
.module-card p + p{
  margin-top:6px;
}
.module-card .more{
  margin-top:auto;
  padding-top:22px;
  font-size:16px;
  letter-spacing:-.01em;
}
html[data-theme="light"] .module-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    linear-gradient(135deg, rgba(255,106,0,.045), transparent 38%);
}
html[data-theme="light"] .module-card:hover{
  box-shadow:0 24px 56px rgba(17,19,24,.08);
  border-color:color-mix(in srgb,var(--line) 72%, rgba(255,106,0,.32));
}
html[data-theme="dark"] .module-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    linear-gradient(135deg, rgba(255,106,0,.06), transparent 42%),
    var(--panel);
}
html[data-theme="dark"] .module-card:hover{
  box-shadow:0 26px 60px rgba(0,0,0,.34);
  border-color:color-mix(in srgb,var(--line) 68%, rgba(255,106,0,.32));
}
html[data-theme="dark"] .module-card::after{
  background:radial-gradient(circle, rgba(255,106,0,.16), transparent 68%);
}
.shot-card,
.mock{
  overflow:hidden;
}
.cta{
  position:relative;
  overflow:hidden;
}
.cta::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-160px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.18), transparent 66%);
  pointer-events:none;
}
.footer{
  position:relative;
}
@media(max-width:1100px){
  .module-head{grid-template-columns:96px minmax(0,1fr)}
  .module-logo-img{width:88px;height:88px;flex-basis:88px}
}
@media(max-width:720px){
  .module-card{min-height:unset}
  .module-head{grid-template-columns:84px 1fr;gap:16px;align-items:center}
  .module-logo-img{width:76px;height:76px;flex-basis:76px}
  .module-card h3{font-size:19px}
}
@media(max-width:580px){
  body::before,body::after,.hero.light-intro::before,.section.alt::before,.cta::after{display:none}
}

/* V5.6 — navigation stability + theme aware module pictograms */
.dropdown{position:relative}
.dropdown::after{content:"";position:absolute;left:-10px;right:-10px;top:100%;height:18px}
.dropdown-menu{top:calc(100% + 10px);left:-18px;z-index:200;display:none}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu{display:grid;gap:5px}
.dropdown > a{position:relative;z-index:2}
.solution-identity .solution-logo-img{width:110px;height:110px;object-fit:contain;display:block}
.module-logo-img,.solution-logo-img{image-rendering:auto}


/* V5.7 — final visual rule */
.dropdown{padding-bottom:12px;margin-bottom:-12px}
.dropdown-menu{top:calc(100% + 4px);min-width:320px}
.dropdown-menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.dropdown > a{display:inline-flex;align-items:center;height:32px}
.module-logo-img,.solution-logo-img{display:block;object-fit:contain;filter:none}
.module-head{align-items:center}
.module-head .tag{margin-bottom:10px}
.module-card h3{margin-bottom:0}
.module-card p strong{display:block;margin-top:4px}
