/* Standalone styling for the public legal pages.
   Deliberately not styles.css: these are read by people who are not signed in —
   Atlassian's consent screen links straight here — so they carry no dependency
   on the app shell and no script at all. Tokens mirror the app's zinc palette. */

:root {
  --background: #fff;
  --foreground: hsl(240 10% 3.9%);
  --muted-foreground: hsl(240 3.8% 46.1%);
  --border: hsl(240 5.9% 90%);
  --accent: hsl(221 83% 53%);
  --muted: hsl(240 4.8% 95.9%);
  --font-sans: -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

.lede { font-size: 1.0625rem; color: var(--muted-foreground); }

.meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-bottom: 0.5rem;
}

code {
  font: 0.875em var(--font-mono);
  background: var(--muted);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 600; }

.foot {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(240 10% 3.9%);
    --foreground: hsl(0 0% 98%);
    --muted-foreground: hsl(240 5% 64.9%);
    --border: hsl(240 3.7% 15.9%);
    --muted: hsl(240 3.7% 15.9%);
    --accent: hsl(217 91% 60%);
  }
}
