/* ===== pages.css – shared styles for About/Contact/Privacy/Terms/Disclaimer ===== */

.hero-sm { padding: 40px 20px 36px; }
.hero-sm .hero-title { font-size: clamp(1.5rem, 4vw, 2.2rem); }

.hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color .15s;
}
.hero-back:hover { color: #fff; }

/* ── Page main ── */
.page-main {
  max-width: 780px;
  margin: 32px auto 48px;
  padding: 0 16px;
  flex: 1;
}

.page-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 36px 40px;
}
@media (max-width: 600px) { .page-card { padding: 22px 18px; } }

/* ── Sections ── */
.page-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.page-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.page-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.page-section p { color: var(--text-2); font-size: .9rem; line-height: 1.65; margin-bottom: 10px; }
.page-section p:last-child { margin-bottom: 0; }
.page-section ul {
  margin: 10px 0 10px 20px;
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.7;
}
.page-section a { color: var(--primary); text-decoration: underline; }

/* ── Policy highlight box ── */
.policy-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 28px;
}
.policy-highlight-warn { background: #fffbeb; border-color: #fde68a; }
.policy-hl-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.policy-highlight p { color: #065f46; font-size: .88rem; line-height: 1.55; margin: 0; }
.policy-highlight-warn p { color: #92400e; }

/* ── Feature grid (About) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.feature-item {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-icon { font-size: 1.5rem; }
.feature-item strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.feature-item p { font-size: .82rem; color: var(--text-2); margin: 0; line-height: 1.4; }

/* ── Owner card (About) ── */
.owner-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--primary-light);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 12px;
}
.owner-avatar {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.owner-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 2px; color: var(--text); }
.owner-title { font-size: .82rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.owner-info p { font-size: .85rem; color: var(--text-2); line-height: 1.55; margin-bottom: 10px; }
.owner-links { display: flex; flex-wrap: wrap; gap: 12px; }
.owner-links a { font-size: .83rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.owner-links a:hover { text-decoration: underline; }

/* ── Contact cards ── */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 14px 0; }
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-input);
  text-align: center;
}
.contact-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.contact-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.contact-card p { font-size: .82rem; color: var(--text-2); margin-bottom: 8px; line-height: 1.4; }
.contact-link { font-size: .88rem; color: var(--primary); font-weight: 600; text-decoration: none; display: block; margin-bottom: 6px; }
.contact-link:hover { text-decoration: underline; }
.contact-note { font-size: .75rem; color: var(--text-3); margin: 0; }

/* ── FAQ items ── */
.faq-item { margin-bottom: 18px; }
.faq-item h3 { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.faq-item p  { font-size: .86rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* ── Footer nav (pages) ── */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.footer-nav a {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
