/* ulbo.app — plain and readable. White page, one column, the app icon at the
   top, bold headings over a hairline. The way an indie app's policy page looks
   when it is meant to be read rather than looked at. */

:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e6e6e6;
  --link: #1a1a1a;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* A quiet bar: the icon and name on the left, the two documents on the
   right. Enough to get between pages without being a thing to look at. */
.nav {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .95rem;
}
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.nav .brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 20px; }
.nav nav a { color: var(--muted); text-decoration: none; }
.nav nav a:hover, .nav nav a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
  margin-bottom: 28px;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.updated { color: var(--muted); margin: 0 0 40px; font-size: .95rem; }
.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 40px; max-width: 34ch; }

h2 {
  font-size: 1.2rem;
  margin: 44px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
h2:first-of-type { margin-top: 0; }

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

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; }
em { font-style: italic; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover, a:focus-visible { text-decoration-thickness: 2px; }

.steps { list-style: none; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.4em 1fr; margin-bottom: .6em; }
.steps b { font-weight: 600; color: var(--muted); }

/* Anything still needing a real value before this goes live. */
.todo { background: #ffe08a; border-bottom: 2px solid #b26a00; padding: 0 .25em; }

footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
footer .icon { width: 28px; height: 28px; border-radius: 7px; margin: 0; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  main { padding-top: 40px; }
  h1 { font-size: 1.7rem; }
}
