/* Shared layout for download / support / privacy / terms pages */

.page-hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.page-hero h1 {
  font-size: var(--text-3xl);
  margin: 0.4em 0 0.35em;
  max-width: 22em;
}

.page-hero .lede {
  margin: 0;
}

.updated-note {
  color: var(--fg-tertiary);
  font-size: var(--text-xs);
  margin-top: 8px;
}

/* Legal prose (privacy / terms) */

.legal-body {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
  max-width: 52em;
}

.legal-section h2 {
  font-size: var(--text-xl);
  margin: 0 0 0.6em;
}

.legal-section p {
  margin: 0;
}

.legal-section .placeholder {
  color: var(--warning);
  font-weight: 600;
}

/* Steps (download page reuses numbered steps in a single column) */

.steps-list.stacked {
  grid-template-columns: 1fr;
  max-width: 42em;
}

/* Reviewer note / callout */

.callout {
  border: 1px solid var(--brand-glow);
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  max-width: 52em;
}

.callout .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.callout p {
  margin: 0 0 1em;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Store button row */

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 24px 0 8px;
}

.store-note {
  font-size: var(--text-sm);
  color: var(--fg-tertiary);
}

/* Contact list */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 42em;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hair);
  background: var(--glass);
}

.contact-list .contact-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-tertiary);
  font-weight: 700;
}

.contact-list .contact-value {
  font-size: var(--text-base);
  color: var(--fg-primary);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 52em;
}

.faq-item {
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  background: var(--glass);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4em;
  color: var(--brand);
  transition: transform var(--duration-fast) var(--ease-out-expo);
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 18px;
  font-size: var(--text-sm);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}
