/* AFTERS on the web. Deliberately one small stylesheet, no framework and no
   fonts to fetch: these pages exist so App Review and members can read them,
   and a support page that is slow or broken is worse than a plain one. */

:root {
  --bg: #000;
  --card: #0e0e0f;
  --border: #1f1f22;
  --text: #f5f5f7;
  --muted: #8b8b93;
  --orange: #ff8a1e;
  --cyan: #4ec3e0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }

header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 40px;
}
header .wrap { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800; letter-spacing: .5px;
  color: var(--text); text-decoration: none;
}

/* The app's own eclipse. Its baked-in black field is dropped by screen
   blending, exactly as the phone does it — these pages are black too. */
.eclipse {
  width: 22px; height: 22px;
  background: url(eclipse.png) center / contain no-repeat;
  mix-blend-mode: screen;
}

nav a {
  color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px;
}
nav a:hover, nav a.on { color: var(--orange); }

h1 { font-size: 34px; line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 0 0 8px; }

.lede { font-size: 18px; color: #d6d6db; margin: 16px 0 32px; }
.muted { color: var(--muted); font-size: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin: 0 0 18px;
}
.card p:last-child, .card ul:last-child, .card table:last-child { margin-bottom: 0; }

main > h2 { margin: 34px 0 14px; }

a { color: var(--cyan); }
a:hover { color: var(--orange); }

code {
  background: #17171a; border: 1px solid var(--border);
  border-radius: 6px; padding: 1px 6px; font-size: 14px;
}

ul { padding-left: 20px; }
li { margin-bottom: 8px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td {
  text-align: left; padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
th { color: var(--muted); font-weight: 600; font-size: 13px;
     text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 48px; padding: 24px 0 48px;
  color: var(--muted); font-size: 14px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--orange); }

@media (max-width: 520px) {
  h1 { font-size: 27px; }
  .card { padding: 18px; }
  table, tbody, tr, td, th { display: block; }
  th { display: none; }
  td { border-bottom: 0; padding: 2px 0; }
  td:first-child { color: var(--text); font-weight: 600; padding-top: 12px; }
  td:last-child { color: var(--muted); border-bottom: 1px solid var(--border);
                  padding-bottom: 12px; }
}
