/* Colors from mobile/src/lib/theme.ts. Blue is for links and actions
   only; green is for status only. The app is dark-only, so the site is
   too, whatever the device setting. */
:root {
  color-scheme: dark;
  --bg-top: #101c2c;
  --bg-mid: #0b1524;
  --bg-bottom: #08101c;
  --surface: #162234;
  --border: rgba(148, 163, 184, 0.16);
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --action: #60a5fa;
  --action-fill: rgba(96, 165, 250, 0.18);
  --action-border: rgba(96, 165, 250, 0.40);
  --positive: #4ade80;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-bottom);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 35%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.site-header,
main,
.site-footer {
  max-width: 44rem;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  padding-top: 20px;
  padding-bottom: 4px;
}

.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

main {
  padding-top: 8px;
  padding-bottom: 48px;
  overflow-wrap: break-word;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 24px 0 12px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 32px 0 10px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 1.3em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--action);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 2px;
  border-radius: 4px;
}

.lede {
  font-size: 1.2rem;
}

.later,
.doc-meta {
  color: var(--text-secondary);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
}

.status-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--positive);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.card > :last-child {
  margin-bottom: 0;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--action-border);
  border-radius: 14px;
  background: var(--action-fill);
  color: var(--action);
  font-weight: 600;
  text-decoration: none;
}

.legal h2 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.footer-name {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.copyright {
  margin: 0;
}
