/*
 * nesearch product page. Reuses site.css tokens and the download card from
 * play.css; everything else is namespaced under .ns-*.
 */

.ns-hero {
  padding: clamp(36px, 6vw, 84px) 0 24px;
}

.ns-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ns-title {
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text);
}

.ns-title em {
  font-style: normal;
  color: var(--red);
}

.ns-lede {
  margin: 0;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.65;
}

.ns-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.ns-chip {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.02em;
}

.ns-shot {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.ns-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.ns-shot-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.ns-shot-bar span {
  margin-left: 8px;
  color: var(--dim);
  font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.ns-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.ns-section {
  padding: clamp(36px, 5vw, 64px) 0;
}

.ns-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.ns-feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.ns-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: var(--red-dim);
  color: var(--red-bright);
}

.ns-ico svg {
  width: 20px;
  height: 20px;
}

.ns-feature h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text);
}

.ns-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.ns-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.ns-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}

.ns-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.ns-figure figcaption {
  padding: 10px 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.ns-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ns-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ns-table th {
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--dim);
  font-size: 10.5px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ns-table th:last-child,
.ns-table td:last-child {
  text-align: right;
}

.ns-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}

.ns-table td:last-child {
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.ns-sub {
  margin: 24px 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ns-pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  overflow: auto;
}

.ns-pre code {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font: 500 12.5px/1.8 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.ns-fineprint {
  margin: 14px 0 0;
  max-width: 82ch;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.65;
}

.ns-limits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  list-style: none;
}

.ns-limits li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  background: var(--panel);
}

.ns-limits strong {
  color: var(--text);
  font-size: 14px;
}

.ns-limits span {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .ns-hero-grid,
  .ns-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ns-features {
    grid-template-columns: 1fr 1fr;
  }

  .ns-shots {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ns-features,
  .ns-limits {
    grid-template-columns: minmax(0, 1fr);
  }

  .ns-title {
    font-size: clamp(36px, 11vw, 52px);
  }
}
