
:root{
  --bg:#08101f;--panel:#0f1b34;--panel-2:#122241;--panel-3:#172a4f;--text:#ecf2ff;--muted:#9fb3d9;--line:#22365f;--accent:#2f80ff;--accent-2:#00c389;--shadow:0 20px 40px rgba(0,0,0,.28);--max:1280px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,#07101d 0%, #0b1530 100%);color:var(--text)}a{color:inherit;text-decoration:none}
code{background:rgba(255,255,255,.06);padding:.2rem .45rem;border-radius:.45rem;font-size:.92em}
.mobile-menu-button{position:fixed;top:16px;left:16px;z-index:1001;display:none;border:1px solid var(--line);background:rgba(8,16,31,.92);color:var(--text);border-radius:12px;width:48px;height:48px;font-size:1.2rem;box-shadow:var(--shadow)}
.sidebar{position:fixed;inset:0 auto 0 0;width:340px;padding:24px 20px;background:rgba(5,10,22,.94);border-right:1px solid rgba(255,255,255,.06);backdrop-filter:blur(14px);overflow:auto}
.sidebar-header{margin-bottom:20px}.logo-text{font-size:34px;font-weight:900;letter-spacing:-0.6px;display:flex;align-items:center}.logo-main{color:#fff}.logo-accent{color:#00e08a}.logo-underline{width:132px;height:6px;background:linear-gradient(90deg,#00e08a,#00c874);border-radius:6px;margin:10px 0 18px}.sidebar-subtitle h1{margin:0;font-size:1.15rem}.sidebar-subtitle p{margin:4px 0 0;color:var(--muted);font-size:.92rem}
.sidebar-search input{width:100%;padding:.95rem 1rem;border-radius:16px;border:1px solid var(--line);background:var(--panel);color:var(--text);outline:none}.sidebar-search input:focus{border-color:rgba(47,128,255,.45);box-shadow:0 0 0 4px rgba(47,128,255,.12)}
.sidebar-nav{margin-top:18px;display:flex;flex-direction:column;gap:10px}.nav-section-label{font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8eb0ff;margin-top:8px;padding:.2rem .25rem}
.nav-group{border-top:1px solid rgba(255,255,255,.06);padding-top:10px}.nav-group-toggle{width:100%;text-align:left;background:none;border:none;color:#c9d9ff;font-weight:700;font-size:.93rem;letter-spacing:.02em;padding:.65rem .25rem;cursor:pointer}.nav-group-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.nav-group-list li a{display:block;padding:.65rem .9rem;border-radius:12px;color:var(--muted);border:1px solid transparent}.nav-group-list li a:hover,.nav-group-list li a.active{background:rgba(47,128,255,.12);color:var(--text);border-color:rgba(47,128,255,.35)}
.sidebar-footer{margin-top:20px;border-top:1px solid rgba(255,255,255,.06);padding-top:16px;color:var(--muted);font-size:.88rem}
.page-shell{margin-left:340px;min-height:100vh}.topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 32px;background:rgba(8,16,31,.84);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.06)}.topbar h2{margin:0;font-size:1.4rem}.eyebrow{display:inline-block;margin-bottom:.5rem;color:#86a8ff;font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.topbar-button,.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.1rem;border-radius:14px;font-weight:700}.topbar-button,.primary-button{background:linear-gradient(135deg,var(--accent),#5b8cff);color:#fff;box-shadow:var(--shadow)}.secondary-button{background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--text)}
.content{width:min(var(--max), calc(100% - 48px));margin:0 auto;padding:32px 0 80px}.hero{display:grid;grid-template-columns:1.2fr .9fr;gap:24px;align-items:stretch;margin-bottom:28px}.hero-copy h2{font-size:clamp(2rem,3vw,3rem);line-height:1.06;margin:.25rem 0 1rem;max-width:14ch}.hero-copy p{color:var(--muted);font-size:1.05rem;line-height:1.7;max-width:65ch}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.hero-panel,.content-card{background:linear-gradient(180deg,var(--panel),var(--panel-2));border:1px solid rgba(255,255,255,.06);border-radius:24px;box-shadow:var(--shadow)}.hero-panel{padding:18px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;height:100%}.mini-card{padding:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.05);border-radius:18px}.mini-card h3{margin:0 0 .55rem;font-size:1rem}.mini-card p{margin:0;color:var(--muted);line-height:1.55;font-size:.94rem}
.overview-section{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}.doc-section{margin:42px 0;scroll-margin-top:92px}.section-header h2{margin:.25rem 0 1rem;font-size:1.9rem}.purpose{margin:0 0 18px;color:var(--muted);line-height:1.75;max-width:88ch}.section-media{margin-bottom:20px}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery figure{margin:0}.gallery img,.section-media img{width:100%;display:block;border-radius:22px;border:1px solid rgba(255,255,255,.08);box-shadow:var(--shadow);cursor:zoom-in}
.section-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.content-card{padding:20px}.content-card h3{margin-top:0;margin-bottom:14px;font-size:1.1rem}.guidance-card{margin-top:20px}.bullet-list{margin:0;padding-left:1.2rem;color:var(--muted);line-height:1.75}.table-wrap{overflow:auto}table{width:100%;border-collapse:separate;border-spacing:0;min-width:600px}thead th{text-align:left;font-size:.92rem;color:#cfe0ff;padding:12px 14px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.08)}tbody td{vertical-align:top;padding:14px;color:var(--muted);line-height:1.6;border-bottom:1px solid rgba(255,255,255,.06)}tbody td:first-child{color:#edf3ff;font-weight:600;width:32%}
.site-footer{margin-top:80px;padding:40px 20px;background:linear-gradient(180deg,#0b1c3a,#071428);border-top:1px solid rgba(255,255,255,.05)}.footer-container{max-width:1100px;margin:0 auto;color:#cbd5e1}.footer-brand h3{color:#fff;font-size:18px;margin-bottom:10px}.footer-brand p{font-size:14px;line-height:1.6;max-width:720px;color:#94a3b8}.footer-links{margin-top:20px}.footer-links p{font-weight:600;color:#fff;margin-bottom:4px}.footer-links span{font-size:13px;color:#94a3b8}.footer-bottom{margin-top:30px;padding-top:15px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:#64748b}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.82);display:none;align-items:center;justify-content:center;padding:32px;z-index:1100}.lightbox.open{display:flex}.lightbox img{max-width:min(1400px,92vw);max-height:88vh;border-radius:22px;box-shadow:var(--shadow)}.lightbox-close{position:absolute;top:22px;right:22px;border:none;background:rgba(255,255,255,.08);color:#fff;width:52px;height:52px;border-radius:50%;font-size:2rem;cursor:pointer}
@media (max-width: 1200px){.gallery{grid-template-columns:1fr}.hero,.overview-section,.section-grid,.config-grid{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.hero-copy h2{max-width:none}}
@media (max-width: 860px){.mobile-menu-button{display:grid;place-items:center}.sidebar{transform:translateX(-100%);transition:transform .24s ease;z-index:1000;width:min(90vw,340px)}.sidebar.open{transform:translateX(0)}.page-shell{margin-left:0}.topbar{padding:20px 24px 20px 76px}.content{width:min(var(--max), calc(100% - 28px))}.gallery{grid-template-columns:1fr}}


/* Premium navigation + role filters */
.nav-section-label{
  margin: 10px 0 2px;
  padding: 6px 4px;
  color:#7ea4ff;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.nav-group-toggle{
  position:relative;
  padding:.8rem .8rem .8rem 2.4rem;
  border-radius:14px;
  transition:background .2s ease, color .2s ease;
}
.nav-group-toggle:hover{background:rgba(255,255,255,.04);color:#fff}
.nav-group-toggle::before{
  position:absolute;
  left:.9rem;
  top:50%;
  transform:translateY(-50%);
  opacity:.95;
}
.nav-group:nth-of-type(1) .nav-group-toggle::before{content:"🏁"}
.nav-group:nth-of-type(2) .nav-group-toggle::before{content:"🧾"}
.nav-group:nth-of-type(3) .nav-group-toggle::before{content:"🏷️"}
.nav-group:nth-of-type(4) .nav-group-toggle::before{content:"🍽️"}
.nav-group:nth-of-type(5) .nav-group-toggle::before{content:"🚚"}
.nav-group:nth-of-type(6) .nav-group-toggle::before{content:"👥"}
.nav-group:nth-of-type(7) .nav-group-toggle::before{content:"🛒"}
.nav-group:nth-of-type(8) .nav-group-toggle::before{content:"🔥"}
.nav-group:nth-of-type(9) .nav-group-toggle::before{content:"📊"}
.nav-group:nth-of-type(10) .nav-group-toggle::before{content:"📈"}
.nav-group:nth-of-type(11) .nav-group-toggle::before{content:"💰"}
.nav-group:nth-of-type(12) .nav-group-toggle::before{content:"🧮"}
.nav-group:nth-of-type(13) .nav-group-toggle::before{content:"📦"}
.nav-group:nth-of-type(14) .nav-group-toggle::before{content:"🚛"}
.nav-group:nth-of-type(15) .nav-group-toggle::before{content:"🧑‍💼"}
.nav-group:nth-of-type(16) .nav-group-toggle::before{content:"💸"}
.nav-group:nth-of-type(17) .nav-group-toggle::before{content:"🔗"}

.role-toolbar{
  display:grid;
  grid-template-columns:1.1fr 1.4fr;
  gap:18px;
  margin:0 0 28px;
  padding:22px;
  background:linear-gradient(180deg, rgba(15,27,52,.98), rgba(18,34,65,.95));
  border:1px solid rgba(255,255,255,.07);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.role-toolbar h3{margin:.2rem 0 .55rem;font-size:1.25rem}
.role-toolbar p{margin:0;color:var(--muted);line-height:1.65}
.role-filter-chips{display:flex;flex-wrap:wrap;gap:10px;align-content:flex-start}
.role-chip{
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
  color:var(--text);
  border-radius:999px;
  padding:.78rem 1rem;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}
.role-chip:hover{background:rgba(255,255,255,.07); transform:translateY(-1px)}
.role-chip.active{
  background:linear-gradient(135deg, rgba(47,128,255,.22), rgba(0,195,137,.18));
  border-color:rgba(86,154,255,.38);
  color:#fff;
}
.doc-section.is-hidden{display:none}
.section-badges{margin:0 0 16px}
.section-badges span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:.5rem .8rem;
  border-radius:999px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  color:#cfe0ff;
  font-size:.84rem;
  font-weight:700;
}

.media-disclosure{
  background:linear-gradient(180deg, rgba(12,22,43,.92), rgba(10,19,37,.96));
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.media-disclosure summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px;
  font-weight:700;
  color:#eef4ff;
}
.media-disclosure summary::-webkit-details-marker{display:none}
.media-disclosure summary::after{
  content:"Show screenshot";
  color:#9fc0ff;
  font-size:.92rem;
  font-weight:600;
}
.media-disclosure[open] summary::after{content:"Hide screenshot"}
.media-disclosure .section-media{margin:0;padding:0 18px 18px}
.section-media img{transition:transform .22s ease, box-shadow .22s ease}
.section-media img:hover{transform:translateY(-2px)}

.content-card, .hero-panel, .role-toolbar{
  backdrop-filter: blur(10px);
}
.site-footer{
  border-radius:24px 24px 0 0;
}

@media (max-width: 1100px){
  .role-toolbar{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .role-toolbar{padding:18px;border-radius:20px}
  .role-filter-chips{gap:8px}
  .role-chip{width:100%;text-align:left}
}


/* ===== Premium preview system ===== */
.section-preview-block{
  margin: 0 0 24px;
}
.section-preview-copy h3{
  margin:0 0 10px;
  font-size:1.5rem;
  color:#fff;
}
.section-preview-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
  max-width:62ch;
}
.section-preview-top{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(360px, 1.05fr);
  gap:28px;
  align-items:start;
}
.section-preview-main{
  min-width:0;
}
.hero-shot-card,
.thumb-shot-card,
.single-shot{
  margin:0;
  padding:14px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg, rgba(15,27,52,.98), rgba(18,34,65,.94));
  box-shadow:var(--shadow);
}
.hero-shot-card img,
.thumb-shot-card img,
.single-shot img{
  width:100%;
  display:block;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.06);
  background:#ffffff;
  cursor:zoom-in;
}
.hero-shot-card img{
  height:auto;
  object-fit:contain;
}
.single-shot{
  margin-top:18px;
}
.single-shot img{
  max-height:900px;
  object-fit:contain;
}
.hero-shot-card figcaption,
.thumb-shot-card figcaption,
.single-shot figcaption{
  margin-top:10px;
  color:#d6e3ff;
  font-size:.95rem;
  line-height:1.55;
  font-weight:600;
}
.more-screens{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(12,22,43,.90), rgba(10,19,37,.95));
  overflow:hidden;
  box-shadow:var(--shadow);
}
.more-screens summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  font-weight:700;
  color:#eef4ff;
}
.more-screens summary::-webkit-details-marker{display:none}
.more-screens summary::before{
  content:"▸";
  display:inline-block;
  color:#9fc0ff;
  transition:transform .18s ease;
}
.more-screens[open] summary::before{transform:rotate(90deg)}
.more-screens-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:18px;
  padding:0 14px 14px;
}
.thumb-shot-card img{
  max-height:250px;
  object-fit:contain;
}
/* Old gallery rules neutralized */
.gallery{display:block;gap:0}
.gallery figure{margin:0}
@media (max-width: 1180px){
  .section-preview-top{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .section-preview-copy h3{font-size:1.25rem}
  .more-screens-grid{grid-template-columns:1fr}
}
