/* The public pages of killdistraction.app: the app's own black, ink and
   hairlines (the tokens of site/styles.css), nothing that moves. */
:root {
  --ink: #F4F1FA;
  --ink-2: #B8B2C4;
  --ink-3: #8A8494;
  --faint: #5F5A6A;
  --label: #D4A3F6;
  --line: rgba(255, 255, 255, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; }
body {
  background: #000;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--ink); text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--label); }

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px;
}
.bar img { width: 26px; height: 26px; }
.bar a { font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.home main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
/* The app's icon, its dark tile faded out so that only the orb stands on the black. */
.home .orb {
  width: min(320px, 68vw);
  height: auto;
  -webkit-mask-image: radial-gradient(circle closest-side at center, #000 76%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at center, #000 76%, transparent 100%);
}
.home h1 {
  margin-top: 28px;
  font-size: clamp(28px, 5.2vw, 46px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 16ch;
}
.home p { margin-top: 18px; color: var(--ink-2); max-width: 44ch; }
.caps {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.home .caps { margin-top: 30px; }

footer {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--ink-3);
  font-size: 13px;
}
footer a { color: var(--ink-2); }
footer span { margin-right: auto; }

.doc { max-width: 760px; margin: 0 auto; padding: 24px 24px 72px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; }
.doc .caps { display: block; margin-top: 14px; }
.doc h2 { margin-top: 44px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); margin-top: 12px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .lead { color: var(--ink); font-size: 18px; margin-top: 26px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.doc td:first-child { color: var(--ink); width: 34%; }

/* Where a download is offered: one white pill, and what the file is under it. */
.doc .get { margin-top: 30px; }
.doc .get .button {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.doc .get .button:hover { background: #fff; }
.doc .get small { display: block; margin-top: 10px; color: var(--ink-3); font-size: 13px; }
