/* ==========================================================================
   NanoKhata Plain Legal Styles (Privacy Policy & Terms of Use)
   Minimal, Modern, Clean Typography
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --primary-color: #368098;
  --primary-hover: #2b677a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Header with Just the Logo */
.legal-header {
  padding: 32px 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-card);
}

.legal-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.legal-logo-link:hover {
  transform: translateY(-1px);
}

.legal-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Container */
.legal-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

/* Card */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

@media (max-width: 600px) {
  .legal-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
}

.legal-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.legal-section p {
  color: #334155;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
  color: #334155;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-section li {
  margin-bottom: 6px;
}

/* Company & Contact Info Box */
.company-contact-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 32px;
}

.company-contact-box h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.contact-row {
  display: flex;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-label {
  width: 90px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.contact-value {
  color: var(--text-main);
  font-weight: 500;
}

.contact-value a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Footer Navigation */
.legal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.legal-footer-nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.legal-footer-nav a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.legal-sep {
  color: #cbd5e1;
}

.legal-copyright {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 20px;
}
