/* SensorPulse marketing site – dark theme aligned with the desktop app */

:root {
  --bg: #0f1117;
  --surface: #181b24;
  --surface-alt: #212530;
  --surface-elevated: #282d38;
  --border: #343b4d;
  --accent: #5b9aff;
  --accent-hover: #78aeff;
  --text: #eceff4;
  --text-muted: #9ca6b8;
  --text-subtle: #6b7589;
  --success: #34d399;
  --warning: #fbbf24;
  --critical: #f87171;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 27, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover {
  color: var(--text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.mock-bar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mock-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.lang-toggle:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-alt);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
a.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.site-nav a.btn-primary {
  color: #fff;
}

.site-nav a.btn-primary:hover {
  color: #fff;
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(91, 154, 255, 0.18), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.hero-meta strong {
  color: var(--text-muted);
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.mock-dashboard {
  display: grid;
  gap: 0.75rem;
}

.mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mock-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.mock-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.mock-stat {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  text-align: center;
}

.mock-stat-label {
  font-size: 0.65rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

.mock-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.mock-stat-value.ok { color: var(--success); }
.mock-stat-value.warn { color: var(--warning); }
.mock-stat-value.crit { color: var(--critical); }

.mock-sensors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mock-sensor {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
}

.mock-sensor-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-sensor-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.mock-spark {
  height: 24px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, transparent, rgba(91, 154, 255, 0.35), transparent);
  border-radius: 2px;
  opacity: 0.7;
}

.hero-screenshot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.hero-screenshot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: zoom-in;
}

.hero-screenshot figcaption {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.screenshot-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.screenshot-card:hover {
  border-color: rgba(91, 154, 255, 0.45);
  transform: translateY(-2px);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  cursor: zoom-in;
}

.screenshot-card figcaption {
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.screenshot-card figcaption strong {
  font-size: 0.95rem;
  color: var(--text);
}

.screenshot-card figcaption span {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-block-reverse .detail-copy {
  order: 2;
}

.detail-block-reverse .detail-media {
  order: 1;
}

.detail-copy h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.detail-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.detail-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.detail-list li {
  margin-bottom: 0.4rem;
}

.detail-list li:last-child {
  margin-bottom: 0;
}

.detail-media {
  margin: 0;
}

.detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--surface-alt);
  color: var(--text-subtle);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table td {
  color: var(--text-muted);
}

.spec-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

kbd {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82em;
  color: var(--text);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.download-preview {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.download-preview-figure {
  margin: 0;
  max-width: min(100%, 56rem);
}

.download-preview-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.download-preview-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* Screenshot lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  max-height: calc(100vh - 3rem);
  padding: 0 3.25rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(24, 27, 36, 0.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--surface-elevated);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(24, 27, 36, 0.92);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav:hover {
  background: var(--surface-elevated);
  color: #fff;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: calc(100vh - 3rem);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.lightbox-caption {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lightbox-caption[hidden] {
  display: none;
}

.lightbox-counter {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lightbox-counter[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .lightbox-dialog {
    padding: 0 2.75rem;
  }

  .lightbox-nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.45rem;
  }
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: rgba(91, 154, 255, 0.45);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(91, 154, 255, 0.15);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps / pricing */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.lic-premium {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.lic-premium h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.lic-premium > p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.lic-premium-trial {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.shortcuts-footnote {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.pricing-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--success);
  margin-right: 0.5rem;
  font-weight: 700;
}

.alt-bg {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-notice {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.legal-notice strong {
  color: var(--warning);
}

/* Legal pages */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

.legal-content {
  padding: 2.5rem 0 4rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
}

.placeholder {
  background: rgba(91, 154, 255, 0.1);
  border: 1px dashed rgba(91, 154, 255, 0.45);
  border-radius: 4px;
  padding: 0 0.35rem;
  color: var(--accent-hover);
  font-family: Consolas, monospace;
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0.75rem 0 0;
  max-width: 22rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-screenshot {
    order: -1;
  }

  .hero-visual {
    order: -1;
  }

  .detail-block,
  .detail-block-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-block-reverse .detail-copy,
  .detail-block-reverse .detail-media {
    order: unset;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-end {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 0.75rem;
  }

  .mock-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Download page */
.download-section {
  padding: 2.5rem 0 4rem;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.download-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 0.75rem 0 0.75rem;
  font-size: 1.5rem;
}

.download-lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.download-button {
  width: 100%;
  margin-bottom: 0.75rem;
}

.download-count {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.download-count strong {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-download-count strong {
  font-variant-numeric: tabular-nums;
}

.download-meta {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.download-meta div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.download-meta dt {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
}

.download-meta dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.download-meta code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88em;
  color: var(--text);
  word-break: break-all;
}

.hash-value {
  font-size: 0.82rem !important;
}

.download-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.download-aside {
  display: grid;
  gap: 1rem;
}

.install-steps,
.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.install-steps li,
.check-list li {
  margin-bottom: 0.4rem;
}

.install-steps code,
.check-list code {
  font-family: Consolas, monospace;
  font-size: 0.88em;
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-meta div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
