/* Blueprint theme, lifted from src/design/themes.ts so the policy page reads
   as part of the app rather than as a generic legal dump. */
:root {
  --ground: #0E1419;
  --panel: #131C23;
  --rule: #26343F;
  --paper: #E4EBF0;
  --dim: #8B9AA8;
  --accent: #F0A62E;
  --figure: #7FD4E8;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--paper);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.65;
  /* The faint grid the app draws in Skia, approximated with two gradients. */
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  background-attachment: fixed;
}

.sheet {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 16px 96px;
}

header { border-bottom: 1px solid var(--rule); padding-bottom: 24px; margin-bottom: 40px; }

.code {
  font-size: 9px;
  letter-spacing: 1.35px;
  color: var(--dim);
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1 {
  font-size: 34px;
  letter-spacing: 3px;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.updated { color: var(--dim); font-size: 12px; margin-top: 14px; }

h2 {
  font-size: 11px;
  letter-spacing: 1.65px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 48px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

h3 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--figure);
  margin: 28px 0 8px;
}

p, li { color: var(--paper); }
p { margin: 0 0 16px; }
ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { border-bottom-color: var(--accent); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}
th, td {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--dim);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  background: var(--panel);
  white-space: nowrap;
}

.note {
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  background: var(--panel);
  padding: 16px 18px;
  margin: 0 0 24px;
}
.note p:last-child { margin-bottom: 0; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--dim);
  font-size: 12px;
}

@media (max-width: 480px) {
  .sheet { padding: 36px 16px 72px; }
  h1 { font-size: 26px; letter-spacing: 2px; }
}
