/* SettlDay Coming Soon — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0f1a;
  --surface-card: rgba(26, 26, 36, 0.5);
  --border: rgba(255, 255, 255, 0.06);
  --text-heading: #e0e0e8;
  --text-body: #c0c0d0;
  --text-secondary: #b0b0c0;
  --text-muted: #9494ac;
  --cyan: #00c4ff;
  --emerald: #00e5a0;
}

html { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { opacity: 0.8; }

/* ── Footer — matches public.vue layout ── */
footer {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.footer-left svg { flex-shrink: 0; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-copy a {
  color: var(--text-body);
  transition: color 0.2s;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 1;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-body); opacity: 1; }

/* ── Shared page header (for legal pages) ── */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Legal page content ── */
.legal-content {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 4rem;
}

.legal-content h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .legal-content h1 { font-size: 2.25rem; }
}

.legal-content .subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal-content .last-updated {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content .sections {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
}

.legal-content p {
  margin-top: 0.75rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-top: 0.75rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.7;
}

.legal-content dl {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-content dt {
  font-weight: 500;
  color: var(--text-heading);
}

.legal-content dd { color: var(--text-body); }

.legal-content .dl-row {
  display: flex;
  gap: 0.5rem;
}

.legal-content .dl-row dt { white-space: nowrap; }

.legal-content table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal-content th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-heading);
  font-weight: 600;
}

.legal-content td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}

/* ── Animation ── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
