/* Merik suite: shared style.
   1. .suite-bar  – the thin bar at the top of every page (also on the imported product pages).
   2. body.suite  – full style for the suite's own pages (home, viewer). Same colours as the product sites. */

/* 1. Suite bar. Namespaced so it never clashes with a product page's own styles.
   It stays at the top while scrolling. The product pages' own sticky nav sits right below it,
   and anchor links land below both (scroll-padding on html, the pages' own scroll-margins are reset). */
:root{--suite-h:39px;--suite-nav-h:0px}
html:has(body > .suite-bar ~ nav){--suite-nav-h:62px}
@media (max-width:479px){html:has(body > .suite-bar ~ nav.top){--suite-nav-h:100px}}
html{scroll-padding-top:calc(var(--suite-h) + var(--suite-nav-h) + 14px)}
[id]{scroll-margin-top:0}
body > .suite-bar{position:sticky;top:0;z-index:1000}
body > .suite-bar ~ nav{top:var(--suite-h)}
body > .suite-bar ~ .layout > aside{top:calc(var(--suite-h) + 64px);max-height:calc(100vh - var(--suite-h) - 80px)}
.suite-bar{background:#06070a;border-bottom:1px solid #1d212b;
  font:14px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.suite-bar .suite-in{max-width:1120px;margin:0 auto;padding:0 20px;height:38px;display:flex;align-items:center;gap:20px;
  overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.suite-bar .suite-in::-webkit-scrollbar{display:none}
.suite-bar .suite-in a{color:#9aa3b5;text-decoration:none}
.suite-bar .suite-in a:hover{color:#f2f4f8;text-decoration:none}
.suite-bar .suite-in a[aria-current="page"]{color:#fff;font-weight:750}
.suite-bar .suite-in .suite-home{color:#c9cfdb;font-weight:750;letter-spacing:.08em;text-transform:uppercase;font-size:12.5px;margin-right:auto}
@media (max-width:520px){.suite-bar .suite-in{gap:11px;padding:0 12px;font-size:13px}.suite-bar .suite-in .suite-home{margin-right:6px}}

/* 2. Suite pages */
body.suite{
  --bg:#0b0c10; --panel:#14161d; --panel2:#1b1e27; --line:#262a36;
  --text:#f2f4f8; --muted:#9aa3b5; --blue:#1876ff; --blue2:#5aa9ff; --yellow:#ffd23f; --orange:#ff8a1f;
  margin:0;background:var(--bg);color:var(--text);
  font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}
.suite *{box-sizing:border-box}
.suite a{color:var(--blue2);text-decoration:none}
.suite a:hover{text-decoration:underline}
.suite .wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.suite h1{font-size:clamp(36px,6vw,64px);line-height:1.05;margin:0 0 18px;letter-spacing:-.02em}
.suite h2{font-size:clamp(26px,3.6vw,38px);line-height:1.15;margin:0 0 14px;letter-spacing:-.01em}
.suite h3{font-size:20px;margin:0 0 6px}
.suite p{margin:0 0 14px}
.suite .kicker{color:var(--blue2);font-weight:700;font-size:14px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px}
.suite .sub{color:var(--muted);font-size:19px;max-width:720px}
.suite .small{color:var(--muted);font-size:15px}
.suite .hero{padding:84px 0 56px;text-align:center}
.suite .hero .sub{margin:0 auto 28px}
.suite .hero .logos{display:flex;justify-content:center;gap:14px;margin-bottom:30px}
.suite .hero .logos img{width:64px;height:64px;border-radius:15px;box-shadow:0 8px 30px rgba(0,0,0,.45)}
.suite section{padding:56px 0;border-top:1px solid var(--line)}
.suite .btn{display:inline-block;border-radius:12px;padding:13px 24px;font-weight:650;font-size:16px;border:1px solid var(--line);color:var(--text);background:var(--panel2)}
.suite .btn:hover{text-decoration:none;border-color:#3a4052}
.suite .btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.suite .btn.primary:hover{background:#2f86ff}
.suite .btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

.suite .apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:28px}
.suite .app{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px;color:var(--text)}
.suite a.app:hover{text-decoration:none;border-color:#3a4052;background:#171a22}
.suite .app img{width:56px;height:56px;border-radius:13px;margin-bottom:14px}
.suite .app .plat{color:var(--muted);font-size:14px;margin-bottom:10px}
.suite .app p{color:var(--muted);font-size:16px;flex:1}
.suite .app .go{color:var(--blue2);font-weight:650;font-size:15px}
.suite .badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--yellow);border:1px solid rgba(255,210,63,.4);border-radius:999px;padding:2px 9px;margin-left:6px;vertical-align:2px}

.suite .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:24px;counter-reset:step}
.suite .step{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}
.suite .step::before{counter-increment:step;content:counter(step);display:inline-grid;place-items:center;width:30px;height:30px;
  border-radius:50%;background:var(--blue);color:#fff;font-weight:700;font-size:15px;margin-bottom:12px}
.suite .step p{color:var(--muted);font-size:16px;margin:0}

.suite .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:24px}
.suite .card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px}
.suite .card p{color:var(--muted);font-size:16px;margin:0}

.suite footer{border-top:1px solid var(--line);padding:30px 0 44px;color:var(--muted);font-size:15px}
.suite footer .wrap{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:space-between}
.suite footer a{color:var(--muted)}
.suite footer a:hover{color:var(--text)}

@media (max-width:600px){
  .suite .hero{padding:56px 0 40px}
  .suite .wrap{padding:0 16px}
  .suite section{padding:44px 0}
}

/* 3. Stage screenshots (home and /merik): one wide iPad, two below. Not namespaced under .suite, the Merik page uses it too. */
.stage-shots{display:grid;gap:34px 26px;grid-template-columns:1fr 1.9fr;margin-top:34px;align-items:start}
.stage-shots figure{margin:0}
.stage-shots .ss-wide{grid-column:1/-1}
.stage-shots .ss-wide img{max-width:960px;margin:0 auto}
.stage-shots img{display:block;width:100%;height:auto;border:0;border-radius:0;background:none}
.stage-shots figcaption{color:#9aa3b5;font-size:15px;line-height:1.5;margin-top:14px;text-align:center;max-width:620px;margin-left:auto;margin-right:auto}
.stage-shots figcaption b{color:#f2f4f8}
.ss-note,.suite .ss-note{color:#9aa3b5;font-size:15px;text-align:center;max-width:680px;margin:28px auto 0}
@media (max-width:700px){.stage-shots{grid-template-columns:1fr}}
