/* ── AutoBotSignal Downloads — PIT-TERMINAL design system ─────────── */
:root {
  --bg: #050810;
  --surface: #0d1420;
  --elevated: #101826;
  --input: rgba(0, 0, 0, 0.35);
  --accent: #f57b00;
  --accent-light: #ff9f3d;
  --accent-dark: #e06c00;
  --text: #f2f6ff;
  --text-2: #c8d0e0;
  --muted: #8892b5;
  --dim: #64748b;
  --ink: #0a0c12;
  --green: #10b981;
  --red: #ef4444;
  --warning: #f59e0b;
  --blue: #38bdf8;
  --violet: #a78bfa;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(245, 123, 0, 0.22);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
::selection { background: rgba(245, 123, 0, 0.35); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; letter-spacing: -0.02em; }
.num, .mono { font-variant-numeric: tabular-nums; }

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ── Top nav ──────────────────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.topnav.scrolled { border-bottom-color: var(--border); }
.topnav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }
.brand .tag { color: var(--muted); font-weight: 600; font-size: 12px; border: 1px solid var(--border-strong); padding: 2px 9px; border-radius: 999px; margin-left: 2px; letter-spacing: 0.04em; }
.topnav nav { display: flex; gap: 22px; margin-left: 12px; }
.topnav nav a { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.topnav nav a:hover { color: var(--text); }
.topnav .spacer { flex: 1; }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 11px; cursor: pointer;
  font: 600 14px/1 var(--font); padding: 0 20px; height: 44px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn-primary:hover { background: var(--accent-light); color: var(--ink); }
.btn-ghost { background: var(--elevated); color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.btn-outline { background: transparent; color: var(--accent-light); border-color: var(--border-accent); }
.btn-outline:hover { border-color: var(--accent); background: rgba(245, 123, 0, 0.07); color: var(--accent-light); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: 13px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .sub { font-size: 11px; font-weight: 600; opacity: 0.75; }

/* ── Chips / badges ───────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--elevated); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.chip.ok { color: #7ee2c0; border-color: rgba(16, 185, 129, 0.25); }
.chip.ok .dot { background: var(--green); }
.chip.soon { color: #ffd699; border-color: rgba(245, 158, 11, 0.25); }
.chip.soon .dot { background: var(--warning); }
.chip svg { width: 13px; height: 13px; }
.badge-soon {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--warning); background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px; border-radius: 999px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-light);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 1px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -40% -20% auto; height: 520px; pointer-events: none;
  background:
    radial-gradient(560px 300px at 22% 62%, rgba(245, 123, 0, 0.14), transparent 65%),
    radial-gradient(640px 340px at 82% 30%, rgba(56, 189, 248, 0.08), transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 16.5px; color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 12.5px; color: var(--dim); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 14px; height: 14px; color: var(--green); }

/* ── Nav sim (interactive app tour) ───────────────────────────────── */
.navsim {
  position: relative; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border-strong);
  padding: 10px; box-shadow: var(--shadow);
}
.navsim::before {
  content: ''; position: absolute; inset: -1px; border-radius: 18px; pointer-events: none;
  background: linear-gradient(135deg, rgba(245, 123, 0, 0.25), transparent 32%, transparent 70%, rgba(56, 189, 248, 0.14));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.navsim-screens { position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 1200 / 760; background: var(--bg); }
.navsim-screens img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.45s ease; }
.navsim-screens img.active { opacity: 1; }
.navsim-tabs { display: flex; align-items: center; gap: 6px; padding: 12px 6px 4px; flex-wrap: wrap; }
.navsim-tab {
  position: relative; border: 1px solid transparent; background: transparent; color: var(--muted);
  font: 600 12.5px/1 var(--font); padding: 9px 14px; border-radius: 999px; cursor: pointer; overflow: hidden;
  transition: color 0.15s ease, background 0.15s ease;
}
.navsim-tab:hover { color: var(--text); background: var(--elevated); }
.navsim-tab.active { color: var(--accent-light); background: rgba(245, 123, 0, 0.1); border-color: var(--border-accent); }
.navsim-tab .bar { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 1px; background: rgba(245, 123, 0, 0.25); transform: scaleX(0); transform-origin: left; }
.navsim-tab.active .bar { background: var(--accent); animation: simbar var(--sim-ms, 4200ms) linear forwards; }
.navsim.paused .navsim-tab.active .bar { animation-play-state: paused; }
@keyframes simbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.navsim-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 6px; }
.navsim-caption { font-size: 12.5px; color: var(--dim); }
.navsim-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--elevated); border: 1px solid var(--border); color: var(--muted); cursor: pointer;
}
.navsim-play:hover { color: var(--text); border-color: var(--border-strong); }
.navsim-play svg { width: 13px; height: 13px; }

