/* Shared styles for static content pages: Terms, Privacy, Contact, Pricing */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0B0D11;
  --surface: #13151B;
  --surface-2: #1A1D25;
  --border: #252830;
  --border-focus: #D4622B;
  --text: #E8E8EC;
  --text-muted: #8B8D97;
  --accent: #D4622B;
  --accent-hover: #E8743A;
  --accent-glow: rgba(212, 98, 43, 0.15);
  --danger: #CF4444;
  --success: #3D9E5C;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* --- Top nav --- */
.topbar {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar .brand i { color: var(--accent); }
.topbar .nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.85rem;
}
.topbar .nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar .nav a:hover,
.topbar .nav a.active { color: var(--accent); }

/* --- Page content --- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.page h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.page .lede {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.page h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.page p, .page li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.page ul, .page ol {
  padding-left: 1.25rem;
  margin-bottom: 0.9rem;
}
.page li { margin-bottom: 0.45rem; }
.page a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 98, 43, 0.35);
}
.page a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.page strong { color: var(--text); font-weight: 600; }

/* --- Pricing-specific --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.pricing-card .tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.pricing-card .price {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.pricing-card .price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.pricing-card li {
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.7rem;
}
@media (max-width: 780px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* --- Contact card --- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-card i {
  color: var(--accent);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}
.contact-card .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}
.contact-card .value {
  font-size: 1rem;
  color: var(--text);
}
.contact-card .value a {
  color: var(--text);
  border: none;
}
.contact-card .value a:hover { color: var(--accent); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer a:hover { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 700px) {
  .topbar { padding: 1rem 1.25rem; }
  .topbar .nav { gap: 1rem; font-size: 0.8rem; }
  .page { padding: 2.5rem 1.25rem 3rem; }
  .page h1 { font-size: 1.9rem; }
}
