/* Shared styles for public pages (landing, demo store, docs, track) */
:root { --bg:#ffffff; --soft:#f4f7fc; --soft2:#eef3fb; --ink:#0b1b33; --mute:#56657c; --line:#e2e8f1; --brand:#2563eb; --brand2:#1d4ed8;
        --navy:#0a1730; --navy2:#11224a; --accent:#0fb37b; --accent2:#0a8f62; --warm:#f59e0b; }
* { box-sizing:border-box; } [hidden] { display:none !important; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body { margin:0; background:var(--bg); color:var(--ink); font:16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img, svg { display:block; }
.wrap { max-width:1240px; margin:0 auto; padding:0 24px; }
.hl { color:var(--accent); }
.btn { display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:10px; background:var(--brand); color:#fff; font-weight:650; font-size:15px; border:1px solid var(--brand); transition:transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background:var(--brand2); box-shadow:0 10px 24px -12px rgba(37,99,235,.7); transform:translateY(-1px); }
.btn.ghost { background:#fff; color:var(--brand); border-color:#c9d7f3; } .btn.ghost:hover { background:var(--soft); box-shadow:none; }
.btn.white { background:#fff; color:var(--navy); border-color:#fff; }
.btn.sm { padding:8px 16px; font-size:14px; }
.lnk { color:var(--brand); font-weight:650; font-size:14.5px; display:inline-flex; gap:6px; align-items:center; } .lnk:hover { gap:9px; }
.ico { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:saturate(1.6) blur(10px); border-bottom:1px solid transparent; transition:border-color .2s, box-shadow .2s; }
header.scrolled { border-color:var(--line); box-shadow:0 6px 20px -16px rgba(11,27,51,.35); }
header .wrap { display:flex; align-items:center; gap:28px; height:68px; }
.logo .bw { color:var(--brand); } footer .logo .bw { color:#5eead4; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; letter-spacing:-.02em; }
header nav { display:flex; gap:24px; font-size:14.5px; font-weight:550; color:#33415a; flex:1; } header nav a:hover { color:var(--brand); }
.hright { display:flex; gap:10px; align-items:center; font-size:14.5px; font-weight:600; }
.hright > a:not(.btn) { padding:8px 14px; border:1px solid #c9d7f3; border-radius:9px; color:var(--brand); }
.menu { display:none; background:none; border:1px solid var(--line); border-radius:9px; width:40px; height:40px; cursor:pointer; color:var(--ink); }
.mnav { display:none; }
footer { background:var(--navy); color:#a9b8d6; padding:64px 0 28px; margin-top:88px; font-size:14.5px; }
.fgrid { display:grid; grid-template-columns:1.4fr repeat(4, 1fr); gap:30px; }
footer h4 { color:#fff; font-size:14px; margin:0 0 14px; letter-spacing:.02em; } footer .fgrid a { display:block; margin:9px 0; } footer a:hover { color:#fff; }
footer .logo { color:#fff; margin-bottom:14px; }
.fbot { border-top:1px solid #223a6a; margin-top:44px; padding-top:22px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:13.5px; }
.js .rv { opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; } .js .rv.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } }
@media (max-width: 1080px) {
  header nav { display:none; } .menu { display:grid; place-items:center; }
  .mnav.open { display:block; border-top:1px solid var(--line); background:#fff; } .mnav a { display:block; padding:13px 24px; border-bottom:1px solid var(--soft2); font-weight:600; }
  .fgrid { grid-template-columns:repeat(3, 1fr); } .fgrid > div:first-child { grid-column:1 / -1; }
}
@media (max-width: 860px) { .hright .btn { display:none; } }
@media (max-width: 560px) { .wrap { padding:0 16px; } .fgrid { grid-template-columns:repeat(2, 1fr); } }
footer .fgrid a.logo { display:flex; margin:0 0 14px; }