/* ── Sections ─────────────────────────────────────────────────────── */
section { padding: 64px 0; }
.section-head { margin-bottom: 36px; max-width: 60ch; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 14px 0 10px; }
.section-head p { color: var(--muted); }

/* ── Product cards (landing grid) ─────────────────────────────────── */
.apps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.product-shot { position: relative; aspect-ratio: 1200 / 660; overflow: hidden; background: #080c14; border-bottom: 1px solid var(--border); }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-shot .soon-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0 14px, transparent 14px 28px), rgba(5, 8, 16, 0.55);
}
.product-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1; }
.product-title { display: flex; align-items: center; gap: 10px; }
.product-title h3 { font-size: 19px; font-weight: 800; }
.product-title .kind { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.product-title .kind svg { width: 12px; height: 12px; flex: none; }
.product-body p { color: var(--muted); font-size: 13.5px; }
.platform-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.product-ctas { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.link-more svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.link-more:hover svg { transform: translateX(3px); }

/* ── Broker strip ─────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--border); background: rgba(13, 20, 32, 0.5); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; justify-content: center; }
.strip-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-right: 8px; }
.broker-pill { font-size: 13px; font-weight: 700; color: var(--muted); opacity: 0.9; }
.broker-pill span { color: var(--dim); font-weight: 400; margin: 0 12px 0 0; }

/* ── App page hero ────────────────────────────────────────────────── */
.app-hero { padding: 56px 0 34px; }
.crumb { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 26px; }
.crumb svg { width: 14px; height: 14px; }
.app-hero-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.app-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 14px 0 10px; }
.app-hero .lede { font-size: 16px; color: var(--muted); max-width: 56ch; }
.app-hero-ctas { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 250px; }
.app-hero-ctas .hint { font-size: 12px; color: var(--dim); text-align: center; }

/* ── Showcase (tabs: tour / screenshots / video) ──────────────────── */
.showcase { padding-top: 22px; }
.show-tabs { display: inline-flex; gap: 4px; background: var(--elevated); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.show-tab {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 13px/1 var(--font); padding: 10px 18px; border-radius: 9px; display: inline-flex; align-items: center; gap: 8px;
}
.show-tab svg { width: 15px; height: 15px; }
.show-tab.active { background: var(--accent); color: var(--ink); font-weight: 700; }
.show-tab:not(.active):hover { color: var(--text); }
.show-panel { display: none; }
.show-panel.active { display: block; }

/* gallery */
.gallery-main {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong);
  background: #080c14; box-shadow: var(--shadow); aspect-ratio: 1200 / 760;
}
.gallery-main img { width: 100%; height: 100%; }
.gallery-caption { font-size: 13px; color: var(--dim); margin-top: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.gallery-thumb {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer;
  background: #080c14; padding: 0; transition: border-color 0.15s ease, transform 0.15s ease; aspect-ratio: 1200 / 760;
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; }

/* video placeholder */
.video-ph {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.16); background: var(--surface);
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center;
}
.video-ph .bgshot { position: absolute; inset: 0; opacity: 0.14; filter: blur(2px) saturate(0.8); }
.video-ph .bgshot img { width: 100%; height: 100%; object-fit: cover; }
.video-ph-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; }
.video-ph .playbtn {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 123, 0, 0.14); border: 1px solid var(--border-accent); color: var(--accent-light);
}
.video-ph .playbtn svg { width: 26px; height: 26px; margin-left: 4px; }
.video-ph h4 { font-size: 17px; }
.video-ph p { font-size: 13px; color: var(--dim); max-width: 44ch; }
.video-real { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.video-real video, .video-real img { width: 100%; display: block; }

/* ── Features ─────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.15s ease;
}
.feature:hover { border-color: var(--border-strong); }
.feature .ficon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(245, 123, 0, 0.12); color: var(--accent-light); margin-bottom: 16px;
}
.feature .ficon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ── Downloads section ────────────────────────────────────────────── */
.dl-note {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--warning); background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.22); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 22px;
}
.dl-note svg { width: 16px; height: 16px; flex: none; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}
.dl-card.available { border-color: var(--border-accent); }
.dl-card-head { display: flex; align-items: center; gap: 12px; }
.dl-card-head .picon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--elevated); border: 1px solid var(--border); color: var(--text-2);
}
.dl-card-head .picon svg { width: 21px; height: 21px; }
.dl-card-head h3 { font-size: 16px; font-weight: 700; }
.dl-card-head .sub { font-size: 11.5px; color: var(--dim); }
.dl-meta { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--muted); }
.dl-meta .row { display: flex; justify-content: space-between; gap: 10px; }
.dl-meta .row b { color: var(--text-2); font-weight: 600; }
.dl-card .btn { width: 100%; }
.sha {
  display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--dim);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
}
.sha code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--elevated); color: var(--muted); cursor: pointer;
}
.copy-btn:hover { color: var(--text); border-color: var(--border-strong); }
.copy-btn svg { width: 13px; height: 13px; }

