/* Home page-specific styling. Shared design tokens and components are in common.css. */
.section-lead-small { font-size: 14px; }

/* Platform download and compatibility cards */
.platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px;text-align:left}
.platform-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.platform-card p{color:var(--muted);margin:0;flex:1}
.platform-heading{display:flex;align-items:center;gap:13px}
.platform-heading i{font-size:30px;color:var(--accent)}
.platform-heading h3{margin:0;font-size:21px}
.platform-card .btn{max-width:100%;text-align:center}
.disabled-cta{background:#302b37;color:#aaa0b5;cursor:not-allowed;opacity:.8}
.text-link{color:var(--accent);font-weight:600}
@media(max-width:700px){.platform-grid{grid-template-columns:1fr}.platform-card{padding:22px}}

/* Download-first navigation and responsive mobile menu */
.section[id]{scroll-margin-top:26px}
.menu-toggle{display:none;background:#242029;border:1px solid #4b3c5a;color:var(--text);border-radius:8px;width:42px;height:42px;align-items:center;justify-content:center;font-size:23px;cursor:pointer}
.nav{position:relative}
.mobile-navigation[hidden]{display:none!important}
@media(max-width:800px){
  .nav>.btn.small{margin-left:auto}
  .menu-toggle{display:inline-flex}
  .mobile-navigation{position:absolute;top:calc(100% + 1px);left:19px;right:19px;z-index:20;display:flex;flex-direction:column;padding:12px;background:#211c29;border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 40px #0009}
  .mobile-navigation a{padding:10px 12px;color:var(--text);font-size:14px;border-radius:7px}
  .mobile-navigation a:hover,.mobile-navigation a:focus{background:#342a42;color:var(--accent)}
}
@media(max-width:390px){.nav>.btn.small{padding:9px 10px;font-size:11px}.brand-name{font-size:21px}.brand-mark{width:31px;height:31px}}

/* UX polish: sticky header, active navigation, focus, and mobile gallery */
html { scroll-behavior:smooth; scroll-padding-top:100px; }
body { overflow-x:hidden; }
.nav { position:sticky; top:0; z-index:100; background:rgba(17,16,19,.96); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
.section[id] { scroll-margin-top:100px; }
.nav nav a[aria-current="location"],.mobile-navigation a[aria-current="location"] { color:var(--accent); font-weight:700; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.btn,.platform-card,.feature { transition:transform .18s ease,border-color .18s ease,background-color .18s ease; }
@media(hover:hover) { .platform-card:hover,.feature:hover { border-color:#67517c; transform:translateY(-2px); } }
.back-to-top { position:fixed;right:20px;bottom:20px;z-index:95;display:grid;place-items:center;width:44px;height:44px;border:1px solid #655375;border-radius:50%;background:#292232;color:var(--text);box-shadow:0 6px 22px #0008;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s; }
.back-to-top.is-visible { opacity:1;visibility:visible;transform:translateY(0); }
.gallery img,.hero-shot img { max-width:100%;height:auto; }
@media(max-width:700px) { .gallery { grid-template-columns:1fr; } .gallery figure,.gallery figure.wide { grid-column:1/-1;min-width:0; } .gallery img { object-fit:contain; } .back-to-top { right:14px;bottom:14px; } }
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} .btn,.platform-card,.feature,.back-to-top {transition:none!important;transform:none!important;} }
