.tool-page { background: #f8fafc; }
.tool-navbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 #e2e8f0; }
.tool-nav-menu { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tool-nav-menu .nav-cta {
  background: #2563eb;
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 14px;
}

.tool-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 45%, #3b82f6 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 56px;
}
.tool-hero-inner { width: 100%; }
.tool-eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  opacity: .9;
  margin-bottom: 10px;
}
.tool-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 12px;
}
.tool-tagline {
  font-size: 1.15rem;
  max-width: 720px;
  opacity: .95;
  margin-bottom: 22px;
}
.tool-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.tool-hero .btn-primary { background: #fff; color: #1d4ed8; }
.tool-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.tool-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: .92rem;
  opacity: .92;
}
.tool-meta-row i { margin-right: 6px; }

.tool-section { padding: 56px 0; }
.tool-section h2 { font-size: 1.6rem; margin-bottom: 10px; color: #0f172a; }
.tool-section h3 { margin: 18px 0 8px; color: #1e293b; }
.tool-lead { color: #64748b; margin-bottom: 18px; max-width: 760px; }
.tool-rich { color: #334155; line-height: 1.75; }

.tool-video-wrap { padding-top: 28px; }
.tool-hero-video {
  width: 100%;
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
}

.tool-icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.tool-icon-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}
.tool-icon-card i {
  font-size: 1.4rem;
  color: #2563eb;
  margin-bottom: 10px;
  display: inline-block;
}
.tool-icon-card strong { display: block; margin-bottom: 6px; color: #0f172a; }
.tool-icon-card p { color: #64748b; font-size: .92rem; margin: 0; }

.tool-two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
}
.tool-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-feature-list li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  color: #334155;
}

.tool-demo-section { background: #fff; }
.tool-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.tool-demo-item {
  margin: 0;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
}
.tool-demo-item img,
.tool-demo-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0f172a;
}
.tool-demo-item figcaption {
  padding: 10px 12px;
  color: #cbd5e1;
  font-size: .86rem;
  background: #111827;
}
.tool-empty { color: #64748b; }

.tool-download-bar {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  padding: 36px 0;
}
.tool-download-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.tool-download-bar h2 { color: #fff; margin-bottom: 6px; }
.tool-download-bar p { opacity: .92; margin: 0; }
.tool-download-bar .btn-primary { background: #fff; color: #1d4ed8; }

.tool-release-list { list-style: none; padding: 0; margin: 0; }
.tool-release-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.tool-release-item.is-latest { border-color: #93c5fd; box-shadow: 0 0 0 1px rgba(37,99,235,.12); }
.tool-release-item strong { margin-right: 8px; }
.tool-release-item time { color: #64748b; font-size: .86rem; margin-left: 8px; }
.tool-release-item p { color: #475569; margin: 8px 0 10px; }
.pill {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  font-size: .72rem;
  padding: 2px 8px;
  font-weight: 700;
}
.link-dl { color: #2563eb; font-weight: 600; font-size: .92rem; }
.tool-manifest-hint {
  margin-top: 16px;
  color: #64748b;
  font-size: .85rem;
}
.tool-manifest-hint code {
  display: inline-block;
  margin-top: 4px;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-all;
}

@media (max-width: 900px) {
  .tool-hero { min-height: auto; padding: 88px 0 40px; }
  .tool-two-col { grid-template-columns: 1fr; gap: 22px; }
  .tool-hero-actions .btn,
  .tool-download-actions .btn { width: 100%; justify-content: center; }
  .tool-nav-menu .nav-link:not(.nav-cta) { display: none; }
}