/* version history */
.versions { margin-top: 40px; }
.versions h3 { font-size: 17px; margin-bottom: 16px; }
.version-row {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); padding: 16px 20px; margin-bottom: 10px;
}
.version-row .v { font-weight: 800; color: var(--text); font-size: 15px; }
.version-row .latest-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); background: var(--accent); border-radius: 999px; padding: 3px 9px; }
.version-row .d { font-size: 12px; color: var(--dim); }
.version-row .n { flex-basis: 100%; font-size: 13px; color: var(--muted); }

/* install notes accordion */
.notes { margin-top: 40px; }
.note-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.note-item summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  padding: 15px 20px; font-weight: 600; color: var(--text-2); font-size: 14px;
}
.note-item summary::-webkit-details-marker { display: none; }
.note-item summary svg { width: 15px; height: 15px; color: var(--dim); flex: none; }
.note-item summary .chev { margin-left: auto; display: inline-flex; }
.note-item summary .chev svg { transition: transform 0.18s ease; }
.note-item[open] summary .chev svg { transform: rotate(180deg); }
.note-item .note-body { padding: 0 20px 16px; font-size: 13.5px; color: var(--muted); }

/* web product panel */
.web-cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(245, 123, 0, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid var(--border-accent); border-radius: var(--radius); padding: 28px;
}
.web-cta-card h3 { font-size: 19px; margin-bottom: 6px; }
.web-cta-card p { color: var(--muted); font-size: 13.5px; max-width: 52ch; }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band {
  border: 1px solid var(--border-accent); border-radius: 20px; overflow: hidden; position: relative;
  background: radial-gradient(700px 260px at 18% 0%, rgba(245, 123, 0, 0.16), transparent 60%), var(--surface);
  padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.cta-band p { color: var(--muted); max-width: 52ch; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer.site {
  border-top: 1px solid var(--border); background: rgba(10, 15, 26, 0.6);
  padding: 48px 0 34px; margin-top: 40px; font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--dim); margin-top: 12px; max-width: 34ch; font-size: 12.5px; }
.foot-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); padding: 5px 0; font-weight: 500; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border); margin-top: 36px; padding-top: 22px; color: var(--dim); font-size: 12px;
}
.risk { color: var(--dim); font-size: 11.5px; max-width: 72ch; margin-top: 10px; }

/* ── Toast ────────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: var(--elevated); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 11px; padding: 11px 18px; font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 100;
  display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 15px; height: 15px; color: var(--green); }

/* ── Skeleton / loading ───────────────────────────────────────────── */
.skeleton { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; min-height: 180px; }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.035) 50%, transparent 70%);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .topnav nav { display: none; }
  .apps-grid, .features-grid, .dl-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cta-band { padding: 32px 24px; }
  .app-hero-ctas { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Motion preferences ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
