/* Industry standard plain black-and-white stylesheet for Privacy Policy */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-app: #ffffff;
  --text-main: #111111;
  --text-muted: #444444;
  --border: #e0e0e0;
  --link: #111111;
  --link-hover: #555555;
  --toc-bg: #f9f9f9;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.15s ease-in-out;
}

/* Dark Mode (supports user preferences in a clean greyscale theme) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-app: #121212;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --border: #2d2d2d;
    --link: #ffffff;
    --link-hover: #cccccc;
    --toc-bg: #1a1a1a;
  }
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
}

/* Header style - minimal, clean, standard document */
header {
  border-bottom: 2px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Content paragraph */
.intro-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* Table of Contents */
.toc {
  background-color: var(--toc-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

@media (min-width: 576px) {
  .toc-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
  }
}

.toc-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.toc-link:hover {
  color: var(--link-hover);
}

/* Standard policy sections */
.policy-section {
  scroll-margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.policy-section:last-of-type {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem 0;
  color: var(--text-main);
}

p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: var(--transition);
}

a:hover {
  color: var(--link-hover);
}

/* Inline pills style removed; now standard links to match standard layout */
.link-pill {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.link-pill:hover {
  color: var(--link-hover);
}

/* Callouts / Warnings removed and flattened */
.callout,
.danger-callout {
  border-left: 3px solid var(--border);
  padding: 0.75rem 0 0.75rem 1rem;
  margin: 1.25rem 0;
}

.callout-icon {
  display: none;
}

.callout-content,
.danger-content {
  font-size: 0.95rem;
  color: var(--text-main);
}

.callout-content p,
.danger-content p {
  color: inherit;
  margin-bottom: 0;
}

.danger-content p:first-child {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer p {
  color: inherit;
  margin-bottom: 0.25rem;
}

@media (max-width: 576px) {
  body {
    padding: 2rem 1rem;
  }
}