/* Shared styles. Deliberately one small stylesheet and no build step: this site
   exists to satisfy the OAuth consent screen and the Web Store listing, so the
   priority is that it loads and stays accurate, not that it is elaborate. */

:root {
  --indigo: #4f46e5;
  --ink: #1f2330;
  --muted: #5b6070;
  --line: #e6e7ec;
  --bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e9ee;
    --muted: #a4a8b6;
    --line: #2b2f3d;
    --bg: #14161d;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 48px 24px 96px;
  max-width: 720px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

header.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

header.brand a {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

h3 {
  font-size: 16px;
  margin: 28px 0 8px;
}

p,
li {
  color: var(--muted);
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

a {
  color: var(--indigo);
}

code {
  padding: 1px 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--indigo) 10%, transparent);
  font: 400 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--ink);
}

td {
  color: var(--muted);
}

footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.features {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.features strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.note {
  padding: 16px 18px;
  border-left: 3px solid var(--indigo);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--indigo) 6%, transparent);
  margin: 24px 0;
}

.note p {
  margin: 0;
}
