/* TinyTape support and privacy pages. No external resources. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --rule: #e2e0da;
  --link: #a3361f;
  --code-bg: #efede7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #18181a;
    --text: #ececef;
    --muted: #a3a3ab;
    --rule: #34343a;
    --link: #f08a6c;
    --code-bg: #26262a;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 2rem 1.25rem 3rem;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

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

.site-nav a {
  margin-right: 1rem;
}

.site-nav a:last-child {
  margin-right: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.lead {
  font-size: 1.125rem;
}

.contact {
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

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

.site-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
