/* SONARA — download page styles */

.download-hero {
  padding: 8rem 1.25rem 4rem;
  background: radial-gradient(1000px 500px at 80% 20%, rgba(255, 255, 255, 0.04), transparent 60%),
    radial-gradient(900px 450px at 10% 90%, rgba(255, 255, 255, 0.03), transparent 60%);
}

.download-main {
  padding: 2.5rem 1.25rem;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.cs-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: var(--surface-high);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.cs-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.cs-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs-field-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}

.cs-field-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.coming-soon-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.coming-soon-notice {
  display: flex;
  min-width: 0;
  gap: 1rem;
  align-items: flex-start;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 2rem;
}

.notice-icon {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.notice-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notice-text code {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.82em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15em 0.4em;
  display: inline;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
}

/* Release plans */
.release-plans {
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.plans-grid {
  margin-top: 2rem;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.plan-card:hover {
  border-color: var(--text-tertiary);
  transform: translateY(-2px);
}

.plan-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.plan-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.5rem 0 0.6rem;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Install guide */
.install-guide {
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.install-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.step:first-of-type {
  border-top: none;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-tertiary);
  width: 28px;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* FAQ */
.faq {
  padding: 5rem 1.25rem;
  border-top: 1px solid var(--border);
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

@media (max-width: 600px) {
  .download-hero {
    padding: 7rem 1.25rem 3.5rem;
  }

  .download-card {
    padding: 1.75rem;
  }

  .cs-title {
    font-size: 1.45rem;
  }

  .coming-soon-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .coming-soon-notice {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
  }

  .cs-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cs-field-value {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .notice-text code {
    font-size: 0.78em;
    padding: 0.2em 0.35em;
  }
}
